From owner-freebsd-bugs@freebsd.org Fri Dec 2 12:19:55 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1807C62860 for ; Fri, 2 Dec 2016 12:19:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B665619BC for ; Fri, 2 Dec 2016 12:19:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uB2CJtMt036252 for ; Fri, 2 Dec 2016 12:19:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 215000] webcamd panic Date: Fri, 02 Dec 2016 12:19:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mexas@bris.ac.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2016 12:19:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215000 Bug ID: 215000 Summary: webcamd panic Product: Base System Version: 11.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: mexas@bris.ac.uk CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Created attachment 177600 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D177600&action= =3Dedit core.txt FreeBSD 11.0-RELEASE-p2 #0: Mon Oct 24 06:55:27 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 # cat /boot/loader.conf=20 if_iwm_load=3D"YES" iwm3160fw_load=3D"YES" iwm7260fw_load=3D"YES" iwm7265fw_load=3D"YES" linux_load=3D"YES" cuse4bsd_load=3D"YES" Panics every time when webcamd_enable=3D"YES" is added to rc.conf. If webcamd is started manually, panic does not happen immediately, and for a while the camera works, checked with pvcview. See core.txt.7 attached. Briefly: Fatal trap 12: page fault while in kernel mode cpuid =3D 2; apic id =3D 02 fault virtual address =3D 0x100000019 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80b4392e stack pointer =3D 0x28:0xfffffe0234b714f0 frame pointer =3D 0x28:0xfffffe0234b71540 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 378 (webcamd) trap number =3D 12 panic: page fault cpuid =3D 2 KDB: stack backtrace: #0 0xffffffff80b24077 at kdb_backtrace+0x67 #1 0xffffffff80ad93e2 at vpanic+0x182 #2 0xffffffff80ad9253 at panic+0x43 #3 0xffffffff80fa0d51 at trap_fatal+0x351 #4 0xffffffff80fa0f43 at trap_pfault+0x1e3 #5 0xffffffff80fa04ec at trap+0x26c #6 0xffffffff80f84141 at calltrap+0x8 #7 0xffffffff82581318 at cuse_server_close+0x178 #8 0xffffffff80985a35 at devfs_close+0x5e5 #9 0xffffffff8110ade9 at VOP_CLOSE_APV+0x89 #10 0xffffffff80bbdcce at vn_close+0x13e #11 0xffffffff80bbc77a at vn_closefile+0x4a #12 0xffffffff8098665c at devfs_close_f+0x2c #13 0xffffffff80a735ca at _fdrop+0x1a #14 0xffffffff80a770a4 at closef+0x2d4 #15 0xffffffff80a76b3d at fdescfree_fds+0x7d #16 0xffffffff80a766f2 at fdescfree+0x6a2 #17 0xffffffff80a8855a at exit1+0x73a --=20 You are receiving this mail because: You are the assignee for the bug.=