[sr-dev] [tracker] Comment added: kamailio sometimes crash when handling failure events (Attachment added)

sip-router bugtracker at sip-router.org
Tue May 13 00:31:48 CEST 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#427 - kamailio sometimes crash when handling failure events
User who did this - Pawel Sternal (Sternik)

----------
yes, i've seen this patch. I was trying delete with avp_delete, pv_unset, assigning $null... but... I had refactoring to use $var variables ;-) Next day I saw that you put a patch for this. $var is enough for me.

siptrace attached.

from  last backtrace (gdb_20140511.txt):
<code>
(gdb) frame 4
#4  0xb48dcea3 in dlg_onreply (t=0xa4ffb894, type=1048576, param=0xbff24c9c) at dlg_handlers.c:563
563     dlg_handlers.c: No such file or directory.
        in dlg_handlers.c
(gdb) p *dlg
$1 = {ref = 0, next = 0x0, prev = 0x0, h_id = 6149, h_entry = 363, state = 5, lifetime = 21600, init_ts = 1399816405, start_ts = 0, dflags = 512, iflags = 0, sflags = 0, toroute = 0, toroute_name = {s = 0x0, 
    len = 0}, from_rr_nb = 1, tl = {next = 0x0, prev = 0x0, timeout = 0}, callid = {
    s = 0xa4d5a708 "775e6d942c0649244f355f936211892f at sip.freeconet.plsip:+48512911332 at sip.freeconet.plsip:+48632186066 at sip.freeconet.plsip:hultaj1000 at sip.freeconet.pl1166\r\n\n\n\r\n??????miotek at 5`\001", 
    len = 49}, from_uri = {s = 0xa4d5a739 "sip:+48512911332 at sip.freeconet.plsip:+48632186066 at sip.freeconet.plsip:hultaj1000 at sip.freeconet.pl1166\r\n\n\n\r\n??????miotek at 5`\001", len = 33}, to_uri = {
    s = 0xa4d5a75a "sip:+48632186066 at sip.freeconet.plsip:hultaj1000 at sip.freeconet.pl1166\r\n\n\n\r\n??????miotek at 5`\001", len = 33}, req_uri = {
    s = 0xa4d5a77b "sip:hultaj1000 at sip.freeconet.pl1166\r\n\n\n\r\n??????miotek at 5`\001", len = 31}, tag = {{s = 0xa4fc8bf0 "w", len = 10}, {s = 0x0, len = 0}}, cseq = {{s = 0xa4d76230 "\005\001", len = 3}, 
    {s = 0x0, len = 0}}, route_set = {{s = 0xa4fc8c1e "447-OEM-0041153-42872-C07C6E47-05060213.218.116.66", len = 44}, {s = 0x0, len = 0}}, contact = {{s = 0xa4fc8bfa "?\f\214?\003", len = 36}, {s = 0x0, 
      len = 0}}, bind_addr = {0xb56824fc, 0x0}, cbs = {first = 0xa500db80, types = 8684}, profile_links = 0x0, vars = 0x0}
(gdb) frame 3
#3  0xb48e90f5 in dlg_release (dlg=0xa4d5a644) at dlg_hash.c:826
826     dlg_hash.c: No such file or directory.
        in dlg_hash.c
(gdb) p *dlg
$2 = {ref = 0, next = 0x0, prev = 0x0, h_id = 6149, h_entry = 363, state = 5, lifetime = 21600, init_ts = 1399816405, start_ts = 0, dflags = 512, iflags = 0, sflags = 0, toroute = 0, toroute_name = {s = 0x0, 
    len = 0}, from_rr_nb = 1, tl = {next = 0x0, prev = 0x0, timeout = 0}, callid = {
    s = 0xa4d5a708 "775e6d942c0649244f355f936211892f at sip.freeconet.plsip:+48512911332 at sip.freeconet.plsip:+48632186066 at sip.freeconet.plsip:hultaj1000 at sip.freeconet.pl1166\r\n\n\n\r\n??????miotek at 5`\001", 
    len = 49}, from_uri = {s = 0xa4d5a739 "sip:+48512911332 at sip.freeconet.plsip:+48632186066 at sip.freeconet.plsip:hultaj1000 at sip.freeconet.pl1166\r\n\n\n\r\n??????miotek at 5`\001", len = 33}, to_uri = {
    s = 0xa4d5a75a "sip:+48632186066 at sip.freeconet.plsip:hultaj1000 at sip.freeconet.pl1166\r\n\n\n\r\n??????miotek at 5`\001", len = 33}, req_uri = {
    s = 0xa4d5a77b "sip:hultaj1000 at sip.freeconet.pl1166\r\n\n\n\r\n??????miotek at 5`\001", len = 31}, tag = {{s = 0xa4fc8bf0 "w", len = 10}, {s = 0x0, len = 0}}, cseq = {{s = 0xa4d76230 "\005\001", len = 3}, 
    {s = 0x0, len = 0}}, route_set = {{s = 0xa4fc8c1e "447-OEM-0041153-42872-C07C6E47-05060213.218.116.66", len = 44}, {s = 0x0, len = 0}}, contact = {{s = 0xa4fc8bfa "?\f\214?\003", len = 36}, {s = 0x0, 
      len = 0}}, bind_addr = {0xb56824fc, 0x0}, cbs = {first = 0xa500db80, types = 8684}, profile_links = 0x0, vars = 0x0}
</code>

In event_route[tm:local-request] i'm doing something with PUBLISH - changing body. And also using avp_db_query 
----------

One or more files have been attached.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=427#comment1445

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list