Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Invalid pointer due to race condition between mutex/thread/sema during exit #1455
With MESA 11.2, PCSX2 would open, but would crash upon loading any ISO files with the error "Assertion failed: Unhandled page fault @ 0x0000000".
Updating to MESA 12.1 fixed that crash on start and games work great, but upon trying to exit PCSX2, I get the same error I used to get when trying to start a game (which seems odd).
I've compiled PCSX2 with debugging but not MESA yet (trying to avoid that as it's messy). Here's the output from PCSX2 itself and then the backtrace. Let me know if it's still not sufficient and I'll rebuild MESA with debugging enabled.
@gregory38 - Moved here as requested.
Hrm, 1.4 and 1.2 don't built. 1.4 kinda just stops...
and 1.2 doesn't like my toolchain...
Could you also copypaste the CPU flags from /proc/cpuinfo? And do you know whether glibc on your system was compiled with
I'm currently wondering whether it's TSX related - I asked for the CPU because the interesting part to me is:
That's my current hypothesis. EDIT: It would mean we need to make sure we're not unlocking when the lock is free.
Sorry, I misread this issue as being the one in the first sentence (about crashing when loading an ISO). Whilst that issue doesn't exist anymore, the "crashes on exit if a game is loaded" issue still exists: