modrinth / code

The Modrinth monorepo containing all code which powers Modrinth!
https://modrinth.com
Other
876 stars 155 forks source link

Logs button causes app to freeze #1127

Open SilmarillionWorshipper opened 5 months ago

SilmarillionWorshipper commented 5 months ago

Describe the bug

When attempting to view the logs for any of the mod profiles, the app will freeze and refuse to close unless killed.

Steps to reproduce

  1. Go to any mod profile
  2. Click on the logs button

System information

Linux (Pop!_OS 22.04)

jcv99 commented 4 months ago

Same on fedora 39 with appimage. Operating System: Fedora Linux 39 KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.12 Kernel Version: 6.8.7-200.fc39.x86_64 (64-bit) Graphics Platform: X11 Processors: 16 × Intel® Core™ i7-10700KF CPU @ 3.80GHz Memory: 15,5 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3070/PCIe/SSE2 Manufacturer: ASUS

quaap commented 3 months ago

Same here. Fully updated Manjaro/Arch with XFCE and Kernel 6.9.x

Sl3epy commented 3 months ago

Same here. On Ubuntu and Gnome

AstroOrbis commented 3 months ago

Same here with Arch Linux (which I use btw) on Plasma and Gnome with both X11 and Wayland (latest on all)

CrossScarDev commented 3 months ago

Has this been seen?

LapisPhoenix commented 3 months ago

Same here, it will just hang there and do nothing, ive tried several ways of killing it but nothing seems to work, other than restarting.

Linux Mint 21.3 Cinnamon prewview

CrossScarDev commented 3 months ago

@LapisPhoenix I can quit by running killall modrinth-app on Arch but don't know about Mint.

Norbiros commented 3 months ago

The same bug was mentioned here: https://github.com/modrinth/theseus/issues/1216#issuecomment-2158897849

LapisPhoenix commented 2 months ago

@LapisPhoenix I can quit by running kill-all modrinth-app on Arch but don't know about Mint.

Sorry for late reply, thanks for letting me know. On Mint I need to do killall modrinth-app and it works. Thanks for the work around.

CrossScarDev commented 2 months ago

@LapisPhoenix sorry yeah I meant killall modrinth-app the - was a mistake. I'll update my reply.

Norbiros commented 4 weeks ago

This bug was reintroduced in https://github.com/modrinth/code/commit/c84e2e0537517f9e9f06b2b1eb5c0c6e2011171a

Call-Me-Alex commented 3 weeks ago

@Norbiros can confirm

okunamayanad commented 2 weeks ago

Ubuntu 24.04, opening any modpack's logs page makes the app freeze and turns the window to gray. here are the logs of the app:

/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
/lib/x86_64-linux-gnu/libcurl-gnutls.so.4: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so: undefined symbol: g_assertion_message_cmpint
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
-- app starts up --

-- click on logs and freeze --

some errors while launching but no logs after that

Norbiros commented 2 weeks ago

This is some weird problem with webkit gtk. We can't really fix it easily, so we have to switch to different virtual list library.