libretro / desmume

DeSmuME is a Nintendo DS emulator
http://desmume.org
GNU General Public License v2.0
35 stars 33 forks source link

Dr.Memory crash on startup #10

Closed ghost closed 6 years ago

ghost commented 6 years ago

Latest HEAD and RA on Windows 10, I get this error after trying to start a rom when running under Dr.Memory:

Error #1: UNADDRESSABLE ACCESS: reading 0x000000000000002c-0x0000000000000030 4 byte(s)
# 0 desmume_libretro.dll!Sequencer::execHardware [../../NDSSystem.cpp:1040]
# 1 desmume_libretro.dll!MakeInputDisplayString [../../NDSSystem.cpp:2692]
# 2 desmume_libretro.dll!NDS_applyFinalInput [../../NDSSystem.cpp:2993]
# 3 desmume_libretro.dll!NDS_exec<>          [../../NDSSystem.cpp:2030]
# 4 desmume_libretro.dll!NDS_endProcessingInput [../../NDSSystem.cpp:2882]
# 5 desmume_libretro.dll!retro_run           [../../frontend/libretro/libretro.cpp:1713]
# 6 nbio_mmap_win32_free                     [libretro-common/file/nbio/nbio_windowsmmap.c:197]
# 7 core_run                                 [C:\msys64\home\Administrator\RetroArch/core_impl.c:415]
# 8 runloop_iterate                          [C:\msys64\home\Administrator\RetroArch/retroarch.c:3190]
# 9 retro_task_internal_gather               [libretro-common/queues/task_queue.c:136]
#10 retro_task_threaded_gather               [libretro-common/queues/task_queue.c:376]
#11 task_queue_check                         [libretro-common/queues/task_queue.c:609]
#12 rarch_main                               [frontend/frontend.c:131]
#13 SDL_main                                 [frontend/frontend.c:154]
#14 main_getcmdline                          [gfx/drivers_shader/slang_process.cpp:458]
#15 __tmainCRTStartup                        [C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:341]
#16 .l_startw                                [C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:191]
#17 KERNEL32.dll!BaseThreadInitThunk        +0x13     (0x00007ffd42578364 <KERNEL32.dll+0x8364>)
Note: @0:00:46.333 in thread 7072
Note: instruction: mov    0x2c(%rax) -> %eax
bearoso commented 6 years ago

Same as #9.