[Bug 225321] dtrace/powerpc64: System crash

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 19 17:51:03 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225321

            Bug ID: 225321
           Summary: dtrace/powerpc64: System crash
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: breno.leitao at gmail.com

When running dtrace function on powerpc64 it crashes:


Dtrace line:
# dtrace -n 'sched:::off-cpu { @[stack(8)] = count(); }'


# Meanwhile you can run some workload as compiling the kernel. You are going to
hit:


panic: acquiring blockable sleep lock with spinlock or critical section
held (sleep mutex) vm map (system) @
/root/kernel/freebsd/sys/vm/vm_map.c:4086
cpuid = 2
time = 1516383953
KDB: stack backtrace:
0xc000000042f7c160: at .kdb_backtrace+0x5c
0xc000000042f7c290: at .vpanic+0x1a4
0xc000000042f7c350: at .kassert_panic+0x8c
0xc000000042f7c3f0: at .witness_checkorder+0xf8
0xc000000042f7c4e0: at .__mtx_lock_flags+0xfc
0xc000000042f7c590: at ._vm_map_lock_read+0x34
0xc000000042f7c610: at .vm_map_lookup+0x94
0xc000000042f7c740: at .vm_fault_hold+0x158
0xc000000042f7c950: at .vm_fault+0x9c
0xc000000042f7ca00: at .trap_pfault+0xd8
0xc000000042f7caa0: at .trap+0xec0
0xc000000042f7cc60: at .powerpc_interrupt+0x1e0
0xc000000042f7cd00: kernel DSI read trap @ 0xffffffffffff9b90 by
.dtrace_getpcstack+0x138: srr1=0x8000000000001032
            r1=0xc000000042f7cfb0 cr=0x28202024 xer=0
ctr=0xc000000043290788 r2=0xc0000000432d66e8 sr=0x40000000
0xc000000042f7cfb0: at 0x1dffe3fc
0xc000000042f7d050: at .dtrace_probe+0xd70
0xc000000042f7d300: at .sched_switch+0x530
0xc000000042f7d3b0: at .mi_switch+0x2c4
0xc000000042f7d440: at .critical_exit+0xb4
0xc000000042f7d4c0: at .powerpc_interrupt+0xb4
0xc000000042f7d560: kernel EXI trap by .powerpc_interrupt+0x1f0:                
srr1=0x8000000000009032
            r1=0xc000000042f7d810 cr=0x2000f032 xer=0 ctr=0x1
r2=0x1015e38
0xc000000042f7d810: user DSI write trap @ 0x810a59008 by 0x104a29a8:
srr1=0x800000000000f032
            r1=0xffffffffffff9b80 cr=0x22044028 xer=0 ctr=0x104b357c
r2=0x1071b970 sr=0x42000000
KDB: enter: panic
[ thread pid 8219 tid 100089 ]
Stopped at      .kdb_enter+0x60:        ld      r2, r1, 0x28

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list