From owner-freebsd-amd64@freebsd.org Sun Mar 19 00:16:26 2017 Return-Path: Delivered-To: freebsd-amd64@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 5C3E0D080C1 for ; Sun, 19 Mar 2017 00:16:26 +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 3D5E51AA0 for ; Sun, 19 Mar 2017 00:16:26 +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 v2J0GQPq071229 for ; Sun, 19 Mar 2017 00:16:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 217138] head (e.g.) -r314638 for arm64: sh vs. jemalloc asserts: include/jemalloc/internal/tsd.h:687: Failed assertion: "tsd_booted" once swapped in after being swapped out (comment 10) Date: Sun, 19 Mar 2017 00:16:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markmi@dsl-only.net 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: Message-ID: In-Reply-To: References: 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-amd64@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2017 00:16:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217138 --- Comment #25 from Mark Millard --- Here are procstat -v results from while the two processes from the fork of my test program have already been swapped-out (before they run and fail during swap-in). I also show the results from looking at the matching core files. The start of the address range of that ends up all-zero when none of it should be is: (lldb) print dyn_region (region *volatile) $0 =3D 0x0000000040616000 # procstat -v 1954 PID START END PRT RES PRES REF SHD FLAG TP P= ATH 1954 0x10000 0x11000 r-- 1 51 5 1 CN-- vn /root/c_tests/a.out 1954 0x20000 0x21000 r-x 1 51 5 1 CN-- vn /root/c_tests/a.out 1954 0x30000 0x40000 rw- 16 0 1 0 C--- vn /root/c_tests/a.out 1954 0x40000 0x41000 r-- 0 0 2 0 CN-- sw=20 1954 0x41000 0x54000 rw- 0 0 2 0 CN-- sw=20 1954 0x40030000 0x4004a000 r-x 26 29 34 0 CN-- vn /libexec/ld-elf.so.1 1954 0x4004a000 0x40051000 rw- 3 0 1 0 C--- sw=20 1954 0x4005a000 0x4005c000 rw- 1 0 1 0 C--- sw=20 1954 0x4005c000 0x401b3000 r-x 343 384 61 27 CN-- vn /lib/libc.so.7 1954 0x401b3000 0x401c2000 --- 0 0 2 0 CN-- df=20 1954 0x401c2000 0x401cf000 rw- 13 0 2 0 CN-- vn /lib/libc.so.7 1954 0x401cf000 0x40201000 rw- 1 1 2 0 CN-- sw=20 1954 0x40400000 0x40800000 rw- 0 0 2 0 CN-- sw=20 1954 0xfffffffdf000 0xfffffffff000 rw- 0 0 1 0 C--D sw=20 1954 0xfffffffff000 0x1000000000000 r-x 1 1 37 0 ---- ph=20 # procstat -v 1955 PID START END PRT RES PRES REF SHD FLAG TP P= ATH 1955 0x10000 0x11000 r-- 1 51 5 1 CN-- vn /root/c_tests/a.out 1955 0x20000 0x21000 r-x 1 51 5 1 CN-- vn /root/c_tests/a.out 1955 0x30000 0x40000 rw- 16 0 1 0 C--- vn /root/c_tests/a.out 1955 0x40000 0x41000 r-- 0 0 2 0 CN-- sw=20 1955 0x41000 0x54000 rw- 0 0 2 0 CN-- sw=20 1955 0x40030000 0x4004a000 r-x 26 29 34 0 CN-- vn /libexec/ld-elf.so.1 1955 0x4004a000 0x40051000 rw- 3 0 1 0 C--- sw=20 1955 0x4005a000 0x4005c000 rw- 1 0 1 0 C--- sw=20 1955 0x4005c000 0x401b3000 r-x 343 384 61 27 CN-- vn /lib/libc.so.7 1955 0x401b3000 0x401c2000 --- 0 0 2 0 CN-- df=20 1955 0x401c2000 0x401cf000 rw- 13 0 2 0 CN-- vn /lib/libc.so.7 1955 0x401cf000 0x40201000 rw- 1 1 2 0 CN-- sw=20 1955 0x40400000 0x40800000 rw- 0 0 2 0 CN-- sw=20 1955 0xfffffffdf000 0xfffffffff000 rw- 0 0 1 0 C--D sw=20 1955 0xfffffffff000 0x1000000000000 r-x 1 1 37 0 ---- ph=20 The core file results are: # procstat -v /var/crash/a.out.1954.core PID START END PRT RES PRES REF SHD FLAG TP P= ATH 1954 0x10000 0x11000 r-- 1 51 3 1 CN-- vn /root/c_tests/a.out 1954 0x20000 0x21000 r-x 1 51 3 1 CN-- vn /root/c_tests/a.out 1954 0x30000 0x40000 rw- 16 0 1 0 C--- vn /root/c_tests/a.out 1954 0x40000 0x41000 r-- 1 1 1 0 CN-- sw=20 1954 0x41000 0x54000 rw- 4 4 1 0 C--- sw=20 1954 0x40030000 0x4004a000 r-x 26 29 30 0 CN-- vn /libexec/ld-elf.so.1 1954 0x4004a000 0x40051000 rw- 7 7 1 0 C--- sw=20 1954 0x4005a000 0x4005c000 rw- 2 2 1 0 C--- sw=20 1954 0x4005c000 0x401b3000 r-x 343 384 55 25 CN-- vn /lib/libc.so.7 1954 0x401b3000 0x401c2000 --- 0 0 1 0 CN-- df=20 1954 0x401c2000 0x401cf000 rw- 13 0 1 0 C--- vn /lib/libc.so.7 1954 0x401cf000 0x40201000 rw- 50 50 1 0 CN-- sw=20 1954 0x40400000 0x40800000 rw- 1024 1024 1 0 CN-- sw=20 1954 0xfffffffdf000 0xfffffffff000 rw- 3 3 1 0 C--D sw=20 1954 0xfffffffff000 0x1000000000000 r-x 1 1 33 0 ---- ph=20 # procstat -v /var/crash/a.out.1955.core PID START END PRT RES PRES REF SHD FLAG TP P= ATH 1955 0x10000 0x11000 r-- 1 51 5 1 CN-- vn /root/c_tests/a.out 1955 0x20000 0x21000 r-x 1 51 5 1 CN-- vn /root/c_tests/a.out 1955 0x30000 0x40000 rw- 16 0 1 0 C--- vn /root/c_tests/a.out 1955 0x40000 0x41000 r-- 0 0 2 0 CN-- sw=20 1955 0x41000 0x54000 rw- 4 0 1 0 C--- sw=20 1955 0x40030000 0x4004a000 r-x 26 29 31 0 CN-- vn /libexec/ld-elf.so.1 1955 0x4004a000 0x40051000 rw- 4 0 1 0 C--- sw=20 1955 0x4005a000 0x4005c000 rw- 2 0 1 0 C--- sw=20 1955 0x4005c000 0x401b3000 r-x 343 384 56 25 CN-- vn /lib/libc.so.7 1955 0x401b3000 0x401c2000 --- 0 0 2 0 CN-- df=20 1955 0x401c2000 0x401cf000 rw- 13 0 1 0 C--- vn /lib/libc.so.7 1955 0x401cf000 0x40201000 rw- 1 1 2 0 CN-- sw=20 1955 0x40400000 0x40800000 rw- 1 1 2 0 CN-- sw=20 1955 0xfffffffdf000 0xfffffffff000 rw- 1 0 1 0 C--D sw=20 1955 0xfffffffff000 0x1000000000000 r-x 1 1 34 0 ---- ph --=20 You are receiving this mail because: You are on the CC list for the bug.=