dalerank / Akhenaten

Pharaoh (1999, open source engine)
GNU Affero General Public License v3.0
201 stars 12 forks source link

Crash on "visit your overseers" #35

Closed akuskis closed 1 year ago

akuskis commented 1 year ago

To reproduce:

And it will crash.

dalerank commented 1 year ago

Can you attach stacktrace? CNR

akuskis commented 1 year ago

Can take a look later :

Piece --- 001/85 :      240@ 0000FFFF                            (4) scenario_mission_index
Piece --- 002/85 :      244@ 93000000                            (4) file_version
Piece --- 003/85 :      248@ AF000000 00000000 F87FDA00 01000000 (6004) chunks_schema
Piece (C) 004/85 :     6252@ 00000000 00000000 00000000 00000000 (207936) image_grid
Piece (C) 005/85 :    12564@ 00000000 00000000 00000000 00000000 (51984) edge_grid
Piece (C) 006/85 :    13327@ 00000000 00000000 00000000 00000000 (103968) building_grid
Piece (C) 007/85 :    14093@ 05000800 05000800 05000800 05000800 (207936) terrain_grid
Piece (C) 008/85 :    16490@ 00000000 00000000 00000000 00000000 (51984) aqueduct_grid
Piece (C) 009/85 :    16878@ 00000000 00000000 00000000 00000000 (103968) figure_grid
Piece (C) 010/85 :    17659@ 00000000 00000000 00000000 00000000 (51984) bitfields_grid
Piece (C) 011/85 :    19028@ 00000000 00000000 00000000 00000000 (51984) sprite_grid
Piece --- 012/85 :    19416@ 83CBF718 1968DE53 66B0FB94 AD0777E0 (51984) random_grid
Piece (C) 013/85 :    71400@ 00000000 00000000 00000000 00000000 (51984) desirability_grid
Piece (C) 014/85 :    71788@ 00000000 00000000 00000000 00000000 (51984) elevation_grid
Piece (C) 015/85 :    72176@ 00000000 00000000 00000000 00000000 (103968) building_damage_grid
Piece (C) 016/85 :    72942@ 00000000 00000000 00000000 00000000 (51984) aqueduct_backup_grid
Piece (C) 017/85 :    73330@ 00000000 00000000 00000000 00000000 (51984) sprite_backup_grid
Piece (C) 018/85 :    73718@ 00000000 00000000 00000000 00000000 (776000) figures
Piece (C) 019/85 :    79669@ 00000000 00000000 00000000 00000000 (2000) route_figures
Piece (C) 020/85 :    79693@ 00000000 00000000 00000000 00000000 (500000) route_paths
Piece (C) 021/85 :    83336@ 00000000 00000000 00000000 00000000 (7200) formations
Piece --- 022/85 :    83446@ 00000000 00000000 00000000          (12) formations_info
Piece (C) 023/85 :    83458@ 00000000 00000000 00000000 00000000 (37808) city_data
Piece --- 024/85 :    83848@ 00010000 00000000 00000000 00000000 (72) city_data_extra
Piece (C) 025/85 :    83920@ 00000000 00000000 00000000 00000000 (1056000) buildings
Piece --- 026/85 :    91605@ 00000000                            (4) city_view_orientation
Piece --- 027/85 :    91609@ 28000000 02000000 00000000 54F2FFFF (20) game_time
Piece --- 028/85 :    91629@ 00000000 00000000                   (8) building_extra_highest_id_ever
Piece --- 029/85 :    91637@ 6907884A 4DF65932                   (8) random_iv
Piece --- 030/85 :    91645@ 67000000 DA000000                   (8) city_view_camera
Piece --- 031/85 :    91653@ 00000000 00000000                   (8) city_graph_order
Piece --- 032/85 :    91661@ 73010000 F8020000 05000000          (12) empire_map_params
Piece (C) 033/85 :    91673@ 00000000 00000000 00000000 00000000 (6466) empire_cities
Piece --- 034/85 :    91744@ 00000000 00000000 00000000 00000000 (288) building_count_industry
Piece --- 035/85 :    92032@ 00000000 00000000 00000000 00000000 (288) trade_prices
Piece --- 036/85 :    92320@ 08000000 06000000 0E000000 0A000000 (84) figure_names
Piece --- 037/85 :    92404@ 54F20000 00000000 00000000 00000000 (1592) scenario_info
Piece --- 038/85 :    93996@ 94340F00                            (4) max_year
Piece (C) 039/85 :    94000@ 00000000 00000000 2DF80000 12000100 (48000) messages
Piece --- 040/85 :    94537@ 00000000 00000000 FFFFFFFF 00000000 (182) message_extra
Piece --- 041/85 :    94719@ 00000000 00000000                   (8) building_burning_list_info
Piece --- 042/85 :    94727@ F7290000                            (4) figure_sequence
Piece --- 043/85 :    94731@ 32000000 00000000 00000000          (12) scenario_carry_settings
Piece (C) 044/85 :    94743@ 00000000 00000000 00000000 00000000 (3232) invasion_warnings
Piece --- 045/85 :    94778@ 00000000                            (4) scenario_is_custom
Piece --- 046/85 :    94782@ 00000000 00000000 00000000 00000000 (8960) city_sounds
Piece --- 047/85 :   103742@ 00000000                            (4) building_extra_highest_id
Piece --- 048/85 :   103746@ 00000000 00000000 00000000 00000000 (8804) figure_traders
Piece (C) 049/85 :   112550@ 27000000 00000000 00000000 00000000 (1000) building_list_burning
Piece (C) 050/85 :   112568@ AA00AA00 A8008800 88008800 A9004C00 (1000) building_list_small
Piece (C) 051/85 :   112601@ 00000000 00000000 00000000 00000000 (8000) building_list_large
Piece --- 052/85 :   112669@ 00000000 00000000 01000000 01000000 (32) junk7a
Piece --- 053/85 :   112701@ 00000000 00000000 00000000 00000000 (24) junk7b
Piece --- 054/85 :   112725@ 00000000 00000000 00000000 00000000 (39200) building_storages
Piece (C) 055/85 :   151925@ 00000000 00000000 00000000 00000000 (2880) trade_routes_limits
Piece (C) 056/85 :   152066@ 00000000 00000000 00000000 00000000 (2880) trade_routes_traded
Piece --- 057/85 :   152098@ 00000000 00000000 00000000 45000000 (50) junk8
Piece --- 058/85 :   152148@ 6D617030 30006D61 70000000 00000000 (65) scenario_map_name
Piece --- 059/85 :   152213@ FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF (32) bookmarks
Piece --- 060/85 :   152245@ 01000000 00000000 00000000          (12) junk9a
Piece --- 061/85 :   152257@ 00000000 00000000 00000000 00000000 (396) junk9b
Piece --- 062/85 :   152653@ 00000000 00000000 00000000 00000000 (51984) soil_fertility_grid
Piece --- 063/85 :   204637@ 00000000 00000200 02000200 0200FFFF (18600) scenario_events
Piece --- 064/85 :   223237@ 0C3D0000 FFFFFFFF 00000000 00000000 (28) scenario_events_extra
Piece --- 065/85 :   223265@ 00000000 00000000 00000000 00000000 (11000) junk10a
Piece --- 066/85 :   234265@ 00000000 00000000 00000000 00000000 (2200) junk10b
Piece --- 067/85 :   236465@ 00000000 00000000 00000000 00000000 (16) junk10c
Piece --- 068/85 :   236481@ 00000000 14000000 01000000 00000000 (8200) junk10d
Piece (C) 069/85 :   244681@ 7301F802 01000000 00000000 00000000 (1280) junk11
Piece (C) 070/85 :   244859@ 01020300 0B039E03 25002200 F0370000 (15200) empire_map_objects
Piece (C) 071/85 :   245458@ 05000000 00000000 00000000 01000000 (16200) empire_map_routes
Piece --- 072/85 :   245779@ FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF (51984) vegetation_growth
Piece --- 073/85 :   297763@ 19000000 23000000 00000000 00000000 (20) junk14
Piece --- 074/85 :   297783@ 00000000 FFFFFFFF 00000000 00000000 (528) bizarre_ordered_fields_1
Piece (C) 075/85 :   298311@ A5000000 3C000000 64000000 A5000000 (36) floodplain_settings
Piece (C) 076/85 :   298334@ 00000000 00000000 00000000 00000000 (207936) GRID03_32BIT
Piece --- 077/85 :   300431@ 2B000000 FFFFFFFF 00000000 00000000 (312) bizarre_ordered_fields_4
Piece --- 078/85 :   300743@ 07000000 03000000 05000000 03000000 (64) junk16
Piece --- 079/85 :   300807@ 01010101 01010101 01010101 01010101 (41) tutorial_flags_struct
Piece (C) 080/85 :   300848@ 00000000 00000000 00000000 00000000 (51984) GRID04_8BIT
Piece --- 081/85 :   301236@ 00                                  (1) junk17
Piece (C) 082/85 :   301237@ 00000000 00000000 00000000 00000000 (51984) moisture_grid
Piece --- 083/85 :   302261@ 0F000000 FFFFFFFF 00000000 00000000 (240) bizarre_ordered_fields_2
Piece --- 084/85 :   302501@ 19000000 FFFFFFFF 00000000 00000000 (432) bizarre_ordered_fields_3
Piece --- 085/85 :   302933@ 10000000 02000000                   (8) junk18
File read successful: mission1.pak 240@ --- VERSION HEADER: 147 --- 25 milliseconds
00            post-load :    0 

Or

<unknown> 0x00005555550000ad
image_buttons_handle_mouse image_button.cpp:116
widget_sidebar_city_handle_mouse city.cpp:396
handle_input city.cpp:216
window_draw window.cpp:115
game_draw game.cpp:205
run_and_draw ozynamdias.cpp:376
main_loop ozynamdias.cpp:517
main ozynamdias.cpp:530
__libc_start_call_main 0x00007ffff7a29d90
__libc_start_main_impl 0x00007ffff7a29e40
_start 0x0000555555707825