From owner-freebsd-bugs@freebsd.org Fri Jan 19 17:51:03 2018 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 94F78EBEE9C for ; Fri, 19 Jan 2018 17:51:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C4606BC81 for ; Fri, 19 Jan 2018 17:51:03 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7199E11A71 for ; Fri, 19 Jan 2018 17:51:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0JHp3XM072443 for ; Fri, 19 Jan 2018 17:51:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0JHp3E2072422 for freebsd-bugs@FreeBSD.org; Fri, 19 Jan 2018 17:51:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 225321] dtrace/powerpc64: System crash Date: Fri, 19 Jan 2018 17:51:02 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: breno.leitao@gmail.com 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 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.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2018 17:51:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225321 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@FreeBSD.org Reporter: breno.leitao@gmail.com When running dtrace function on powerpc64 it crashes: Dtrace line: # dtrace -n 'sched:::off-cpu { @[stack(8)] =3D count(); }' # Meanwhile you can run some workload as compiling the kernel. You are goin= g 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 =3D 2 time =3D 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=3D0x8000000000001032 r1=3D0xc000000042f7cfb0 cr=3D0x28202024 xer=3D0 ctr=3D0xc000000043290788 r2=3D0xc0000000432d66e8 sr=3D0x40000000 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:=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 srr1=3D0x8000000000009032 r1=3D0xc000000042f7d810 cr=3D0x2000f032 xer=3D0 ctr=3D0x1 r2=3D0x1015e38 0xc000000042f7d810: user DSI write trap @ 0x810a59008 by 0x104a29a8: srr1=3D0x800000000000f032 r1=3D0xffffffffffff9b80 cr=3D0x22044028 xer=3D0 ctr=3D0x104b357c r2=3D0x1071b970 sr=3D0x42000000 KDB: enter: panic [ thread pid 8219 tid 100089 ] Stopped at .kdb_enter+0x60: ld r2, r1, 0x28 --=20 You are receiving this mail because: You are the assignee for the bug.=