Hello everyone! I’m on GNOME 44/Fedora 38 and am having a really strange issue. Whenever I open Prism Launcher (Flathub v7.2) from Shell, after 5-10 seconds it closes unexpectedly. In this period the cursor is the loading icon. Running Prism via any other program (Terminal, Files, etc.) results in Prism Launcher working as usual. strace
ing Prism shows that it was SIGKILL
ed. strace
ing Shell shows that right before Prism dies, it makes a getrusage
call, followed by a ton of madvise
calls (the amount can range from 15 to 158) ending with another getrusage
. Something like this (madvise
calls cut out for brevity):
[pid 1915] getrusage(RUSAGE_SELF, {ru_utime={tv_sec=513, tv_usec=578054}, ru_stime={tv_sec=233, tv_usec=606532}, ...}) = 0
[pid 1915] madvise(0x36efd70c8000, 4096, MADV_DONTNEED) = 0
[pid 1915] madvise(0x2cf4a2010000, 4096, MADV_DONTNEED) = 0
...
[pid 1915] madvise(0x2f435a569000, 4096, MADV_DONTNEED) = 0
[pid 1915] madvise(0x2f435a584000, 4096, MADV_DONTNEED) = 0
[pid 1915] getrusage(RUSAGE_SELF, {ru_utime={tv_sec=513, tv_usec=593045}, ru_stime={tv_sec=233, tv_usec=609019}, ...}) = 0
I am not very familiar with GNOME’s internals, other than the fact that it uses GLib. I haven’t try using gdb
as of now. Anyways if anybody knows a function in GLib, Mutter, or whatever that makes system calls in this pattern, or can help in any other way, please reach out!
(I’m not really sure the madvise
calls are related to my problem because it seems like Shell also makes a lot of madvise
calls before I close other programs, but I though it would make for a funny title)
Thanks.