From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 24 01:40:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A150D1065674 for ; Wed, 24 Jun 2009 01:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7C2AF8FC21 for ; Wed, 24 Jun 2009 01:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5O1e1j9048066 for ; Wed, 24 Jun 2009 01:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5O1e164048065; Wed, 24 Jun 2009 01:40:01 GMT (envelope-from gnats) Resent-Date: Wed, 24 Jun 2009 01:40:01 GMT Resent-Message-Id: <200906240140.n5O1e164048065@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexey Ivanov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7E22106564A for ; Wed, 24 Jun 2009 01:36:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D51408FC0A for ; Wed, 24 Jun 2009 01:36:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5O1aVq0041395 for ; Wed, 24 Jun 2009 01:36:31 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n5O1aVRU041394; Wed, 24 Jun 2009 01:36:31 GMT (envelope-from nobody) Message-Id: <200906240136.n5O1aVRU041394@www.freebsd.org> Date: Wed, 24 Jun 2009 01:36:31 GMT From: Alexey Ivanov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/135986: FreeBSD crashes after VLC close X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2009 01:40:02 -0000 >Number: 135986 >Category: misc >Synopsis: FreeBSD crashes after VLC close >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 24 01:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexey Ivanov >Release: FreeBSD-CURRENT >Organization: >Environment: FreeBSD PH34R 8.0-CURRENT FreeBSD 8.0-CURRENT #60 r194610: Mon Jun 22 07:00:08 MSD 2009 savetherbtz@PH34R:/usr/obj/usr/src/sys/PH34R.8 i386 >Description: If i close VLC while watching movie via NFS FreeBSD crashes Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x4 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0996b45 stack pointer = 0x28:0xea13c9b8 frame pointer = 0x28:0xea13c9d4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2110 (initial thread) trap number = 12 panic: page fault cpuid = 1 (kgdb) list *0xc0996b45 0xc0996b45 is in vaccess (/usr/src/sys/kern/vfs_subr.c:3535). 3530 *privused = 0; 3531 3532 dac_granted = 0; 3533 3534 /* Check the owner. */ 3535 if (cred->cr_uid == file_uid) { 3536 dac_granted |= VADMIN; 3537 if (file_mode & S_IXUSR) 3538 dac_granted |= VEXEC; 3539 if (file_mode & S_IRUSR) (kgdb) bt #0 doadump () at pcpu.h:246 #1 0xc090e857 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:419 #2 0xc090eb4c in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:575 #3 0xc0c8c0bc in trap_fatal (frame=0xea13c978, eva=4) at /usr/src/sys/i386/i386/trap.c:933 #4 0xc0c8c3a0 in trap_pfault (frame=0xea13c978, usermode=0, eva=4) at /usr/src/sys/i386/i386/trap.c:846 #5 0xc0c8cf02 in trap (frame=0xea13c978) at /usr/src/sys/i386/i386/trap.c:528 #6 0xc0c70eab in calltrap () at /usr/src/sys/i386/i386/exception.s:165 #7 0xc0996b45 in vaccess (type=VREG, file_mode=33152, file_uid=1001, file_gid=1001, accmode=128, cred=0x0, privused=0x0) at /usr/src/sys/kern/vfs_subr.c:3535 #8 0xc0ba512e in ufs_access (ap=0xea13caec) at /usr/src/sys/ufs/ufs/ufs_vnops.c:402 #9 0xc0c997fc in VOP_ACCESS_APV (vop=0xc0e67c20, a=0xea13caec) at vnode_if.c:571 #10 0xc09a7b99 in vn_open_cred (ndp=0xea13cbd0, flagp=0xea13cc58, cmode=384, vn_open_flags=1, cred=0x0, fp=0x0) at vnode_if.h:254 #11 0xc09116ef in sigexit (td=0xc6ef9900, sig=11) at /usr/src/sys/kern/kern_sig.c:2943 #12 0xc091210e in postsig (sig=11) at /usr/src/sys/kern/kern_sig.c:2617 #13 0xc094bd58 in ast (framep=0xea13cd38) at /usr/src/sys/kern/subr_trap.c:225 #14 0xc0c71804 in doreti_ast () at /usr/src/sys/i386/i386/exception.s:365 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: