kodi-game / game.libretro

Libretro compatibility layer for the Kodi Game API
GNU General Public License v2.0
37 stars 26 forks source link

[OSX] Inconsistent Crashing #70

Open zach-morris opened 3 years ago

zach-morris commented 3 years ago

Just testing out v19 with the latest game.libretro, I've found that I can inconsistently get Kodi to crash performing the same actions to start a game (on OSX). No specific thing I can figure out that causes the crash, but it appears that if I 'go fast' on the game addon selection dialog, then a crash occurs more often.

Example is loading a cdg / mp3 game using game.libretro.pocketcdg.

Loading the file and passing log Loading the file and crashing log

I can also get Kodi to crash in the same manner using other game addons (mgba for example was where i first noticed it). I did not get the inconsistent crashing with Kodi v18 or the earlier version of this addon, so I'm not specifically sure if it's a game.libretro issue, but I'm happy to test more if needed.

zach-morris commented 2 years ago

Just another note on this, with OSX 11.6, I still get intermittent crashing, but the system.log includes the following:

Zs-MacBook-Pro Kodi[2782]: getattrlist failed for /System/Library/Extensions/AppleIntelBDWGraphicsGLDriver.bundle/Contents/MacOS/AppleIntelBDWGraphicsGLDriver: #2: No such file or directory
Zs-MacBook-Pro Kodi[2782]: getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
Zs-MacBook-Pro com.apple.xpc.launchd[1] (application.org.xbmc.kodi.298194.298199[2782]): Service exited due to SIGSEGV | sent by exc handler[2782]
garbear commented 2 years ago

@fuzzard do you see anything with your macOS supervision?

zach-morris commented 2 years ago

One addition after I wrote the original. I (again) wasn't sure where this issue should live, same issue is here: https://github.com/xbmc/xbmc/issues/19472

But I did further testing when writing the one in the xbmc repo, and the same issue occurs on multiple other OS'. I can close either of these if you feel it's appropriate.