Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2015 17:42:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 204686] panic: critical_exit: td_critnest == 0
Message-ID:  <bug-204686-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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<INT,USR,SYS,REA,WRI>
ARMV8/6/32/0x1ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA>
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.



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