This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
problem in aio_notify.c in glibc 2.1.92?
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: problem in aio_notify.c in glibc 2.1.92?
- From: "Kevin B. Hendricks" <khendricks at ivey dot uwo dot ca>
- Date: Tue, 15 Aug 2000 01:26:02 -0400
Hi,
I have tracked down the segfaults in make check in rt/tst-aio5.c in glibc
2.1.92 under ppc linux to the sival_ptr having a bad value.
The callback sival_ptr is passed in rt/aio_notify.c to pthread_create.
However, I can not find any code in the kernel or glibc that actually sets
call back sival_ptr anyplace (perhaps ppc is missing some code?).
This results in a segfault in tst_aio5.c
Should tst_aio5.c have set the proper value for sival_ptr when it sets up
the callback block? Is the bug in tst_aio5.c?
Where should the sival_ptr in the callback block be set. It has to be
someplace since aio_notify.c uses it.
Any help here would be greatly appreciated.
Kevin