[SR-Users] Kamailio Shutdown when received a packet without RR

Daniel-Constantin Mierla miconda at gmail.com
Fri Mar 30 10:45:56 CEST 2012


Hello,

took me a be bit to get back to this issue -- the 'bt full' I got from 
you didn't help that much.

I think I should be able to reproduce it myself if you send me the 183 
reply that causes the issue. If I inject it to the network, practically 
I can test it locally. What I need is also the parameters for topoh 
module -- you can send them to me directly.

Cheers,
Daniel


On 2/24/12 11:44 PM, Daniel-Constantin Mierla wrote:
> Hello,
>
> can you run it as root, do 'ulimit -c unlimited' before starting?
>
> Then you should get a core file in the '/' folder (you can change the 
> location via -w parameter). Send the backtrace with gdb from the core, 
> that should help better to identify where the issue is located.
>
> Cheers,
> Daniel
>
> On 2/24/12 11:17 PM, Javier Vidal wrote:
>> Hi Daniel, thank you for your help,
>>
>> Cheers
>>
>> DEBUG:
>>
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18305]: DEBUG: topoh 
>> [th_msg.c:514]: no record route header
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18305]: DEBUG: topoh 
>> [th_msg.c:906]: +++++++++++++ added cookie header [TH: uch#015#012]
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18317]: :<core>  
>> [pass_fd.c:293]: ERROR: receive_fd: EOF on 24
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18317]: DEBUG:<core>  
>> [tcp_main.c:3552]: DBG: handle_ser_child: dead child 10, pid 18305 
>> (shutting down?)
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18317]: DEBUG:<core>  
>> [io_wait.h:617]: DBG: io_watch_del (0x828ca0, 24, -1, 0x0) fd_no=28 
>> called
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: ALERT:<core>  
>> [main.c:751]: child process 18305 exited by a signal 11
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: ALERT:<core>  
>> [main.c:754]: core was not generated
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: INFO:<core>  
>> [main.c:766]: INFO: terminating due to SIGCHLD
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18316]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18315]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18314]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18313]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18312]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18311]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18310]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18309]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18304]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18298]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18297]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18300]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18306]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18299]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18301]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18302]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18307]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18308]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18303]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18296]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18317]: INFO:<core>  
>> [main.c:817]: INFO: signal 15 received
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG: dialog 
>> [dlg_hash.c:181]: destroying dialog 0x7fd0fc01cb50 (ref 3)
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG: dialog 
>> [dlg_hash.c:197]: removed timer for dlg 0x7fd0fc01cb50 
>> [2762:613055402] with clid 'a292c18f-d991-122f-8b87-bc305bd2b803' and 
>> tags 'UHa86077pK20D' ''
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG:<core>  
>> [dtrie.c:93]: free node at 0x7fd0fbfd8e80
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG:<core>  
>> [dtrie.c:93]: free node at 0x7fd0fbfd8d60
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG:<core>  
>> [dtrie.c:93]: free node at 0x7fd0fbfd8c40
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG:<core>  
>> [dtrie.c:93]: free node at 0x7fd0fbfd8b20
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG:<core>  
>> [dtrie.c:93]: free node at 0x7fd0fbfd8a00
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG:<core>  
>> [dtrie.c:93]: free node at 0x7fd0fbfd88e0
>> .........................................
>> .........................................
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG:<core>  
>> [dtrie.c:105]: free root at 0x7fd0fbfc4358
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG:<core>  
>> [dtrie.c:105]: free root at 0x7fd0fbfc4360
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: ERROR: ctl 
>> [ctl.c:379]: ERROR: ctl: could not delete unix socket 
>> /tmp/kamailio_ctl: Operation not permitted (1)
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG:<core>  
>> [db_pool.c:102]: removing connection from the pool
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG: tm 
>> [t_funcs.c:122]: DEBUG: tm_shutdown : start
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG: tm 
>> [t_funcs.c:125]: DEBUG: tm_shutdown : emptying hash table
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG: tm 
>> [t_hooks.c:288]: DBG: trans=0x7fd0fc01b848, callback type 32768, id 0 
>> entered
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG: tm 
>> [t_funcs.c:127]: DEBUG: tm_shutdown : removing semaphores
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG: tm 
>> [t_funcs.c:129]: DEBUG: tm_shutdown : destroying tmcb lists
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG: tm 
>> [t_funcs.c:132]: DEBUG: tm_shutdown : done
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG:<core>  
>> [mem/shm_mem.c:242]: shm_mem_destroy
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG:<core>  
>> [mem/shm_mem.c:245]: destroying the shared memory lock
>> Feb 24 14:52:29 sbc /usr/sbin/kamailio[18295]: DEBUG:<core>  
>> [main.c:770]: terminating due to SIGCHLD
>>
>>
>>
>> El 24/02/2012, a las 22:57, Daniel-Constantin Mierla escribió:
>>
>>> Hello,
>>>
>>> do you get a core dump or other log messages after the last one you 
>>> sent?
>>>
>>> The log message shows that topoh went over the rr checking, so it is 
>>> somewhere later, could be related or not at all.
>>>
>>> Cheers,
>>> Daniel
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>

-- 
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/




More information about the sr-users mailing list