Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#18 crash when trying to purchase at the end of a scenario

open
nobody
None
5
2012-02-14
2012-02-14
mranderson2007
No

When a scenario is over, you get a message about the result (e.g. "Axis Minor Victory"). After that you can see the whole map again. Now it is still possible to select "Request Reinforcements". If you click on it, a segmentation fault is triggered:

Program received signal SIGSEGV, Segmentation fault.
0x000000000042afcd in get_purchase_nations () at purchase_dlg.c:113
113 for (i = 0; i < cur_player->nation_count; i++)

backtrace:
#0 0x000000000042afcd in get_purchase_nations () at purchase_dlg.c:113
#1 0x000000000042d640 in purchase_dlg_reset (pdlg=0x14f5560) at purchase_dlg.c:788
#2 0x0000000000428b93 in gui_show_purchase_window () at gui.c:1199
#3 0x000000000043c694 in engine_handle_button (id=7) at engine.c:2225
#4 0x000000000043d24d in engine_check_events (reinit=0x7fffffffd67c) at engine.c:2456
#5 0x00000000004427b3 in engine_main_loop (reinit=0x7fffffffd67c) at engine.c:3972
#6 0x00000000004430bb in engine_run () at engine.c:4225
#7 0x0000000000403173 in main (argc=1, argv=0x7fffffffd7a8) at main.c:276

Discussion

  • mranderson2007
    mranderson2007
    2012-02-14

    example save game that is one move before the end of the scenario

     
    Attachments