[erlang-questions] dirty NIFs - Lock check assertion "!erts_smp_lc_runq_is_locked(rq)" failed

John Doe <>
Sat Jan 16 17:18:44 CET 2016


Hello,
I'm getting the following error in a dirty NIF library which keeps
segfaulting:

beam/erl_process.c:3313: Lock check assertion
"!erts_smp_lc_runq_is_locked(rq)" failed!
Currently these locks are locked by the dirty io scheduler 2 thread:
  'run_queue:-1[mutex](beam/erl_process.h:2134)'

The library is using enif_rwlock_ functions for synchronization.
What could be the possible reason for this error?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160116/57a0bfd6/attachment.html>


More information about the erlang-questions mailing list