PDA

View Full Version : Seg Fault in SEQ 5.003



domesticbeer
01-13-2004, 08:28 PM
Here is the BT output of GDB


Spell: You finish casting 'Undead Pact'.
Spell: Your target is too high of a level for your charm spell.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 5965)]
0x0807827e in SpellShell::deleteSpell(SpellItem*) (this=0x95a3d30, item=0x95a3d30) at qshared.h:50
warning: Source file is more recent than executable.

50 bool deref() { return !--count; }
(gdb) BT
#0 0x0807827e in SpellShell::deleteSpell(SpellItem*) (this=0x95a3d30, item=0x95a3d30) at qshared.h:50
#1 0x0807934c in SpellShell::simpleMessage(unsigned char const*, unsigned, unsigned char) (this=0x95a3d30,
data=0x1a <Address 0x1a out of bounds>) at spellshell.cpp:402
#2 0x0808616e in SpellShell::qt_invoke(int, QUObject*) (this=0x835deac, _id=156908848, _o=0xbfffcb20) at qucom_p.h:312
#3 0x40283188 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3
#4 0x080916a4 in EQPacketDispatch::signal(unsigned char const*, unsigned, unsigned char) (this=0x8443c48,
t0=0x1a <Address 0x1a out of bounds>, t1=12, t2=2 '\002') at m_packetinfo.cpp:99
#5 0x08088d85 in EQPacketStream::dispatchPacket(unsigned char const*, unsigned, unsigned short, EQPacketOPCode const*) (
this=0x82ed5d8, data=0x8229db1 "ø", len=12, opCode=473, opcodeEntry=0x8336190) at packetstream.cpp:680
#6 0x08088a82 in EQPacketStream::decodePacket(unsigned char*, unsigned, unsigned short) (this=0x82ed5d8,
data=0x8229dbd "\001\ft", len=269, opCode=473) at packetstream.cpp:558
#7 0x08088c40 in EQPacketStream::processPayload(unsigned char*, unsigned) (this=0x82ed5d8,
data=0xbfffce04 "x^ãá```8ÎÅÀÀ\f¤\231\025å¹\032\031\034\031\200\\\bX pÚ\031D=\a\021 E7\027òü", len=196) at packetstream.cpp:629
#8 0x08089397 in EQPacketStream::handlePacket(EQUDPIPPacketFormat&) (this=0xbfffce04, packet=@0xc4) at packetformat.h:263
#9 0x08093e9c in EQPacket::dispatchPacket(int, unsigned char*) (this=0xc4, size=28867, buffer=0x1a <Address 0x1a out of bounds>)
at packet.cpp:658
#10 0x08093b76 in EQPacket::processPackets() (this=0xbfffce04) at packet.cpp:474
#11 0x0809649c in EQPacket::qt_invoke(int, QUObject*) (this=0x828b2d8, _id=2, _o=0xbfffee90) at m_packet.cpp:518
#12 0x40283210 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3
#13 0x40283044 in QObject::activate_signal(int) () from /usr/qt/3/lib/libqt-mt.so.3
#14 0x4059f55b in QTimer::timeout() () from /usr/qt/3/lib/libqt-mt.so.3
#15 0x402a4522 in QTimer::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#16 0x402283a5 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#17 0x40227795 in QApplication::notify(QObject*, QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#18 0x40217afd in QEventLoop::activateTimers() () from /usr/qt/3/lib/libqt-mt.so.3
#19 0x401d4b54 in QEventLoop::processEvents(unsigned) () from /usr/qt/3/lib/libqt-mt.so.3
#20 0x4023b606 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#21 0x4023b4a8 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#22 0x402285f1 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#23 0x08067eef in main (argc=1, argv=0x843ee18) at main.cpp:686
#24 0x4084990c in __libc_start_main () from /lib/libc.so.6

Zaphod
01-13-2004, 11:37 PM
That stack trace seems to indicate that you didn't apply the patch that I posted here (http://seq.sourceforge.net/forums/showthread.php?s=&threadid=4475).

Enjoy,
Zaphod (dohpaZ)

domesticbeer
01-14-2004, 12:57 PM
Hmm odd thought I applied, will do tonite and see if it blows up again. Thanks Zaphod.