[Bug 286537] segfault in libthr __Tthr_mutex_trylock then jmalloc.c when run qdrant
Date: Sat, 03 May 2025 05:49:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286537
--- Comment #1 from igor.polovykh@gmail.com ---
pthread_mutex at crash moment. lldb when loaded core file:
(lldb) frame select 0
frame #0: 0x000039c7a57951a0
libthr.so.3`__Tthr_mutex_trylock(mutex=<unavailable>) at thr_mutex.c:628:3
625 curthread = _get_curthread();
626 id = TID(curthread);
627 if (m->m_flags & PMUTEX_FLAG_PRIVATE)
-> 628 THR_CRITICAL_ENTER(curthread);
629 robust = _mutex_enter_robust(curthread, m);
630 ret = _thr_umutex_trylock(&m->m_lock, id);
631 if (__predict_true(ret == 0) || ret == EOWNERDEAD) {
(lldb) p curthread
(pthread *) NULL
(lldb) p *m
(pthread_mutex) {
m_lock = {
m_owner = 0
m_flags = 0
m_ceilings = ([0] = 0, [1] = 0)
m_rb_lnk = 0
m_spare = ([0] = 0, [1] = 0)
}
m_flags = 259
m_count = 0
m_spinloops = 0
m_yieldloops = 0
m_ps = 0
m_qe = {
tqe_next = NULL
tqe_prev = NULL
}
m_pqe = {
tqe_next = NULL
tqe_prev = NULL
}
m_rb_prev = NULL
}
--
You are receiving this mail because:
You are the assignee for the bug.