Closed Aminavy closed 6 months ago
It would be helpful to find out at which commit this problem started to happen. Also, can you debug flycast with gdb and post the stacktrace when it crashes?
Message ID: @.***>
Currently I haven't gdb The core file backtrace with lldb: core_file_backtrace.txt
Sorry I compiled flycast without debug symbols! the running in lldb: run_in_lldb.txt
According to this information, thread #9 is crashing, which is the SDL2 audio thread. Can you try to use a different audio driver (or even the null audio driver to see if it fixes the crash)? Also can you upgrade your local libSDL2.so?
Recompiling with symbols would be nice if we need to investigate further (cmake build type RelWithDebInfo)
with other audio drivers still crashing! with debug_info ,GDB and null audio driver:
For some reason, these important messages were missing from the log you first posted:
00:37:441 rec-x64/rec_x64.cpp:799 E[DYNAREC]: rewriteMemAccess code not found: host pc 0xe7d162
00:37:441 rend/gui.cpp:3329 E[COMMON]: Fatal error : Failed to match the code
in rewriteMemAccess -> /home/aminavy/Downloads/flycast/core/rec-x64/rec_x64.cpp : 800
Now I don't know why this is happening, or why it wasn't happening before. I will need to build a freebsd virtual machine and debug it. This is going to take a while.
Should be fixed on the dev
branch
PC / FreeBSD / x86_64:
I fetched master branch yesterday Version: v2.2-169-g44fa364f3 Git Hash: 44fa364f3
Hardware: x86_64 with FreeBSD
When CPU Mode is set to dynarec games crashed on startup. but in interpreter mode works (but very slow) in the past (few months ago i tested) its works fine and fast
The terminal output: