This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/888] New: The function timer_getoverrun() fails (segv) when passed the timer_id from the sig_info block.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]