PDA

View Full Version : SEQ segfault on startup



kmkm
01-24-2005, 03:15 PM
Hi,

I've searched the forums and I can't seem to find a solution, I'm using SEQ 5.0.0.16a (tried 5.0.0.16 too).

I've copied accross the spellstr and eqstr text files but whenever I start it up, it starts to display the gui then just segfaults. :(

stdout/err--->

# /usr/local/bin/showeq
Xlib: extension "GLX" missing on display ":1.0".
Xlib: extension "GLX" missing on display ":1.0".
ShowEQ 5.0.0.16, 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.16, Built from 'main.cpp' on Jan 24 2005 at 19:29:15
CVS: @(#) $Id$ $Name$
Using GCC version: 3.3.2
Using glibc version: 2.3
Using Qt version: 3.2.3
Using headers from linux version: 2.6.0
Using EQItemDB: @(#) $Id$ $Name$
Using GDBM: This is GDBM version 1.8.0, as of May 19, 1999.
Running on Linux release 2.6.3-14mdk01km 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!
Warning: Warning: Unknown payload typename 'utf8' for opcode '01e7
Info: Listening for first client seen.
Info: Initializing Packet Capture Thread:
Info: Filtering packets on device eth0, searching for EQ client...
Info: Loaded 6434 spells from '/usr/local/share/showeq/spells_us.txt' maxSpell=0x19f1
Warning: GuildMgr: Could not load guildsfile, /root/.showeq/tmp/guilds2.dat
Debug: ItemDB: Disabled
Info: Loading Filters from '/root/showeq-5.0.0.16'
Info: Loading Zone Filter File: /root/showeq-5.0.0.16
Info: Loading Zone Filter File: /root/showeq-5.0.0.16
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'!
Info: Loaded 11551 message strings from '/usr/local/share/showeq/eqstr_us.txt' maxFormat=46494
Segmentation fault (core dumped)

Thanks for any help you can give

purple
01-24-2005, 04:23 PM
Hrm. The GLX errors can be fixed by enabling GLX extensions. Are you running XFree or xorg?

You might also try to use gdb to get a backtrace, but this may not work if you don't have debug compiled in. But try it anyways if turning on GLX doesn't help. Do this by doing gdb showeq, then type run. Then do whatever you do to make it core. When it cores, type bt at the gdb prompt and cut and paste what it says here.

If you don't have debug compiled in, you could also recompile using ./configure --enable-debug && make && make install and then follow the instructions for getting the backtrace above.

Hope that helps.

kmkm
01-24-2005, 05:02 PM
I reconfigured/make'd/make install'd to add the --enable-debug switch, ran the program in gdb... here's the result:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1087446912 (LWP 812)]
0x408c5bf6 in XftDrawSrcPicture () from /usr/X11R6/lib/libXft.so.2
Current language: auto; currently c
(gdb) bt
#0 0x408c5bf6 in XftDrawSrcPicture () from /usr/X11R6/lib/libXft.so.2
#1 0x051cbe23 in ?? ()
#2 0xbfffdb2c in ?? ()
#3 0x40007e43 in _dl_lookup_symbol (undef_name=Variable "undef_name" is not available.
) at dl-lookup.c:251
Previous frame inner to this frame (corrupt stack?)

kmkm
01-25-2005, 10:22 AM
Sorry, missed that first question, I'm using XFree86.

Hmmm, just a thought. I've tried to run this in a Xvnc (tightvnc-server) and by x-forwarding it to an X-Win32 server. Tried this simply because it's running on the gateway comp. which is in another room... :)

Is there a requirement that it must run on a local X display?

purple
01-25-2005, 11:52 AM
What does xdpyinfo say for Xvnc? Maybe the Xserver side of it doesn't support Xrender (should show up as RENDER under extensions)? What version of Xft do you have?

kmkm
01-25-2005, 02:53 PM
Ahhh, just tried it on a "real" X desktop with the RENDER extension and that worked.

Thanks for your help. :)

Edit: Installed Cygwin/X and that supports the RENDER extension.