This is the mail archive of the libc-help@sourceware.org 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]

aio routines close file descriptor


Hi,

Me again with a hard to replicate bug :)
I can paste/attach a strace output if it helps: tell me if that'll be helpful!
I don't have any code to easily reproduce, if no one else can figure
this out in the next week I'll attempt to replicate this with a small
C test case.

Using the aio functions, when calling aio_read >5 times in quick
succession on the same file descriptor, one of the threads will call
`close` it...
This manifested as a slew of EBADF errors on subsequent calls.

Thanks,
Daurnimator.


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