<div dir="ltr"><div><div><div>My memory-constrained application dumps core saying<br><br>Assertion failed: (!ret), function _cds_wfcq_init, file ./urcu/static/wfcqueue.h, line 107.<br>Abort<br><br></div><div>The function was called from the call_rcu thread, my app does not call wfcqueue directly.<br></div><div><br>My operating system is FreeBSD-10.3, you won't reproduce the failure in Linux.<br></div> Apparently developers assumed that pthread_mutex_init cannot fail. This assumption is ok for Linux, but not so with FreeBSD, which allocates mutexes with calloc.<br><br></div>Could you please add proper error handling so that (at least) call_rcu threads could cope with memory allocation failures?<br><br></div>Cheers...<br></div>