[Freeciv-Dev] (PR#40068) server crash
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40068 SVN S2_2 rev 14375 02 FEB 2008 GTK2 Unreproducible server crash. I think I was moving a trireme. Previous savegame attached. Core file available on request. Backtrace follows. Christian [EMAIL PROTECTED]:~$ civclient 2: Alte Attribute wurden entfernt. (civclient:17913): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage = 0 percentage = 1.0' failed 2: Verbindung zum Server verloren! Core was generated by `civserver -p 5556 -q 1 -e --saves ~/.freeciv/saves'. Program terminated with signal 11, Segmentation fault. #0 0x08052439 in map_distance_vector (dx=0xbff034e4, dy=0xbff034e0, tile0=0x4, tile1=0x8a9c59c) at map.c:912 912 base_map_distance_vector(dx, dy, (gdb) bt full #0 0x08052439 in map_distance_vector (dx=0xbff034e4, dy=0xbff034e0, tile0=0x4, tile1=0x8a9c59c) at map.c:912 No locals. #1 0x080524e6 in sq_map_distance (tile0=0x4, tile1=0x8a9c59c) at map.c:524 dx = 136853264 dy = 145343900 #2 0x080d72de in map_claim_border (ptile=0x8a9d49c, powner=0x82842ec) at maphand.c:1844 dsite = (struct vision_site *) 0x84535f8 r = value optimized out downer = value optimized out dtile_cr_radius = 3 psite = (struct vision_site *) 0x85ba010 range = value optimized out #3 0x080d76aa in map_calculate_borders () at maphand.c:1904 myiter = (struct genlist_link *) 0x84adda8 pcity_player = (struct player *) 0x82842ec cities_to_refresh = (struct city_list *) 0x8423438 #4 0x080b06b4 in end_turn () at srv_main.c:833 No locals. #5 0x080b14bd in srv_running () at srv_main.c:1867 pplayer_index = value optimized out eot_timer = (struct timer *) 0x8c75690 save_counter = 1 is_new_turn = true __PRETTY_FUNCTION__ = srv_running #6 0x080b1a6c in srv_main () at srv_main.c:2194 No locals. #7 0x0804aaea in main (argc=Cannot access memory at address 0x4 ) at civserver.c:265 inx = 8 showhelp = false showvers = false option = value optimized out (gdb) quit -- Christian Knoke* * *http://cknoke.de * * * * * * * * * Ceterum censeo Microsoft esse dividendum. 22testa-0300.sav.gz Description: Binary data ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] (PR#40069) server crash 2
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40069 SVN S2_2 rev 14375 02 FEB 2008 GTK2 Unreproducible server crash. Backtrace follows. Christian Core was generated by `civserver -p 5556 -q 1 -e --saves ~/.freeciv/saves'. Program terminated with signal 11, Segmentation fault. #0 0x08052439 in map_distance_vector (dx=0xbf8fcee4, dy=0xbf8fcee0, tile0=0x2b, tile1=0x8aa91c0) at map.c:912 912 base_map_distance_vector(dx, dy, (gdb) bt full #0 0x08052439 in map_distance_vector (dx=0xbf8fcee4, dy=0xbf8fcee0, tile0=0x2b, tile1=0x8aa91c0) at map.c:912 No locals. #1 0x080524e6 in sq_map_distance (tile0=0x2b, tile1=0x8aa91c0) at map.c:524 dx = 136856300 dy = 145396160 #2 0x080d72de in map_claim_border (ptile=0x8aa9238, powner=0x8284ec8) at maphand.c:1844 dsite = (struct vision_site *) 0x85d9ae0 r = value optimized out downer = value optimized out dtile_cr_radius = 2 psite = (struct vision_site *) 0x860e120 range = value optimized out #3 0x080d76aa in map_calculate_borders () at maphand.c:1904 myiter = (struct genlist_link *) 0x8327e10 pcity_player = (struct player *) 0x8284ec8 cities_to_refresh = (struct city_list *) 0x8b578a8 #4 0x080b06b4 in end_turn () at srv_main.c:833 No locals. #5 0x080b14bd in srv_running () at srv_main.c:1867 pplayer_index = value optimized out eot_timer = (struct timer *) 0x8c26f88 save_counter = 1 is_new_turn = true __PRETTY_FUNCTION__ = srv_running #6 0x080b1a6c in srv_main () at srv_main.c:2194 No locals. #7 0x0804aaea in main (argc=Cannot access memory at address 0x2b ) at civserver.c:265 inx = 8 showhelp = false showvers = false option = value optimized out (gdb) -- Christian Knoke* * *http://cknoke.de * * * * * * * * * Ceterum censeo Microsoft esse dividendum. ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] (PR#40070) Server crash 3
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40070 SVN S2_2 rev 14375 02 FEB 2008 GTK2 Unreproducible server crash. Backtrace below. Core file available on request. Christian Core was generated by `civserver -p 5556 -q 1 -e --saves ~/.freeciv/saves'. Program terminated with signal 6, Aborted. #0 0xb7f0e410 in ?? () (gdb) bt full #0 0xb7f0e410 in ?? () No symbol table info available. #1 0xbfdfe128 in ?? () No symbol table info available. #2 0x0006 in ?? () No symbol table info available. #3 0x4ff7 in ?? () No symbol table info available. #4 0xb7d84811 in raise () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #5 0xb7d85fb9 in abort () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #6 0xb7d7dfbf in __assert_fail () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #7 0x08060e8d in city_owner (pcity=0x0) at city.c:654 __PRETTY_FUNCTION__ = city_owner #8 0x08065f0e in get_city_bonus (pcity=0x0, effect_type=EFT_GROWTH_FOOD) at effects.c:810 No locals. #9 0x080ff9df in contemplate_terrain_improvements (pcity=0x8b87000) at settlers.c:738 virtualunit = (struct unit *) 0x85f7270 want = 17 completion_time = 2 best_act = value optimized out best_tile = (struct tile *) 0x8a9f47c ptile = value optimized out pplayer = value optimized out ai = (struct ai_data *) 0x824c8e8 unit_type = (struct unit_type *) 0x81ef720 place = 4 __PRETTY_FUNCTION__ = contemplate_terrain_improvements #10 0x0811804c in ai_manage_cities (pplayer=0x8283710) at aicity.c:1700 myiter = (struct genlist_link *) 0x8b897a0 __PRETTY_FUNCTION__ = ai_manage_cities #11 0x0811d569 in ai_do_last_activities (pplayer=0x8283710) at aihand.c:463 luxrate = value optimized out scirate = 80 cmp = {minimal_surplus = {0, 0, 0, -10, 0, 0}, require_happy = true, allow_disorder = false, allow_specialists = true, factor = {20, 1, 1, 1, 1, 1}, happy_factor = 1} cmr = {found_a_valid = true, disorder = false, happy = true, surplus = {1, 2, 17, 2, 14, 0}, worker_positions_used = {{255, false, true, false, false}, {false, false, false, false, true}, {true, false, true, false, false}, {false, true, false, false, false}, {false, false, true, false, 255}}, specialists = { ---Type return to continue, or q return to quit--- 0, 0, 0, -1, 10, -1, 10, -1, 10, -1, 10, -1, 10, -1, 10, -1, 10, -1, 10, -1}} #12 0x080b13af in srv_running () at srv_main.c:784 pplayer_index = value optimized out eot_timer = (struct timer *) 0x83b6160 save_counter = 1 is_new_turn = true __PRETTY_FUNCTION__ = srv_running #13 0x080b1a6c in srv_main () at srv_main.c:2194 No locals. #14 0x0804aaea in main (argc=Cannot access memory at address 0x4ff7 ) at civserver.c:265 inx = 8 showhelp = false showvers = false option = value optimized out (gdb) quit -- Christian Knoke* * *http://cknoke.de * * * * * * * * * Ceterum censeo Microsoft esse dividendum. ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] (PR#40068) server crash
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40068 [chrisk - Sat Feb 02 12:25:18 2008]: SVN S2_2 rev 14375 02 FEB 2008 GTK2 Unreproducible server crash. I think I was moving a trireme. Previous savegame attached. Core file available on request. Backtrace follows. tile0 is being passed in a 0x04, obviously an invalid value. From the maphand code: struct vision_site *dsite = map_get_player_site(dtile, downer); int r = sq_map_distance(dsite-location, dtile); Looks to me like this means dsite-location is invalid. I have no familiarity with this code however. -jason ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
Re: [Freeciv-Dev] (PR#40068) server crash
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40068 Jason Short wrote: Looks to me like this means dsite-location is invalid. I have no familiarity with this code however. That's (my) very new border code. I'll take a look at it. What I don't understand is why it's not reproducible? Usually, that means an uninitialized variable, but all these structures are zeroed with calloc(), so that's unlikely ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev