Bug 1014085 - 100% cpu use while generating backtrace on retrace server
Summary: 100% cpu use while generating backtrace on retrace server
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-abrt
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-01 11:54 UTC by Amit Shah
Modified: 2016-12-01 00:45 UTC (History)
3 users (show)

Fixed In Version: gnome-abrt-0.3.2-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-14 07:12:22 UTC
Type: Bug


Attachments (Terms of Use)

Description Amit Shah 2013-10-01 11:54:20 UTC
Description of problem:

I noticed my cpu running very hot when the backtrace generation was in progress on the retrace server, but this could have started earlier.

Top showed this:

15066 amit      20   0  608324  34648  15632 R  99.7  0.4  26:48.23 gnome-abrt                                                                                            
I did this:

strace -o /tmp/gnome-abrt-strace.txt -p 15066 -f

The file is only filled with

15069 restart_syscall(<... resuming interrupted call ...> <unfinished ...>
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0
15066 wait4(-1, 0x7fff195712cc, WNOHANG, 0x7fff195712d0) = 0


$ rpm -q gnome-abrt
gnome-abrt-0.3.1-1.fc19.x86_64

Comment 1 Amit Shah 2013-10-01 13:08:37 UTC
The 100% cpu usage only dropped after the bug was successfully filed and I closed the window.  Just filing of the bug isn't necessary, but closing of the window that pops out which shows progress, etc., is necessary.  The main window then got focus, and things returned to normal.

Comment 2 Jakub Filak 2013-10-02 09:17:26 UTC
Thank you for the bug report. It is a bug in SIGCHLD signal handler. I believe that this bug is also the root cause of bug #960724.

Comment 3 Jakub Filak 2013-10-02 13:31:37 UTC
bug #1008921 is also a consequence of the bug in the signal handler.

Comment 4 Jakub Filak 2013-10-02 15:14:16 UTC
Upstream commit 74fadd0f56c0331595eb72ce90ae43ba27f50fb7 fixes this bug.

Comment 5 Fedora Update System 2013-10-11 10:39:10 UTC
gnome-abrt-0.3.2-1.fc19,abrt-2.1.8-1.fc19,libreport-2.1.8-1.fc19,satyr-0.10-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/gnome-abrt-0.3.2-1.fc19,abrt-2.1.8-1.fc19,libreport-2.1.8-1.fc19,satyr-0.10-1.fc19

Comment 6 Fedora Update System 2013-10-12 00:04:27 UTC
Package gnome-abrt-0.3.2-1.fc19, abrt-2.1.8-1.fc19, libreport-2.1.8-1.fc19, satyr-0.10-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-abrt-0.3.2-1.fc19 abrt-2.1.8-1.fc19 libreport-2.1.8-1.fc19 satyr-0.10-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-18924/gnome-abrt-0.3.2-1.fc19,abrt-2.1.8-1.fc19,libreport-2.1.8-1.fc19,satyr-0.10-1.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-10-14 07:12:22 UTC
gnome-abrt-0.3.2-1.fc19, abrt-2.1.8-1.fc19, libreport-2.1.8-1.fc19, satyr-0.10-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-10-14 17:10:27 UTC
gnome-abrt-0.3.2-1.fc19, abrt-2.1.8-1.fc19, libreport-2.1.8-1.fc19, satyr-0.10-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.