<p>Sorry I haven't seen that it was the old one.</p>

<pre><code>Fatal error 'mutex is on list' at line 424 in file /usr/src/lib/libthr/thread/thr_mutex.c (errno = 0)
 4(70345) INFO: <script>: Setting up money based credit control
18(70359) CRITICAL: <core> [pass_fd.c:275]: receive_fd(): EOF on 19
 0(70341) ALERT: <core> [main.c:728]: handle_sigs(): child process 70351 exited by a signal 6
 0(70341) ALERT: <core> [main.c:731]: handle_sigs(): core was generated
 0(70341) INFO: <core> [main.c:743]: handle_sigs(): terminating due to SIGCHLD
</code></pre>

<pre><code>(gdb) bt full
#0  0x0000000801118d2a in thr_kill () from /lib/libc.so.7
No symbol table info available.
#1  0x0000000801118c96 in raise () from /lib/libc.so.7
No symbol table info available.
#2  0x0000000801117489 in abort () from /lib/libc.so.7
No symbol table info available.
#3  0x0000000800dc363a in pthread_attr_getaffinity_np () from /lib/libthr.so.3
No symbol table info available.
#4  0x0000000800dbee66 in pthread_mutex_destroy () from /lib/libthr.so.3
No symbol table info available.
#5  0x000000080488d175 in rpc_reply () from /usr/local/lib/kamailio/modules/tm.so
No symbol table info available.
#6  0x0000000804870878 in tm_reply_mutex_lock () from /usr/local/lib/kamailio/modules/tm.so
No symbol table info available.
#7  0x00000008048875ea in t_reply_with_body () from /usr/local/lib/kamailio/modules/tm.so
No symbol table info available.
#8  0x0000000804870b51 in t_reply () from /usr/local/lib/kamailio/modules/tm.so
No symbol table info available.
#9  0x0000000804870961 in t_reply () from /usr/local/lib/kamailio/modules/tm.so
No symbol table info available.
#10 0x0000000804802f38 in t_relay_to () from /usr/local/lib/kamailio/modules/tm.so
No symbol table info available.
#11 0x00000008048697f8 in t_check_trans () from /usr/local/lib/kamailio/modules/tm.so
No symbol table info available.
#12 0x0000000804858ee1 in t_check_trans () from /usr/local/lib/kamailio/modules/tm.so
No symbol table info available.
#13 0x0000000000478c62 in do_action ()
No symbol table info available.
#14 0x000000000048c228 in run_actions ()
No symbol table info available.
#15 0x000000000048ce76 in run_actions_safe ()
No symbol table info available.
#16 0x000000000067730a in rval_get_int ()
No symbol table info available.
#17 0x000000000067aed7 in rval_expr_eval_int ()
No symbol table info available.
#18 0x000000000067b568 in rval_expr_eval_int ()
No symbol table info available.
#19 0x00000000004784a0 in do_action ()
No symbol table info available.
#20 0x000000000048c228 in run_actions ()
No symbol table info available.
#21 0x0000000000473238 in do_action ()
No symbol table info available.
#22 0x000000000048c228 in run_actions ()
No symbol table info available.
#23 0x0000000000473238 in do_action ()
No symbol table info available.
#24 0x000000000048c228 in run_actions ()
No symbol table info available.
#25 0x000000000048cf69 in run_top_route ()
No symbol table info available.
#26 0x000000000045f986 in receive_msg ()
No symbol table info available.
#27 0x0000000000619c40 in udp_rcv_loop ()
No symbol table info available.
#28 0x0000000000526486 in main_loop ()
No symbol table info available.
#29 0x0000000000531ea4 in main ()
No symbol table info available.
</code></pre>

<p>It doesn't crash right away but after some calls made</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/324#issuecomment-140991039">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZYYVyTb9HSMr8f5gxjLURhDvoLMNks5oymJWgaJpZM4F7nNY.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/324#issuecomment-140991039"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>