[Bug 225584] Various compile process hang on Ryzen, but not on Intel

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 7 14:26:25 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225584

--- Comment #28 from mike at 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=0x80a5cd300,
m=0x8008f72c0, abstime=0x0) at /usr/src/lib/libthr/thread/thr_mutex.c:693
693                     ret = __thr_umutex_lock(&m->m_lock, id);
(gdb) print *m
$1 = {m_lock = {m_owner = -2147382339, m_flags = 0, m_ceilings = {0, 0},
m_rb_lnk = 0, m_spare = {0, 0}}, m_flags = 1, m_count = 0, m_spinloops = 0,
m_yieldloops = 0, m_ps = 0, m_qe = {
    tqe_next = 0x0, tqe_prev = 0x80a5cf7a0}, m_pqe = {tqe_next = 0x0, tqe_prev
= 0x80a5cf7b0}, m_rb_prev = 0x0}
(gdb) print *curthread
$2 = {tid = 101302, lock = {m_owner = 0, m_flags = 0, m_ceilings = {0, 0},
m_rb_lnk = 0, m_spare = {0, 0}}, cycle = 0, locklevel = 0, critical_count = 0,
sigblock = 0, tle = {
    tqe_next = 0x8008f9000, tqe_prev = 0x80a5cd838}, gcle = {tqe_next = 0x0,
tqe_prev = 0x0}, hle = {le_next = 0x0, le_prev = 0x800876598}, wle = {tqe_next
= 0x0, tqe_prev = 0x0}, refcount = 1, 
  start_routine = 0x800ba88f0 <t_bootstrap>, arg = 0x80b9d9720, attr =
{sched_policy = 2, sched_inherit = 4, prio = 0, suspend = 0, flags = 2,
stackaddr_attr = 0x7fffdfbfd000, 
    stacksize_attr = 4194304, guardsize_attr = 4096, cpuset = 0x0, cpusetsize =
0}, cancel_enable = 1, cancel_pending = 0, cancel_point = 0, no_cancel = 0,
cancel_async = 0, cancelling = 0, 
  sigmask = {__bits = {0, 0, 0, 0}}, unblock_sigcancel = 0, in_sigsuspend = 0,
deferred_siginfo = {si_signo = 0, si_errno = 0, si_code = 0, si_pid = 0, si_uid
= 0, si_status = 0, si_addr = 0x0, 
    si_value = {sival_int = 0, sival_ptr = 0x0, sigval_int = 0, sigval_ptr =
0x0}, _reason = {_fault = {_trapno = 0}, _timer = {_timerid = 0, _overrun = 0},
_mesgq = {_mqd = 0}, _poll = {
        _band = 0}, __spare__ = {__spare1__ = 0, __spare2__ = {0, 0, 0, 0, 0,
0, 0}}}}, deferred_sigmask = {__bits = {0, 0, 0, 0}}, deferred_sigact =
{__sigaction_u = {__sa_handler = 0x0, 
      __sa_sigaction = 0x0}, sa_flags = 0, sa_mask = {__bits = {0, 0, 0, 0}}},
deferred_run = 0, force_exit = 0, state = PS_RUNNING, error = 0, joiner = 0x0,
flags = 8, tlflags = 2, mq = {{
      tqh_first = 0x0, tqh_last = 0x80a5cd4a0}, {tqh_first = 0x0, tqh_last =
0x80a5cd4b0}, {tqh_first = 0x0, tqh_last = 0x80a5cd4c0}, {tqh_first = 0x0,
tqh_last = 0x80a5cd4d0}, {tqh_first = 0x0, 
      tqh_last = 0x80a5cd4e0}, {tqh_first = 0x0, tqh_last = 0x80a5cd4f0}}, ret
= 0x0, specific = 0x0, specific_data_count = 0, rdlock_count = 0, rtld_bits =
0, tcb = 0x8008de8b0, cleanup = 0x0, 
  ex = {exception_class = 0, exception_cleanup = 0x0, private_1 = 0, private_2
= 0}, unwind_stackend = 0x7fffdfffd000, unwind_disabled = 0, magic =
3499860245, report_events = 0, event_mask = 0, 
  event_buf = {event = TD_EVENT_NONE, th_p = 0, data = 0}, wchan = 0x0,
mutex_obj = 0x0, will_sleep = 0, nwaiter_defer = 0, robust_inited = 0,
robust_list = 0, priv_robust_list = 0, 
  inact_mtx = 0, defer_waiters = {0x0 <repeats 50 times>}, wake_addr =
0x805fbb000, sleepqueue = 0x80676f740}
(gdb) frame 4
#4  0x000000080065965e in __pthread_mutex_lock (mutex=0x8014829c8) at
/usr/src/lib/libthr/thread/thr_mutex.c:746
746                     ret = mutex_lock_common(m, NULL, false, false);
(gdb) print *mutex
$3 = (pthread_mutex_t) 0x8008f72c0
(gdb) frame 5
#5  0x0000000801245667 in _flockfile (fp=0x801482930) at
/usr/src/lib/libc/stdio/_flock_stub.c:75
75                      _pthread_mutex_lock(&fp->_fl_mutex);
(gdb) print *fp
$4 = {_p = 0x0, _r = 0, _w = 0, _flags = 4, _file = 3, _bf = {_base = 0x0,
_size = 0}, _lbfsize = 0, _cookie = 0x801482930, _close = 0x8012453c0
<__sclose>, _read = 0x801245370 <__sread>, 
  _seek = 0x8012453b0 <__sseek>, _write = 0x801245390 <__swrite>, _ub = {_base
= 0x0, _size = 0}, _up = 0x0, _ur = 0, _ubuf = "\000\000", _nbuf = "", _lb =
{_base = 0x0, _size = 0}, 
  _blksize = 59904, _offset = 2279, _fl_mutex = 0x8008f72c0, _fl_owner =
0x80a5cf600, _fl_count = 1, _orientation = 0, _mbstate = {__mbstate8 = '\000'
<repeats 127 times>, _mbstateL = 0}, 
  _flags2 = 0}
(gdb)

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


More information about the freebsd-bugs mailing list