[sr-dev] [tracker] Task opened: Kamailio 3.2.1 Dialog Crash

sip-router admin at sip-router.org
Thu Dec 1 21:39:34 CET 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Brandon Armstead (CRYY2010) 

Attached to Project - sip-router
Summary - Kamailio 3.2.1 Dialog Crash
Task Type - Bug Report
Category - dialog
Status - Assigned
Assigned To - Timo Reimann
Operating System - All
Severity - Critical
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Experiencing dialog crash with 3.2.1 (compiled from latest git branch).

*** BACK TRACE ***

#0  0x00007f5b8b927f65 in internal_get_dlg (h_entry=3635, callid=0x7fff970b86c0, ftag=0x7fff970b86b0, ttag=0x7fff970b86a0, dir=0x0) at dlg_hash.c:511
#1  0x00007f5b8b928c7f in get_dlg (callid=0x7fff970b86c0, ftag=0x7fff970b86b0, ttag=0x7fff970b86a0, dir=0x0) at dlg_hash.c:549
#2  0x00007f5b8b923605 in dlg_get_msg_dialog (msg=0x7f5b8d938b30) at dlg_handlers.c:988
#3  0x00007f5b8b940566 in pv_get_dlg (msg=0x7f5b8d938b30, param=0x7f5b66b4e570, res=0x7fff970b8770) at dlg_var.c:524
#4  0x000000000048a131 in pv_get_spec_value (msg=0x7f5b8d938b30, sp=0x7f5b8dcb18c0, value=0x0) at pvapi.c:1178
#5  0x000000000048acbd in pv_printf (msg=0x7f5b8d938b30, list=<value optimized out>, buf=<value optimized out>, len=0x7fff970b87e4) at pvapi.c:1236
#6  0x00007f5b8a443399 in ops_dbquery_avps (msg=0xe33, query=0x7f5b66b4e570, dest=0x0) at avpops_impl.c:748
#7  0x0000000000417b24 in do_action (h=0x7fff970ba370, a=0x7f5b8d8580a8, msg=0x7f5b8d938b30) at action.c:1122
#8  0x000000000041e269 in run_actions (h=0x7fff970ba370, a=0x7f5b8d8580a8, msg=0x7f5b8d938b30) at action.c:1610
#9  0x0000000000417545 in do_action (h=0x7fff970ba370, a=0x7f5b8d858428, msg=0x7f5b8d938b30) at action.c:1111
#10 0x000000000041e269 in run_actions (h=0x7fff970ba370, a=0x7f5b8d831d28, msg=0x7f5b8d938b30) at action.c:1610
#11 0x0000000000418bc2 in do_action (h=0x7fff970ba370, a=0x7f5b8dbffd28, msg=0x7f5b8d938b30) at action.c:732
#12 0x000000000041e269 in run_actions (h=0x7fff970ba370, a=0x7f5b8da39e90, msg=0x7f5b8d938b30) at action.c:1610
#13 0x0000000000417545 in do_action (h=0x7fff970ba370, a=0x7f5b8dbfffa8, msg=0x7f5b8d938b30) at action.c:1111
#14 0x000000000041e269 in run_actions (h=0x7fff970ba370, a=0x7f5b8d85b6b0, msg=0x7f5b8d938b30) at action.c:1610
#15 0x0000000000418bc2 in do_action (h=0x7fff970ba370, a=0x7f5b8d831020, msg=0x7f5b8d938b30) at action.c:732
#16 0x000000000041e269 in run_actions (h=0x7fff970ba370, a=0x7f5b8d830ee0, msg=0x7f5b8d938b30) at action.c:1610
#17 0x0000000000417545 in do_action (h=0x7fff970ba370, a=0x7f5b8d831b08, msg=0x7f5b8d938b30) at action.c:1111
#18 0x000000000041e269 in run_actions (h=0x7fff970ba370, a=0x7f5b8d786940, msg=0x7f5b8d938b30) at action.c:1610
#19 0x000000000041e553 in run_top_route (a=0x7f5b8d786940, msg=0x7f5b8d938b30, c=<value optimized out>) at action.c:1683
#20 0x0000000000499825 in receive_msg (
    buf=0x8c02c0 "INVITE sip:REQUEST_URI at KAMAILIO-PROXY SIP/2.0\r\nRecord-Route: <sip:PSTN;lr=on;ftag=gK033f9f69>\r\nRecord-Route: <sip:PSTN;lr=on;ftag=gK033f9f69>\r\nAccept: application/sdp\r\nAllo"..., 
    len=<value optimized out>, rcv_info=0x7fff970ba5e0) at receive.c:207
#21 0x0000000000525553 in udp_rcv_loop () at udp_server.c:544
#22 0x000000000046743d in main_loop () at main.c:1585
#23 0x000000000046b0f4 in main (argc=<value optimized out>, argv=0x7fff970ba8c8) at main.c:2475
#0  0x00007f5b8b927f65 in internal_get_dlg (h_entry=3635, callid=0x7fff970b86c0, ftag=0x7fff970b86b0, ttag=0x7fff970b86a0, dir=0x0) at dlg_hash.c:511
	dlg = (struct dlg_cell *) 0x7f5b66bfd7b0
	d_entry = (struct dlg_entry *) 0x7f5b66b4b9d8
#1  0x00007f5b8b928c7f in get_dlg (callid=0x7fff970b86c0, ftag=0x7fff970b86b0, ttag=0x7fff970b86a0, dir=0x0) at dlg_hash.c:549
	dlg = <value optimized out>
#2  0x00007f5b8b923605 in dlg_get_msg_dialog (msg=0x7f5b8d938b30) at dlg_handlers.c:988
	dlg = (dlg_cell_t *) 0x0
	callid = {
  s = 0x8c0503 "0863342_26657113 at 192.168.XXX.XXX\r\nCSeq: 12033 INVITE\r\nMax-Forwards: 190\r\nContact: <CONTACT_URI>\r\nContent-Length:  328\r\nContent-Disposition: session; handling=required\r\nContent-Ty"..., 
  len = 32}
	ftag = {
  s = 0x8c04ca "33f9f69\r\nTo: <sip:REQUEST_URI at PSTN>\r\nCall-ID: 1610863342_26657113 at 192.168.XXX.XXX\r\nCSeq: 12033 INVITE\r\nMax-Forwards: 190\r\nContact: <CONTACT_URI>\r\nContent-Length:  328\r\nCo"..., 
  len = 10}
	ttag = {s = 0x0, len = 0}
#3  0x00007f5b8b940566 in pv_get_dlg (msg=0x7f5b8d938b30, param=0x7f5b66b4e570, res=0x7fff970b8770) at dlg_var.c:524
	dlg = <value optimized out>
	sv = {s = 0x0, len = 0}
	ui = <value optimized out>
#4  0x000000000048a131 in pv_get_spec_value (msg=0x7f5b8d938b30, sp=0x7f5b8dcb18c0, value=0x0) at pvapi.c:1178
	ret = <value optimized out>
#5  0x000000000048acbd in pv_printf (msg=0x7f5b8d938b30, list=<value optimized out>, buf=<value optimized out>, len=0x7fff970b87e4) at pvapi.c:1236
	n = 106
	tok = {rs = {s = 0x0, len = 0}, ri = 0, flags = 0}
	it = (pv_elem_p) 0x7f5b8dcb18b0
	cur = 0x7f5b8a65544a ", socket, 5) - 5)"
#6  0x00007f5b8a443399 in ops_dbquery_avps (msg=0xe33, query=0x7f5b66b4e570, dest=0x0) at avpops_impl.c:748
	printbuf_len = 1023
	r = <value optimized out>
#7  0x0000000000417b24 in do_action (h=0x7fff970ba370, a=0x7f5b8d8580a8, msg=0x7f5b8d938b30) at action.c:1122
	ret = -5
	v = <value optimized out>
	dst = {send_sock = 0x3b, to = {s = {sa_family = 54088, sa_data = "�\215[\177\000\000h\214\v\227�\177\000"}, sin = {sin_family = 54088, sin_port = 36300, sin_addr = {s_addr = 32603}, sin_zero = "h\214\v\227�\177\000"}, sin6 = {
      sin6_family = 54088, sin6_port = 36300, sin6_flowinfo = 32603, sin6_addr = {in6_u = {u6_addr8 = "h\214\v\227�\177\000\000\0300�\215[\177\000", u6_addr16 = {35944, 38667, 32767, 0, 12312, 36299, 32603, 0}, u6_addr32 = {2534116456, 
            32767, 2378903576, 32603}}}, sin6_scope_id = 2375256880}}, id = 32603, proto = -67 '�', send_flags = {f = 172 '�', blst_imask = 72 'H'}}
	tmp = <value optimized out>
	new_uri = <value optimized out>
	end = <value optimized out>
	crt = <value optimized out>
	cmd = <value optimized out>
	len = <value optimized out>
	user = <value optimized out>
	uri = {user = {s = 0x7fff970b8c58 "i�A", len = 4955060}, passwd = {s = 0x7fff970ba370 "\006", len = -1760851008}, host = {s = 0x7f5b8d938b30 "", len = 4951269}, port = {s = 0x0, len = -1760851120}, params = {
    s = 0x7f5b8a237e33 "%s: %s%.*s", len = -1904567626}, sip_params = {s = 0x15 <Address 0x15 out of bounds>, len = -1904214542}, headers = {s = 0x7fff970b8c5c "", len = 20}, port_no = 35920, proto = 38667, type = 32767, flags = 4, 
  transport = {s = 0x7fff00000000 <Address 0x7fff00000000 out of bounds>, len = 0}, ttl = {s = 0xd8aa90 "UTC", len = -1920736321}, user_param = {s = 0x11 <Address 0x11 out of bounds>, len = -1916076032}, maddr = {s = 0x7f5b8d83e3bf "", 
    len = 17}, method = {s = 0x7f5b00000001 <Address 0x7f5b00000001 out of bounds>, len = 0}, lr = {s = 0x7f5b8d855e68 "", len = 4939908}, r2 = {s = 0xfc1b00 "", len = 0}, transport_val = {s = 0xec <Address 0xec out of bounds>, 
    len = -1760851200}, ttl_val = {s = 0x7fff970b8b30 "0\213\223\215[\177", len = -1920636304}, user_param_val = {s = 0xfc1b00 "", len = 1}, maddr_val = {s = 0x11 <Address 0x11 out of bounds>, len = 0}, method_val = {
    s = 0x7fff970b8bc0 "", len = -1760844944}, lr_val = {s = 0x7f5b8d938b30 "", len = 0}, r2_val = {s = 0x7fff970b8bc0 "", len = 4955544}}
	next_hop = {user = {s = 0x7fff970b0074 "", len = 5421688}, passwd = {s = 0x7fff970ba370 "\006", len = -1920636296}, host = {s = 0x7fff970b8bc8 "", len = -1919710416}, port = {s = 0x7f5b8d938b30 "", len = -1920636272}, params = {
    s = 0x7f5b8d856a68 "\034", len = 5422318}, sip_params = {s = 0x1 <Address 0x1 out of bounds>, len = -1920636713}, headers = {s = 0xa <Address 0xa out of bounds>, len = -1920663552}, port_no = 26839, proto = 36229, type = 32603, 
  flags = 10, transport = {s = 0x7f5b8d856a78 "", len = -1760851000}, ttl = {s = 0x7f5b66c5f4b0 "", len = -1919710416}, user_param = {s = 0x7f5b8d856a90 "", len = -2031066323}, maddr = {
    s = 0x3000000010 <Address 0x3000000010 out of bounds>, len = -1760851616}, method = {s = 0x7fff970b8990 "\211r", len = -1920640336}, lr = {s = 0x4100000111 <Address 0x4100000111 out of bounds>, len = -1920636713}, r2 = {
    s = 0xa <Address 0xa out of bounds>, len = 1724317880}, transport_val = {s = 0x7f5b8d855e60 "", len = 4317801}, ttl_val = {s = 0x7289 <Address 0x7289 out of bounds>, len = 130}, user_param_val = {s = 0x7f5b8d8568d7 "", len = 10}, 
  maddr_val = {s = 0x970b89d0 <Address 0x970b89d0 out of bounds>, len = 0}, method_val = {s = 0x7fff970ba370 "\006", len = -1920636296}, lr_val = {s = 0x0, len = -1760851008}, r2_val = {s = 0x7fff970ba370 "\006", len = -1919710416}}
	u = <value optimized out>
	port = <value optimized out>
Quit

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

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