Bug 18031

Summary: alpha system panics cpu_fork during AIO call
Product: Base System Reporter: mjacob <mjacob>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description mjacob 2000-04-16 04:20:01 UTC
Running an app that does aio_writes to a file- in this case  a raw
device, panics in cpu_fork

panic: cpu_fork: curproc
panic
Stopped at      Debugger+0x2c:  ldq     ra,0(sp) <0xfffffe000a371bd0>   <ra=0xfffffc00004d9700,sp=0xfffffe000a371bd0>
db> t
Debugger() at Debugger+0x2c
panic() at panic+0x100
cpu_fork() at cpu_fork+0x140
vm_fork() at vm_fork+0x20c
fork1() at fork1+0xa34
aio_newproc() at aio_newproc+0x24
aio_init_aioinfo() at aio_init_aioinfo+0x194
aio_aqueue() at aio_aqueue+0x34
aio_write() at aio_write+0x54
syscall() at syscall+0x244
XentSys() at XentSys+0x50
(null)() at 0x120006e94
db> c

syncing disks... 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 
1: dev:MFS0, flags:01020024, blkno:131136, lblkno:131136
2: dev:MFS0, flags:01020024, blkno:65600, lblkno:65600
giving up on 2 buffers
Uptime: 34m51s

dumping to dev #ad/1, offset 488656


Core dump and source to go with it available on request- heck, gdb -k even
works on it. I just don't have time chase this myself.

How-To-Repeat: 
See above
Comment 1 Alan Cox freebsd_committer freebsd_triage 2001-03-12 22:57:12 UTC
State Changed
From-To: open->closed

Fixed last year in revisions 1.31 and 1.28.2.1 of alpha/alpha/vm_machdep.c.