mojira.dev
MCL-13450

Launcher crashes on Linux

When I try to start the launcher, I don't get a GUI at all. Trying to start it from the command line gives this output:

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
zsh: abort (core dumped)  ./minecraft-launcher

I have straced it, I will attach a text file with the strace output to this issue. Please let me know if I need to provide more information.

This happens both with the regular AUR package and the launcher-beta AUR package - the strace output is from the beta one.

Linked issues

Attachments

Comments 10

The contents of launcher_log.txt are:

[Info: 2020-03-23 14:56:40.601268173: LauncherMain.cpp(84)] Initiated models
[Info: 2020-03-23 14:56:40.601301787: LauncherMain.cpp(211)] Running launcher core (version 2.1.13086)
[Info: 2020-03-23 14:56:40.602823047: LauncherMain.cpp(93)] Initiated launcher controller
[Info: 2020-03-23 14:56:40.603058865: LauncherMain.cpp(226)] Initialization completed
[Info: 2020-03-23 14:56:40.603193281: LauncherMain.cpp(249)] Main process: true
[Info: 2020-03-23 14:56:40.603218492: SentryAPI.cpp(322)] The string '/home/toon' was added to the logging blacklist
[Info: 2020-03-23 14:56:40.603225908: SentryAPI.cpp(322)] The string '///home/toon' was added to the logging blacklist
[Info: 2020-03-23 14:56:40.603229528: LauncherMain.cpp(295)] workDir: .../.minecraft
[Info: 2020-03-23 14:56:40.603237622: SentryAPI.cpp(322)] The string '/opt' was added to the logging blacklist
[Info: 2020-03-23 14:56:40.603241560: SentryAPI.cpp(322)] The string '///opt' was added to the logging blacklist
[Info: 2020-03-23 14:56:40.603244669: LauncherMain.cpp(303)] appDir: .../minecraft-launcher

That's from a different run, but looking at the file I doubt that makes a lot of difference.

Same issue here. I even removed it and java and reinstalled.

I am on archlinux kernel 5.5.10-arch1-1

openjdk 13.0.2

Perhaps Mojang could consider keeping older versions of the launcher builds up: I tried editing the AUR build files to see if I have the same problem with a previous version, but couldn't because the build wasn't on Mojang's servers anymore.

LC_ALL=C minecraft-launcher

allowed me to run it and login.  A hack but it at least opens.

Looking at the output on terminal I also see this after I ran, not sure if that is to be expected:

[0324/095915.346883:ERROR:sandbox_linux.cc(346)] InitializeSandbox() called with multiple threads in process gpu-process.
SaveToBuffer failed
SaveToBuffer failed

That workaround works for me too, thank you so much Adrian!

Also this seems like it might make this quite an easy problem to find and fix for the devs.

Version 2.1.13509 is affected too, but I can't add it to the field.

This also happens in Kubuntu 20.04. Only

LC_ALL=C /opt/minecraft-launcher/minecraft-launcher

helps when lunch in terminal!

Launcher version:
2.1.13829
Thursday, April 9, 2020, 06:21:55
75153c5301087c288447bdfa4079bf0dc7d05f1f

I'm glad you all were able to figure out the issue. 🙂 For reference, at the time of this report's creation, we were already tracking this issue as MCL-12281 (if I'm understanding this report correctly).

migrated

(Unassigned)

Unconfirmed

Retrieved