Date: Sat, 12 Oct 2002 09:53:02 -0400 From: Craig Rodrigues <rodrigc@attbi.com> To: freebsd-current@freebsd.org Subject: Bad system call: aio_read() Message-ID: <20021012095302.A22260@attbi.com>
next in thread | raw e-mail | index | archive | help
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 rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021012095302.A22260>