 |
|
MacHatter
|
|
I'm afraid I don't know all the intricacies of delaing with segfaults, but I can ask some questions that would assist the developers. Based on the question, I assume you're using linux. I also assume that the crash is reproducable.
What window manager are you using?
What version exactly are you using? is it the 1.14.0-beta2 source or the CVS-HEAD source?
Do you have the core file and can you generate a backtrace?
|
|
|  |
 |
|
Per
|
|
Please start the freeciv client with gdb, for example in this way
gdb client/civclient
(or replace client/civclient with whatever path you have to civclient) then type "run". When it segfaults, type "bt" and post the results. Also run "civclient -d 3" and post the output from that.
|
|
|  |
 |
|
bbailey
|
|
quote: Originally posted by Per
Please start the freeciv client with gdb, for example in this way
gdb client/civclient
(or replace client/civclient with whatever path you have to civclient) then type "run". When it segfaults, type "bt" and post the results. |
I am also getting a Segmentation fault. I compiled Freeciv 1.14.0 under X11 (0.1, XFree86 4.2.1) on Mac OS X 10.2.3.
The segfault only happens when I try to build a city. So long as I just move my units around, things seem to be fine.
code:
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x00022f8c in create_city_dialog (pcity=0x24, make_modal=0) at citydlg.c:1053
1053 XSetWMProtocols(display, XtWindow(pdialog->shell), &wm_delete_window,
1);
(gdb) bt
#0 0x00022f8c in create_city_dialog (pcity=0x24, make_modal=0) at citydlg.c:105
3
#1 0x00021d98 in popup_city_dialog (pcity=0x4d87f0, make_modal=0) at citydlg.c:
408
#2 0x00012b8c in handle_city_packet_common (pcity=0x4d87f0, is_new=6293800, pop
up=1, investigate=1) at packhand.c:495
#3 0x000129a4 in handle_city_info (packet=0x4e5290) at packhand.c:450
#4 0x00004e64 in handle_packet_input (packet=0x4e5290, type=2101400) at civclie
nt.c:299
#5 0x000088c8 in input_from_server (fd=0) at clinet.c:325
#6 0x96476d3c in DoOtherSources ()
#7 0x964770c4 in XtAppNextEvent ()
#8 0x9646dc7c in XtAppMainLoop ()
#9 0x0001e3b0 in ui_main (argc=1, argv=0x201098) at gui_main.c:464
#10 0x00004c1c in main (argc=1, argv=0xbffffe0c) at civclient.c:228
#11 0x00002970 in _start (argc=1, argv=0xbffffe0c, envp=0xbffffe14) at /SourceCa
che/Csu/Csu-45/crt.c:267
#12 0x000027f0 in start ()
|
|
|  |
 |
|
rp
|
|
Eindhoven
May 2000 time: 06:24
|
|
afaik this is a known - and fixed - bug in the Xaw client. try compiling the GTK+ client ...
|
|
|  |
All times are GMT. The time now is 05:24. Apolyton Time is 00:24. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|