[Kamailio-Devel] Extra accounting crashes Kamailio 1.4.4

Robin Vleij robin at swip.net
Tue May 19 20:23:01 CEST 2009


Hi!

I just upgraded to 1.4.4 and everything seemed OK till we got the  
first crash on our of our frontends.
The core dump showed some stuff which I then connected to the  
following theads on the opensips list:

http://lists.opensips.org/pipermail/devel/2008-December/001566.html

I'm no expert, but it seems the same. We're also using extra accounting:

modparam("acc", "radius_extra", "Calling-Station-Id=$fu;Called-Station- 
Id=$ru;User-Name=$aU;Sip-Translated-Request-URI=$ru;Sip-CSeq=$cs;Sip- 
Diversion-Header=$di;Sip-Source-IP-Address=$si ")

and we get a crash that looks the same to me (see my gbd output below).

Question is, was this fixed in Kamailio 1.4.4 as well? I can't find  
anything about it and since the projects are not the same anymore I'm  
not sure that we take each others fixes.

GBD Output:

Loaded symbols for /lib/libnss_files.so.2
Core was generated by `kamailio'.
Program terminated with signal 11, Segmentation fault.
#0  free_to (tb=0x6a78a8) at parser/parse_to.c:75
75                      foo = tp->next;
(gdb) backtrace
#0  free_to (tb=0x6a78a8) at parser/parse_to.c:75
#1  0x0000000000493c92 in clean_hdr_field (hf=0x2adbfb513818) at  
parser/hf.c:186
#2  0x00002adbf9ac1c99 in run_trans_callbacks (type=<value optimized  
out>, trans=<value optimized out>, req=0x2adbfb512208, rpl=0x6a6c28,  
code=<value optimized out>) at sip_msg.h:54
#3  0x00002adbf9acb1e5 in t_reply_matching (p_msg=0x6a6c28,  
p_branch=<value optimized out>) at t_lookup.c:847
#4  0x00002adbf9acb641 in t_check (p_msg=0x6a6c28,  
param_branch=0x7fffb2090a6c) at t_lookup.c:918
#5  0x00002adbf9adb717 in reply_received (p_msg=0x65ec20) at t_reply.c: 
1324
#6  0x000000000041e90a in forward_reply (msg=0x6a6c28) at forward.c:507
#7  0x000000000044dcdc in receive_msg (
<snip>




---
Robin Vleij
Swipnet / Tele2







More information about the Devel mailing list