Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#11259) crash on city dialog
Home

[Freeciv-Dev] (PR#11259) crash on city dialog

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11259) crash on city dialog
From: "Zhan Shi" <zhan_shi@xxxxxxxxx>
Date: Mon, 29 Nov 2004 17:37:57 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11259 >

Whenever i double-click a city or select the "popup"
city button in the message box, my client crashes with
a "segmentation fault"

I used gdb to produce this bug trace;
GNU gdb 5.3-20030128 (Apple version gdb-309) (Thu Dec 
4 15:41:30 GMT 2003)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show
warranty" for details.
This GDB was configured as "powerpc-apple-darwin".
Reading symbols for shared libraries ............ done
(gdb) run
Starting program:
/Users/student/Desktop/freeciv/bin/civclient 
Reading symbols for shared libraries +. done
1: Client does not support isometric tilesets. Using
default tileset instead.
2: No real audio plugin present, Proceeding with sound
support disabled
2: For sound support, install either esound or
SDL_mixer
2: Esound: http://www.tux.org/~ricdude/EsounD.html
2: SDL_mixer:
http://www.libsdl.org/projects/SDL_mixer/index.html
2: Using fallback resources - which is OK

Program received signal EXC_BAD_ACCESS, Could not
access memory.
0x00022214 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  0x00022214 in create_city_dialog (pcity=0x24,
make_modal=0) at citydlg.c:1053
#1  0x000210e8 in popup_city_dialog (pcity=0xa11f8,
make_modal=36) at citydlg.c:408
#2  0x000210e8 in popup_city_dialog (pcity=0x182e200,
make_modal=0) at citydlg.c:408
#3  0x0000b16c in do_map_click (xtile=34,
ytile=1951576) at control.c:1240
#4  0x00031d90 in mapctrl_btn_mapcanvas
(event=0xbffffb40) at mapctrl.c:269
#5  0x858651b0 in HandleActions ()
#6  0x8586571c in HandleSimpleState ()
#7  0x85865d44 in _XtTranslateEvent ()
#8  0x8583fbb0 in XtDispatchEventToWidget ()
#9  0x85840580 in _XtDefaultDispatcher ()
#10 0x858407c4 in XtDispatchEvent ()
#11 0x85840cac in XtAppMainLoop ()
#12 0x0001da08 in ui_main (argc=1, argv=0x1fc4e8) at
gui_main.c:464
#13 0x000048e8 in main (argc=1, argv=0xbffffdc8) at
civclient.c:228

I am using version 1.14.2 and compiling it on MacOS X
(10.3.4).

This problem isn't urgent or anything, just thought it
might be beneficial to let you know about it.

Great work with the software!




                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11259) crash on city dialog, Zhan Shi <=