Как воспроизвести ошибку с erlang/OTP
Я обнаружил ошибку, связанную с erlang / OTP при использовании RabbitMQ.
Но я не знаком с erlang / OTP.
Я хочу знать, как воспроизвести ошибку с помощью
erlang code pieces
или другими способами.
Вот ошибка
ERL-188: взаимоблокировка с ets: update_counter и write_concurrency
Fix scheduler deadlock bug in ets:update_counter/4 when key is not found and inserting the default object causes the table to grow.
Full runtime dependencies of erts-7.3.1.1: kernel-4.0, sasl-2.4, stdlib-2.5
Вот коммит в github
commit a6d87854c3ae65dba8dba6571b4d31d901316a39
Author: Sverker Eriksson <sverker@erlang.org>
Date: Fri Jul 8 15:13:35 2016 +0200
erts: Fix deadlock in ets:update_counter/4
in 'set' with 'write_concurrency'
when inserting default object causes table to grow
and the bucket to split is protected by same lock as the key.