[Kamailio-Devel] TM Handler / Timer Bug?

Henning Westerholt henning.westerholt at 1und1.de
Tue May 5 15:57:35 CEST 2009


On Samstag, 2. Mai 2009, Brandon Armstead wrote:
> Hello,
>
> This is tested using svn revision 5819 -- so I'm not sure if it has
> been fixed yet however, there seems to be a premature timeout on the
> fr_inv_timer.

Hi Brandon,

> May  1 22:06:04 sipdev /usr/local/sbin/kamailio[18310]:
> DBG:tm:cancel_branch: sending cancel...
> May  1 22:06:04 sipdev /usr/local/sbin/kamailio[18310]: DBG:tm:set_timer:
> relative timeout is 500000
> May  1 22:06:04 sipdev /usr/local/sbin/kamailio[18310]:
> DBG:tm:insert_timer_unsafe: [4]: 0x7f1141d87d08 (2315500000)
> May  1 22:06:04 sipdev /usr/local/sbin/kamailio[18310]: DBG:tm:set_timer:
> relative timeout is 30
> May  1 22:06:04 sipdev /usr/local/sbin/kamailio[18310]:
> DBG:tm:insert_timer_unsafe: [0]: 0x7f1141d87d38 (6940)
> May  1 22:06:04 sipdev /usr/local/sbin/kamailio[18310]:
> DBG:tm:final_response_handler: done
> May  1 22:06:04 sipdev /usr/local/sbin/kamailio[18310]:
> DBG:tm:timer_routine: timer routine:1,tl=0x7f1141d87ab0 next=(nil),
> timeout=6910
> May  1 22:06:04 sipdev /usr/local/sbin/kamailio[18310]:
> DBG:tm:final_response_handler: stop retr. and send CANCEL (0x7f1141d87860)
> May  1 22:06:04 sipdev /usr/local/sbin/kamailio[18310]:
> DBG:tm:t_should_relay_response: T_code=180, new_code=408
> May  1 22:06:04 sipdev /usr/local/sbin/kamailio[18310]:
> DBG:tm:t_pick_branch: picked branch 0, code 408
>
> I'm going to give this a guy from SVN trunk, and I'll update this -- just
> wondering if anyone else has experienced this similar issue?  Also are
> there any certain guidelines to generating a backtrace?  Thanks!

I did not experienced this so far. You can generate a backtrace with 
killall -SIGABRT kamailio for all processes, or kill -SIGABRT $kamailio-PID.

If you would like to trigger it from the script, there are also some functions 
available in the cfgutils module that implement this, "abort()".

Cheers,

Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/devel/attachments/20090505/ad85eb8b/attachment.htm 


More information about the Devel mailing list