This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients cstratak, vstinner
Date 2021-09-06.18:02:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630951357.67.0.0856854879537.issue45119@roundup.psfhosted.org>
In-reply-to
Content
I rewrote the test in C, see attached setitimer.c.

On Fedora 34:
---
$ rpm -q glibc
glibc-2.33-20.fc34.x86_64
$ uname -r
5.13.8-200.fc34.x86_64

$ gcc setitimer.c -o setitimer && ./setitimer
setitimer(<0.5, 0.5>)
SIGVTALRM
SIGVTALRM
SIGVTALRM
SIGVTALRM
setitimer(<0, 0>) ok
SIGVTALRM is disarmed
wait 3 seconds
setitimer(<0, 0>) ok
exit
---

On Fedora Rawhide:
---
$ rpm -q glibc
glibc-2.34.9000-5.fc36.x86_64
$ uname -r
5.15.0-0.rc0.20210902git4ac6d90867a4.4.fc36.x86_64

$ gcc setitimer.c -o setitimer && ./setitimer
setitimer(<0.5, 0.5>)
SIGVTALRM
SIGVTALRM
SIGVTALRM
SIGVTALRM
setitimer(<0, 0>) ok
SIGVTALRM
FATAL ERROR: SIGVTALRM timer not disarmed!
Abandon (core dumped)
---
History
Date User Action Args
2021-09-06 18:02:37vstinnersetrecipients: + vstinner, cstratak
2021-09-06 18:02:37vstinnersetmessageid: <1630951357.67.0.0856854879537.issue45119@roundup.psfhosted.org>
2021-09-06 18:02:37vstinnerlinkissue45119 messages
2021-09-06 18:02:37vstinnercreate