GNOME kills game launcher after giving lots of advice to Linux

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. straceing Prism shows that it was SIGKILLed. straceing 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)


I don’t think GNOME is killing your game. It’s almost certainly being done either by systemd-oomd (most likely) or else by the kernel itself. See systemd-oomd(8) for more info.

The logs you’ve shown are unrelated.

We were trying to make systemd-oomd kill things less frequently in this issue report. Probably we have failed, because the changes from that issue are already present in Fedora 38. :frowning:

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.