Hello,
can you send the output of 'bt full' from gdb?
How often the subscriber table is changed? I see in this case the
deletion of the table is done without a lock.
Cheers,
Daniel
On 9/22/11 9:44 PM, Bruno Bresciani wrote:
Hi All,
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...
Someone Can Help me to understand why this core is happening? Below
is part of kamailio's trace and gdb core too.
Kamailio's trace:
*Sep 22 16:35:54 sswpst00 /home2/local/kamailio/sbin/kamailio[2327]:
DEBUG: auth_db [authorize.c:239]: realm value [192.168.166.199]*
Sep 22 16:35:54 sswpst00 /home2/local/kamailio/sbin/kamailio[2327]:
DEBUG: auth [api.c:95]: auth: digest-algo: MD5 parsed value: 1
*Sep 22 16:35:54 sswpst00 /home2/local/kamailio/sbin/kamailio[2327]:
DEBUG: db_text [dbt_file.c:78]: [subscriber] was updated*
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
Sep 22 16:35:54 sswpst00 /home2/local/kamailio/sbin/kamailio[2324]:
ALERT: <core> [main.c:744]: core was generated
Sep 22 16:35:54 sswpst00 /home2/local/kamailio/sbin/kamailio[2324]:
INFO: <core> [main.c:756]: INFO: terminating due to SIGCHLD
Sep 22 16:35:54 sswpst00 /home2/local/kamailio/sbin/kamailio[2335]:
INFO: <core> [main.c:807]: INFO: signal 15 received c
Sep 22 16:35:54 sswpst00 /home2/local/kamailio/sbin/kamailio[2335]:
DEBUG: <core> [main.c:818]: Memory status (pkg):
gdb core trace:
Core was generated by `/home2/local/kamailio/sbin/kamailio -P
/var/run/kamailio.pid'.
Program terminated with signal 11, Segmentation fault.
*#0 0x00f21603 in dbt_db_del_table (_dc=0xb6071e60, _s=0xbf837040,
sync=0) at dbt_lib.c:238*
238 dbt_lib.c: Arquivo ou diretório não encontrado.
in dbt_lib.c
Best Regards
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users