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: