mojira.dev
MCL-17531

Launcher crashes during update

Starting the Minecraft Launcher results in a crash after displaying: "Inspecting current version and preparing for update...".

[Info: 2021-04-04 11:02:58.394112339: LauncherMain.cpp(326)] appDir: .../.minecraft/launcher
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
[Fatal: 2021-04-04 11:02:58.519936575: mainLinux.cpp(508)] Launcher crashed while executing... signal: 6
[Info: 2021-04-04 11:02:58.520020036: mainLinux.cpp(511)] Freshly updated launcher crashed.

 

There seems to be an issue with the locale prior to the crash which may cause it.

[Info: 2021-04-04 11:02:56.310496110: WindowGTK.cpp(162)] Showing GTK window(process:11368): Gtk-WARNING **: 13:02:56.310: Locale not supported by C library.
        Using the fallback 'C' locale.

  

Starting the launcher with "LC_ALL=C minecraft-launcher" avoids the crash.

 

For some reason this error also only shows up when using the command "minecraft-launcher" via terminal and not in the launcher_log.txt file.

May be related to: MCL-13450

Linked issues

Attachments

Comments 3

I have the same issue on Manjaro.

Ironically, the official launcher was working fine before, but I had to build the AUR OpenJDK 16 because MultiMC would not start MC version 1.17 without it, which was working fine through the official launcher with OpenJDK 11 from the official Manjaro repo. I don't know if that is related at all, but I am not sure what else I changed since then.

Same for me, Manjaro too, I have jdk-openjdk version 16.0.1.u9-1 installed, installed libstdc++5 because someone on the aur site said you needed that, also deleted the ~/.minecraft/launcher folder, still, crashed after downloading all the files when attempting to launch the launcher.

For me too, starting with LC_ALL=C minecraft-launcher works.

 

OK
[Info: 2021-07-18 06:34:33.816627939: UpdatePistonComponent.cpp(70)] Piston update succeeded, writing version file to:
.../.minecraft/launcher/bootstrap.version !
[Info: 2021-07-18 06:34:33.816746520: UpdatePistonComponent.cpp(70)] Piston update succeeded, writing version file to:
.../.minecraft/launcher/.version !
[Info: 2021-07-18 06:34:33.816813735: NetQueue.cpp(183)] NetQueue: Initiating shutdown.
[Info: 2021-07-18 06:34:33.816841046: NetQueue.cpp(197)] NetQueue: Waiting for worker thread to finish...
[Info: 2021-07-18 06:34:33.816881135: NetQueue.cpp(689)] NetQueue: Worker thread shutting down.
[Info: 2021-07-18 06:34:33.822254367: NetQueue.cpp(200)] NetQueue: Done.
[Info: 2021-07-18 06:34:33.822309120: mainLinux.cpp(244)] Update complete.
[Info: 2021-07-18 06:34:33.823382546: WindowGTK.cpp(41)] Closing the window
[Info: 2021-07-18 06:34:33.823444484: NetQueue.cpp(183)] NetQueue: Initiating shutdown.
[Info: 2021-07-18 06:34:33.823472774: NetQueue.cpp(188)] NetQueue: No thread currently running
[Info: 2021-07-18 06:34:33.823500584: mainLinux.cpp(500)] Attempting to start the launcher
[Info: 2021-07-18 06:34:33.823524377: mainLinux.cpp(118)] Window closing, exiting process
https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json
terminate called after throwing an instance of 'std::logic_error'
 what():  basic_string::_M_construct null not valid
[Fatal: 2021-07-18 06:34:34.539279715: mainLinux.cpp(508)] Launcher crashed while executing... signal: 6
[Info: 2021-07-18 06:34:34.539343292: mainLinux.cpp(511)] Freshly updated launcher crashed.

Thank you for your report!
We're tracking this issue as MCL-12281, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as Won't Fix, which means this is considered a bug but won't be fixed. The description of that ticket or the comments might explain the rationale. Please do not leave a comment on the linked ticket.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

migrated

(Unassigned)

Unconfirmed

crash, minecraft-java-edition, minecraft-launcher, update-failure

Retrieved