<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
can you send the output of 'bt full' from gdb?<br>
<br>
How often the subscriber table is changed? I see in this case the
deletion of the table is done without a lock.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 9/22/11 9:44 PM, Bruno Bresciani wrote:
<blockquote
cite="mid:CAKv6Mra7RbA1WsArTCOzY7RsFWEVS=RoDLn-kaoQw=vFbfxj_A@mail.gmail.com"
type="cite">Hi All,<br>
<br>
Kamailio 3.1.2 generate a core in db_text module when subscriber
table is updated and after this action some SIP message require
authentication process...<br>
<br>
Someone Can Help me to understand why this core is happening?
Below is part of kamailio's trace and gdb core too.<br>
<br>
<br>
Kamailio's trace:<br>
<br>
<b>Sep 22 16:35:54 sswpst00
/home2/local/kamailio/sbin/kamailio[2327]: DEBUG: auth_db
[authorize.c:239]: realm value [192.168.166.199]</b><br>
Sep 22 16:35:54 sswpst00
/home2/local/kamailio/sbin/kamailio[2327]: DEBUG: auth [api.c:95]:
auth: digest-algo: MD5 parsed value: 1<br>
<b>Sep 22 16:35:54 sswpst00
/home2/local/kamailio/sbin/kamailio[2327]: DEBUG: db_text
[dbt_file.c:78]: [subscriber] was updated</b><br>
Sep 22 16:35:54 sswpst00
/home2/local/kamailio/sbin/kamailio[2324]: ALERT: <core>
[main.c:741]: child process 2327 exited by a signal 11<br>
Sep 22 16:35:54 sswpst00
/home2/local/kamailio/sbin/kamailio[2324]: ALERT: <core>
[main.c:744]: core was generated<br>
Sep 22 16:35:54 sswpst00
/home2/local/kamailio/sbin/kamailio[2324]: INFO: <core>
[main.c:756]: INFO: terminating due to SIGCHLD<br>
Sep 22 16:35:54 sswpst00
/home2/local/kamailio/sbin/kamailio[2335]: INFO: <core>
[main.c:807]: INFO: signal 15 received c<br>
Sep 22 16:35:54 sswpst00
/home2/local/kamailio/sbin/kamailio[2335]: DEBUG: <core>
[main.c:818]: Memory status (pkg):<br>
<br>
gdb core trace:<br>
<br>
Core was generated by `/home2/local/kamailio/sbin/kamailio -P
/var/run/kamailio.pid'.<br>
Program terminated with signal 11, Segmentation fault.<br>
<b>#0 0x00f21603 in dbt_db_del_table (_dc=0xb6071e60,
_s=0xbf837040, sync=0) at dbt_lib.c:238</b><br>
238 dbt_lib.c: Arquivo ou diretório não encontrado.<br>
in dbt_lib.c<br>
<br>
<br>
Best Regards<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
</body>
</html>