erlang 20.0, macos 10.11, crash

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

erlang 20.0, macos 10.11, crash

Max Lapshin-2
Running erlang 20.0:

beam/erl_port.h:769: Lock check assertion "erts_lc_is_port_locked(prt) || ((int) (SWord) erts_tsd_get(erts_is_crash_dumping_key))" failed!

Currently no locks are locked by the unknown thread.


just on start of program.

Compiled with:


./configure --prefix=/usr/local/Cellar/erlang/19.0 --enable-threads --enable-dirty-schedulers --enable-smp-support --enable-kernel-poll --enable-m64-build --with-dynamic-trace=dtrace --without-javac --with-ssl --with-wx --with-ssl=/usr/local/Cellar/openssl/1.0.2 --with-microstate-accounting=extra --enable-hipe --enable-lock-counter


Is it a known problem?


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: erlang 20.0, macos 10.11, crash

Sverker Eriksson-4

That assertion should only be executed if configured with --enable-lock-checking

or if you build and run the debug VM.


Did you clean the source tree before build (git clean -xfd)?


/Sverker



On 07/26/2017 07:17 PM, Max Lapshin wrote:
Running erlang 20.0:

beam/erl_port.h:769: Lock check assertion "erts_lc_is_port_locked(prt) ||
((int) (SWord) erts_tsd_get(erts_is_crash_dumping_key))" failed!

Currently no locks are locked by the unknown thread.


just on start of program.

Compiled with:


./configure --prefix=/usr/local/Cellar/erlang/19.0 --enable-threads
--enable-dirty-schedulers --enable-smp-support --enable-kernel-poll
--enable-m64-build --with-dynamic-trace=dtrace --without-javac --with-ssl
--with-wx --with-ssl=/usr/local/Cellar/openssl/1.0.2
--with-microstate-accounting=extra --enable-hipe --enable-lock-counter


Is it a known problem?



_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: erlang 20.0, macos 10.11, crash

Max Lapshin-2
yes, my shame.

this was a build with --enable-lock-checking

but is it ok that this assertion was broken?

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions