Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2017 00:16:26 +0000
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)
Message-ID:  <bug-217138-6-lRGk0sPout@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217138-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217138-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217138

--- Comment #25 from Mark Millard <markmi@dsl-only.net> ---
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.=



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