[Freeciv-Dev] [bug #22216] trunk server crashes in execute_orders()
Update of bug #22216 (project freeciv): Status: Ready For Test = Fixed Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/bugs/?22216 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #22216] trunk server crashes in execute_orders()
Update of bug #22216 (project freeciv): Assigned to:None = pepeto ___ Reply to this item at: http://gna.org/bugs/?22216 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #22216] trunk server crashes in execute_orders()
Update of bug #22216 (project freeciv): Status:None = Ready For Test Assigned to: pepeto = None ___ Follow-up Comment #4: I won't be able to commit the patch before a while. Feel free to manage this ticket. ___ Reply to this item at: http://gna.org/bugs/?22216 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #22216] trunk server crashes in execute_orders()
Update of bug #22216 (project freeciv): Assigned to: cazfi = pepeto ___ Reply to this item at: http://gna.org/bugs/?22216 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #22216] trunk server crashes in execute_orders()
Follow-up Comment #2, bug #22216 (project freeciv): See also bug #22364. ___ Reply to this item at: http://gna.org/bugs/?22216 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #22216] trunk server crashes in execute_orders()
Follow-up Comment #3, bug #22216 (project freeciv): Fixed typo for bug #21143. (file #21540) ___ Additional Item Attachment: File name: load_S2_5_unit_orders.patchSize:0 KB ___ Reply to this item at: http://gna.org/bugs/?22216 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #22216] trunk server crashes in execute_orders()
URL: http://gna.org/bugs/?22216 Summary: trunk server crashes in execute_orders() Project: Freeciv Submitted by: pepeto Submitted on: mer. 18 juin 2014 11:44:32 CEST Category: None Severity: 5 - Blocker Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: trunk r25193 Discussion Lock: Any Operating System: None Planned Release: 2.6.0 ___ Details: To reproduce: 1) load file #20920 (for bug #22136) ; 2) press turn done. It appear the extra of the order is NULL. I suppose this is problem when loading the savegame because I didn't encountered this segmentation fault playing normally. (gdb) bt full #0 tile_has_extra (ptile=0x11215f8, pextra=pextra@entry=0x0) at ../../../common/tile.c:830 __FUNCTION__ = tile_has_extra #1 0x00451b52 in execute_orders (punit=punit@entry=0x1229fb0) at ../../../server/unittools.c:3726 pextra = 0x0 order = optimized out dst_tile = optimized out res = optimized out last_order = optimized out unitid = 108 pplayer = 0x29b90a0 moves_made = 1 activity = optimized out __FUNCTION__ = execute_orders #2 0x00458e9e in update_unit_activity (punit=optimized out) at ../../../server/unittools.c:943 i = optimized out tile_changing_actions = {ACTIVITY_PILLAGE, ACTIVITY_GEN_ROAD, ACTIVITY_IRRIGATE, ACTIVITY_MINE, ACTIVITY_BASE, ACTIVITY_TRANSFORM, ACTIVITY_POLLUTION, ACTIVITY_FALLOUT, ACTIVITY_LAST} id = optimized out unit_activity_done = optimized out activity = optimized out ptile = optimized out check_adjacent_units = optimized out #3 update_unit_activities (pplayer=pplayer@entry=0x29b90a0) at ../../../server/unittools.c:579 punit = optimized out punit_numbers = 0x7fffd970 punit_index = optimized out __FUNCTION__ = update_unit_activities #4 0x00436379 in begin_phase (is_new_phase=is_new_phase@entry=true) at ../../../server/srv_main.c:933 MY_i = 66 pplayer = 0x29b90a0 __FUNCTION__ = begin_phase #5 0x0043a5d5 in srv_running () at ../../../server/srv_main.c:2351 save_counter = 1 i = optimized out is_new_turn = true skip_mapimg = false eot_timer = optimized out need_send_pending_events = false #6 srv_main () at ../../../server/srv_main.c:2885 __FUNCTION__ = srv_main #7 0x004325ce in main (argc=5, argv=0x7fffdcc8) at ../../../server/civserver.c:454 -- ___ Reply to this item at: http://gna.org/bugs/?22216 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #22216] trunk server crashes in execute_orders()
Update of bug #22216 (project freeciv): Category:None = general Assigned to:None = cazfi ___ Follow-up Comment #1: The savegame in question has been saved from freeciv-2.5, so it doesn't (and is not expected to) contain target extras. I'm assuming I missed handling of orders when implementing compatibility with pre-2.6 savegames. ___ Reply to this item at: http://gna.org/bugs/?22216 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev