Bug 466768

Summary: system settings crash after out of memory when launching from the icon
Product: [Applications] systemsettings Reporter: antoinelormeau
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: nate
Priority: NOR    
Version First Reported In: 5.27.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description antoinelormeau 2023-03-03 14:40:31 UTC
SUMMARY
***
When launching system settings from icon in start menu or task bar, system settings launch then crash immediatly. dmesg outputs : 
[   1516]  1000  1516  4722772  1614212 13586432        0           200 systemsettings
oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/user@1000.service/app.slice/app-systemsettings-832bba965b70491680a55f437c5f45d4.scope,task=systemsettings,pid=1516,uid=1000
Out of memory: Killed process 1516 (systemsettings) total-vm:18891088kB, anon-rss:2230088kB, file-rss:32712kB, shmem-rss:4194048kB, UID:1000 pgtables:13268kB oom_score_adj:200

***


STEPS TO REPRODUCE
1.  Click on KDE system setting icon on task bar or in start menu



OBSERVED RESULT
System settings opens then crash imediatly

EXPECTED RESULT
System settings opens normally

SOFTWARE/OS VERSION
Linux: EndeavourOS / Linux Kernel 6.2.1-arch1-1 (64-bit)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
System settings works properly when launched from a terminal using the command "systemsettings"
Comment 1 Nate Graham 2023-03-06 22:49:07 UTC
Is the system already mostly or entirely out of memory when this happens? Or is System Settings consuming all memory upon launch and then terminating?
Comment 2 antoinelormeau 2023-03-07 09:21:16 UTC
Issue was reproducible everytime even when nothing was running, and I have 16Go.

However, I cannot reproduce the issue now. I don't know what fixed it though.
Comment 3 Nate Graham 2023-03-07 18:08:03 UTC
Hmm, OK. let us know if it happens again!