Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2017 00:29:32 +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-CR537o2t1d@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 #26 from Mark Millard <markmi@dsl-only.net> ---
Using procstat -v on one of the sh.*.core files
from a process that directly reported the Failed
assertion: "tds_booted" shows the following.

But first the address of the tsd_booted storage:

(lldb) print &__je_tsd_booted
(bool *) $0 =3D 0x0000000040618520

# procstat -v /var/crash/sh.1766.core=20
  PID              START                END PRT  RES PRES REF SHD FLAG TP P=
ATH
 1766           0x400000           0x423000 r-x   35   37   7   0 CN-- vn
/bin/sh
 1766           0x433000           0x436000 rw-    3    3   1   0 C--- sw=20
 1766         0x40433000         0x4044d000 r-x   26   29  32   0 CN-- vn
/libexec/ld-elf.so.1
 1766         0x4044d000         0x40454000 rw-    3    3   1   0 C--- sw=20
 1766         0x4045d000         0x4045f000 rw-    2    2   1   0 C--- sw=20
 1766         0x4045f000         0x4048b000 r-x   44   48  14   7 CN-- vn
/lib/libedit.so.7
 1766         0x4048b000         0x4049b000 ---    0    0   1   0 CN-- df=20
 1766         0x4049b000         0x4049d000 rw-    2    0   1   0 CN-- vn
/lib/libedit.so.7
 1766         0x4049d000         0x404a1000 rw-    0    0   1   0 CN-- sw=20
 1766         0x404a1000         0x405f8000 r-x  343  384  58  26 CN-- vn
/lib/libc.so.7
 1766         0x405f8000         0x40607000 ---    0    0   1   0 CN-- df=20
 1766         0x40607000         0x40614000 rw-   13    0   1   0 C--- vn
/lib/libc.so.7
 1766         0x40614000         0x4062d000 rw-    5    5   1   0 C--- sw=20
 1766         0x4062d000         0x4067a000 r-x   77   82  16   8 CN-- vn
/lib/libncursesw.so.8
 1766         0x4067a000         0x40689000 ---    0    0   1   0 CN-- df=20
 1766         0x40689000         0x4068e000 rw-    5    0   1   0 CN-- vn
/lib/libncursesw.so.8
 1766         0x4068e000         0x406ad000 rw-    0    0   1   0 C--- sw=20
 1766         0x40800000         0x40c00000 rw-    9    9   1   0 C--- sw=20
 1766     0xfffffffdf000     0xfffffffff000 rw-    6    6   1   0 C--D sw=20
 1766     0xfffffffff000    0x1000000000000 r-x    1    1  34   0 ---- ph=20



Similarly for an example of su.*.core that reported the
assertion failure:

(lldb) print &__je_tsd_booted
(bool *) $0 =3D 0x000000004061d520

# procstat -v /var/crash/su.1765.core=20
  PID              START                END PRT  RES PRES REF SHD FLAG TP P=
ATH
 1765           0x400000           0x404000 r-x    4    5   3   0 CN-- vn
/usr/bin/su
 1765           0x413000           0x414000 rw-    1    1   1   0 C--- sw=20
 1765         0x40413000         0x4042d000 r-x   26   29  30   0 CN-- vn
/libexec/ld-elf.so.1
 1765         0x4042d000         0x40435000 rw-    8    8   1   0 C--- sw=20
 1765         0x4043d000         0x4043f000 rw-    2    2   1   0 C--- sw=20
 1765         0x4043f000         0x4044e000 r-x   15   16  33  16 CN-- vn
/lib/libutil.so.9
 1765         0x4044e000         0x4045e000 ---    0    0   1   0 CN-- df=20
 1765         0x4045e000         0x4045f000 rw-    1    0   1   0 CN-- vn
/lib/libutil.so.9
 1765         0x4045f000         0x40461000 rw-    0    0   1   0 CN-- sw=20
 1765         0x40461000         0x4046c000 r-x   11   13  21   9 CN-- vn
/usr/lib/libpam.so.6
 1765         0x4046c000         0x4047c000 ---    0    0   1   0 CN-- df=20
 1765         0x4047c000         0x4047d000 rw-    1    0   1   0 C--- vn
/usr/lib/libpam.so.6
 1765         0x4047d000         0x40494000 r-x    8    8  19   8 CN-- vn
/usr/lib/libbsm.so.3
 1765         0x40494000         0x404a4000 ---    0    0   1   0 CN-- df=20
 1765         0x404a4000         0x404a6000 rw-    0    0   1   0 CN-- vn
/usr/lib/libbsm.so.3
 1765         0x404a6000         0x405fd000 r-x  343  384  54  24 CN-- vn
/lib/libc.so.7
 1765         0x405fd000         0x4060c000 ---    0    0   1   0 CN-- df=20
 1765         0x4060c000         0x40619000 rw-   13    0   1   0 CN-- vn
/lib/libc.so.7
 1765         0x40619000         0x40653000 rw-    4    4   1   0 C--- sw=20
 1765         0x40653000         0x40654000 r-x    0    0   6   3 CN-- vn
/usr/lib/pam_rootok.so.6
 1765         0x40654000         0x40663000 ---    0    0   1   0 CN-- df=20
 1765         0x40663000         0x40664000 rw-    0    0   1   0 CN-- vn
/usr/lib/pam_rootok.so.6
 1765         0x40664000         0x40665000 r-x    0    0   8   4 CN-- vn
/usr/lib/pam_self.so.6
 1765         0x40665000         0x40674000 ---    0    0   1   0 CN-- df=20
 1765         0x40674000         0x40675000 rw-    0    0   1   0 CN-- vn
/usr/lib/pam_self.so.6
 1765         0x40675000         0x40676000 r-x    0    0   6   3 CN-- vn
/usr/lib/pam_group.so.6
 1765         0x40676000         0x40685000 ---    0    0   1   0 CN-- df=20
 1765         0x40685000         0x40686000 rw-    0    0   1   0 CN-- vn
/usr/lib/pam_group.so.6
 1765         0x40686000         0x40687000 r-x    0    0  17   7 CN-- vn
/usr/lib/pam_opie.so.6
 1765         0x40687000         0x40697000 ---    0    0   1   0 CN-- df=20
 1765         0x40697000         0x40698000 rw-    0    0   1   0 CN-- vn
/usr/lib/pam_opie.so.6
 1765         0x40698000         0x4069e000 r-x    0    0  17   7 CN-- vn
/usr/lib/libopie.so.8
 1765         0x4069e000         0x406ae000 ---    0    0   1   0 CN-- df=20
 1765         0x406ae000         0x406b1000 rw-    0    0   1   0 CN-- vn
/usr/lib/libopie.so.8
 1765         0x406b1000         0x406d1000 r-x    0    0  17   7 CN-- vn
/lib/libmd.so.6
 1765         0x406d1000         0x406e0000 ---    0    0   1   0 CN-- df=20
 1765         0x406e0000         0x406e1000 rw-    0    0   1   0 CN-- vn
/lib/libmd.so.6
 1765         0x406e1000         0x406e2000 r-x    0    0  17   7 CN-- vn
/usr/lib/pam_opieaccess.so.6
 1765         0x406e2000         0x406f1000 ---    0    0   1   0 CN-- df=20
 1765         0x406f1000         0x406f2000 rw-    0    0   1   0 CN-- vn
/usr/lib/pam_opieaccess.so.6
 1765         0x406f2000         0x406f5000 r-x    0    0  45  18 CN-- vn
/usr/lib/pam_unix.so.6
 1765         0x406f5000         0x40704000 ---    0    0   1   0 CN-- df=20
 1765         0x40704000         0x40705000 rw-    0    0   1   0 CN-- vn
/usr/lib/pam_unix.so.6
 1765         0x40705000         0x40710000 r-x    0    0  19   8 CN-- vn
/lib/libcrypt.so.5
 1765         0x40710000         0x40720000 ---    0    0   1   0 CN-- df=20
 1765         0x40720000         0x40721000 rw-    0    0   1   0 CN-- vn
/lib/libcrypt.so.5
 1765         0x40721000         0x40732000 rw-    0    0   0   0 ---- --=20
 1765         0x40732000         0x40736000 r-x    0    0  17   7 CN-- vn
/usr/lib/libypclnt.so.4
 1765         0x40736000         0x40745000 ---    0    0   1   0 CN-- df=20
 1765         0x40745000         0x40746000 rw-    0    0   1   0 CN-- vn
/usr/lib/libypclnt.so.4
 1765         0x40746000         0x4074f000 rw-    0    0   1   0 CN-- sw=20
 1765         0x4074f000         0x40751000 r-x    0    0  17   7 CN-- vn
/usr/lib/pam_login_access.so.6
 1765         0x40751000         0x40760000 ---    0    0   1   0 CN-- df=20
 1765         0x40760000         0x40761000 rw-    0    0   1   0 CN-- vn
/usr/lib/pam_login_access.so.6
 1765         0x40761000         0x40764000 r-x    0    0  45  18 CN-- vn
/usr/lib/pam_unix.so.6
 1765         0x40764000         0x40773000 ---    0    0   1   0 CN-- df=20
 1765         0x40773000         0x40774000 rw-    0    0   1   0 CN-- vn
/usr/lib/pam_unix.so.6
 1765         0x40774000         0x40775000 r-x    0    0  21   9 CN-- vn
/usr/lib/pam_permit.so.6
 1765         0x40775000         0x40784000 ---    0    0   1   0 CN-- df=20
 1765         0x40784000         0x40785000 rw-    0    0   1   0 CN-- vn
/usr/lib/pam_permit.so.6
 1765         0x40785000         0x40786000 r-x    0    0  21   9 CN-- vn
/usr/lib/pam_permit.so.6
 1765         0x40786000         0x40795000 ---    0    0   1   0 CN-- df=20
 1765         0x40795000         0x40796000 rw-    0    0   1   0 CN-- vn
/usr/lib/pam_permit.so.6
 1765         0x40800000         0x40c00000 rw-    8    8   1   0 C--- sw=20
 1765     0xfffffffdf000     0xfffffffff000 rw-    2    2   1   0 C--D sw=20
 1765     0xfffffffff000    0x1000000000000 r-x    1    1  33   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-CR537o2t1d>