code icon indicating copy to clipboard operation
code copied to clipboard

Clicking any dropdown causes segfault

Open justsomeon123 opened this issue 11 months ago • 12 comments

Please confirm the following.

  • [x] I checked the existing issues for duplicate problems
  • [x] I have tried resolving the issue using the support portal
  • [x] I have ensured my Modrinth App installation is up to date

What version of the Modrinth App are you using?

0.10.21

What operating systems are you seeing the problem on?

Linux

Describe the bug

Clicking on any dropdown, i.e. the menu that leads to "Add from file", leads to the app freezing for a second, then crashing.

Steps to reproduce

  1. Click on hamburger menu next to a "jump back in" profile.
  2. Watch app crash after freezing.

Expected behavior

  1. Dropdown opens and doesn't freeze the app.

Additional context

System: Kubuntu 25.10, kernel 6.17.0 dmesg returns: [ 1390.145400] ModrinthApp[5325]: segfault at 48 ip 0000741472503a52 sp 00007ffc35520f20 error 4 in libwebkit2gtk-4.1.so.0.19.4[f03a52,741471cf6000+37a0000] likely on CPU 3 (core 4, socket 0) [ 1390.145409] Code: ff ff e8 c1 3f 80 ff 90 f3 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 28 64 48 8b 04 25 28 00 00 00 48 89 45 d0 <48> 8b 4f 48 48 8b 06 48 39 c1 0f 84 99 02 00 00 48 89 fb 48 85 c9

justsomeon123 avatar Dec 06 '25 18:12 justsomeon123

I get the same thing even just clicking on the logs! I ran modrinth-app in terminal to try and catch anything and got the following: /usr/bin/modrinth-app: line 8: 251270 Segmentation fault (core dumped) env MODRINTH_EXTERNAL_UPDATE_PROVIDER=1 /opt/modrinth-app/modrinth-app "$@"

Running the latest version of Modrinth App via Arch User Repository, the game does run tho so its just an annoyance with log tracking for me

cmar7945 avatar Dec 07 '25 06:12 cmar7945

I have this issue too.

TheoKritzinger avatar Dec 09 '25 10:12 TheoKritzinger

I also have this issue. It happens 100% of the time when I click on the dropdown near the Play and config buttons, on the instance details page.

Radpc avatar Dec 10 '25 17:12 Radpc

Same issue here, Arch Linux 6.17.9

DanielWeiner avatar Dec 14 '25 19:12 DanielWeiner

same issue here, tried arch as Daniel and tried the issue is also same as Radpc and I am using Ubuntu 24.04.3 LTS

qu7s05 avatar Dec 16 '25 20:12 qu7s05

Same issue.

/usr/bin/modrinth-app: line 8:  3265 Segmentation fault         (core dumped) env MODRINTH_EXTERNAL_UPDATE_PROVIDER=1 /opt/modrinth-app/modrinth-app "$@"

Kernel 6.18.1-arch1-2 modrinth-app-0.10.23-1

Start of dump:

Process 3265 (modrinth-app) of user <uid> dumped core.
Stack trace of thread 3265:
#0  0x00007f0f45f8e0ce n/a (libwebkit2gtk-4.1.so.0 + 0x1b8e0ce)
#1  0x00007f0f45f2ffb6 n/a (libwebkit2gtk-4.1.so.0 + 0x1b2ffb6)
#2  0x00007f0f4583b329 n/a (libwebkit2gtk-4.1.so.0 + 0x143b329)
#3  0x00007f0f45d2e495 n/a (libwebkit2gtk-4.1.so.0 + 0x192e495)
#4  0x00007f0f4589a5ec n/a (libwebkit2gtk-4.1.so.0 + 0x149a5ec)
#5  0x00007f0f45d21928 n/a (libwebkit2gtk-4.1.so.0 + 0x1921928)
#6  0x00007f0f45d23ec4 n/a (libwebkit2gtk-4.1.so.0 + 0x1923ec4)
#7  0x00007f0f43878d1f n/a (libjavascriptcoregtk-4.1.so.0 + 0x2278d1f)
#8  0x00007f0f43878ec0 n/a (libjavascriptcoregtk-4.1.so.0 + 0x2278ec0)
#9  0x00007f0f499b1f8d n/a (libglib-2.0.so.0 + 0x5ef8d)
#10 0x00007f0f499b3657 n/a (libglib-2.0.so.0 + 0x60657)
#11 0x00007f0f499b3865 g_main_context_iteration (libglib-2.0.so.0 + 0x60865)
#12 0x00007f0f43f6bd3f gtk_main_iteration_do (libgtk-3.so.0 + 0x36bd3f)
#13 0x000055999776a581 n/a (/opt/modrinth-app/modrinth-app + 0x973581)
#14 0x000055999776a980 n/a (/opt/modrinth-app/modrinth-app + 0x973980)
#15 0x0000559997769797 n/a (/opt/modrinth-app/modrinth-app + 0x972797)
#16 0x00005599976d2515 n/a (/opt/modrinth-app/modrinth-app + 0x8db515)
#17 0x0000559997753d0b n/a (/opt/modrinth-app/modrinth-app + 0x95cd0b)
#18 0x0000559997ab77e1 n/a (/opt/modrinth-app/modrinth-app + 0xcc07e1)
#19 0x00007f0f41227635 n/a (libc.so.6 + 0x27635)
#20 0x00007f0f412276e9 __libc_start_main (libc.so.6 + 0x276e9)
#21 0x00005599976973a5 n/a (/opt/modrinth-app/modrinth-app + 0x8a03a5)

kuehni-dev avatar Dec 18 '25 21:12 kuehni-dev

~~After experimenting for a bit, it seems like the environment variables "WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 GDK_BACKEND=x11 GSK_RENDERER=gl" fix the issue, although I don't know how safe or secure this fix is. Definitely an issue with NVIDIA and webkit causing this, so I don't think that any changes can be made to the modrinth codebase to fix the issue. ~~

edit: the command sometimes allows for it to show dropdowns, but still crashes often.

justsomeon123 avatar Dec 19 '25 00:12 justsomeon123

I have the same issue on Linux Mint Cinnamon 6.4.8

bigseabite avatar Dec 22 '25 01:12 bigseabite

~~After experimenting for a bit, it seems like the environment variables "WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 GDK_BACKEND=x11 GSK_RENDERER=gl" fix the issue, although I don't know how safe or secure this fix is. Definitely an issue with NVIDIA and webkit causing this, so I don't think that any changes can be made to the modrinth codebase to fix the issue. ~~

edit: the command sometimes allows for it to show dropdowns, but still crashes often.

Do we need to report this to webkit? I'm not familiar enough with webkit to know what information to send them.

crunk1 avatar Dec 22 '25 17:12 crunk1

Same issue here, Xubuntu 25.10.

Jab11n avatar Dec 23 '25 14:12 Jab11n

Same issue here, Archlinux + KDE Plasma

TotoShampoin avatar Dec 28 '25 13:12 TotoShampoin

Affected by this too. Arch + XFCE

BeepSterr avatar Dec 29 '25 07:12 BeepSterr