kodi-game / game.libretro.scummvm

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

Kodi crashes when exiting ScummVM #15

Closed zach-morris closed 6 years ago

zach-morris commented 6 years ago

Version tested:

08:40:43.304 T:140735305183232  NOTICE: Starting Kodi (18.0-ALPHA1 Git:20180215-276e1a4). Platform: OS X x86 64-bit
08:40:43.304 T:140735305183232  NOTICE: Using Debug Kodi x64 build
08:40:43.304 T:140735305183232  NOTICE: Kodi compiled Feb 15 2018 by Clang 9.0.0 (clang-900.0.37) for OS X x86 64-bit version 10.8.0 (1080)
08:40:43.305 T:140735305183232  NOTICE: Running on Apple Inc. MacBookPro12,1 with OS X 10.11.6, kernel: Darwin x86 64-bit version 15.6.0
08:40:43.305 T:140735305183232  NOTICE: FFmpeg version/source: 3.4.1-Kodi
08:40:43.305 T:140735305183232  NOTICE: Host CPU: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz, 4 cores available

Issue: Kodi crashes when selecting quit from the ScummVM menu. Expecting it to gracefully go back to Kodi.

Log:

08:41:49.698 T:140735305183232   DEBUG: AddOnLog: ScummVM: Setting libretro pixel format "RGB565"
08:41:49.699 T:140735305183232    INFO: GAME: ---------------------------------------
08:41:49.699 T:140735305183232    INFO: GAME: Base Width:   640
08:41:49.699 T:140735305183232    INFO: GAME: Base Height:  480
08:41:49.699 T:140735305183232    INFO: GAME: Max Width:    640
08:41:49.699 T:140735305183232    INFO: GAME: Max Height:   480
08:41:49.699 T:140735305183232    INFO: GAME: Aspect Ratio: 1.333333
08:41:49.699 T:140735305183232    INFO: GAME: FPS:          60.000000
08:41:49.699 T:140735305183232    INFO: GAME: Sample Rate:  44100.000000
08:41:49.699 T:140735305183232    INFO: GAME: Region:       NTSC
08:41:49.699 T:140735305183232    INFO: GAME: ---------------------------------------
08:41:49.699 T:140735305183232   DEBUG: GAME: Audio sample rate is supported, no scaling or resampling needed
08:41:49.700 T:140735305183232   DEBUG: GAME: No in-game saves (save ram) to load
08:41:49.700 T:140735305183232   DEBUG: GAME: No in-game saves (rtc) to load
08:41:49.700 T:140735305183232   DEBUG: RetroPlayer[PLAYER]: Using game client game.libretro.scummvm
08:41:49.700 T:123145302839296   DEBUG: Thread GameLoop start, auto delete: false
08:41:49.700 T:140735305183232   DEBUG: PERIPHERALS: Event poll handle activated
08:41:49.701 T:140735305183232   DEBUG: RetroPlayer[PLAYER]: Closing OSD via speed change (1.000000)
08:41:49.701 T:140735305183232   DEBUG: ------ Window Deinit () ------
08:41:49.701 T:140735305183232   DEBUG: OnPlayBackStarted: CApplication::OnPlayBackStarted
08:41:49.704 T:140735305183232   DEBUG: ------ Window Init () ------
08:41:49.704 T:140735305183232   DEBUG: Alloc resources: 0.00ms  (0.00 ms skin load)
08:41:49.707 T:123145305600000   DEBUG: CGUIInfoManager::SetCurrentGame()
08:41:49.707 T:123145307209728   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
08:41:49.707 T:123145307209728   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
08:41:49.708 T:123145307209728   DEBUG: CAnnouncementManager - Announcement: OnChanged from xbmc
08:41:49.708 T:123145307209728   DEBUG: GOT ANNOUNCEMENT, type: 1024, from xbmc, message OnChanged
08:41:49.711 T:123145319092224   DEBUG: Skin Helper Widgets --> Kodi_Monitor: sender xbmc - method: Player.OnPlay  - data: {"item":{"type":"unknown"},"player":{"playerid":-1,"speed":1}}
08:41:49.711 T:123145319092224   DEBUG: Skin Helper Widgets --> Kodi_Monitor: sender xbmc - method: Unknown.OnChanged  - data: null
08:41:49.712 T:123145318019072   DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Player.OnPlay  - data: {"item":{"type":"unknown"},"player":{"playerid":-1,"speed":1}}
08:41:49.713 T:140735305183232   DEBUG: CDirectoryProvider[addons://sources/game/]: refreshing..
08:41:49.750 T:123145305063424   DEBUG: GetImageHash - unable to stat url /Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro.fmsx/icon.png
08:42:17.189 T:123145320701952   DEBUG: CAddonSettings[service.nextup.notification]: loading setting definitions
08:42:17.190 T:123145320701952   DEBUG: CAddonSettings[service.nextup.notification]: trying to load setting definitions from old format...
08:42:19.754 T:123145305600000   DEBUG: Thread JobWorker 123145305600000 terminating (autodelete)
08:42:19.754 T:123145312116736   DEBUG: Thread JobWorker 123145312116736 terminating (autodelete)
08:42:19.755 T:123145308819456   DEBUG: Thread JobWorker 123145308819456 terminating (autodelete)
08:42:19.755 T:123145305063424   DEBUG: Thread JobWorker 123145305063424 terminating (autodelete)
08:42:22.193 T:123145320701952   DEBUG: CAddonSettings[service.nextup.notification]: loading setting definitions
08:42:22.193 T:123145320701952   DEBUG: CAddonSettings[service.nextup.notification]: trying to load setting definitions from old format...
08:42:26.674 T:123145302839296    INFO: AddOnLog: ScummVM: Emulator loop has ended.
08:42:26.674 T:123145302839296   DEBUG: RetroPlayer[VIDEO]: Closing video stream
garbear commented 6 years ago

I couldn't reproduce on Linux or OSX. Still an issue?

zach-morris commented 6 years ago

Nope, working now with version

-----------------------------------------------------------------------
16:24:38.837 T:140735187836928  NOTICE: Starting Kodi (18.0-BETA1 Git:20180817-6d3f248cdf). Platform: OS X x86 64-bit
16:24:38.838 T:140735187836928  NOTICE: Using Debug Kodi x64 build
16:24:38.838 T:140735187836928  NOTICE: Kodi compiled Aug 17 2018 by Clang 9.0.0 (clang-900.0.37) for OS X x86 64-bit version 10.9.0 (1090)
16:24:38.839 T:140735187836928  NOTICE: Running on Apple Inc. MacBookPro12,1 with OS X 10.11.6, kernel: Darwin x86 64-bit version 15.6.0
16:24:38.839 T:140735187836928  NOTICE: FFmpeg version/source: 4.0.2-Kodi
16:24:38.839 T:140735187836928  NOTICE: Host CPU: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz, 4 cores available