From owner-freebsd-bugs@freebsd.org Thu Nov 19 17:42:12 2015 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 805ADA32DE2 for ; Thu, 19 Nov 2015 17:42:12 +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 549611900 for ; Thu, 19 Nov 2015 17:42:12 +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 tAJHgC8A077521 for ; Thu, 19 Nov 2015 17:42:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 204686] panic: critical_exit: td_critnest == 0 Date: Thu, 19 Nov 2015 17:42:12 +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-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Andrew@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2015 17:42:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204686 Bug ID: 204686 Summary: panic: critical_exit: td_critnest == 0 Product: Base System Version: 11.0-CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: Andrew@FreeBSD.org Related to pmc, was running "pmcstat -S INST_RETIRED -O sample.out" while ld was running. root@cavium:~ # hwpmc: SOFT/16/64/0x67 ARMV8/6/32/0x1ff panic: critical_exit: td_critnest == 0 cpuid = 15 KDB: stack backtrace: db_trace_self() at db_trace_self_wrapper+0x28 pc = 0xffffff80004d6434 lr = 0xffffff800006d888 sp = 0xffffff87cc0c4590 fp = 0xffffff87cc0c46b0 db_trace_self_wrapper() at vpanic+0x170 pc = 0xffffff800006d888 lr = 0xffffff800025ad54 sp = 0xffffff87cc0c46c0 fp = 0xffffff87cc0c4740 vpanic() at kassert_panic+0x160 pc = 0xffffff800025ad54 lr = 0xffffff800025abe0 sp = 0xffffff87cc0c4750 fp = 0xffffff87cc0c4810 kassert_panic() at critical_exit+0xc8 pc = 0xffffff800025abe0 lr = 0xffffff8000261510 sp = 0xffffff87cc0c4820 fp = 0xffffff87cc0c4830 critical_exit() at spinlock_exit+0x10 pc = 0xffffff8000261510 lr = 0xffffff80004ddf10 sp = 0xffffff87cc0c4840 fp = 0xffffff87cc0c4850 spinlock_exit() at pmc_select_cpu+0x80 pc = 0xffffff80004ddf10 lr = 0xffffff8047a5ba0c sp = 0xffffff87cc0c4860 fp = 0xffffff87cc0c4870 pmc_select_cpu() at pmc_syscall_handler+0x15f8 pc = 0xffffff8047a5ba0c lr = 0xffffff8047a5f824 sp = 0xffffff87cc0c4880 fp = 0xffffff87cc0c49e0 pmc_syscall_handler() at do_el0_sync+0x478 pc = 0xffffff8047a5f824 lr = 0xffffff80004e7e5c sp = 0xffffff87cc0c49f0 fp = 0xffffff87cc0c4aa0 do_el0_sync() at handle_el0_sync+0x58 pc = 0xffffff80004e7e5c lr = 0xffffff80004d79d4 sp = 0xffffff87cc0c4ab0 fp = 0x0000007ffffff500 KDB: enter: panic [ thread pid 8261 tid 100471 ] Stopped at kdb_enter+0x40: db> -- You are receiving this mail because: You are the assignee for the bug.