Mojira Archive
MCL-21180

Access token is not removed from JVM crash in all cases

The bug

To fix MCL-9207 the launcher is apparently manually removing the access token from the JVM crash report after it was been written. However, this does not seem to happen in all cases. Possibly the access token is only removed when the user presses the "View crash report" button on the launcher crash dialog.

Expected would be that the launcher removes the access token in all cases, ideally directly after the crash report was written by the JVM (without requiring any user interaction).

Reproduction steps

  1. Start Minecraft and open a world
  2. Start holding down Ctrl + F3 + C (might not be supported by all keyboards?)
  3. Once Minecraft crashed, click "Close" on the launcher "Game crashed" dialog
  4. Look for the hs_err_pidXXXXX.log JVM crash report file in the directory of the Minecraft installation you had launched
  5. Open the crash report with a text editor and search for --accessToken (Note: The crash report shown in the "Minecraft game output" of the launcher is only an extract and does not contain it)
    The JVM crash report contains your access token

Cannot Reproduce

Marcono1234

2022-03-13, 03:11 PM

2024-01-28, 08:03 PM

2023-12-31, 01:42 AM

0

2

Confirmed

709213

2.2.11103 (Windows), 2.3.280 (Mac)

-