libretro / libretro/parallel-n64

crash when trying to run game with vulkan driver selected; stack trace included

Open
#428 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
407
Forks
151
Avg merge
11h 53m
Merged PRs (30d)
11

Description

Rewind is disabled.

retroarch_debug-lex.exe caused an Access Violation at location 0000000000000000 DEP violation at location 0000000000000000.

AddrPC           Params
0000000000000000 0000000000000100 00000000004130D9 0000000000001078
0000000021F5F0E3 0000000000000000 00000000220CA748 0000000000000000  mupen64plus_libretro.dll! ??   [C://msys64//home//buildbot//buildbot//windows_x64//libretro-mupen64plus/libretro-common/glsm/glsm.c @ 2011]
0000000021F6124E 0000000000000100 0000000000000004 0000000008120040  mupen64plus_libretro.dll!retro_run  [C://msys64//home//buildbot//buildbot//windows_x64//libretro-mupen64plus/libretro/libretro.c @ 1293]
00000000004027C8 0000000000000000 000000000088E5A8 000000000022FD48  retroarch_debug-lex.exe!core_run  [G:/tools/retroarch/source/core_impl.c @ 437]
   435: 
   436:    if (core.retro_run)
>  437:       core.retro_run();
   438:    if (core_poll_type == POLL_TYPE_LATE && !core_input_polled)
   439:       input_poll();
0000000000414268 0000000000000001 0000000000000000 0000000000000000  retroarch_debug-lex.exe!runloop_iterate  [G:/tools/retroarch/source/runloop.c @ 1160]
  1158:       retro_sleep(settings->video.frame_delay);
  1159: 
> 1160:    core_run();
  1161: 
  1162: #ifdef HAVE_CHEEVOS
00000000004016C0 0000000005396720 000000000000000B 0000000005424184  retroarch_debug-lex.exe! ??   [G:/tools/retroarch/source/frontend/frontend.c @ 130]
   128:    {
   129:       unsigned sleep_ms = 0;
>  130:       int           ret = runloop_iterate(&sleep_ms);
   131: 
   132:       if (ret == 1 && sleep_ms > 0)
00000000006B1E48 0000000000000003 000000000000000B 000000000116F490  retroarch_debug-lex.exe!main_getcmdline
00000000004013F8 0000000000000000 0000000000000000 0000000000000000  retroarch_debug-lex.exe!__tmainCRTStartup  [C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c @ 334]
00000000004014EB 0000000000000000 0000000000000000 0000000000000000  retroarch_debug-lex.exe!WinMainCRTStartup  [C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c @ 184]
0000000076F259CD 0000000000000000 0000000000000000 0000000000000000  kernel32.dll!BaseThreadInitThunk
000000007715A561 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Vulkan-driver crash and inspect the stack entry in libretro-common/glsm/glsm.c at line 2011, then follow the call through libretro/libretro.c's retro_run and source/core_impl.c's core_run. Done means identifying the cause of the access violation and verifying that running the game with the Vulkan driver no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.