This is the mail archive of the libc-alpha@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]

problem in aio_notify.c in glibc 2.1.92?


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





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