#48301: notify_new_government_options(): jump depending on uninitalized value Open Date: 2023-06-27 02:17 Last Update: 2023-07-10 16:00 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48301 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48301 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-07-10 16:00 Updated by: cazfi * Owner Update from (None) to cazfi * Resolution Update from None to Accepted * Milestone Update from (None) to 3.2.0 * Component Update from (None) to Server --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.2.0 Component: Server Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Valgrind about S3_2 autogame: ==1536407== Conditional jump or move depends on uninitialised value(s) ==1536407== at 0x173A90: notify_new_government_options (techtools.c:1555) ==1536407== by 0x173ED9: found_new_tech (techtools.c:468) ==1536407== by 0x175A61: steal_a_tech (techtools.c:1319) ==1536407== by 0x1D1F97: unit_conquer_city (citytools.c:2104) ==1536407== by 0x17B06D: unit_move_consequences (unittools.c:3586) ==1536407== by 0x17B06D: unit_move (unittools.c:4102) ==1536407== by 0x23D9B8: do_unit_conquer_city (unithand.c:5383) ==1536407== by 0x23D9B8: unit_perform_action (unithand.c:3818) ==1536407== by 0x23EF4A: unit_do_action (unithand.c:3272) ==1536407== by 0x298AA0: dai_unit_attack (aitools.c:918) ==1536407== by 0x18874A: adv_unit_execute_path (advgoto.c:126) ==1536407== by 0x2B355E: dai_military_rampage (daiunit.c:614) ==1536407== by 0x2B6C8A: dai_military_attack (daiunit.c:1763) ==1536407== by 0x2B86C9: dai_manage_military (daiunit.c:2547) ==1536407== by 0x2BA418: dai_manage_unit (daiunit.c:2710) ==1536407== by 0x2BCEFF: dai_manage_units (daiunit.c:2858) ==1536407== by 0x29192D: dai_do_first_activities (aihand.c:756) ==1536407== by 0x23FBC2: cai_do_first_activities (classicai.c:447) ==1536407== by 0x16033C: ai_start_phase (srv_main.c:1096) ==1536407== by 0x16033C: begin_phase (srv_main.c:1346) ==1536407== by 0x16033C: srv_running (srv_main.c:2888) ==1536407== by 0x16033C: srv_main (srv_main.c:3541) ==1536407== by 0x153F7D: main (civserver.c:388) -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/48301 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48301