Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Feb 2018 14:26:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 225584] Various compile process hang on Ryzen, but not on Intel
Message-ID:  <bug-225584-8-vBol7dVDvD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225584-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225584-8@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=3D225584

--- Comment #28 from mike@sentex.net ---
(In reply to Konstantin Belousov from comment #27)


(gdb) thread 2
[Switching to thread 2 (LWP 101302 of process 48133)]
#0  _umtx_op_err () at /usr/src/lib/libthr/arch/amd64/amd64/_umtx_op_err.S:=
37
37      RSYSCALL_ERR(_umtx_op)
(gdb) frame 2
#2  0x000000080065bf96 in mutex_lock_sleep (curthread=3D0x80a5cd300,
m=3D0x8008f72c0, abstime=3D0x0) at /usr/src/lib/libthr/thread/thr_mutex.c:6=
93
693                     ret =3D __thr_umutex_lock(&m->m_lock, id);
(gdb) print *m
$1 =3D {m_lock =3D {m_owner =3D -2147382339, m_flags =3D 0, m_ceilings =3D =
{0, 0},
m_rb_lnk =3D 0, m_spare =3D {0, 0}}, m_flags =3D 1, m_count =3D 0, m_spinlo=
ops =3D 0,
m_yieldloops =3D 0, m_ps =3D 0, m_qe =3D {
    tqe_next =3D 0x0, tqe_prev =3D 0x80a5cf7a0}, m_pqe =3D {tqe_next =3D 0x=
0, tqe_prev
=3D 0x80a5cf7b0}, m_rb_prev =3D 0x0}
(gdb) print *curthread
$2 =3D {tid =3D 101302, lock =3D {m_owner =3D 0, m_flags =3D 0, m_ceilings =
=3D {0, 0},
m_rb_lnk =3D 0, m_spare =3D {0, 0}}, cycle =3D 0, locklevel =3D 0, critical=
_count =3D 0,
sigblock =3D 0, tle =3D {
    tqe_next =3D 0x8008f9000, tqe_prev =3D 0x80a5cd838}, gcle =3D {tqe_next=
 =3D 0x0,
tqe_prev =3D 0x0}, hle =3D {le_next =3D 0x0, le_prev =3D 0x800876598}, wle =
=3D {tqe_next
=3D 0x0, tqe_prev =3D 0x0}, refcount =3D 1,=20
  start_routine =3D 0x800ba88f0 <t_bootstrap>, arg =3D 0x80b9d9720, attr =3D
{sched_policy =3D 2, sched_inherit =3D 4, prio =3D 0, suspend =3D 0, flags =
=3D 2,
stackaddr_attr =3D 0x7fffdfbfd000,=20
    stacksize_attr =3D 4194304, guardsize_attr =3D 4096, cpuset =3D 0x0, cp=
usetsize =3D
0}, cancel_enable =3D 1, cancel_pending =3D 0, cancel_point =3D 0, no_cance=
l =3D 0,
cancel_async =3D 0, cancelling =3D 0,=20
  sigmask =3D {__bits =3D {0, 0, 0, 0}}, unblock_sigcancel =3D 0, in_sigsus=
pend =3D 0,
deferred_siginfo =3D {si_signo =3D 0, si_errno =3D 0, si_code =3D 0, si_pid=
 =3D 0, si_uid
=3D 0, si_status =3D 0, si_addr =3D 0x0,=20
    si_value =3D {sival_int =3D 0, sival_ptr =3D 0x0, sigval_int =3D 0, sig=
val_ptr =3D
0x0}, _reason =3D {_fault =3D {_trapno =3D 0}, _timer =3D {_timerid =3D 0, =
_overrun =3D 0},
_mesgq =3D {_mqd =3D 0}, _poll =3D {
        _band =3D 0}, __spare__ =3D {__spare1__ =3D 0, __spare2__ =3D {0, 0=
, 0, 0, 0,
0, 0}}}}, deferred_sigmask =3D {__bits =3D {0, 0, 0, 0}}, deferred_sigact =
=3D
{__sigaction_u =3D {__sa_handler =3D 0x0,=20
      __sa_sigaction =3D 0x0}, sa_flags =3D 0, sa_mask =3D {__bits =3D {0, =
0, 0, 0}}},
deferred_run =3D 0, force_exit =3D 0, state =3D PS_RUNNING, error =3D 0, jo=
iner =3D 0x0,
flags =3D 8, tlflags =3D 2, mq =3D {{
      tqh_first =3D 0x0, tqh_last =3D 0x80a5cd4a0}, {tqh_first =3D 0x0, tqh=
_last =3D
0x80a5cd4b0}, {tqh_first =3D 0x0, tqh_last =3D 0x80a5cd4c0}, {tqh_first =3D=
 0x0,
tqh_last =3D 0x80a5cd4d0}, {tqh_first =3D 0x0,=20
      tqh_last =3D 0x80a5cd4e0}, {tqh_first =3D 0x0, tqh_last =3D 0x80a5cd4=
f0}}, ret
=3D 0x0, specific =3D 0x0, specific_data_count =3D 0, rdlock_count =3D 0, r=
tld_bits =3D
0, tcb =3D 0x8008de8b0, cleanup =3D 0x0,=20
  ex =3D {exception_class =3D 0, exception_cleanup =3D 0x0, private_1 =3D 0=
, private_2
=3D 0}, unwind_stackend =3D 0x7fffdfffd000, unwind_disabled =3D 0, magic =3D
3499860245, report_events =3D 0, event_mask =3D 0,=20
  event_buf =3D {event =3D TD_EVENT_NONE, th_p =3D 0, data =3D 0}, wchan =
=3D 0x0,
mutex_obj =3D 0x0, will_sleep =3D 0, nwaiter_defer =3D 0, robust_inited =3D=
 0,
robust_list =3D 0, priv_robust_list =3D 0,=20
  inact_mtx =3D 0, defer_waiters =3D {0x0 <repeats 50 times>}, wake_addr =3D
0x805fbb000, sleepqueue =3D 0x80676f740}
(gdb) frame 4
#4  0x000000080065965e in __pthread_mutex_lock (mutex=3D0x8014829c8) at
/usr/src/lib/libthr/thread/thr_mutex.c:746
746                     ret =3D mutex_lock_common(m, NULL, false, false);
(gdb) print *mutex
$3 =3D (pthread_mutex_t) 0x8008f72c0
(gdb) frame 5
#5  0x0000000801245667 in _flockfile (fp=3D0x801482930) at
/usr/src/lib/libc/stdio/_flock_stub.c:75
75                      _pthread_mutex_lock(&fp->_fl_mutex);
(gdb) print *fp
$4 =3D {_p =3D 0x0, _r =3D 0, _w =3D 0, _flags =3D 4, _file =3D 3, _bf =3D =
{_base =3D 0x0,
_size =3D 0}, _lbfsize =3D 0, _cookie =3D 0x801482930, _close =3D 0x8012453=
c0
<__sclose>, _read =3D 0x801245370 <__sread>,=20
  _seek =3D 0x8012453b0 <__sseek>, _write =3D 0x801245390 <__swrite>, _ub =
=3D {_base
=3D 0x0, _size =3D 0}, _up =3D 0x0, _ur =3D 0, _ubuf =3D "\000\000", _nbuf =
=3D "", _lb =3D
{_base =3D 0x0, _size =3D 0},=20
  _blksize =3D 59904, _offset =3D 2279, _fl_mutex =3D 0x8008f72c0, _fl_owne=
r =3D
0x80a5cf600, _fl_count =3D 1, _orientation =3D 0, _mbstate =3D {__mbstate8 =
=3D '\000'
<repeats 127 times>, _mbstateL =3D 0},=20
  _flags2 =3D 0}
(gdb)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225584-8-vBol7dVDvD>