Project

General

Profile

Actions

Emulator Issues #12472

open

Inconsistent crash when attempting to stop emulation

Added by NewAgeDerpDerp about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Any

Game ID? (right click the game in the game list, Properties, Info tab)

Any

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

N/A

What's the problem? Describe what went wrong.

Sometimes, when attempting to stop emulation, a C++ library error will pop up very briefly [so briefly that I can't even get a screenshot of it before it's gone!] before the entire emulator force quits itself.
By using screen recording and scrubbing through the footage, I am able to get what the error message says:

Assertion failed!

Program: [Dolphin.exe]
File: C:\buildbot\release-win-x64\build\Externals...\imgui.cpp
Line: 3079

Expression: GimGui != 0 && "No current context. Did you call ImGui::CreateContext() and ImGui::SetCurrentContext() ?"

For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)

[Abort, retry, ignore - the error closes before I get a chance to select any of these options]

What steps will reproduce the problem?

  1. Open any GameCube game
  2. Wait a few seconds for it to begin running
  3. Attempt to stop emulation by closing window
    If error does not occur, then repeat

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes [5.0-13961]

Is the issue present in the latest stable version?

Yes [5.0]

What are your PC specifications? (CPU, GPU, Operating System, more)

Microsoft Windows version 2004 [build 19041.867]
Intel Core i5-7400 @ 3 GHz
16 GB 2400 MHz DDR4
NVIDIA GeForce GTX 1660 [6GB VRAM, Game Ready driver 461.92]

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

Unknown - I don't know if Dolphin saves crash logs, and where they are saved if applicable.


Files

Screenshot 2021-04-01 152953.png (108 KB) Screenshot 2021-04-01 152953.png The error message - excuse the low quality, I don't know why it saved like that NewAgeDerpDerp, 04/01/2021 07:29 PM

Related issues 1 (1 open0 closed)

Related to Emulator - Emulator Issues #12045: Dolphin crashes when stopping emulation during movie recordingNew

Actions
Actions #1

Updated by shatteredlites about 3 years ago

ive been having the same issue and its reported but nothing has been done about it. not sure whats wrong to be honest.

Actions #2

Updated by JMC4789 about 3 years ago

I haven't seen the issue once. Run dolphin from visual studio and try getting a stack trace.

Actions #3

Updated by pokechu22 about 3 years ago

Do you have "Confirm on Stop" enabled? If so, did you get the warning before stopping emulation before the failed assertion message appeared?

Also, it's not possible for this error to have occurred as-is on 5.0, as ImGui wasn't in use then. Did you get the same failed assertion message in that version, or a different one? (As a tip, for most Windows dialog boxes, you can press Control+C to copy the title and text.)

Actions #4

Updated by NewAgeDerpDerp about 3 years ago

JMC4789 wrote:

I haven't seen the issue once. Run dolphin from visual studio and try getting a stack trace.

I don't have Visual Studio installed on my computer

Actions #5

Updated by NewAgeDerpDerp about 3 years ago

pokechu22 wrote:

Do you have "Confirm on Stop" enabled? If so, did you get the warning before stopping emulation before the failed assertion message appeared?

Also, it's not possible for this error to have occurred as-is on 5.0, as ImGui wasn't in use then. Did you get the same failed assertion message in that version, or a different one? (As a tip, for most Windows dialog boxes, you can press Control+C to copy the title and text.)

Confirm on stop is enabled and immediately after I select an option Dolphin spits out the assertion failure and self-destructs.

Me saying just 5.0 was a mistake on my behalf, as after opening and closing Pikmin 2 several times I can safely say that it does not crash in the same way.

Actions #6

Updated by NewAgeDerpDerp about 3 years ago

Game Name?

Any

Game ID? (right click the game in the game list, Properties, Info tab)

Any

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

N/A

What's the problem? Describe what went wrong.

Sometimes, when attempting to stop emulation, a C++ library error will pop up very briefly [so briefly that I can't even get a screenshot of it before it's gone!] before the entire emulator force quits itself.
By using screen recording and scrubbing through the footage, I am able to get what the error message says:

Assertion failed!

Program: [Dolphin.exe]
File: C:\buildbot\release-win-x64\build\Externals...\imgui.cpp
Line: 3079

Expression: GimGui != 0 && "No current context. Did you call ImGui::CreateContext() and ImGui::SetCurrentContext() ?"

For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)

[Abort, retry, ignore - the error closes before I get a chance to select any of these options]

What steps will reproduce the problem?

Open any GameCube game
Wait a few seconds for it to begin running
Attempt to stop emulation by closing window If error does not occur, then repeat
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes [5.0-13961]

Is the issue present in the latest stable version?

No

What are your PC specifications? (CPU, GPU, Operating System, more)

Microsoft Windows 10 Pro v2004 [build 19041.867]
Intel Core i5-7400 @ 3 GHz
16 GB 2400 MHz DDR4
NVIDIA GeForce GTX 1660 [6GB VRAM, Game Ready driver 461.92]

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

Unknown - I don't know if Dolphin saves crash logs, and where they are saved if applicable.

Actions #7

Updated by NewAgeDerpDerp about 3 years ago

Disabling Confirm on Stop now causes Dolphin to silently crash without throwing an error message this time.

Actions #8

Updated by JMC4789 about 3 years ago

Do you have BBA inserted?

Actions #9

Updated by NewAgeDerpDerp about 3 years ago

JMC4789 wrote:

Do you have BBA inserted?

I have no idea what BBA is but I doubt I have it inserted

Actions #10

Updated by JosJuice over 2 years ago

Actions

Also available in: Atom PDF