Bug 269385 - ksysguardd segfault when not having permissinos to read /proc/vmstat
Summary: ksysguardd segfault when not having permissinos to read /proc/vmstat
Status: RESOLVED DUPLICATE of bug 263853
Alias: None
Product: ksysguard
Classification: Applications
Component: ksysguardd (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-25 12:58 UTC by mateusz-lists
Modified: 2011-03-25 13:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mateusz-lists 2011-03-25 12:58:23 UTC
Version:           4.6 (using KDE 4.6.1) 
OS:                Linux

I notice:
Mar 20 14:43:10 laptop-hp kernel: [  224.381710] ksysguardd[4267]: segfault at 
14 ip 0805d476 sp bf821e00 error 4 in ksysguardd[8048000+1d000]
Mar 20 14:43:11 laptop-hp kernel: [  225.158705] ksysguardd[4271]: segfault at 
14 ip 0805d476 sp bfb0ee10 error 4 in ksysguardd[8048000+1d000]

When:
[root@laptop-hp ~]# ls -la /proc/vmstat
-r-------- 1 root proc 0 Mar 25 12:08 /proc/vmstat


Being in group 'proc' it is enough to
[root@laptop-hp ~]# chmod g=r /proc/vmstat

to segfaults stop and have System Load Viewer working again.


Reproducible: Always

Steps to Reproduce:
Use kernel  2.6.36 or 2.6.37 (with /proc/vmstats not readable to everyone)

Actual Results:  
segfaults, no info about system load

Expected Results:  
no segfaults, info about system load visible.
Comment 1 John Tapsell 2011-03-25 13:19:51 UTC

*** This bug has been marked as a duplicate of bug 263853 ***