Bug 987805

Summary: htop core dump when change 'detailed cpu time'
Product: [Fedora] Fedora Reporter: Artur Szymczak <ajes+redhat>
Component: htopAssignee: Milos Jakubicek <xjakub>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dennis, gajownik, metherid, xjakub
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: htop-1.0.3-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-01 07:03:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1039258    
Bug Blocks:    
Attachments:
Description Flags
htop log on console none

Description Artur Szymczak 2013-07-24 08:03:06 UTC
Created attachment 777643 [details]
htop log on console

Description of problem:
htop is dumping core, when I change setup (F2) for CPU.

Version-Release number of selected component (if applicable):
htop-1.0.2-2.fc19.x86_64

How reproducible:
It is happend allways.

Steps to Reproduce:
1. run htop
2. enter in to setup (press F2)
3. from 'Available meters' select 'CPUs (1&2/2)' (press F5 or F6)
4. change display from 'bar' to 'text' for 'CPUs (1&2/2)' (press enter)
5. go to 'Display options' and turn on 'Detailed CPU time (System/IO-Wait/Hard-IRQ/Soft-IRQ/Steal/Guest)'
6. now turn it off
7. you got core dumped

Actual results:
core dumped. htop stop working. I have to run it again.

Expected results:
htop won't core dump

Additional info:
I attached logs from console (not all, because I can't scroll them, after htop exits).

Comment 1 Dawid Gajownik 2014-01-15 22:45:16 UTC
Hi Artur,

thanks for your bug report. I informed htop developer about this crash and provided additional problem analysis.

Comment 2 Dawid Gajownik 2014-01-16 08:30:22 UTC
Issue was fixed in master git branch
https://github.com/hishamhm/htop/commit/c1e0f6e17c16236d68ed26a5e413e9234293f4d9

We must wait for the official release now.

Comment 3 Dawid Gajownik 2014-01-16 20:33:24 UTC
*** Bug 987815 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2014-04-28 18:27:05 UTC
htop-1.0.3-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/htop-1.0.3-1.fc19

Comment 5 Fedora Update System 2014-04-28 18:28:30 UTC
htop-1.0.3-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/htop-1.0.3-1.fc20

Comment 6 Fedora Update System 2014-04-30 04:05:20 UTC
Package htop-1.0.3-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing htop-1.0.3-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-5784/htop-1.0.3-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-05-01 07:03:02 UTC
htop-1.0.3-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-05-09 03:02:10 UTC
htop-1.0.3-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.