Symbols file for libretro dll?

Issue #429 invalid
James Newmark created an issue

I'm attempting to make a libretro frontend in the Unity engine, and I haven't had any luck getting the genesis plus gx libretro core to work properly.

Would it be possible to get a symbols file in order to properly debug it?

I've attached my crash dump if it will help.

My stack trace currently looks like this:

========== OUTPUTING STACK TRACE ==================

ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 000000006F259C93) 0x000000006F259C93 (genesis_plus_gx_libretro_64bit) 0x000000006F25B24C (genesis_plus_gx_libretro_64bit) retro_load_game 0x000000001F72EA63 (Mono JIT Code) (wrapper managed-to-native) object:wrapper_native_000000006F25AF10 (LibretroWrapper/GameInfo&) 0x000000001F73162F (Mono JIT Code) [F:\RetroArch Project\RetroUnity-master - invokeRepeating\Assets\Scripts\LibretroWrapper.cs:707] LibretroWrapper:LoadGame (string) 0x000000001F72BE20 (Mono JIT Code) [F:\RetroArch Project\RetroUnity-master - invokeRepeating\Assets\Scripts\GameManager.cs:213] GameManager:StartupLibretroCoreAndLoadRom () 0x000000001F72B3DD (Mono JIT Code) [F:\RetroArch Project\RetroUnity-master - invokeRepeating\Assets\Scripts\GameManager.cs:109] GameManager:Start () 0x00000000102D68E2 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) 0x00007FFD25B1539F (mono) [c:\buildslave\mono\build\mono\mini\mini.c:4937] mono_jit_runtime_invoke 0x00007FFD25A68385 (mono) [c:\buildslave\mono\build\mono\metadata\object.c:2623] mono_runtime_invoke 0x0000000140362C9F (Unity) scripting_method_invoke 0x00000001404C99BF (Unity) ScriptingInvocation::Invoke 0x0000000140344CF2 (Unity) MonoBehaviour::InvokeMethodOrCoroutineChecked 0x0000000140344E2C (Unity) MonoBehaviour::InvokeMethodOrCoroutineChecked 0x00000001403459A7 (Unity) MonoBehaviour::Start 0x0000000140346039 (Unity) MonoBehaviour::DelayedStartCall 0x00000001401330F5 (Unity) DelayedCallManager::Update 0x000000014046756A (Unity) PlayerLoop 0x0000000140BDA225 (Unity) Application::UpdateScene 0x0000000140BDA6DA (Unity) Application::EnterPlayMode 0x0000000140BE2C34 (Unity) Application::SetIsPlaying 0x0000000140BE3716 (Unity) Application::TickTimer 0x0000000140E47E2E (Unity) FindMonoBinaryToUse 0x0000000140E49461 (Unity) WinMain 0x00000001415AD460 (Unity) strnlen 0x00007FFD49F98364 (KERNEL32) BaseThreadInitThunk

========== END OF STACKTRACE ===========

Comments (3)

  1. Eke ekeeke repo owner

    I guess you need to modify libretro Makefile to generate a .map file. I have no idea how to do this though and I am not the one maintaining it, you will need to ask libretro devs.

  2. James Newmark reporter

    Thank you for the quick response.

    I'm a little confused though. Didn't you write the makefile for the Genesis Plus GX libretro core/dll? Thanks again for your help.

  3. Eke ekeeke repo owner

    No, I didn't. The port (which was basically libretro.c and a Makefile) was initially done by libretro team. I later modified libretro.c to improve/add some stuff to the port but the Makefile always has been under their responsibility since it covers a lot of different platforms I can obviously not support myself.

    I am only maintaining Genesis Plus GX emulation code (which is the not exclusive to libretro port) and the standalone Wii/GC port (which was the original port, before retroarch even existed)

  4. Log in to comment