My memory-constrained application dumps core saying Assertion failed: (!ret), function _cds_wfcq_init, file ./urcu/static/wfcqueue.h, line 107. Abort
The function was called from the call_rcu thread, my app does not call wfcqueue directly. My operating system is FreeBSD-10.3, you won't reproduce the failure in Linux. 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. Could you please add proper error handling so that (at least) call_rcu threads could cope with memory allocation failures? Cheers...
_______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev