PDA

View Full Version : Crashes? i don't need no stinking crashes.



baelang
06-25-2002, 03:40 PM
I have noticed an increase in crashes since the new libEQ.a went in. I am not much of a C developer so i hope you all can help me a bit.

I didn't get any core files but i ran in GDB as per the instructions i found via the search feature.

(note to folks like me: use that search button! this is the first time i ever had to post. the answers are almost always there!)

The crash will happen at irregular intervals which leads me to believe that it is related to certian data types. also note that the crash happens very frequently in certian zones such as shadeweaver's thicket and fungas grove, where as other zones have no problem at all.

first some background:
I have the june22 CVS build. I try to keep up to date and have build most versions. i almost always do "make distclean" rather than creating a new directory.

I have double-checked and verified that the only version of libEQ.a on my box is the june 18 version, and md5sum checks out correctly.

I get the "wicked" message about qt ever since qt verification went default, but my installation of qt seemed to work fine in previous versions of SEQ and it does compile without errors when i use configure --without-qt-verification.

so the QT install may be the issue, but it dosen't really seem to be the case.

anyway, attacked below is the backtrace. let me know what additional information i can post to help narrow down the problem.

--- begin quote---
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 28812)] Map::paintSpawns(MapParameters&, QPainter&, QTime const&) (this=0x81fd9a0,
param=@0x81fda18, p=@0xbfffe280, drawTime=@0xbfffe250) at spawn.h:112
112 itemType type() const { return m_type; }
(gdb) bt
#0 Map::paintSpawns(MapParameters&, QPainter&, QTime const&) (this=0x81fd9a0,
param=@0x81fda18, p=@0xbfffe280, drawTime=@0xbfffe250) at spawn.h:112 #1 0x080f5aa1 in Map::paintMap(QPainter*) (this=0x81fd9a0, p=0xbfffe3e0)
at map.cpp:2940
#2 0x080f8860 in Map::paintEvent(QPaintEvent*) (this=0x81fd9a0, e=0xbfffe620)
at map.cpp:4039
#3 0x4026ae6c in QWidget::event(QEvent*) ()
from /usr/lib/qt-2.3.2//lib/libqt-mt.so.2
#4 0x401d11f0 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/qt-2.3.2//lib/libqt-mt.so.2
#5 0x401c7575 in QWidget::repaint(int, int, int, int, bool) ()
from /usr/lib/qt-2.3.2//lib/libqt-mt.so.2
#6 0x080f53f2 in Map::refreshMap() (this=0x81fd9a0)
at /usr/lib/qt-2.3.2/include/qrect.h:195
#7 0x4021a9fe in QObject::activate_signal(char const*) ()
from /usr/lib/qt-2.3.2//lib/libqt-mt.so.2
#8 0x40278ae3 in QTimer::timeout() ()
from /usr/lib/qt-2.3.2//lib/libqt-mt.so.2
#9 0x40257a13 in QTimer::event(QEvent*) ()
from /usr/lib/qt-2.3.2//lib/libqt-mt.so.2
#10 0x401d11f0 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/qt-2.3.2//lib/libqt-mt.so.2
#11 0x40199edc in qt_activate_timers() ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/qt-2.3.2//lib/libqt-mt.so.2
#12 0x401979bc in QApplication::processNextEvent(bool) ()
from /usr/lib/qt-2.3.2//lib/libqt-mt.so.2
#13 0x401d34fb in QApplication::enter_loop() ()
from /usr/lib/qt-2.3.2//lib/libqt-mt.so.2
#14 0x40197550 in QApplication::exec() ()
from /usr/lib/qt-2.3.2//lib/libqt-mt.so.2
#15 0x08062595 in main (argc=3, argv=0xbffff3f4) at main.cpp:927 #16 0x406f6647 in __libc_start_main (main=0x805f3f8 <main>, argc=3,
ubp_av=0xbffff3f4, init=0x805af8c <_init>, fini=0x8171f30 <_fini>,
rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbffff3ec)
at ../sysdeps/generic/libc-start.c:129
(gdb)
(gdb) backtrace full
#0 Map::paintSpawns(MapParameters&, QPainter&, QTime const&) (this=0x81fd9a0,
param=@0x81fda18, p=@0xbfffe280, drawTime=@0xbfffe250) at spawn.h:112
owner = (class Spawn *) 0x0
it = {<QGDictIterator> = {dict = 0x821dc54, curNode = 0x83969b8,
curIndex = 198}, <No data fields>}
atri = {<QArray<QPoint>> = {<> = {<No data fields>}, <No data fields>}, static splen = 8, static sp = 0x8274560}
distance = 136269480
spawnNameText = {static null = Cannot access memory at address 0x0

---endquote---

baelang
06-25-2002, 03:45 PM
sorry about the silly smilie faces. I will go figure out how to turn them off right now.

EDIT: smilies destroyed. ;)

also, maybe my problem is related to the one discussed here:
http://seq.sourceforge.net/showthread.php?s=&threadid=1349

but i don't know enough to be able to tell if that is so.

thank you very much.