Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: build city seg fault (PR#952)
Home

[Freeciv-Dev] Re: build city seg fault (PR#952)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: build city seg fault (PR#952)
From: Iain Sutherland <pcwizard@xxxxxxxxxxxxxxx>
Date: Mon, 10 Sep 2001 23:04:28 -0300


On Mon, Sep 10, 2001 at 08:26:24AM -0700, ainu@xxxxxxxxxxxxxxx wrote:

Full_Name: Iain Sutherland
Version: 1.12.1
Distribution: Built from source
Client: Both (or N/A)
OS: Red Hat 7.1
Submission from: (NULL) (142.177.214.217)


I ran into this problem both with 1.12.0 and 1.12.1. Just after the game starts
and I try to build my first city I will get a seg fault.


Does the server or the client crashes?

Can you enable core files and do after such a crash:
$ gdb client/civclient core
if the client crashes and $ gdb server/civserver core
if the server crashes? Type "bt" at the prompt you will get. Send the
output to freeciv-dev please.

    Raimar

Sorry I should have mentioned it is the client that crashes.


hopefully I get the debugger working right.. never used it before.

#0  0x40391dd3 in strlen () from /lib/i686/libc.so.6
#1  0x40448591 in _XftSaveString () from /usr/X11R6/lib/libXft.so.1
#2  0x40447ebd in XftPatternAdd () from /usr/X11R6/lib/libXft.so.1
#3  0x404480a4 in XftPatternAddString () from /usr/X11R6/lib/libXft.so.1
#4  0x40449372 in XftFreeTypeQuery () from /usr/X11R6/lib/libXft.so.1
#5  0x404491b1 in XftDirScan () from /usr/X11R6/lib/libXft.so.1
#6  0x40449ace in XftInitFtLibrary () from /usr/X11R6/lib/libXft.so.1
#7  0x4044360d in XftFontMatch () from /usr/X11R6/lib/libXft.so.1
#8  0x40443a70 in XftFontOpenXlfd () from /usr/X11R6/lib/libXft.so.1
#9  0x4001a817 in gdk_font_load () at eval.c:41
#10 0x4010a4cc in gtk_rc_style_to_style () at eval.c:41
#11 0x4010a92d in gtk_rc_style_init () at eval.c:41
#12 0x40109dd8 in gtk_rc_get_style () at eval.c:41
#13 0x4014ed68 in gtk_widget_set_rc_style () at eval.c:41
#14 0x4014df81 in gtk_widget_set_name () at eval.c:41
#15 0x0806e143 in create_city_dialog (pcity=0x82775f0, make_modal=0)
 at citydlg.c:569
#16 0x0806da50 in popup_city_dialog (pcity=0x82775f0, make_modal=0)
 at citydlg.c:351
#17 0x08066a70 in handle_city_packet_common (pcity=0x82775f0, is_new=1,
 popup=1, investigate=0) at packhand.c:471
#18 0x08066816 in handle_city_info (packet=0x8277358) at packhand.c:395
#19 0x0805e0ed in handle_packet_input (packet=0x8277358 "h", type=15)
---Type <return> to continue, or q <return> to quit---
 at civclient.c:257
#20 0x0805fb6b in input_from_server (fid=6) at clinet.c:325
#21 0x40197b46 in gdk_io_invoke () at eval.c:41
#22 0x401ca01e in g_io_unix_dispatch () at eval.c:41
#23 0x401cb7f3 in g_main_dispatch () at eval.c:41
#24 0x401cbdd9 in g_main_iterate () at eval.c:41
#25 0x401cbf8c in g_main_run () at eval.c:41
#26 0x400e0803 in gtk_main () at eval.c:41
#27 0x080817ea in ui_main (argc=1, argv=0xbffffa3c) at gui_main.c:834
#28 0x0805dfe8 in main (argc=1, argv=0xbffffa3c) at civclient.c:188
#29 0x40328177 in __libc_start_main (main=0x805db90 <main>, argc=1,
 ubp_av=0xbffffa3c, init=0x805b7a8 <_init>, fini=0x80b2440 <_fini>,
 rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffffa2c)
 at ../sysdeps/generic/libc-start.c:129





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