Complete.Org: Mailing Lists: Archives: freeciv-dev: December 1998:
[Freeciv-Dev] Segmentation fault from civclient
Home

[Freeciv-Dev] Segmentation fault from civclient

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Segmentation fault from civclient
From: Roy Stogner <roystgnr@xxxxxxxxx>
Date: Mon, 28 Dec 1998 23:01:05 -0600 (EST)

I've received this segfault with versions 1.7.0 (from the binary RPM)
and 1.7.2 (from the 171-172 patch applied to the source RPM, then
built with gcc 2.7.2.3).  My system looks like:

[roystgnr@mycroft freeciv-1.7.2]$ uname -a
Linux mycroft 2.1.131 #8 SMP Sat Dec 19 19:12:46 CST 1998 i586 unknown
[roystgnr@mycroft freeciv-1.7.2]$ ldd client/civclient
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40008000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40011000)
        libXaw.so.6 => /usr/X11R6/lib/libXaw.so.6 (0x40028000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4007d000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4008a000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4009c000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400e4000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400f0000)
        libc.so.6 => /lib/libc.so.6 (0x40193000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
[roystgnr@mycroft freeciv-1.7.2]$ rpm -qf /usr/X11R6/lib/libXpm.so.4
xpm-3.4j-3
[roystgnr@mycroft freeciv-1.7.2]$ rpm -qf /lib/ld-linux.so.2 /lib/libc.so.6
glibc-2.0.7-29
glibc-2.0.7-29

All the other libraries are from XFree86-libs v3.3.3.

I'm running X with DefaultColorDepth 32, but I get a segfault at 8bpp
too.


The segfault occurs in xmain.c, line 593, at the call:

  unit_info_label = XtVaCreateManagedWidget("unitinfolabel", 
                                            labelWidgetClass, 
                                            left_column_form, 
                                            NULL);

Any help would be appreciated - and as the segfault is completely
reproducible, let me know if there's any other information you need.


Oh, as long as I'm writing: I'd like to contribute graphics, but have
some questions:

Is there any reason why the tileset is limited to a 32 color palette?
The graphics could be done a lot better by simply upping the number of
colors used.

Is there any support planned for viewing maps at different scales?  It
looked like the tile size was pretty hard-coded, but I have hope.

Please CC: replies to roystgnr@xxxxxxxx
---
Roy Stogner



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