Subject: Re: ext2fs_write crashing (build: head snapshot 200601060000Z)
To: None <current-users@NetBSD.org>
From: Aravind Gottipati <aravind@freeshell.org>
List: current-users
Date: 01/14/2006 12:01:22
Hi,

Here is the output from list *(ext2fs_write+0xf4) from gdb.  I have been
able to reproduce the crashes with just a mkdir in the ext2 filesystem.

Aravind.

(gdb) list *(ext2fs_write+0xf4)
0xc02c3140 is in ext2fs_write (/usr/src/sys/ufs/ext2fs/ext2fs_readwrite.c:284).
279			return (EFBIG);
280		/*
281		 * Maybe this should be above the vnode op call, but so long as
282		 * file servers have no limits, I don't think it matters.
283		 */
284		p = uio->uio_lwp->l_proc;
285		if (vp->v_type == VREG && p &&
286		    uio->uio_offset + uio->uio_resid >
287		    p->p_rlimit[RLIMIT_FSIZE].rlim_cur) {
288			psignal(p, SIGXFSZ);
(gdb) quit