Complete.Org: Mailing Lists: Archives: freeciv-dev: November 1998:
[Freeciv-Dev] FreeCiv coredump
Home

[Freeciv-Dev] FreeCiv coredump

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] FreeCiv coredump
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: 03 Nov 1998 09:25:29 -0600

OK, my first attempt to use civclient on my Alpha box is somewhat
disheartening :-(

The problem is that the error is apparently happening DEEP inside some 
X code, and I am not at all fluent in Xt/Xaw so I can't be of much use 
there.  However, I can try and pinpoint some stuff with gdb.

Configuration details below.  Here's some gdb info:

(gdb) run
Starting program: /usr/games/civclient.real 

Program received signal SIGSEGV, Segmentation fault.
0x155561e50b8 in strcmp ()
(gdb) bt
#0  0x155561e50b8 in strcmp ()
#1  0x15555b4cf90 in   ()
#2  0x15555b4ca88 in   ()
#3  0x1200316a0 in x_main (argc=1, argv=0x11ffffd08) at xmain.c:406
#4  0x1200096d8 in main (argc=1, argv=0x11ffffd08) at civclient.c:88
(gdb) frame 3
#3  0x1200316a0 in x_main (argc=1, argv=0x11ffffd08) at xmain.c:406
406       XtVaGetValues(map_canvas, XtNheight, &h, XtNwidth, &w);
(gdb) print map_canvas
$1 = 0x1201e8030
(gdb) print XtNheight
No symbol "XtNheight" in current context.
(gdb) print h
$2 = 21953
(gdb) print XtNwidth
No symbol "XtNwidth" in current context.
(gdb) print w
$3 = 41184
(gdb) frame 4
#4  0x1200096d8 in main (argc=1, argv=0x11ffffd08) at civclient.c:88
88        x_main(argc, argv);
(gdb) print argc
$4 = 1
(gdb) print argv
$5 = (char **) 0x11ffffd08

Now then.  This machine is an Alpha 21164 (64-bit 600MHz) box running
Linux 2.0.35 (Debian slink/potato).

ldd reports, for civclient:

        libnsl.so.1.1 => /lib/libnsl.so.1.1 (0x000001555555a000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x0000015555662000)
        libXaw.so.6 => /usr/X11R6/lib/libXaw.so.6 (0x0000015555776000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x00000155558cc000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x00000155559e8000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x0000015555b50000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x0000015555c5e000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0000015555d7e000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0000015555e92000)
        libc.so.6.1 => /lib/libc.so.6.1 (0x000001555607c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000000000000000)

Also an odd behavior with civserver: it cannot seem to do a reverse
lookup on people; it lists everybody as being connected from
"unknown".  Other programs do not have this problem.

And a final detail: if I run civclient on my Pentium box, and direct
the DISPLAY to the Alpha, things work fine, so it's not a problem with 
the Alpha X-server (I don't think.)

Let me know what I can do to help diagnose this problem!

Thanks,
John

-- 
John Goerzen   Linux, Unix consulting & programming   jgoerzen@xxxxxxxxxxxx |
Developer, Debian GNU/Linux (Free powerful OS upgrade)       www.debian.org |
----------------------------------------------------------------------------+
Visit the Air Capital Linux Users Group on the web at http://www.aclug.org


[Prev in Thread] Current Thread [Next in Thread]