Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX Crashes when launching #5

Open
zach-morris opened this issue Sep 7, 2018 · 3 comments
Open

OSX Crashes when launching #5

zach-morris opened this issue Sep 7, 2018 · 3 comments

Comments

@zach-morris
Copy link

Issue:
Launching games crashes Kodi when choosing beetle-gba. Launching the same game with other available cores (Meteor, VBA-M) works without crashing.

Version tested:

07:55:54.946 T:140735204044800  NOTICE: -----------------------------------------------------------------------
07:55:54.946 T:140735204044800  NOTICE: Starting Kodi (18.0-BETA2 Git:20180906-59cae3bb29). Platform: OS X x86 64-bit
07:55:54.946 T:140735204044800  NOTICE: Using Debug Kodi x64 build
07:55:54.946 T:140735204044800  NOTICE: Kodi compiled Sep  6 2018 by Clang 9.0.0 (clang-900.0.37) for OS X x86 64-bit version 10.9.0 (1090)
07:55:54.947 T:140735204044800  NOTICE: Running on Apple Inc. MacBookPro12,1 with OS X 10.11.6, kernel: Darwin x86 64-bit version 15.6.0
07:55:54.947 T:140735204044800  NOTICE: FFmpeg version/source: 4.0.2-Kodi
07:55:54.947 T:140735204044800  NOTICE: Host CPU: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz, 4 cores available

To Recreate:
Launch any GBA game and choose beetle-gba

Log:

08:04:23.279 T:140735204044800    INFO: GAME: ------------------------------------
08:04:23.279 T:140735204044800    INFO: GAME: Loaded DLL for game.libretro.beetle-gba
08:04:23.279 T:140735204044800    INFO: GAME: Client: Nintendo - Game Boy Advance (Beetle GBA) at version 0.9.36
08:04:23.279 T:140735204044800    INFO: GAME: Valid extensions: .agb .bin .gba
08:04:23.279 T:140735204044800    INFO: GAME: Supports VFS:                  yes
08:04:23.279 T:140735204044800    INFO: GAME: Supports standalone execution: no
08:04:23.279 T:140735204044800    INFO: GAME: ------------------------------------
08:04:23.279 T:140735204044800   DEBUG: RetroPlayer[INPUT]: Initializing input
08:04:23.279 T:140735204044800   DEBUG: PERIPHERALS: Event poll handle registered
08:04:23.280 T:140735204044800    INFO: RetroPlayer[PLAYER]: Opening: /Users/xxx/Library/Application Support/Kodi/userdata/addon_data/plugin.program.iagl/temp_iagl/Advance Wars (USA).gba
08:04:23.280 T:140735204044800   DEBUG: GameClient: Loading /Users/xxx/Library/Application Support/Kodi/userdata/addon_data/plugin.program.iagl/temp_iagl/Advance Wars (USA).gba
08:04:23.284 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Loaded file into memory (4194304 bytes): /Users/xxx/Library/Application Support/Kodi/userdata/addon_data/plugin.program.iagl/temp_iagl/Advance Wars (USA).gba
08:04:23.284 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Libretro input bindings:
08:04:23.284 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): ------------------------------------------------------------
08:04:23.284 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_LEFT, Description: D-Pad Left
08:04:23.284 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_UP, Description: D-Pad Up
08:04:23.285 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_DOWN, Description: D-Pad Down
08:04:23.285 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_RIGHT, Description: D-Pad Right
08:04:23.285 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_B, Description: B
08:04:23.285 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_A, Description: A
08:04:23.285 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_L, Description: L
08:04:23.285 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_R, Description: R
08:04:23.285 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_SELECT, Description: Select
08:04:23.285 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_START, Description: Start
08:04:23.285 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): ------------------------------------------------------------
08:04:23.285 T:140735204044800   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Setting libretro pixel format "XRGB8888"
@garbear
Copy link
Member

garbear commented Sep 7, 2018

Oops, forgot to merge #4. Crash might be fixed now.

@garbear
Copy link
Member

garbear commented Sep 7, 2018

Launched an OSX test build which should include the PR: http://jenkins.kodi.tv/job/OSX-64/11206/

@zach-morris
Copy link
Author

Kodi no longer crashes, but I get an error via GUI: Add-on couldn't be loaded. An unknown error has occurred

Version:

09:00:11.223 T:140735098916864  NOTICE: Starting Kodi (18.0-BETA2 Git:20180911-84925cfc94). Platform: OS X x86 64-bit
09:00:11.223 T:140735098916864  NOTICE: Using Debug Kodi x64 build
09:00:11.223 T:140735098916864  NOTICE: Kodi compiled Sep 11 2018 by Clang 9.0.0 (clang-900.0.37) for OS X x86 64-bit version 10.9.0 (1090)
09:00:11.223 T:140735098916864  NOTICE: Running on Apple Inc. MacBookPro12,1 with OS X 10.11.6, kernel: Darwin x86 64-bit version 15.6.0
09:00:11.223 T:140735098916864  NOTICE: FFmpeg version/source: 4.0.2-Kodi
09:00:11.223 T:140735098916864  NOTICE: Host CPU: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz, 4 cores available

Log:

---------------------------------------
09:13:29.642 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: Game tag loaded
09:13:29.642 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: URL:
09:13:29.642 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: Title: 50.  Super Robot Taisen - Original Generation 2
09:13:29.643 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: Platform:
09:13:29.643 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: Genres: RPG, Strategy
09:13:29.643 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: Developer: Atlus U.S.A.
09:13:29.644 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: Game Code:
09:13:29.644 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: Region:
09:13:29.644 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: Publisher:
09:13:29.644 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: Format:
09:13:29.644 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: Cartridge type:
09:13:29.644 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: Game client: game.libretro.beetle-gba
09:13:29.644 T:140735098916864   DEBUG: RetroPlayer[PLAYER]: ---------------------------------------
09:13:29.647 T:140735098916864   DEBUG: ADDON: Dll Initializing - Nintendo - Game Boy Advance (Beetle GBA)
09:13:29.647 T:140735098916864   DEBUG: SECTION:LoadDLL(/Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro/game.libretro.1.0.40.dylib)
09:13:29.647 T:140735098916864   DEBUG: Loading: /Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro/game.libretro.1.0.40.dylib
09:13:29.663 T:140735098916864   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - Game Boy Advance (Beetle GBA)' requests setting 'gba_hle'
09:13:29.663 T:140735098916864   DEBUG: CAddonSettings[game.libretro.beetle-gba]: loading setting definitions
09:13:29.664 T:140735098916864   DEBUG: CAddonSettings[game.libretro.beetle-gba]: trying to load setting definitions from old format...
09:13:29.664 T:140735098916864   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Setting gba_hle has value "enabled" in Kodi
09:13:29.664 T:140735098916864   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - Game Boy Advance (Beetle GBA)' requests setting 'gba_use_mednafen_save_method'
09:13:29.665 T:140735098916864   DEBUG: CAddonSettings[game.libretro.beetle-gba]: loading setting definitions
09:13:29.665 T:140735098916864   DEBUG: CAddonSettings[game.libretro.beetle-gba]: trying to load setting definitions from old format...
09:13:29.665 T:140735098916864   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Setting gba_use_mednafen_save_method has value "mednafen" in Kodi
09:13:29.665 T:140735098916864   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Loading libretro buttonmap /Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro.beetle-gba/resources/buttonmap.xml
09:13:29.666 T:140735098916864   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Detected buttonmap version 2
09:13:29.666 T:140735098916864   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Loaded buttonmap at version 2
09:13:29.666 T:140735098916864   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): Could not locate controller topology "topology.xml"
09:13:29.667 T:140735098916864   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): CORE: ----------------------------------
09:13:29.667 T:140735098916864   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): CORE: Library name:    Mednafen VBA-M
09:13:29.667 T:140735098916864   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): CORE: Library version: v0.9.36
09:13:29.667 T:140735098916864   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): CORE: Extensions:      gba|agb|bin
09:13:29.667 T:140735098916864   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): CORE: Supports VFS:    false
09:13:29.667 T:140735098916864   DEBUG: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): CORE: ----------------------------------
09:13:29.667 T:140735098916864   ERROR: AddOnLog: Nintendo - Game Boy Advance (Beetle GBA): CORE: VFS support doesn't match addon.xml: true
09:13:29.668 T:140735098916864   ERROR: ADDON: Dll Nintendo - Game Boy Advance (Beetle GBA) - Client returned bad status (5) from Create and is not usable
09:13:29.668 T:140735098916864   DEBUG: ------ Window Init (DialogConfirm.xml) ------
09:13:29.668 T:140735098916864   DEBUG: Window DialogConfirm.xml was already loaded
09:13:29.668 T:140735098916864   DEBUG: Alloc resources: 0.22ms
09:13:29.929 T:123145308282880   DEBUG: CurlFile::Open(0x7fff4089fc50) https://i.imgur.com/PnQqYgZ.gif
09:13:33.560 T:140735098916864   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
09:13:33.593 T:140735098916864   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x0000, modifier: 0x0
09:13:33.593 T:140735098916864   DEBUG: HandleKey: return (0xf00d) pressed, action is Select
09:13:33.835 T:140735098916864   DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
09:13:33.843 T:140735098916864   ERROR: RetroPlayer[PLAYER]: Failed to initialize game.libretro.beetle-gba
09:13:33.843 T:140735098916864   DEBUG: SECTION:UnloadDll(/Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro/game.libretro.1.0.40.dylib)
09:13:33.844 T:140735098916864    INFO: ADDON: Dll Destroyed - Nintendo - Game Boy Advance (Beetle GBA)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants