mojira.dev
MC-229195

JVM crash when using Streamlabs game capture (ntdll.dll)

When Streamlabs is open and attempting to record Minecraft using game capture, Minecraft will crash. I have only had this issue in Minecraft 1.17. Snapshots, modded, and older full versions are not affected and do not crash with Streamlabs.

Crash log (attached) tells me to report to https://github.com/microsoft/openjdk/issues and I was told there to report here.

I am using an Acer Nitro AN517-51 

To Reproduce

  1. Play Minecraft 1.17. You can be anywhere in the game (menu, single player world, server, ect)

  2. Open Streamlabs OBS version 1.1.2 (https://streamlabs.com/)

  3. Use Game Capture on a specific window to capture Minecraft 1.17

The game will crash and take you to the Minecraft launcher, with the crash error screen. Streamlabs will not have any issues.

---------------  T H R E A D  ---------------

Current thread (0x000001f48c0620a0):  JavaThread "Render thread" [_thread_in_native, id=7596, stack(0x0000009094200000,0x0000009094300000)]

Stack: [0x0000009094200000,0x0000009094300000],  sp=0x00000090942fbeb0,  free space=1007k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ntdll.dll+0x63416]
C  [ntdll.dll+0x2fcb4]
C  [ntdll.dll+0x2fae2]
C  0x00007ffd7f0e27bf

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 7493  org.lwjgl.system.JNI.invokePV(JJ)V (0 bytes) @ 0x000001f497d34564 [0x000001f497d34520+0x0000000000000044]
J 10198 c1 org.lwjgl.glfw.GLFW.glfwSwapBuffers(J)V (21 bytes) @ 0x000001f49048c64c [0x000001f49048c560+0x00000000000000ec]
J 10014 c1 dvo.f(Z)V (968 bytes) @ 0x000001f49107b26c [0x000001f491075e60+0x000000000000540c]
j  dvo.e()V+81
j  net.minecraft.client.main.Main.main([Ljava/lang/String;)V+1328
v  ~StubRoutines::call_stub

siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), writing address 0x0000000000000024

Linked issues

Attachments

Comments 12

Arisa Bot

⚠️ Your bug report has been marked as private, as it contains some sensitive privacy information (e.g. an email address or session ID).

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

violine1101

I've redacted and reuploaded the crash log to remove the sensitive information.

slicedlime

Cannot reproduce. Possibly specific to graphics hardware and/or driver version. To anyone who encounters this: please add as much information about your system as possible to help track down this crash.

slicedlime

Also: please mention which version of Streamlabs OBS you were using when you encountered the crash. The version number can be found in the title bar of the Streamlabs OBS window.

bigseabite

Edited to include Streamlabs OBS version (1.1.2) and system model (Acer Nitro AN517-51). Let me know if I need to include anything else about my system and I'll try to add it.

2 more comments
bigseabite

Still happening on Streamlabs 1.8.4 (most recent) 1.18.2 and 22w18a, but is extremely inconsistent on both. 22w18a seems to crash more often. Sometimes I am given a crash log, sometimes I am given an error code (-1073740771). Crashes seemed to happen more often if Minecraft was open before Streamlabs was opened, or if you use two monitors and focus/click on Streamlabs while keeping Minecraft in fullscreen on separate monitors. No crashes happened when Minecraft was in windowed mode and then Streamlabs was opened. 22w18a would always crash if Streamlabs was opened before Minecraft, but 1.18.2 would not unless two monitors were used and Streamlabs was clicked on while Minecraft was fullscreen on the other monitor.

I am aware this isn't a great report for figuring the issue out, but I spent 45 minutes just opening Minecraft and Streamlabs in different situations and could not get the same result consistently, except for 22w18a crashing if Streamlabs was opened before 22w18a was opened. If needed, I can try to make a more detailed list of situations, crashes, and any crash reports or error messages received.

ooio

Still happens in 22w19a

[media]
Marek Poláček

Hello. I wanted to stream Minecraft today, but Game Capture didn't work at all, I have it set to a keystroke, and after a 3rd invoke, it crashed the game.

 

I have Windows 11 Home, 64bit, version 23H2, build 25905.1000 (Insider Preview)

My GPU is GeForce GTX 1050 (nVidia), CPU is Intel i5 8th gen.

Version of OBS is 29.1.3 64bit (fresh updated).

Minecraft is 1.20.1. I normally use modded MC, but testing it in vanilla, and crashing, it seems to be unrelated to mods.

 

I've attached a JRE crash log. Not sure if it contains some sensitive informations, I'm not really that knowledgeable to read it.

[media]

 

EDIT: I took screenshots for my detailed specs:

[media]

System info (OS, RAM, CPU)

 

[media]

GPU and screen specs

 

EDIT 2: I tried to run external JRE, and it still crashes the game. Looks like it's related to Java in general.

gegy

This is an issue with OBS. Please see this issue.

Buks0n

So what's the solution? I have the same problem

bigseabite

(Unassigned)

Community Consensus

Platform

Very Important

Crash

jvm-crash

1.17, 1.17.1, 1.18.2, 22w18a, 22w19a, 1.20.1, 23w31a

Retrieved