dalerank / Akhenaten

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

Fails on startup #115

Closed akuskis closed 1 year ago

akuskis commented 1 year ago
Thread 1 "ozymandias" received signal SIGSEGV, Segmentation fault.
0x00005555557e34f5 in ImageDraw::img_background (image_id=0, scale=1) at /home/waster/projects/ozymandias/src/graphics/boilerplate.cpp:747
747           img, (screen_width() - img->width) / 2, (screen_height() - img->height) / 2, COLOR_MASK_NONE, scale, false);

And

ImageDraw::img_background boilerplate.cpp:747
draw_logo_background logo.cpp:21
window_draw window.cpp:123
game_draw_frame game.cpp:213
run_and_draw ozynamdias.cpp:400
main_loop ozynamdias.cpp:544
main ozynamdias.cpp:577
__libc_start_call_main 0x00007ffff7a29d90
__libc_start_main_impl 0x00007ffff7a29e40
_start 0x0000555555723975
akuskis commented 1 year ago
error: [AUDIO.(null)] platform_file_manager_list_directory_contents: No such file or directory 2
error: [...(null)] platform_file_manager_list_directory_contents: No such file or directory 2
error: [Ambient.(null)] platform_file_manager_list_directory_contents: No such file or directory 2
error: [..(null)] platform_file_manager_list_directory_contents: No such file or directory 2
error: [Music.(null)] platform_file_manager_list_directory_contents: No such file or directory 2
error: [Voice.(null)] platform_file_manager_list_directory_contents: No such file or directory 2
error: [Wavs.(null)] platform_file_manager_list_directory_contents: No such file or directory 2
debug: You must call Mix_SetMusicCMD() first
debug: SDL_RWFromFile(): No file or no mode specified
debug: Couldn't open '(null)'
warn: Error opening music file '(null)'. Reason: Couldn't open '(null)'
Signal: SIGSEGV (Segmentation fault)
dalerank commented 1 year ago

It strange but on mine side works fine image

dalerank commented 1 year ago

@akuskis can I close it?

akuskis commented 1 year ago

Now it is not crashing, but images not loaded =)

dalerank commented 1 year ago

pls check latest changes from master