<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39621 >
In both S2_1 and trunk sdl-client asks confirmation for selling, and crashes after confirmation is given. Backtrace from S2_1: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47362119965248 (LWP 20763)] enable_city_dlg_widgets () at ../../../src.patched/client/gui-sdl/citydlg.c:1491 1491 if (is_wonder(MAX_ID - 3000 - pTmpWidget->ID)) { (gdb) bt full #0 enable_city_dlg_widgets () at ../../../src.patched/client/gui-sdl/citydlg.c:1491 pTmpWidget = (struct widget *) 0x0 #1 0x000000000049f9d3 in sell_imprvm_dlg_ok_callback (pOK_Button=<value optimized out>) at ../../../src.patched/client/gui-sdl/citydlg.c:1351 pTmp = (struct widget *) 0x269ad60 #2 0x00000000004e2e17 in widget_pressed_action (pWidget=0xd3af70) at ../../../src.patched/client/gui-sdl/widget.c:402 ID = 3 #3 0x00000000004ba1d5 in main_mouse_button_down_handler (pButtonEvent=0x8326d0, pData=<value optimized out>) at ../../../src.patched/client/gui-sdl/gui_main.c:331 pWidget = (struct widget *) 0xd3af70 #4 0x00000000004ba98f in gui_event_loop (pData=0x0, loop_action=0, key_down_handler=0x4ba260 <main_key_down_handler>, key_up_handler=0x4b9ea0 <main_key_up_handler>, mouse_button_down_handler=0x4ba1b0 <main_mouse_button_down_handler>, mouse_button_up_handler=0x4ba130 <main_mouse_button_up_handler>, mouse_motion_handler=0x4b9ed0 <main_mouse_motion_handler>) at ../../../src.patched/client/gui-sdl/gui_main.c:695 cb = <value optimized out> ID = 0 t1 = 31511 t2 = 31523 t3 = 677 real_timer_next_call = 31902 tv = {tv_sec = 0, tv_usec = 0} civfdset = {fds_bits = {0 <repeats 16 times>}} result = 0 schot_nr = 0 schot = '\0' <repeats 31 times> #5 0x00000000004baf7a in ui_main (argc=1, argv=<value optimized out>) at ../../../src.patched/client/gui-sdl/gui_main.c:995 - ML _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev