Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1452079 - timedatex uses 100% CPU
Summary: timedatex uses 100% CPU
Keywords:
Status: CLOSED DUPLICATE of bug 1450628
Alias: None
Product: Fedora
Classification: Fedora
Component: glib2
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-18 10:05 UTC by Marius Vollmer
Modified: 2017-05-18 10:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-18 10:11:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marius Vollmer 2017-05-18 10:05:17 UTC
Description of problem:

After start, timedatex immediately uses 100% CPU and never stops

Version-Release number of selected component (if applicable):
timedatex-0.4-3.fc26.x86_64

How reproducible:
Always

Steps to Reproduce:
1. /usr/sbin/timedatex
2. Check top

Actual results:
timedatex uses 100% CPU

Expected results:
timedatex doesn't use any CPU

Additional info:

Strace excerpt:

[...]
eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK)   = 4
write(4, "\1\0\0\0\0\0\0\0", 8)         = 8
[...]

[pid  1290] clock_gettime(CLOCK_MONOTONIC, {tv_sec=340, tv_nsec=97057416}) = 0
[pid  1290] poll([{fd=4, events=POLLIN}], 1, 30000) = 1 ([{fd=4, revents=POLLIN}])
[pid  1290] read(4, "\1\0\0\0\0\0\0\0", 16) = 8
[pid  1290] clock_gettime(CLOCK_MONOTONIC, {tv_sec=340, tv_nsec=97179880}) = 0
[pid  1290] clock_gettime(CLOCK_MONOTONIC, {tv_sec=340, tv_nsec=97228981}) = 0
[pid  1290] write(4, "\1\0\0\0\0\0\0\0", 8) = 8
[pid  1290] clock_gettime(CLOCK_MONOTONIC, {tv_sec=340, tv_nsec=97306341}) = 0
[pid  1290] poll([{fd=4, events=POLLIN}], 1, 30000) = 1 ([{fd=4, revents=POLLIN}])
[pid  1290] read(4, "\1\0\0\0\0\0\0\0", 16) = 8
[pid  1290] clock_gettime(CLOCK_MONOTONIC, {tv_sec=340, tv_nsec=97458036}) = 0
[pid  1290] clock_gettime(CLOCK_MONOTONIC, {tv_sec=340, tv_nsec=97499121}) = 0
[pid  1290] write(4, "\1\0\0\0\0\0\0\0", 8) = 8

Comment 1 Miroslav Lichvar 2017-05-18 10:11:56 UTC

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


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