kodi-game / game.libretro.scummvm

ScummVM GameClient for XBMC
https://github.com/libretro/scummvm
1 stars 5 forks source link

Kodi crash when game crash #18

Open Canuma opened 6 years ago

Canuma commented 6 years ago

Bug report

Describe the bug

Whenever a game crashes (into builtin debugger), Kodi crashes/ends too

RetroArch Behavior

Here is a clear and concise description of what happens in RetroArch with the same core/game: Unknown, not installed

To Reproduce

Steps to reproduce the behavior:

  1. Launch ScummVM
  2. Import a known broken game/wrongly detected game
  3. Start Game
  4. Continue if debugger comes up

Debuglog

The debuglog can be found here: No Debuglog. Yet. Might provide one on private basis.

Screenshots

Here are some links or screenshots to help explain the problem: Please have a look here I described several findings, this one seems to be reproducable

Your Environment

Used Operating system:

Operating system version/name: Windows 7 64

Kodi version: 18 beta 5

note: Once the issue is made we require you to update it with new information or Kodi versions should that be required. Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

garbear commented 6 years ago

Kodi crashes because the core is run in the same process space, and a segfault anywhere bring down Kodi too. The solution is to run all cores out-of-process, but this is difficult because we support so many platforms and each one has their own inter-process communication protocol (if one exists on the platform at all).

Canuma commented 6 years ago

Oh, that's a real showstopper then at least for scumm vm i'm afraid. Because there always might be something going on and usually it then crashes to the debugger, as mentioned. Isn't there another way to trap that specific core, so that it could just stop working? (I have no idea about that stuff, I am just a little java coder, so i can't do much to help here)