<p dir="auto">Currently the standard library has no incomplete Beta function, or its logarithm:</p>
<p dir="auto">log(B(\alpha, \beta, x))</p>
<p dir="auto">which can be useful in some applications.</p>
<p dir="auto">After upgrading to Julia 1.7.0, interrupting scripts using Ctrl+C does not work anymore.  Instead, julia seems to interrupt running calculations (the CPU usage drops to zero) and then hangs indefinitely.</p>
<p dir="auto">This used to work up to Julia 1.6, with or without multi-threading.</p>
<p dir="auto">Attaching gdb to the julia process and running a backtrace reveals:</p>
<p dir="auto">Thread 1:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0  0x00007fb6601998ca in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
#1  0x00007fb660193270 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x00007fb65f4720bd in usr2_handler (sig=12, info=&lt;optimized out&gt;, ctx=0x7fb6551aaac0)
    at /buildworker/worker/package_linux64/build/src/signals-unix.c:476
#3  &lt;signal handler called&gt;
(...)"><pre class="notranslate"><code class="notranslate">#0  0x00007fb6601998ca in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
#1  0x00007fb660193270 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x00007fb65f4720bd in usr2_handler (sig=12, info=&lt;optimized out&gt;, ctx=0x7fb6551aaac0)
    at /buildworker/worker/package_linux64/build/src/signals-unix.c:476
#3  &lt;signal handler called&gt;
(...)
</code></pre></div>
<p dir="auto">Thread 2:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0  0x00007fb660196600 in __lll_lock_wait () from /usr/lib/libpthread.so.0
#1  0x00007fb66018f503 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
#2  0x00007fb65f470ef2 in jl_thread_suspend_and_get_state (tid=tid@entry=0, ctx=ctx@entry=0x7fb65a280c48)
    at /buildworker/worker/package_linux64/build/src/signals-unix.c:371
#3  0x00007fb65f47163b in jl_exit_thread0 (bt_data=0x7fb65fab3340 &lt;bt_data&gt;, bt_size=26, state=130)
    at /buildworker/worker/package_linux64/build/src/signals-unix.c:440
#4  signal_listener (arg=&lt;optimized out&gt;) at /buildworker/worker/package_linux64/build/src/signals-unix.c:843
(...)"><pre class="notranslate"><code class="notranslate">#0  0x00007fb660196600 in __lll_lock_wait () from /usr/lib/libpthread.so.0
#1  0x00007fb66018f503 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
#2  0x00007fb65f470ef2 in jl_thread_suspend_and_get_state (tid=tid@entry=0, ctx=ctx@entry=0x7fb65a280c48)
    at /buildworker/worker/package_linux64/build/src/signals-unix.c:371
#3  0x00007fb65f47163b in jl_exit_thread0 (bt_data=0x7fb65fab3340 &lt;bt_data&gt;, bt_size=26, state=130)
    at /buildworker/worker/package_linux64/build/src/signals-unix.c:440
#4  signal_listener (arg=&lt;optimized out&gt;) at /buildworker/worker/package_linux64/build/src/signals-unix.c:843
(...)
</code></pre></div>
<p dir="auto">Threads 3 to 12:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0  0x00007fb6601998ca in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
#1  0x00007fb660193270 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x00007fb647f165db in blas_thread_server () from /opt/julia-1.7.0/bin/../lib/julia/libopenblas64_.so
#3  0x00007fb66018d259 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fb6600b65e3 in clone () from /usr/lib/libc.so.6"><pre class="notranslate"><code class="notranslate">#0  0x00007fb6601998ca in __futex_abstimed_wait_common64 () from /usr/lib/libpthread.so.0
#1  0x00007fb660193270 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0x00007fb647f165db in blas_thread_server () from /opt/julia-1.7.0/bin/../lib/julia/libopenblas64_.so
#3  0x00007fb66018d259 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fb6600b65e3 in clone () from /usr/lib/libc.so.6
</code></pre></div>
<p dir="auto">From a quick glance there seems to be some sort of deadlock going on.</p>
<p dir="auto">Note however that I have <strong>not</strong> started the script with multiple threads (I have neither set <code class="notranslate">JULIA_NUM_THREADS</code> nor passed a <code class="notranslate">-t</code> argument).</p>
<p dir="auto">Julia version: 1.7.0 (from official sources) on x86_64<br>
Arch Linux with glibc 2.33-5</p>