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

Minecraft Java Edition launcher crashes with Exit code: 1 stating 'The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug.' #371

Closed
astemkar opened this issue Dec 30, 2022 · 11 comments
Labels
Minecraft Issues relating to Minecraft Waiting on OP

Comments

@astemkar
Copy link

astemkar commented Dec 30, 2022

(Upon contacting the Minecraft support, I was told to raise a query here on Github.)

When I launch Minecraft Java Edition through the official launcher, the game crashes with an Exit code: 1, and the game output window states that 'The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug.'

OS:Windows 10, Version: Build 19045

The output from java --version:
java 17.0.2 2022-01-18 LTS
Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)

Steps to reproduce the behavior:
N.A. since it takes place in the game window

Expected behavior: Expected the game to launch after starting it.

Screenshot of Game output window:
Screenshot 2022-12-30 125215

Please let me know in case any more details are required from my side.

@github-actions
Copy link

Thank you for the report!
Please submit this issue over at the Mojang bug tracker. Please search for existing reports first; in case you do not find any, create a new report and let us know about the issue number here (e.g. MC-123456). The Mojang team will take the first look. If an OpenJDK bug is identified, the Mojang team will contact the Microsoft Build of OpenJDK team to address the issue.

@github-actions github-actions bot added the Minecraft Issues relating to Minecraft label Dec 30, 2022
@karianna karianna reopened this Jan 2, 2023
@karianna
Copy link
Member

karianna commented Jan 2, 2023

@astemkar Are you able to post the contents of the `hs_err_pid.log error log file?

@dan-uwaifo
Copy link

i have the same issue and i have logs

@dan-uwaifo
Copy link

hs_err_pid2200.log

@karianna
Copy link
Member

karianna commented Jan 3, 2023

@astemkar - FYI - I also notice that your java --version command outputs 17.0.2+8 but that Minecraft is actually running the bundled 17.0.3+7.

For both @astemkar and @dan-uwaifo

Are you able to try installing 17.0.5 from https://learn.microsoft.com/en-gb/java/openjdk/download and then:

  1. Open Minecraft JE
  2. Go to Installations
  3. For the Latest Release installation select the ... button on the RH side and select Edit
  4. Click on the More Options Dropdown
  5. Click on the Browse link in the Java Executable field and navigate to the javaw.exe file in the directory that you just installed 17.0.5 to.
  6. Restart Minecraft JE and see if that resolves the issue, if not please do post a new hs_err_pid_ file here

@dan-uwaifo
Copy link

Ah well I would to that but I managed to fix everything due to a driver update. Thought it was updated since it was relatively new but checked the drivers via amd and now everything's working

@RustyBot572
Copy link

How did you update your drivers?

@MinikatzeM
Copy link

hs_err_pid18184.log

I followed the tutorial from karianna but it didn't work

@karianna
Copy link
Member

karianna commented Jan 6, 2023

@MinikatzeM You may be impacted by the NVidia driver bug (please update to latest) or the AMD driver workaround. See LWJGL/lwjgl3#836 (comment)

@RustyBot572
Copy link

@karianna what do we do exactly? I see the comment but i don't know what you want us to do to fix the problem.

@brunoborges
Copy link
Member

@RustyBot572 best thing to do here is talk with the folks from the LWJGL project.

@brunoborges brunoborges closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Minecraft Issues relating to Minecraft Waiting on OP
Projects
None yet
Development

No branches or pull requests

6 participants