<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 11/6/2019 11:42 PM, Frederick Gotham
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:XnsAB004E6C211C3fgotham@195.159.176.226">
<pre class="moz-quote-pre" wrap="">Jordan Brown wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Note that __pthread_once_slow is in the stack twice, called from
OPENSSL_init_crypto and CRYPTO_THREAD_run_once.
"once" functions ensure that they call their function argument exactly
once, even if they are called multiple times in parallel while their
function is running. They do that by locking a mutex around the
execution of the function. The second call attempted to lock the mutex
to wait for the first call to complete, and deadlocked.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
I still don't know what to do about this.
For them moment I'm continuing with my idea in the thread "Latest idea to
force usage of custom engine".</pre>
</blockquote>
<br>
Ensure that you don't end up calling the initialization functions
recursively.<br>
<br>
I'm not really in a position to help in any detail, either in terms
of expertise or time.<br>
<br>
<pre class="moz-signature" cols="72">--
Jordan Brown, Oracle ZFS Storage Appliance, Oracle Solaris</pre>
</body>
</html>