problem in aio_notify.c in glibc 2.1.92?
Kevin B. Hendricks
khendricks@ivey.uwo.ca
Mon Aug 14 22:21:00 GMT 2000
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
More information about the Libc-alpha
mailing list