Date: Fri, 3 Mar 2000 10:55:22 -0800 (PST) From: freak@fac-simile.com To: freebsd-gnats-submit@FreeBSD.org Subject: kern/17152: kernel panic:aio_write Message-ID: <200003031855.KAA47850@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 17152 >Category: kern >Synopsis: kernel panic:aio_write >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 3 11:00:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Patrick Julien >Release: 3.4-RELEASE >Organization: >Environment: FreeBSD bsd.local.fac-simile.com 3.4-RELEASE FreeBSD 3.4-RELEASE #0: Mon Dec 20 06:54:39 GMT 1999 jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: Using aio_write with the rt signal notification crashes the system. 3 different machines have been crashed using this technique. Note that no signal number is specified for this test. >How-To-Repeat: #include <aio.h> #include <fcntl.h> #include <signal.h> #include <string.h> int main ( void ) { int f; struct aiocb io; char data [ ] = "Donnees a ecrire\n"; f = open ( "allo", O_CREAT | O_TRUNC | O_WRONLY, 00600 ); memset ( &io, 0, sizeof ( struct aiocb ) ); io.aio_nbytes = sizeof ( data ); io.aio_fildes = f; io.aio_buf = data; io.aio_sigevent.sigev_notify = SIGEV_SIGNAL; aio_write ( &io ); sleep ( 1 ); return 0; } >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003031855.KAA47850>