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

Qt Critical: Unhandled exception! #1172

Open
xCISACx opened this issue Jan 31, 2024 · 3 comments
Open

Qt Critical: Unhandled exception! #1172

xCISACx opened this issue Jan 31, 2024 · 3 comments

Comments

@xCISACx
Copy link

xCISACx commented Jan 31, 2024

Describe the bug
Moonlight randomly crashes with a critical unhandled exception.

Steps to reproduce
Minimise Moonlight and tab back into it.

Affected games
All.

Moonlight settings (please complete the following information)

  • Have any settings been adjusted from defaults? Yes
  • If so, which settings have been changed? 1080p, 144 FPS, 80 Mbps, V-Sync Off
  • Does the problem still occur after reverting settings back to default? Yes

Client PC details (please complete the following information)

  • OS: Windows 11 23H2
  • Moonlight Version: 5.0.1
  • GPU: RTX 2060 Mobile

Server PC details (please complete the following information)

  • OS: Windows 11 23H2
  • GeForce Experience version: I use Sunshine. 3.27.0.120
  • Nvidia GPU driver: 551.23
  • Antivirus and firewall software: [e.g. Windows Defender and Windows Firewall]

Moonlight Logs (please attach)
Moonlight-1706743711.log

Crash dump:
Moonlight-1706743310.dmp

@cgutman
Copy link
Member

cgutman commented Feb 1, 2024

I see Nvidia's driver (nvwgf2umx.dll) is crashing in the crash dump:

0:066> .ecxr
rax=0000000000000000 rbx=000002a2cd6b7c80 rcx=000002a2cd6b7c80
rdx=000002a2cbbe9990 rsi=000002a2cbbe43a0 rdi=0000000000000000
rip=00007ff8e71b7014 rsp=000000a69de1f630 rbp=000002a2cbbe9990
 r8=000002a2cbbe43a0  r9=0000000000000000 r10=0000000000000001
r11=0000064af4c37a17 r12=0000000000000000 r13=0000000000000000
r14=000002a2cbbe43a0 r15=0000000000000000
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010206
nvwgf2umx+0x18a7014:
00007ff8`e71b7014 8b888c000000    mov     ecx,dword ptr [rax+8Ch] ds:00000000`0000008c=????????

I also noted that a hook (graphics_hook64.dll) has been loaded into Moonlight, which we do not support. It appears to be part of OBS. I suggest disabling this to see if it resovles the issue.

In the past, driver/hook issues like this have been dependent on the window mode of the stream. Full-screen would be most likely to trigger issues, while windowed and borderless windowed tend to be fine. I suggest trying borderless windowed mode or windowed mode to see if either of those make the issue go away.

@xCISACx
Copy link
Author

xCISACx commented Feb 1, 2024

OBS is closed and I can't find it running through the Task Manager either.
Where would I be able to find this hook?
The only recording software I am running is Steelseries Moments. Could that be the culprit?
I'll try Borderless then, thanks!

@xCISACx
Copy link
Author

xCISACx commented Feb 6, 2024

It's in Borderless now and it still crashes. Less often but it still does.

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