From owner-freebsd-bugs@freebsd.org Sat Nov 5 22:07:21 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 79AD5BEDDC3 for ; Sat, 5 Nov 2016 22:07:21 +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 692FD2D2 for ; Sat, 5 Nov 2016 22:07:21 +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 uA5M7JZm032967 for ; Sat, 5 Nov 2016 22:07:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 213856] Fatal trap12: page fault while in kernel mode; Supervisor read data, page not present Date: Sat, 05 Nov 2016 22:07:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: markj@FreeBSD.org 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: Message-ID: In-Reply-To: References: 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: Sat, 05 Nov 2016 22:07:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213856 --- Comment #13 from Mark Johnston --- In both cases, we crashed in bucket_drain() when resetting bucket->ub_cnt t= o 0: 0xffffffff80e17d90 <+256>: movslq %r13d,%r13 0xffffffff80e17d93 <+259>: mov 0x18(%rbx,%r13,8),%rdi 0xffffffff80e17d98 <+264>: mov 0x10c(%r14),%esi 0xffffffff80e17d9f <+271>: callq *0xe8(%r14) 0xffffffff80e17da6 <+278>: inc %r13d 0xffffffff80e17da9 <+281>: movswl 0x10(%rbx),%eax 0xffffffff80e17dad <+285>: cmp %eax,%r13d 0xffffffff80e17db0 <+288>: jl 0xffffffff80e17d90 0xffffffff80e17db2 <+290>: mov 0x100(%r14),%rdi 0xffffffff80e17db9 <+297>: movswl %ax,%edx 0xffffffff80e17dbc <+300>: mov %r12,%rsi 0xffffffff80e17dbf <+303>: callq *0xf8(%r14) 0xffffffff80e17dc6 <+310>: movw $0x0,0x10(%rbx) <-- rbx is a callee-saved register that is dereferenced after every call to uz_fini, so it seems as though the uz_release function for the zone is somehow corrupting its frame. Because this is happening in the context of uma_reclaim(), we kn= ow that this can't be a cache zone, so uz_release is zone_release(). --=20 You are receiving this mail because: You are the assignee for the bug.=