From owner-freebsd-bugs@freebsd.org Fri Aug 30 16:47:25 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7DB83D30BE for ; Fri, 30 Aug 2019 16:47:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46Kll12rdsz4JNj for ; Fri, 30 Aug 2019 16:47:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6163CD30BD; Fri, 30 Aug 2019 16:47:25 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 61236D30BB for ; Fri, 30 Aug 2019 16:47:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Kll11vwqz4JNg for ; Fri, 30 Aug 2019 16:47:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 08EB13107 for ; Fri, 30 Aug 2019 16:47:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x7UGlOjg012737 for ; Fri, 30 Aug 2019 16:47:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x7UGlObw012736 for bugs@FreeBSD.org; Fri, 30 Aug 2019 16:47:24 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: bugs@FreeBSD.org Subject: [Bug 240213] Firefox compilation fails due to node.js crashing (SIGBUS) due to a HMI event Date: Fri, 30 Aug 2019 16:47:24 +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 Some People X-Bugzilla-Who: gustavo.romero@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2019 16:47:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240213 Bug ID: 240213 Summary: Firefox compilation fails due to node.js crashing (SIGBUS) due to a HMI event Product: Base System Version: CURRENT Hardware: powerpc OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: gustavo.romero@protonmail.com Currently Firefox compilation inside poudriere is falling (please see full = log attached firefox-68.0.2_1,1.log) due to a SIGBUS caught on node.js executab= le 'node'. ports head used is: [root@p9 //usr/obj/tree2]# git log --oneline -1 f47d97e0e832 (HEAD -> master, origin/master, origin/HEAD) Get rid of the deprecated @exec and @unexec dmesg shows something like: Hypervisor Maintenance Event received(Severity 0, type 1, HMER: 2040000000000000). pid 2551 (node), jid 479, uid 65534: exited on signal 10 (core dumped) 'node' itself looks to crash at different instructions, mostly load/store o= nes but in one case a trivial compare instruction, which does not access any position in the storage, was also found, as I believe, to generated the HMI event: (gdb) x/i $pc =3D> 0x109d9258 <._ZN2v88internal9Scavenger14ScavengeObjectINS0_18FullHeapObjectSlotEEENS0_= 18SlotCallbackResultET_NS0_10HeapObjectE+1048>: std r29,0(r9) (gdb) x/i $pc =3D> 0x109d8e68 <._ZN2v88internal9Scavenger14ScavengeObjectINS0_18FullHeapObjectSlotEEENS0_= 18SlotCallbackResultET_NS0_10HeapObjectE+40>: ld r9,0(r26) (gdb) x/pi $pc =3D> 0x812d646c8: cmpdi r3,0 (gdb) x/i $pc =3D> 0x109debcc <._ZN2v88internal9Scavenger7ProcessEPNS0_14OneshotBarrierE+= 5228>: ld r9,8(r9) On inspecting the OPAL ring buffer the following can be found: [213443.350925782,7] HMI: Received HMI interrupt: HMER =3D 0x20400000000000= 00 [213443.350954904,7] HMI: Core WOF =3D 0x0000000020000000 recovered error: [213443.350956412,7] HMI: LSU - SLB multi hit (please see attached logs for all details, including how to grab the log us= ing 'pdbg') Although the HMI severity is 0 (see above) meaning it can safely be ignored= as a CPU event critical event, one of the causes for a "HMI: LSU - SLB multi h= it" are duplicated entries in SLB which are hit once a EA (Effective Address) is looked up in to the SLB, so it apparently points to some MM issue on FreeBSD kernel. I'll proceed to create (hopefully) a test case to hit the issue outside the node.js. --=20 You are receiving this mail because: You are the assignee for the bug.=