Open zach-morris opened 6 years ago
I've tracked down the crash. It occurs when calling retro_set_controller_port_device()
before retro_load_game()
. This should be valid behavior, because it's possible to connect a controller before turning a console on. The core shouldn't assume that controllers are only connected after the user starts playing. This will need to be fixed upstream.
I believe this was fixed in one of my input PRs. Is it still an issue?
Still an issue. Here's a log of the latest tested: 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
Log:
16:31:31.775 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: ---------------------------------------
16:31:31.775 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: Game tag loaded
16:31:31.775 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: URL:
16:31:31.776 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: Title: 50. R.B.I. Baseball (USA)
16:31:31.776 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: Platform:
16:31:31.776 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: Genres: Sports
16:31:31.776 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: Developer: Tengen Inc.
16:31:31.776 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: Game Code:
16:31:31.776 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: Region:
16:31:31.777 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: Publisher:
16:31:31.777 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: Format:
16:31:31.777 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: Cartridge type:
16:31:31.777 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: Game client: game.libretro.fceumm
16:31:31.777 T:140735187836928 DEBUG: RetroPlayer[PLAYER]: ---------------------------------------
16:31:31.780 T:140735187836928 DEBUG: ADDON: Dll Initializing - Nintendo - NES / Famicom (FCEUmm)
16:31:31.781 T:140735187836928 DEBUG: SECTION:LoadDLL(/Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro/game.libretro.1.0.40.dylib)
16:31:31.781 T:140735187836928 DEBUG: Loading: /Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro/game.libretro.1.0.40.dylib
16:31:31.787 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_region'
16:31:31.788 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.788 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.790 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_region has value "Auto" in Kodi
16:31:31.790 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_aspect'
16:31:31.790 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.791 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.791 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_aspect has value "8:7 PAR" in Kodi
16:31:31.791 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_palette'
16:31:31.792 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.792 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.793 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_palette has value "default" in Kodi
16:31:31.793 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_up_down_allowed'
16:31:31.793 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.793 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.794 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_up_down_allowed has value "disabled" in Kodi
16:31:31.794 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_overscan_h'
16:31:31.795 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.795 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.796 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_overscan_h has value "disabled" in Kodi
16:31:31.796 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_overscan_v'
16:31:31.796 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.796 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.797 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_overscan_v has value "enabled" in Kodi
16:31:31.797 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_nospritelimit'
16:31:31.798 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.798 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.798 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_nospritelimit has value "disabled" in Kodi
16:31:31.799 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_sndvolume'
16:31:31.799 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.799 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.800 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_sndvolume has value "150" in Kodi
16:31:31.800 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_sndquality'
16:31:31.801 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.801 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.801 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_sndquality has value "Low" in Kodi
16:31:31.802 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_swapduty'
16:31:31.802 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.802 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.803 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_swapduty has value "disabled" in Kodi
16:31:31.803 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_turbo_enable'
16:31:31.803 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.804 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.804 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_turbo_enable has value "None" in Kodi
16:31:31.804 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_turbo_delay'
16:31:31.805 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.805 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.806 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_turbo_delay has value "3" in Kodi
16:31:31.806 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_zapper_mode'
16:31:31.806 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.807 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.807 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_zapper_mode has value "pointer" in Kodi
16:31:31.807 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_show_crosshair'
16:31:31.808 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.808 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.809 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_show_crosshair has value "enabled" in Kodi
16:31:31.809 T:140735187836928 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_overclocking'
16:31:31.809 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.809 T:140735187836928 DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.810 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_overclocking has value "disabled" in Kodi
16:31:31.810 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Libretro controller info:
16:31:31.810 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): ------------------------------------------------------------
16:31:31.810 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Device: RETRO_DEVICE_JOYPAD, Description: "Auto"
16:31:31.810 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Device: RETRO_DEVICE_JOYPAD, Subclass: 0, Description: "Gamepad"
16:31:31.811 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Device: RETRO_DEVICE_MOUSE, Subclass: 0, Description: "Zapper"
16:31:31.811 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): ------------------------------------------------------------
16:31:31.811 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loading libretro buttonmap /Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro.fceumm/resources/buttonmap.xml
16:31:31.811 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Detected buttonmap version 2
16:31:31.812 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loaded buttonmap at version 2
16:31:31.812 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loading controller topology "/Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro.fceumm/resources/topology.xml"
16:31:31.812 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loaded controller topology with 2 ports
16:31:31.812 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting libretro pixel format "RGB565"
16:31:31.813 T:140735187836928 INFO: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Frontend supports RGB565 - will use that instead of XRGB1555.
16:31:31.813 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: ----------------------------------
16:31:31.813 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: Library name: FCEUmm
16:31:31.813 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: Library version: (SVN)
16:31:31.813 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: Extensions: fds|nes|unf|unif
16:31:31.813 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: Supports VFS: true
16:31:31.813 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: ----------------------------------
16:31:31.813 T:140735187836928 DEBUG: Calling TransferSettings for: Nintendo - NES / Famicom (FCEUmm)
16:31:31.814 T:140735187836928 INFO: Loading controller layout: /Users/xxx/Library/Application Support/Kodi/addons/game.controller.nes/resources/layout.xml
16:31:31.814 T:140735187836928 INFO: GAME: ------------------------------------
16:31:31.814 T:140735187836928 INFO: GAME: Loaded DLL for game.libretro.fceumm
16:31:31.815 T:140735187836928 INFO: GAME: Client: Nintendo - NES / Famicom (FCEUmm) at version 1.0.0
16:31:31.815 T:140735187836928 INFO: GAME: Valid extensions: .fds .nes .unf .unif
16:31:31.815 T:140735187836928 INFO: GAME: Supports VFS: yes
16:31:31.815 T:140735187836928 INFO: GAME: Supports standalone execution: no
16:31:31.815 T:140735187836928 INFO: GAME: ------------------------------------
16:31:31.815 T:140735187836928 DEBUG: RetroPlayer[INPUT]: Initializing input
16:31:31.815 T:140735187836928 DEBUG: PERIPHERALS: Event poll handle registered
16:31:31.815 T:140735187836928 INFO: RetroPlayer[PLAYER]: Opening: /Users/xxx/Library/Application Support/Kodi/userdata/addon_data/plugin.program.iagl/temp_iagl/R.B.I. Baseball (USA).nes
16:31:31.815 T:140735187836928 DEBUG: GameClient: Loading /Users/xxx/Library/Application Support/Kodi/userdata/addon_data/plugin.program.iagl/temp_iagl/R.B.I. Baseball (USA).nes
16:31:31.816 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loaded file into memory (98320 bytes): /Users/xxx/Library/Application Support/Kodi/userdata/addon_data/plugin.program.iagl/temp_iagl/R.B.I. Baseball (USA).nes
16:31:31.816 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Libretro input bindings:
16:31:31.816 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): ------------------------------------------------------------
16:31:31.816 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_LEFT, Description: D-Pad Left
16:31:31.816 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_UP, Description: D-Pad Up
16:31:31.817 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_DOWN, Description: D-Pad Down
16:31:31.817 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_RIGHT, Description: D-Pad Right
16:31:31.817 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_B, Description: B
16:31:31.817 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_A, Description: A
16:31:31.817 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_SELECT, Description: Select
16:31:31.817 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_START, Description: Start
16:31:31.817 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_R2, Description: (VSSystem) Insert Coin
16:31:31.817 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_L, Description: (FDS) Disk Side Change
16:31:31.817 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_R, Description: (FDS) Insert/Eject Disk
16:31:31.817 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_X, Description: Turbo A
16:31:31.817 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_Y, Description: Turbo B
16:31:31.818 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_LEFT, Description: D-Pad Left
16:31:31.818 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_UP, Description: D-Pad Up
16:31:31.818 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_DOWN, Description: D-Pad Down
16:31:31.818 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_RIGHT, Description: D-Pad Right
16:31:31.818 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_B, Description: B
16:31:31.818 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_A, Description: A
16:31:31.818 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_SELECT, Description: Select
16:31:31.818 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_START, Description: Start
16:31:31.818 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_X, Description: Turbo A
16:31:31.818 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_Y, Description: Turbo B
16:31:31.818 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_LEFT, Description: D-Pad Left
16:31:31.819 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_UP, Description: D-Pad Up
16:31:31.819 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_DOWN, Description: D-Pad Down
16:31:31.819 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_RIGHT, Description: D-Pad Right
16:31:31.819 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_B, Description: B
16:31:31.819 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_A, Description: A
16:31:31.819 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_SELECT, Description: Select
16:31:31.819 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_START, Description: Start
16:31:31.819 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_X, Description: Turbo A
16:31:31.819 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_Y, Description: Turbo B
16:31:31.819 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_LEFT, Description: D-Pad Left
16:31:31.819 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_UP, Description: D-Pad Up
16:31:31.820 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_DOWN, Description: D-Pad Down
16:31:31.820 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_RIGHT, Description: D-Pad Right
16:31:31.820 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_B, Description: B
16:31:31.820 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_A, Description: A
16:31:31.820 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_SELECT, Description: Select
16:31:31.820 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_START, Description: Start
16:31:31.820 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_X, Description: Turbo A
16:31:31.820 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_Y, Description: Turbo B
16:31:31.820 T:140735187836928 DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): ------------------------------------------------------------
16:31:31.821 T:140735187836928 INFO: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loading (null)...
Loading (null)
in the log meant that the core was trying to determine the ROM's base name from the ROM path. However, although the libretro API says loading by memory must pass a null path, noncompliant cores try to parse the null path.
I've done the bare minimum of testing, but this seems to be fixed with https://github.com/kodi-game/game.libretro/pull/46.
Version tested: RetroPlayer 18 alpha1 2018-02-11
Launch game and Kodi crashes consistently. Below is a log just before the crash: