Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2009 01:36:31 GMT
From:      Alexey Ivanov <need4spam@bk.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/135986: FreeBSD crashes after VLC close
Message-ID:  <200906240136.n5O1aVRU041394@www.freebsd.org>
Resent-Message-ID: <200906240140.n5O1e164048065@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906240136.n5O1aVRU041394>