<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">This is 5.8.6 codebase, so it’s maybe solved in later codebase… I have few threads, one has this on top of stack<div><br></div><div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#0 0x00130416 in __kernel_vsyscall ()</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#1 0x00ca6019 in __lll_lock_wait () from /lib/libpthread.so.0</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#2 0x00ca1430 in _L_lock_677 () from /lib/libpthread.so.0</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#3 0x00ca1301 in pthread_mutex_lock () from /lib/libpthread.so.0</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#4 0x00428aa1 in ThreadPThread__pthread_mutex_lock (m=0xc6e430) at ../src/thread/PTHREAD/ThreadPThreadC.c:557</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); position: static; z-index: auto;">#5 0x00427d67 in RTOS__LockHeap () at ../src/thread/PTHREAD/ThreadPThread.m3:1434</div><div><br></div><div>another:</div><div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#0 0x00130416 in __kernel_vsyscall ()</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#1 0x00ca6c66 in nanosleep () from /lib/libpthread.so.0</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#2 0x00428941 in ThreadPThread__Nanosleep (req=0xb6c30d88, rem=0xb6c30d90) at ../src/thread/PTHREAD/ThreadPThreadC.c:500</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); position: static; z-index: auto;">#3 0x00424f02 in ThreadPThread__CommonSleep () at ../src/thread/c:551</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#4 0x00426cc9 in ThreadPThread__StopWorld () at ../src/thread/PTHREAD/ThreadPThread.m3:1086</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#5 0x004260c3 in RTThread__SuspendOthers () at ../src/thread/PTHREAD/ThreadPThread.m3:812</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#6 0x00408cd6 in RTCollector__CollectSomeInStateZero () at ../src/runtime/common/RTCollector.m3:746</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#7 0x00408c95 in RTCollector__CollectSome () at ../src/runtime/common/RTCollector.m3:720</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); position: static; z-index: auto;">#8 0x00408748 in RTHeapRep__CollectEnough () at ../src/runtime/common/RTCollector.m3:654</div></div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Candara; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">and others:</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#0 0x00130416 in __kernel_vsyscall ()</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#1 0x00cdeede in sigsuspend () from /lib/libc.so.6</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#2 0x0042836e in ThreadPThread__sigsuspend () at ../src/thread/PTHREAD/ThreadPThreadC.c:141</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">#3 0x004271f6 in ThreadPThread__SignalHandler (M3_DLS2Hj_sig=<error reading variable>, M3_AJWxb1_info=<error reading variable>, M3_AJWxb1_context=<error reading variable>)</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"> at ../src/thread/PTHREAD/ThreadPThread.m3:1205</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); position: static; z-index: auto;">#4 <signal handler called></div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); position: static; z-index: auto;">#5 0x00130416 in __kernel_vsyscall ()</div><div style="margin: 0px; font-size: 12px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); position: static; z-index: auto;">#6 0x00ca3664 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0</div></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Am I reading this correctly? Thread waiting for lock “refuses” to be suspended?</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--</div></span></div></span><span class="Apple-style-span" style="font-family: Helvetica;">Dragiša Durić</span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a></div><div><br></div></div></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>