Bug 463687

Summary: No details shown in Applications tab for Firefox
Product: [Applications] plasma-systemmonitor Reporter: Justin Zobel <justin.zobel>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ahiemstra, justin, kde, plasma-bugs-null, postix
Priority: NOR    
Version First Reported In: 5.27.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

Description Justin Zobel 2023-01-01 04:01:18 UTC
Created attachment 154938 [details]
Screenshot

Downstream (Fedora) bug report: https://bugzilla.redhat.com/show_bug.cgi?id=2140346
Comment 1 Justin Zobel 2023-01-01 04:01:36 UTC
Setting to confirmed as I am the second user to notice the bug.
Comment 2 David Edmundson 2023-01-11 10:20:18 UTC
 - Does this reliably happen every time?
 - Can you show the output of systemd-cgls systemd-cgls /user.slice/user-1000.slice 

we should see something like:

│ ├─app-firefox-3d28ec05c1274a2aacbc3848a60a6792.scope (#18053)
│ │ │ ├─1468961 /usr/lib/firefox/firefox
│ │ │ ├─1469045 /usr/lib/firefox/firefox -contentproc
...
Comment 3 David Edmundson 2023-01-11 10:21:19 UTC
 - Do relevant processes appear blank in the processes tab?
Comment 4 Justin Zobel 2023-01-12 01:07:01 UTC
systemd-cgls systemd-cgls /user.slice/user-1000.slice | grep -i firefox
Failed to split argument systemd-cgls: Invalid argument
│ │ │ └─cgroupify@app-firefox-05c9eae305c24effba21bf00bebd9080.scope.service (#9258)
│ │ │   └─2896 /usr/libexec/cgroupify app-firefox-05c9eae305c24effba21bf00bebd9…
│ │ ├─app-firefox-05c9eae305c24effba21bf00bebd9080.scope (#9162)
│ │ │ │ └─146639 /usr/lib64/firefox/firefox -contentproc -childID 1760 -isForBr…
│ │ │ │ └─114486 /usr/lib64/firefox/firefox -contentproc -childID 1046 -isForBr…
│ │ │ │ └─3792 /usr/lib64/firefox/firefox -contentproc -parentBuildID 202212210…
│ │ │ │ └─3189 /usr/lib64/firefox/firefox -contentproc -childID 6 -isForBrowser…
│ │ │ │ └─271191 /usr/lib64/firefox/firefox -contentproc -childID 5107 -isForBr…
│ │ │ │ └─86763 /usr/lib64/firefox/firefox -contentproc -childID 631 -isForBrow…
│ │ │ │ └─3263 /usr/lib64/firefox/firefox -contentproc -childID 9 -isForBrowser…
│ │ │ │ └─553120 /usr/lib64/firefox/firefox -contentproc -childID 11765 -isForB…
│ │ │ │ └─74251 /usr/lib64/firefox/firefox -contentproc -childID 335 -isForBrow…
│ │ │ │ └─3213 /usr/lib64/firefox/firefox -contentproc -childID 7 -isForBrowser…
│ │ │ │ └─555492 /usr/lib64/firefox/firefox -contentproc -childID 11818 -isForB…
│ │ │ │ └─420361 /usr/lib64/firefox/firefox -contentproc -childID 7927 -isForBr…
│ │ │ │ └─275132 /usr/lib64/firefox/firefox -contentproc -childID 5210 -isForBr…
│ │ │ │ └─555048 /usr/lib64/firefox/firefox -contentproc -childID 11813 -isForB…
│ │ │ │ └─79102 /usr/lib64/firefox/firefox -contentproc -childID 452 -isForBrow…
│ │ │ │ └─3296 /usr/lib64/firefox/firefox -contentproc -childID 10 -isForBrowse…
│ │ │ │ └─4609 /usr/lib64/firefox/firefox -contentproc -childID 19 -isForBrowse…
│ │ │ │ └─421483 /usr/lib64/firefox/firefox -contentproc -childID 7951 -isForBr…
│ │ │ │ └─3151 /usr/lib64/firefox/firefox -contentproc -childID 3 -isForBrowser…
│ │ │ │ └─3359 /usr/lib64/firefox/firefox -contentproc -childID 13 -isForBrowse…
│ │ │ │ └─3236 /usr/lib64/firefox/firefox -contentproc -childID 8 -isForBrowser…
│ │ │ │ └─163582 /usr/lib64/firefox/firefox -contentproc -childID 2184 -isForBr…
│ │ │ │ └─2883 /usr/lib64/firefox/firefox
│ │ │ │ └─554436 /usr/lib64/firefox/firefox -contentproc -childID 11800 -isForB…
│ │ │ │ └─254294 /usr/lib64/firefox/firefox -contentproc -childID 4651 -isForBr…
│ │ │ │ └─80792 /usr/lib64/firefox/firefox -contentproc -childID 498 -isForBrow…
│ │ │ │ └─62948 /usr/lib64/firefox/firefox -contentproc -childID 132 -isForBrow…
│ │ │ │ └─3385 /usr/lib64/firefox/firefox -contentproc -childID 14 -isForBrowse…
│ │ │ │ └─274575 /usr/lib64/firefox/firefox -contentproc -childID 5198 -isForBr…
│ │ │ │ └─544127 /usr/lib64/firefox/firefox -contentproc -childID 11545 -isForB…
│ │ │ │ └─550751 /usr/lib64/firefox/firefox -contentproc -childID 11705 -isForB…
│ │ │ │ └─278087 /usr/lib64/firefox/firefox -contentproc -childID 5270 -isForBr…
│ │ │ │ └─553081 /usr/lib64/firefox/firefox -contentproc -childID 11764 -isForB…
│ │ │ │ └─2974 /usr/lib64/firefox/firefox -contentproc -parentBuildID 202212210…
│ │ │ │ └─3138 /usr/lib64/firefox/firefox -contentproc -childID 2 -isForBrowser…
│ │ │ │ └─3166 /usr/lib64/firefox/firefox -contentproc -childID 5 -isForBrowser…
│ │ │ │ └─3788 /usr/lib64/firefox/firefox -contentproc -parentBuildID 202212210…
│ │ │ │ └─3156 /usr/lib64/firefox/firefox -contentproc -childID 4 -isForBrowser…
│ │ │ │ └─3570 /usr/lib64/firefox/firefox -contentproc -childID 15 -isForBrowse…
│ │ │ │ └─55317 /usr/lib64/firefox/firefox -contentproc -childID 99 -isForBrows…
│ │ │ │ └─421580 /usr/lib64/firefox/plugin-container /home/justin/.mozilla/fire…
│ │ │ │ └─4525 /usr/lib64/firefox/firefox -contentproc -childID 18 -isForBrowse…
│ │ │ │ └─3031 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser…
│ │ │ │ └─554996 /usr/lib64/firefox/firefox -contentproc -childID 11812 -isForB…
│ │ │   └─130570 /usr/lib64/firefox/firefox -contentproc -childID 1414 -isForBr…
│ │ │ └─555536 grep --color=auto -i firefox
Failed to list cgroup tree: Invalid argument
Comment 5 Justin Zobel 2023-01-12 01:07:22 UTC
It's happened every time I've opened system monitor so far but I don't open it often.
Comment 6 Arjen Hiemstra 2023-01-12 09:37:06 UTC
What is the output of `cat /proc/$(pidof -s firefox)/status` ? Similarly for /stat and /statm
Comment 7 Justin Zobel 2023-04-26 02:04:08 UTC
Can confirm still on Fedora Kinoite 38 (system monitor installed into the image by default) with 5.27.4.

status:
```
Name:   Web Content
Umask:  0022
State:  S (sleeping)
Tgid:   2834221
Ngid:   0
Pid:    2834221
PPid:   655637
TracerPid:      0
Uid:    1000    1000    1000    1000
Gid:    1000    1000    1000    1000
FDSize: 1024
Groups: 10 1000 
NStgid: 2834221
NSpid:  2834221
NSpgid: 497652
NSsid:  97053
VmPeak:  2631200 kB
VmSize:  2630968 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:     77568 kB
VmRSS:     77568 kB
RssAnon:           12160 kB
RssFile:           64512 kB
RssShmem:            896 kB
VmData:    38368 kB
VmStk:       132 kB
VmExe:       524 kB
VmLib:    127064 kB
VmPTE:       496 kB
VmSwap:        0 kB
HugetlbPages:          0 kB
CoreDumping:    0
THP_enabled:    1
Threads:        20
SigQ:   0/127696
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000011002
SigCgt: 0000000f408004c8
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 000001ffffffffff
CapAmb: 0000000000000000
NoNewPrivs:     1
Seccomp:        2
Seccomp_filters:        1
Speculation_Store_Bypass:       thread vulnerable
SpeculationIndirectBranch:      conditional enabled
Cpus_allowed:   fff
Cpus_allowed_list:      0-11
Mems_allowed:   00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list:      0
voluntary_ctxt_switches:        33
nonvoluntary_ctxt_switches:     13
```

stat
```
2834268 (Web Content) S 655637 497652 97053 34825 497652 4194560 4523 0 0 0 4 11 0 0 20 0 20 0 74247324 2694111232 19584 18446744073709551615 94104109252608 94104109787229 140728579931744 0 0 0 0 69634 1082131656 0 0 0 17 3 0 0 0 0 0 94104109910720 94104109916280 94104141377536 140728579936874 140728579937112 140728579937112 140728579940317 0
```

statm
```
657742 19392 16320 131 0 9625 0
```
Comment 8 Arjen Hiemstra 2025-09-24 14:27:29 UTC
I suspect this was the result of having multiple cgroups with the same app ID. Since Plasma 6.3 we merge these entries, so I think this should be resolved with Plasma 6.3 or higher. If it was not, feel free to reopen and then please attach the full output of `systemd-cgls`.
Comment 9 Justin Zobel 2025-09-25 00:23:35 UTC
Yes this is now showing for all apps, thank you.