Subject: kern/23315: panic in procfs
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/30/2003 10:21:01
>Number:         23315
>Category:       kern
>Synopsis:       panic while starting openoffice 1.1
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 30 09:18:00 UTC 2003
>Release:        NetBSD 1.6ZC
System: NetBSD oakland 1.6ZC NetBSD 1.6ZC (GENERIC) #0: Thu Oct 9 18:43:02 MEST 2003 milos@oakland:/usr/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
When I start openoffice 1.1, the system panics.
It does not happend however every time. Sometimes everything goes fine
and I can get openoffice running without problems.
The error happens even before the openoffice main window is initialized.
The procfs is obviously mounted with -o linux.

I have roughly rewritten the following panic message and back trace from DDB:

kernel: page fault trap, code = 0
Stopped in pid 9283.1 (soffice.bin) at netbsd: procfs_do_pid_stat + 0x151:
        movl 0x8(%eax), %eax
	procfs_do_pid_stat(d426c374, d42502b0, c0ed1900, d428fec4, d44662c0) at
		netbsd:procfs_do_pid_stat + 0x151
	procfs_rw(d428fe24, d4466250, d428fe5c, c0373300, c05566e0) at
		netbsd:procfs_rw + 0xc7
	VOP_READ(d4466250, d428fec4, 0, c0e64700, d4466250) at netbsd: VOP_READ+0x34
	vn_read(d407edd0, d407edf8, d428fec4, c0e64700, 1) at netbsd: vn_read + 0x78
	dofileread(d426c374, 10, d407edd0, bfbfcd70, 200) at netbsd:dofileread+0x80
	sys_read(d42502b0, d428ff64, d428ff5c, 10, d428ffa4) at netbsd:sys_read +0x4b
	linux_syscall_plain(d428ffa8, 2b, 4b17002b, bfbf002b, 480b002b) at netbsd:
	linux_syscall_plain + 0x82

	mount output:
	procfs on /proc type procfs (local)
	procfs /proc procfs rw,linux

	install openoffice 1.1 for-linux-binary with 1.6ZC kernel.
	no idea.