Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494506 - sys-process/atop-2.0.2 - segmentation fault when changing per-process figures to show
Summary: sys-process/atop-2.0.2 - segmentation fault when changing per-process figures...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-17 07:46 UTC by Martin Kletzander
Modified: 2016-09-14 15:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Full backtrace from GDB (gdb.txt,3.61 KB, text/plain)
2013-12-17 07:46 UTC, Martin Kletzander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kletzander 2013-12-17 07:46:04 UTC
With threads shown, processes filetered to show one process only, atop crashes when trying to switch figures to "scheduling and thread-group info".

Reproducible: Always

Steps to Reproduce:
1. Start atop with neither special config nor command-line options
2. Filter the processes (using 'P' "processname" <Enter>) to show only one process (I used "firefox")
3. Show threads (using 'y')
4. Switch to scheduling and thread-group info (using 's')
Actual Results:  
atop segfaults

Expected Results:  
atop shows scheduling and thread-group info

After filetering, there must be some process shown, when filtering with a regexp that matches no processes, the crash doesn't occur.  However, I haven't tried filtering with regexp that matches more than one process.
Comment 1 Martin Kletzander 2013-12-17 07:46:44 UTC
Created attachment 365516 [details]
Full backtrace from GDB
Comment 2 Martin Kletzander 2015-01-29 09:48:01 UTC
This does not happen any more with =sys-process/atop-2.1.