← Back to team overview

mudlet-makers team mailing list archive

[Bug 505063] [NEW] crash in moveWindow

 

Public bug reported:

I was on really weak wireless and after pressing Connect, Mudlet froze
with the connection dialog open while irragularly using 100% of one CPU.
After a while, it crashed with the following backtrace.

I think it tried to use moveWindow before mudlets ui was fully
initialized... or somesuch. Oneymus had a problem before with either
resizeWindow or moveWindow and nil values (even though we couldn't
replicate it after), and this might be related.

SegvAnalysis:
 Segfault happened at: 0x7f629646dd1f <_ZNK7QWidget20testAttribute_helperEN2Qt15WidgetAttributeE+31>:	test   %eax,0x164(%rcx,%rdx,4)
 PC (0x7f629646dd1f) ok
 source "%eax" ok
 destination "0x164(%rcx,%rdx,4)" (0x00000174) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
SourcePackage: mudlet
Stacktrace:
 #0  0x00007f629646dd1f in QWidget::testAttribute_helper (this=0x42667c0, 
     attribute=Qt::WA_Moved) at kernel/qwidget.cpp:9976
         int_off = 0
 #1  0x00007f62964789c5 in QWidget::testAttribute (this=0x42667c0, 
     attribute=Qt::WA_Moved, on=true)
     at ../../include/QtGui/../../src/gui/kernel/qwidget.h:997
 No locals.
 #2  QWidget::setAttribute (this=0x42667c0, attribute=Qt::WA_Moved, on=true)
     at kernel/qwidget.cpp:9676
 No locals.
 #3  0x00007f629647cd3b in QWidget::move (this=0x42667c0, p=...)
     at kernel/qwidget.cpp:6191
         d = 0x10
 #4  0x000000000054732c in mudlet::moveWindow(QString&, int, int) ()
 No symbol table info available.
 #5  0x00000000004b6ae9 in TLuaInterpreter::moveWindow(lua_State*) ()
 No symbol table info available.
 #6  0x00007f6296e4bc41 in ?? () from /usr/lib/liblua5.1.so.0
 No symbol table info available.
[...]

** Affects: mudlet
     Importance: Undecided
         Status: New

-- 
crash in moveWindow
https://bugs.launchpad.net/bugs/505063
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.

Status in Mudlet the MUD client: New

Bug description:
I was on really weak wireless and after pressing Connect, Mudlet froze with the connection dialog open while irragularly using 100% of one CPU. After a while, it crashed with the following backtrace.

I think it tried to use moveWindow before mudlets ui was fully initialized... or somesuch. Oneymus had a problem before with either resizeWindow or moveWindow and nil values (even though we couldn't replicate it after), and this might be related.

SegvAnalysis:
 Segfault happened at: 0x7f629646dd1f <_ZNK7QWidget20testAttribute_helperEN2Qt15WidgetAttributeE+31>:	test   %eax,0x164(%rcx,%rdx,4)
 PC (0x7f629646dd1f) ok
 source "%eax" ok
 destination "0x164(%rcx,%rdx,4)" (0x00000174) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
SourcePackage: mudlet
Stacktrace:
 #0  0x00007f629646dd1f in QWidget::testAttribute_helper (this=0x42667c0, 
     attribute=Qt::WA_Moved) at kernel/qwidget.cpp:9976
         int_off = 0
 #1  0x00007f62964789c5 in QWidget::testAttribute (this=0x42667c0, 
     attribute=Qt::WA_Moved, on=true)
     at ../../include/QtGui/../../src/gui/kernel/qwidget.h:997
 No locals.
 #2  QWidget::setAttribute (this=0x42667c0, attribute=Qt::WA_Moved, on=true)
     at kernel/qwidget.cpp:9676
 No locals.
 #3  0x00007f629647cd3b in QWidget::move (this=0x42667c0, p=...)
     at kernel/qwidget.cpp:6191
         d = 0x10
 #4  0x000000000054732c in mudlet::moveWindow(QString&, int, int) ()
 No symbol table info available.
 #5  0x00000000004b6ae9 in TLuaInterpreter::moveWindow(lua_State*) ()
 No symbol table info available.
 #6  0x00007f6296e4bc41 in ?? () from /usr/lib/liblua5.1.so.0
 No symbol table info available.
[...]





Follow ups

References