Bug 1452079

Summary: timedatex uses 100% CPU
Product: [Fedora] Fedora Reporter: Marius Vollmer <mvollmer>
Component: glib2Assignee: Matthias Clasen <mclasen>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: mclasen, mlichvar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-18 10:11:56 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:

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 ***