PDA

View Full Version : segfault with 5.0.0.8



repudi8or
05-11-2004, 08:18 PM
This was tacked under another segfault post but I now realise mine is a little different.
I am running seq on redhat 7.3
any thoughts would be appreciated.

Rep.


Here is the gdb bt of my segfault. Dunno what this means though. Am hoping someone else might. Thanks in advance.

[root@co3001858-A showeq]# gdb /usr/local/bin/showeq
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) r
Starting program: /usr/local/bin/showeq
[New Thread 1085538720 (LWP 12354)]
ShowEQ 5.0.0.8, released under the GPL.
SINS 0.5, released under the GPL.
All ShowEQ source code is Copyright (C) 2000-2004 by the respective ShowEQ Developers
ShowEQ comes with NO WARRANTY.

You may redistribute copies of ShowEQ under the terms of
The GNU General Public License.
See: http://www.gnu.org/copyleft/gpl.html for more details...

For updates and information, please visit http://seq.sourceforge.net/
ShowEQ 5.0.0.8, Built from 'main.cpp' on May 8 2004 at 19:26:39
CVS: @(#) $Id: main.cpp,v 1.33.6.3 2004/01/16 20:22:10 dohpaz Exp $ $Name: $
Using GCC version: 3.2.2
Using glibc version: 2.3
Using Qt version: 3.1.1
Using headers from linux version: 2.4.20
Using EQItemDB: @(#) $Id: itemdb.cpp,v 1.10.6.1 2003/12/07 06:30:43 dohpaz Exp $ $Name: $
Using GDBM: This is GDBM version 1.8.0, as of May 19, 1999.
Running on Linux release 2.4.20-8 for processor i686

Using config file '/root/.showeq/showeq.xml'
Loaded preferences file: /usr/local/share/showeq/seqdef.xml!
Unable to open file: /root/.showeq/showeq.xml!
Info: Listening for first client seen.
Info: Initializing Packet Capture Thread:
Info: Filtering packets on device eth0, searching for EQ client...
[New Thread 1096359104 (LWP 12361)]
Warning: Spells: Failed to open: '/usr/local/share/showeq/spells_us.txt'
Warning: GuildMgr: Could not load guildsfile, /root/.showeq/tmp/guilds2.dat
Debug: ItemDB: Disabled
Info: Loading Filters from '/home/brett/showeq'
Info: Loading Zone Filter File: /home/brett/showeq
Info: Loading Zone Filter File: /home/brett/showeq
Info: Categories Reloaded
Info: No Map found for zone 'unknown'!
Info: Checked for all variants of 'unknown.map', 'unknown.txt', and 'unknown_1.txt'
Info: in directories '/root/.showeq/maps' and '/usr/local/share/showeq/maps'!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1085538720 (LWP 12354)]
0x4025abd1 in QGridLayout::sizeHint() const ()
from /opt/qt-x11-free-3.1.1/lib/libqt-mt.so.3
(gdb) bt
#0 0x4025abd1 in QGridLayout::sizeHint() const ()
from /opt/qt-x11-free-3.1.1/lib/libqt-mt.so.3
#1 0x08100f7e in ExperienceWindow (this=0x82a3a70, dataLocMgr=0x8320590,
player=0x8320590, groupMgr=0x8320590, zoneMgr=0x8320590, parent=0x0,
name=0x0) at qwidget.h:393
#2 0x080abcbf in EQInterface (this=0xbfffd7f0, dlm=0x8320590, parent=0x0,
name=0x818ffe8 "interface") at interface.cpp:373
#3 0x08067b04 in main (argc=1, argv=0xbfffd7f0) at main.cpp:684
#4 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
(gdb

LordCrush
05-12-2004, 12:19 AM
Warning: Spells: Failed to open: '/usr/local/share/showeq/spells_us.txt'

Make sure you have the correct spells_us.txt and eqstr_us.txt in your SEQ-Directory. Not sure that will fix it, but its worth a try

repudi8or
05-13-2004, 08:18 AM
I made sure those files were current. didnt help. I reloaded my source from cvs and rebuilt showeq and the output from gdb is now a little different. See below.

[root@co3001858-A brett]# gdb /usr/local/bin/showeq
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb)
(gdb) r
Starting program: /usr/local/bin/showeq
[New Thread 1085538720 (LWP 21767)]
ShowEQ 5.0.0.8, released under the GPL.
SINS 0.5, released under the GPL.
All ShowEQ source code is Copyright (C) 2000-2004 by the respective ShowEQ Developers
ShowEQ comes with NO WARRANTY.

You may redistribute copies of ShowEQ under the terms of
The GNU General Public License.
See: http://www.gnu.org/copyleft/gpl.html for more details...

For updates and information, please visit http://seq.sourceforge.net/
ShowEQ 5.0.0.8, Built from 'main.cpp' on May 13 2004 at 11:41:30
CVS: @(#) $Id: main.cpp,v 1.33.6.3 2004/01/16 20:22:10 dohpaz Exp $ $Name: $
Using GCC version: 3.2.2
Using glibc version: 2.3
Using Qt version: 3.1.1
Using headers from linux version: 2.4.20
Using EQItemDB: @(#) $Id: itemdb.cpp,v 1.10.6.1 2003/12/07 06:30:43 dohpaz Exp $ $Name: $
Using GDBM: This is GDBM version 1.8.0, as of May 19, 1999.
Running on Linux release 2.4.20-8 for processor i686

Using config file '/root/.showeq/showeq.xml'
Loaded preferences file: /usr/local/share/showeq/seqdef.xml!
Loaded preferences file: /root/.showeq/showeq.xml!
Info: Listening for client: 192.168.0.20
Info: Initializing Packet Capture Thread:
Info: Filtering packets on device eth1, IP host 192.168.0.20
[New Thread 1096359104 (LWP 21774)]
Info: Loaded 5063 spells from '/usr/local/share/showeq/spells_us.txt' maxSpell=0x1445
Info: GuildMgr: Guildsfile loaded
Debug: ItemDB: Disabled
Info: Loading Filters from '/root/.showeq/filters/global.xml'
Info: Loading Zone Filter File: /root/.showeq/filters/unknown.xml
Info: Loading Zone Filter File: /root/.showeq/filters/unknown.xml
Info: Categories Reloaded
Info: No Map found for zone 'unknown'!
Info: Checked for all variants of 'unknown.map', 'unknown.txt', and 'unknown_1.txt'
Info: in directories '/root/.showeq/maps' and '/usr/local/share/showeq/maps'!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1085538720 (LWP 21767)]
0x4025abd1 in QGridLayout::sizeHint() const ()
from /opt/qt-x11-free-3.1.1/lib/libqt-mt.so.3
(gdb) bt
#0 0x4025abd1 in QGridLayout::sizeHint() const ()
from /opt/qt-x11-free-3.1.1/lib/libqt-mt.so.3
#1 0x08100f7e in ExperienceWindow (this=0x8323ce8, dataLocMgr=0x82fad20,
player=0x82fad20, groupMgr=0x82fad20, zoneMgr=0x82fad20, parent=0x0,
name=0x0) at qwidget.h:393
#2 0x080abcbf in EQInterface (this=0xbfffe170, dlm=0x82fad20, parent=0x0,
name=0x818ffe8 "interface") at interface.cpp:373
#3 0x08067b04 in main (argc=1, argv=0xbfffe170) at main.cpp:684
#4 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
(gdb)


any other thoughts?

junk
05-13-2004, 10:09 AM
Still the same error. Searching for "QGridLayout::sizeHint()", I found that you might try recompiling qt with your current version of gcc. In the past, it seems that the problem was that qt was compiled with a different version of gcc than ShowEQ was.

repudi8or
05-14-2004, 09:24 AM
Thanks heaps Junk, recompiling qt fixed my problem. Much appreciated.

Rep