Subject: kern/14423: panic: assertion failure in genfs_gop_write()
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/01/2001 17:39:59
>Number:         14423
>Category:       kern
>Synopsis:       panic: assertion failure in genfs_gop_write()
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 01 14:43:00 PST 2001
>Originator:     Marc Horowitz
>Release:        NetBSD 1.5Y

System: NetBSD 1.5Y NetBSD 1.5Y (MARC) #3: Sat Oct 20 21:07:54 EDT 2001 i386
Architecture: i386
Machine: i386

Under certain conditions (in my case, an ffs mounted without softdeps,
as a non-privileged user), the kernel can be made to panic:

panic: kernel diagnostic assertion "bytes != 0" failed: file "../../../../miscfs/genfs/genfs_vnops.c", line 1327


mkdir foo
echo a > foo/a
echo b > foo/b
cd foo
cat * > ab

Eventually (I believe when the disk fills), the kernel will panic with
the assertion failure above.