flathub / com.mojang.Minecraft

https://flathub.org/apps/details/com.mojang.Minecraft
34 stars 13 forks source link

Crash when trying to choose a custom image for a profile #125

Closed MasterGeekMX closed 2 years ago

MasterGeekMX commented 2 years ago

Flatpak version: 1.12.7 MC Launcher version: Linux 5.17.5-arch1-1 2.3.136 MC Flatpak version: 1121 (stable branch) Desktop Environment: KDE Plasma 5.24.5 OS: Arch Linux.

When trying to set up a custom image for a profile, the launcher crashes at the moment of the file picker dialog box opening. Changing the Flatpak file permission with Flatseal does not work.

demo

Here is the log of running the app in the terminal:

https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json
[0505/113340.250350:INFO:main_context.cpp(129)] CEF initialized successfully.
[0505/113340.250525:INFO:main_context.cpp(131)] CEF version: 99.2.14+g3f796b8+chromium-99.0.4844.84
Gtk-Message: 11:33:40.268: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:33:40.268: Failed to load module "appmenu-gtk-module"
sh: línea 1: orca: orden no encontrada
[0505/113340.285029:ERROR:object_proxy.cc(623)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[0505/113340.285107:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd5 (isEnabled)
[0505/113340.285406:ERROR:object_proxy.cc(623)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[0505/113340.285436:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd5
[0505/113340.285453:WARNING:key_storage_linux.cc(209)] OSCrypt tried KWallet but couldn't initialise.
[0505/113340.285680:ERROR:object_proxy.cc(623)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[0505/113340.285707:ERROR:kwallet_dbus.cc(418)] Error contacting kwalletd5 (close)
[0505/113340.287246:ERROR:simple_backend_impl.cc(735)] Simple Cache Backend: wrong file structure on disk: 2 path: /home/mgmx/.var/app/com.mojang.Minecraft/data/../.minecraft/webcache2/Code Cache/js
[0505/113340.287241:ERROR:simple_backend_impl.cc(735)] Simple Cache Backend: wrong file structure on disk: 2 path: /home/mgmx/.var/app/com.mojang.Minecraft/data/../.minecraft/webcache2/Code Cache/wasm
[0505/113340.287429:ERROR:simple_backend_impl.cc(735)] Simple Cache Backend: wrong file structure on disk: 2 path: /home/mgmx/.var/app/com.mojang.Minecraft/data/../.minecraft/webcache2/Code Cache/js
[0505/113340.287479:ERROR:disk_cache.cc(185)] Unable to create cache
[0505/113340.287481:ERROR:simple_backend_impl.cc(735)] Simple Cache Backend: wrong file structure on disk: 2 path: /home/mgmx/.var/app/com.mojang.Minecraft/data/../.minecraft/webcache2/Code Cache/wasm
[0505/113340.287532:ERROR:disk_cache.cc(185)] Unable to create cache
Created browser window for reuse: 0x8800003
[0505/113340.435874:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[0505/113341.611622:WARNING:value_store_frontend.cc(47)] Reading mhjfbmdgcfjbbpaeojofohoefgiehjai.alarms from  failed: IO error: .../LOCK: Access denied. (ChromeMethodBFE: 15::LockFile::5)
[0505/113342.059410:ERROR:simple_backend_impl.cc(735)] Simple Cache Backend: wrong file structure on disk: 2 path: /home/mgmx/.var/app/com.mojang.Minecraft/data/../.minecraft/webcache2/Cache/Cache_Data
[0505/113342.059772:ERROR:simple_backend_impl.cc(735)] Simple Cache Backend: wrong file structure on disk: 2 path: /home/mgmx/.var/app/com.mojang.Minecraft/data/../.minecraft/webcache2/Cache/Cache_Data
[0505/113342.059844:ERROR:disk_cache.cc(185)] Unable to create cache
AsciiWolf commented 2 years ago

Thanks for your report! I am afraid this is an issue in the launcher itself, not Flatpak-specific and there is probably not much that we can do on our side to fix/workaround it.

MasterGeekMX commented 2 years ago

Understood. Thanks for the time tho.