Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2002:
[Freeciv-Dev] Sulky Stealth Syndrome
Home

[Freeciv-Dev] Sulky Stealth Syndrome

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Sulky Stealth Syndrome
From: swamp-dog@xxxxxxxxxxxx (Guy Harrison)
Date: Fri, 16 Aug 2002 10:58:58 GMT

Hi Folks,

Cygwin/XFree86[+mingw SDL/SDL_Mixer], rebuilt from CVS 24..36hrs ago.

Air units (well Stealth bombers & helicopters) cause civclient to
(spuriously) crash when opening up unexplored map. Visually it *seems*
as though it's connected to the unit encountering some previously
unencountered city/"terraformed" square. Client can reconnect and
continue fine so after a few of these crashes I ran it under "gdb -nw".

Btw, "Goto" isn't working very well - keeps giving up and flashing the
unit. It isn't working at all for Stealth bombers (moves one square & no
line drawn at all).

Three client crashes (server continually running same game)...

Program received signal SIGSEGV, Segmentation fault.
improvement_redundant (pplayer=0x6e5a00, pcity=0x102cc4a8, id=7,
    want_to_build=0) at improvement.c:386
386               Impr_Status stat = equiv_list[i][*ept];

#0  improvement_redundant (pplayer=0x6e5a00, pcity=0x102cc4a8, id=7,
    want_to_build=0) at improvement.c:386
#1  0x0045844c in update_all_effects () at game.c:1080
#2  0x00411f9d in try_update_effects (need_update=1) at packhand.c:261
#3  0x00412bdf in handle_short_city (packet=0x101b1c08) at
packhand.c:641
#4  0x00404145 in handle_packet_input (packet=0x101b1c08, type=83)
    at civclient.c:298
#5  0x00407e29 in input_from_server (fd=4) at clinet.c:325
#6  0x00423916 in get_net_input (data=0x0, fid=4,
condition=GDK_INPUT_READ)
    at gui_main.c:1072
#7  0x005a0b96 in gdk_io_invoke (source=0x10263920, condition=G_IO_IN,
    data=0x10263908) at ../../gtk+-1.2.10/gdk/gdkevents.c:882
#8  0x005d7e69 in g_io_unix_dispatch (source_data=0x10263938,
    current_time=0x22fc8c, user_data=0x10263908)
    at ../glib-1.2.10/giounix.c:135
#9  0x005d0ab7 in g_main_dispatch (dispatch_time=0x22fc8c)
    at ../glib-1.2.10/gmain.c:656
#10 0x005d0dd4 in g_main_iterate (block=1, dispatch=1)
    at ../glib-1.2.10/gmain.c:877
#11 0x005d1034 in g_main_run (loop=0x100d97d8) at
../glib-1.2.10/gmain.c:935
#12 0x004b1250 in gtk_main () at ../../gtk+-1.2.10/gtk/gtkmain.c:524
#13 0x00423390 in ui_main (argc=1, argv=0x10011ed8) at gui_main.c:897
#14 0x00403e68 in main (argc=1, argv=0x10011ed8) at civclient.c:225
#15 0x61005492 in dll_crt0_1 () at
../../../../src/winsup/cygwin/dcrt0.cc:774
#16 0x61005786 in _dll_crt0 () at
../../../../src/winsup/cygwin/dcrt0.cc:872
#17 0x610057c5 in dll_crt0 (uptr=0x0)
    at ../../../../src/winsup/cygwin/dcrt0.cc:885
#18 0x005e148b in cygwin_crt0 ()
    at ../../../../src/winsup/cygwin/lib/cygwin_crt0.c:32
#19 0x0040103c in mainCRTStartup ()
#20 0x77f1b9ea in ?? ()

(gdb) info locals
stat = 84 'T'
pplayer = (struct player *) 0x2f
pcity = (struct city *) 0x102fd254
i = 3
equiv_list = {0x0, 0x0, 0x102cc5a4 "",
  0x102fd254 <Address 0x102fd254 out of bounds>, 0x6e8ab0 "", 0x71ac28
""}
ept = (Impr_Type_id *) 0x100f7c40

(gdb) print *ept
$7 = 47
================================================================================
Program received signal SIGSEGV, Segmentation fault.
improvement_redundant (pplayer=0x6c3820, pcity=0x102a8908, id=7,
    want_to_build=0) at improvement.c:386
386               Impr_Status stat = equiv_list[i][*ept];

#0  improvement_redundant (pplayer=0x6c3820, pcity=0x102a8908, id=7,
    want_to_build=0) at improvement.c:386
#1  0x0045844c in update_all_effects () at game.c:1080
#2  0x00411f9d in try_update_effects (need_update=1) at packhand.c:261
#3  0x00412bdf in handle_short_city (packet=0x10033108) at
packhand.c:641
#4  0x00404145 in handle_packet_input (packet=0x10033108, type=83)
    at civclient.c:298
#5  0x00407e29 in input_from_server (fd=4) at clinet.c:325
#6  0x00423916 in get_net_input (data=0x0, fid=4,
condition=GDK_INPUT_READ)
    at gui_main.c:1072
#7  0x005a0b96 in gdk_io_invoke (source=0x101b2dd0, condition=G_IO_IN,
    data=0x101b2db8) at ../../gtk+-1.2.10/gdk/gdkevents.c:882
#8  0x005d7e69 in g_io_unix_dispatch (source_data=0x101b2de8,
    current_time=0x22fc8c, user_data=0x101b2db8)
    at ../glib-1.2.10/giounix.c:135
#9  0x005d0ab7 in g_main_dispatch (dispatch_time=0x22fc8c)
    at ../glib-1.2.10/gmain.c:656
#10 0x005d0dd4 in g_main_iterate (block=1, dispatch=1)
    at ../glib-1.2.10/gmain.c:877
#11 0x005d1034 in g_main_run (loop=0x101cade0) at
../glib-1.2.10/gmain.c:935
#12 0x004b1250 in gtk_main () at ../../gtk+-1.2.10/gtk/gtkmain.c:524
#13 0x00423390 in ui_main (argc=1, argv=0x10011ed8) at gui_main.c:897
#14 0x00403e68 in main (argc=1, argv=0x10011ed8) at civclient.c:225
#15 0x61005492 in dll_crt0_1 () at
../../../../src/winsup/cygwin/dcrt0.cc:774
#16 0x61005786 in _dll_crt0 () at
../../../../src/winsup/cygwin/dcrt0.cc:872
#17 0x610057c5 in dll_crt0 (uptr=0x0)
    at ../../../../src/winsup/cygwin/dcrt0.cc:885
#18 0x005e148b in cygwin_crt0 ()
    at ../../../../src/winsup/cygwin/lib/cygwin_crt0.c:32
#19 0x0040103c in mainCRTStartup ()
#20 0x77f1b9ea in ?? ()

(gdb) info locals
stat = 160 ' '
pplayer = (struct player *) 0x2f
pcity = (struct city *) 0x104339a0
i = 3
equiv_list = {0x0, 0x0, 0x102a8a04 "",
  0x104339a0 <Address 0x104339a0 out of bounds>, 0x6c68d0 "", 0x71ac28
""}
ept = (Impr_Type_id *) 0x101cdf30

(gdb) print *ept
$1 = 47
================================================================================
Program received signal SIGSEGV, Segmentation fault.
improvement_redundant (pplayer=0x6c0680, pcity=0x1026b7f8, id=7,
    want_to_build=0) at improvement.c:386
386               Impr_Status stat = equiv_list[i][*ept];

#0  improvement_redundant (pplayer=0x6c0680, pcity=0x1026b7f8, id=7,
    want_to_build=0) at improvement.c:386
#1  0x0045844c in update_all_effects () at game.c:1080
#2  0x00411f9d in try_update_effects (need_update=1) at packhand.c:261
#3  0x00412bdf in handle_short_city (packet=0x10101d70) at
packhand.c:641
#4  0x00404145 in handle_packet_input (packet=0x10101d70, type=83)
    at civclient.c:298
#5  0x00407e29 in input_from_server (fd=4) at clinet.c:325
#6  0x00423916 in get_net_input (data=0x0, fid=4,
condition=GDK_INPUT_READ)
    at gui_main.c:1072
#7  0x005a0b96 in gdk_io_invoke (source=0x101b2c80, condition=G_IO_IN,
    data=0x101b2c68) at ../../gtk+-1.2.10/gdk/gdkevents.c:882
#8  0x005d7e69 in g_io_unix_dispatch (source_data=0x101b2c98,
    current_time=0x22fc8c, user_data=0x101b2c68)
    at ../glib-1.2.10/giounix.c:135
#9  0x005d0ab7 in g_main_dispatch (dispatch_time=0x22fc8c)
    at ../glib-1.2.10/gmain.c:656
#10 0x005d0dd4 in g_main_iterate (block=1, dispatch=1)
    at ../glib-1.2.10/gmain.c:877
#11 0x005d1034 in g_main_run (loop=0x101cae58) at
../glib-1.2.10/gmain.c:935
#12 0x004b1250 in gtk_main () at ../../gtk+-1.2.10/gtk/gtkmain.c:524
#13 0x00423390 in ui_main (argc=1, argv=0x10011ed8) at gui_main.c:897
#14 0x00403e68 in main (argc=1, argv=0x10011ed8) at civclient.c:225
#15 0x61005492 in dll_crt0_1 () at
../../../../src/winsup/cygwin/dcrt0.cc:774
#16 0x61005786 in _dll_crt0 () at
../../../../src/winsup/cygwin/dcrt0.cc:872
#17 0x610057c5 in dll_crt0 (uptr=0x0)
    at ../../../../src/winsup/cygwin/dcrt0.cc:885
#18 0x005e148b in cygwin_crt0 ()
    at ../../../../src/winsup/cygwin/lib/cygwin_crt0.c:32
#19 0x0040103c in mainCRTStartup ()
#20 0x77f1b9ea in ?? ()

(gdb) info locals
stat = 212 'Ô'
pplayer = (struct player *) 0x2f
pcity = (struct city *) 0x1040f9d4
i = 3
equiv_list = {0x0, 0x0, 0x1026b8f4 "",
  0x1040f9d4 <Address 0x1040f9d4 out of bounds>, 0x6c3730 "", 0x71ac28
""}
ept = (Impr_Type_id *) 0x10191478

(gdb) print *ept
$1 = 47
================================================================================
Program received signal SIGSEGV, Segmentation fault.
improvement_redundant (pplayer=0x7018a0, pcity=0x102a3b80, id=7,
    want_to_build=0) at improvement.c:386
386               Impr_Status stat = equiv_list[i][*ept];

#0  improvement_redundant (pplayer=0x7018a0, pcity=0x102a3b80, id=7,
    want_to_build=0) at improvement.c:386
#1  0x0045844c in update_all_effects () at game.c:1080
#2  0x00411f9d in try_update_effects (need_update=1) at packhand.c:261
#3  0x00412bdf in handle_short_city (packet=0x101025a8) at
packhand.c:641
#4  0x00404145 in handle_packet_input (packet=0x101025a8, type=83)
    at civclient.c:298
#5  0x00407e29 in input_from_server (fd=4) at clinet.c:325
#6  0x00423916 in get_net_input (data=0x0, fid=4,
condition=GDK_INPUT_READ)
    at gui_main.c:1072
#7  0x005a0b96 in gdk_io_invoke (source=0x101b2c68, condition=G_IO_IN,
    data=0x101b2c50) at ../../gtk+-1.2.10/gdk/gdkevents.c:882
#8  0x005d7e69 in g_io_unix_dispatch (source_data=0x101b2c80,
    current_time=0x22fc8c, user_data=0x101b2c50)
    at ../glib-1.2.10/giounix.c:135
#9  0x005d0ab7 in g_main_dispatch (dispatch_time=0x22fc8c)
    at ../glib-1.2.10/gmain.c:656
#10 0x005d0dd4 in g_main_iterate (block=1, dispatch=1)
    at ../glib-1.2.10/gmain.c:877
#11 0x005d1034 in g_main_run (loop=0x101cad60) at
../glib-1.2.10/gmain.c:935
#12 0x004b1250 in gtk_main () at ../../gtk+-1.2.10/gtk/gtkmain.c:524
#13 0x00423390 in ui_main (argc=1, argv=0x10011ed8) at gui_main.c:897
#14 0x00403e68 in main (argc=1, argv=0x10011ed8) at civclient.c:225
#15 0x61005492 in dll_crt0_1 () at
../../../../src/winsup/cygwin/dcrt0.cc:774
#16 0x61005786 in _dll_crt0 () at
../../../../src/winsup/cygwin/dcrt0.cc:872
#17 0x610057c5 in dll_crt0 (uptr=0x0)
    at ../../../../src/winsup/cygwin/dcrt0.cc:885
#18 0x005e148b in cygwin_crt0 ()
    at ../../../../src/winsup/cygwin/lib/cygwin_crt0.c:32
#19 0x0040103c in mainCRTStartup ()
#20 0x77f1b9ea in ?? ()

(gdb) info locals
stat = 12 '\f'
pplayer = (struct player *) 0x2f
pcity = (struct city *) 0x10401d0c
i = 3
equiv_list = {0x0, 0x0, 0x102a3c7c "",
  0x10401d0c <Address 0x10401d0c out of bounds>, 0x704950 "", 0x71ac28
""}
ept = (Impr_Type_id *) 0x101cdd70

(gdb) print *ept
$1 = 47

...er, and it may only occur when unit is moving south-west but forget I
said that!


-- 
swamp-dog@xxxxxxxxxxxx


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Sulky Stealth Syndrome, Guy Harrison <=