Hi,
I just did a cvsup and rebuilt the world on my -CURRENT system.
If I try to run the following program, I get a "Bad system call" coredump:
#include <time.h>
#include <aio.h>
int main(int argc, char *argv[]) {
struct aiocb b;
aio_read(&b);
}
./a.out
Bad system call (core dumped)
If I do a ktrace, I get:
2660 a.out CALL mprotect(0x28069000,0xb4000,0x5)
2660 a.out RET mprotect 0
2660 a.out CALL sigaction(0x4,0xbfbffb08,0xbfbffae8)
2660 a.out RET sigaction 0
2660 a.out CALL sigprocmask(0x1,0,0x2805fabc)
2660 a.out RET sigprocmask 0
2660 a.out CALL sigaction(0x4,0xbfbffae8,0)
2660 a.out RET sigaction 0
2660 a.out CALL sigprocmask(0x1,0x2805fa80,0xbfbffb38)
2660 a.out RET sigprocmask 0
2660 a.out CALL sigprocmask(0x3,0x2805fa90,0)
2660 a.out RET sigprocmask 0
2660 a.out CALL aio_read(0xbfbffb88)
2660 a.out RET aio_read -1 errno 78 Function not implemented
2660 a.out PSIG SIGSYS SIG_DFL
2660 a.out NAMI "a.out.core"
Any idea what I am doing wrong? This doesn't happen on one of my
-STABLE systems.
--
Craig Rodrigues
http://www.gis.net/~craigr
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message