This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/888] New: The function timer_getoverrun() fails (segv) when passed the timer_id from the sig_info block.
- From: "george at mvista dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 28 Apr 2005 20:09:03 -0000
- Subject: [Bug libc/888] New: The function timer_getoverrun() fails (segv) when passed the timer_id from the sig_info block.
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
Details:
If we define a signal handler for posix timers:
void handler1(int signo, siginfo_t *info, void *context)
then, according to the standard if info->si_code == SI_TIMER we should find the
timer_id at info->i_tid. Thus calling:
timer_getoverrun(info->i_tid);
should work. Infact, we get a program abort (segv) from timer_getoverrun().
(I am not sure if this is part of libc or nptl. It is really librt but that is
not one of the "Component" options.)
--
Summary: The function timer_getoverrun() fails (segv) when passed
the timer_id from the sig_info block.
Product: glibc
Version: 2.3.3
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: george at mvista dot com
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=888
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.