PDA

View Full Version : Crashing Time



sakshale
05-17-2002, 03:12 PM
After upgrading my compiler, I can now succesfully build and install showeq again. However, with now EQ client running on the target system (no one home to start one) I get an immediate segfault upon startup.

Loading filters from '/usr/local/share/showeq/filters.conf'
Categories Reloaded
Listening for first client seen.
Initializing Packet Capture Thread:
Filtering packets on device eth0, searching for EQ client...
[New Thread 2049 (LWP 14450)]
[New Thread 1026 (LWP 14451)]
Opcode Logging Mask: 0 0 0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 14443)]
chunk_free (ar_ptr=0x407d5620, p=0x8208268) at malloc.c:3180
3180 malloc.c: No such file or directory.
in malloc.c
Current language: auto; currently c
(gdb) bt
#0 chunk_free (ar_ptr=0x407d5620, p=0x8208268) at malloc.c:3180
#1 0x40721bf4 in __libc_free (mem=0x8208270) at malloc.c:3154
#2 0x4064f001 in operator delete(void*) () from /usr/lib/libstdc++.so.4
#3 0x4016399f in QStringData::deleteSelf() ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#4 0x402aa1d3 in QListViewItem::sortChildItems(int, bool) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#5 0x402aa76b in QListViewItem::enforceSortOrder() const ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#6 0x402aa421 in QListViewItem::setOpen(bool) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#7 0x402b33fa in QListView::reconfigureItems() ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#8 0x402af5bd in QListView::show() ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#9 0x080acc7c in EQInterface (this=0xbfffee60, parent=0x0,
name=0x815d58c "interface") at interface.cpp:4707
#10 0x08061b70 in main (argc=4, argv=0xbffff170) at main.cpp:922
#11 0x406bd507 in __libc_start_main (main=0x805e930 <main>, argc=4,
ubp_av=0xbffff8d4, init=0x805a690 <_init>, fini=0x815d558 <_fini>,
rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffff8cc)
at ../sysdeps/generic/libc-start.c:129
(gdb)

high_jeeves
05-17-2002, 03:22 PM
Did you rebuild QT with the new compiler? That would be my first shot :)

You might want to start posting these help requests on the help forum..

--Jeeves

sakshale
05-17-2002, 06:07 PM
Sorry about posting in the wrong forum...

Rebuilding Qt was a great suggestion. I should have done that first. However, it didn't cure the problems, but the traces did change.

I have a sinking feeling that I may have a real hardware problem under all of this. :( Because, now every trace is slightly different... here are two.

Listening for first client seen.
Initializing Packet Capture Thread:
Filtering packets on device eth0, searching for EQ client...
[New Thread 2049 (LWP 23439)]
[New Thread 1026 (LWP 23440)]
Opcode Logging Mask: 0 0 0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 23432)]
0x40160744 in ucstrcmp(QString const&, QString const&) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
Current language: auto; currently c
(gdb) bt
#0 0x40160744 in ucstrcmp(QString const&, QString const&) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#1 0x402a9fd9 in cmp(void const*, void const*) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#2 0x406d166e in msort_with_tmp (b=0x8264304, n=8, s=8,
cmp=0x402a9fb0 <cmp(void const*, void const*)>,
t=0xbfffda70 "pÇ!\b8Ç!\b\030\204 \bð6&\bX\204 \b@?\037\b¨Úÿ¿Ø*V@<C&\b")
at msort.c:70
#3 0x406d17f8 in qsort (b=0x8264304, n=8, s=8,
cmp=0x402a9fb0 <cmp(void const*, void const*)>) at msort.c:98
#4 0x402aa12a in QListViewItem::sortChildItems(int, bool) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#5 0x402aa76b in QListViewItem::enforceSortOrder() const ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#6 0x402aa421 in QListViewItem::setOpen(bool) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#7 0x402b33fa in QListView::reconfigureItems() ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#8 0x402af5bd in QListView::show() ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#9 0x080acc7c in EQInterface (this=0xbfffee60, parent=0x0,
name=0x815d58c "interface") at interface.cpp:4707
#10 0x08061b70 in main (argc=4, argv=0xbffff170) at main.cpp:922
#11 0x406bd507 in __libc_start_main (main=0x805e930 <main>, argc=4,
ubp_av=0xbffff8d4, init=0x805a690 <_init>, fini=0x815d558 <_fini>,
rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffff8cc)
at ../sysdeps/generic/libc-start.c:129
(gdb)


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 23468)]
__pthread_mutex_lock (mutex=0xfeb889d6) at mutex.c:99
99 mutex.c: No such file or directory.
in mutex.c
Current language: auto; currently c
(gdb) bt
#0 __pthread_mutex_lock (mutex=0xfeb889d6) at mutex.c:99
#1 0x40721be8 in __libc_free (mem=0x407d5630) at malloc.c:3152
#2 0x4064f001 in operator delete(void*) () from /usr/lib/libstdc++.so.4
#3 0x4064f054 in operator delete[](void*) () from /usr/lib/libstdc++.so.4
#4 0x401639b5 in QStringData::deleteSelf() ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#5 0x402aa1d3 in QListViewItem::sortChildItems(int, bool) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#6 0x402aa76b in QListViewItem::enforceSortOrder() const ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#7 0x402aa421 in QListViewItem::setOpen(bool) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#8 0x402b33fa in QListView::reconfigureItems() ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#9 0x402af5bd in QListView::show() ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#10 0x080acc7c in EQInterface (this=0xbfffee60, parent=0x0,
name=0x815d58c "interface") at interface.cpp:4707
#11 0x08061b70 in main (argc=4, argv=0xbffff170) at main.cpp:922
#12 0x406bd507 in __libc_start_main (main=0x805e930 <main>, argc=4,
ubp_av=0xbffff8d4, init=0x805a690 <_init>, fini=0x815d558 <_fini>,
rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffff8cc)
at ../sysdeps/generic/libc-start.c:129
(gdb)

S_B_R
05-17-2002, 07:34 PM
I dunno if it will make any difference but, Did you recompile SEQ after you recompiled QT? and is $QTDIR set to the right directory?

sakshale
05-19-2002, 08:17 PM
Well, I've rebuild Qt and ShowEQ multiple times, double checking all the options. It still seqfaults on startup. (Note: always the same)

I figure that I have a corrupt library somewhere, so next step is a OS reinstall....

Qt: gdb: -nograb added to command-line options.
Use the -dograb option to enforce grabbing.
Session management error: Authentication Rejected, reason : None of the
cation protocols specified are supported and host-based authentication
Using config file '/usr/local/share/showeq/showeq.xml'
Loaded preferences file: /usr/local/share/showeq/seqdef.xml!
Loaded preferences file: /usr/local/share/showeq/showeq.xml!
Xlib: extension "RENDER" missing on display ":0.0".
Loading filters from '/usr/local/share/showeq/filters.conf'
Categories Reloaded
Listening for first client seen.
Initializing Packet Capture Thread:
Filtering packets on device eth0, searching for EQ client...
[New Thread 2049 (LWP 25542)]
[New Thread 1026 (LWP 25543)]
Opcode Logging Mask: 0 0 0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 25535)]
0x40160755 in ucstrcmp(QString const&, QString const&) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
Current language: auto; currently c
(gdb) bt
#0 0x40160755 in ucstrcmp(QString const&, QString const&) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#1 0x402a9fd9 in cmp(void const*, void const*) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#2 0x406d166e in msort_with_tmp (b=0x41255b14, n=4, s=8,
cmp=0x402a9fb0 <cmp(void const*, void const*)>,
t=0xbfffda30 "ðN%AðL%A R%AxR%A0M%AÐT%AhÚÿ¿Ø*V@,[%AÀÚÿ¿¬ÙV@å^\006@\024Zj@Ø*V@\b") at msort.c:70
#3 0x406d1649 in msort_with_tmp (b=0x41255af4, n=8, s=8,
cmp=0x402a9fb0 <cmp(void const*, void const*)>,
t=0xbfffda30 "ðN%AðL%A R%AxR%A0M%AÐT%AhÚÿ¿Ø*V@,[%AÀÚÿ¿¬ÙV@å^\006@\024Zj@Ø*V@\b") at msort.c:48
#4 0x406d17f8 in qsort (b=0x41255af4, n=8, s=8,
cmp=0x402a9fb0 <cmp(void const*, void const*)>) at msort.c:98
#5 0x402aa12a in QListViewItem::sortChildItems(int, bool) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#6 0x402aa76b in QListViewItem::enforceSortOrder() const ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#7 0x402aa421 in QListViewItem::setOpen(bool) ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#8 0x402b33fa in QListView::reconfigureItems() ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#9 0x402af5bd in QListView::show() ()
from /usr/local/src/qt-2.3.2/lib/libqt-mt.so.2
#10 0x080b02a0 in EQInterface (this=0xbfffee30, parent=0x0,
name=0x816122c "interface") at interface.cpp:4749
#11 0x08061bc7 in main (argc=4, argv=0xbffff140) at main.cpp:916
#12 0x406bd507 in __libc_start_main (main=0x805e9b0 <main>, argc=4,
ubp_av=0xbffff844, init=0x805a704 <_init>, fini=0x81611f8 <_fini>,
rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffff83c)
at ../sysdeps/generic/libc-start.c:129
(gdb)

fryfrog
05-19-2002, 11:20 PM
well, this should be in the help thread...

but also, when they say "did you re-build qt" they MEAN "did you rebuild qt using gcc3, then re-build showeq using gcc3". this IS a must. just compiling qt will result in it using your "normal" gcc (usually 2.9x). you actually HAVE to edit a file in the qt source (qt-src/configs/linux-g++-shared i think) and change all references to "gcc" to "gcc3/gcc-3.0/gcc-3.0.1/gcc-3.0.4" and all "g++" to "g++3/g++-3.0/g++-3.0.1/g++-3.0.4". that was "redhat/gentoo/mdk 8.1/mdk 8.2" names for gcc3 btw. be sure you have ALL the gcc3 stuff installed, should be between 4 and 6 rpms on rh and mdk.