[OpenSER-Devel] [ openser-Bugs-1825081 ] crash while using transformations

SourceForge.net noreply at sourceforge.net
Sat Nov 3 10:00:37 UTC 2007


Bugs item #1825081, was opened at 2007-11-03 12:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1825081&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver devel
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Dan (dan_pascu)
Assigned to: Nobody/Anonymous (nobody)
Summary: crash while using transformations

Initial Comment:
This happens with svn trunk rev 3009

The message contained a contact line like:

Contact: <sip:dan at 10.0.0.101:5062;line=bs90je1m>;q=1;expires=60;received=\"sip:85.17.186.6:5060;target=\"sip:193.230.183.51:5062\"\"

The transformation I used is:

$(hdr(contact){param.value,expire})

And this is the backtrace:

Core was generated by `/usr/sbin/openser -P /var/run/openser/openser.pid -m 128 -u openser -g openser'.
Program terminated with signal 11, Segmentation fault.
#0  free_params (_p=0x1d) at parser/parse_param.c:443
443     parser/parse_param.c: No such file or directory.
        in parser/parse_param.c
(gdb) bt
#0  free_params (_p=0x1d) at parser/parse_param.c:443
#1  0x080b1127 in tr_eval_paramlist (msg=0x81c36e0, tp=0x81b2b00, subtype=1, val=0xbfe3dee8) at transformations.c:573
#2  0x080b1f3f in run_transformations (msg=0x81c36e0, tr=0x81b2d30, val=0xbfe3dee8) at transformations.c:62
#3  0x0807a507 in pv_get_spec_value (msg=0x81c36e0, sp=0x81b2cf8, value=0xbfe3dee8) at pvar.c:3165
#4  0x0807a601 in pv_printf (msg=0x81c36e0, list=0x81b2cf0, buf=0x81be230 "expire = <sip:dan at 10.0.0.101:5062;line=bs90je1m>;q=1;expires=60;received=\"sip:85.17.186.6:5060;target=\"sip:193.230.183.51:5062\"\"", len=0xbfe3df58) at pvar.c:3235
#5  0xb7874a12 in xl_print_log (msg=0x81c36e0, list=0x81b2cf0, buf=0x81be230 "expire = <sip:dan at 10.0.0.101:5062;line=bs90je1m>;q=1;expires=60;received=\"sip:85.17.186.6:5060;target=\"sip:193.230.183.51:5062\"\"", len=0xbfe3df58) at xl_lib.c:39
#6  0xb7874b6d in xlog_2 (msg=0x81c36e0, lev=0x3 <Address 0x3 out of bounds>, frm=0x81b2cf0 "x-\033\b\t") at xlog.c:164
#7  0x08054b6c in do_action (a=0x81b2e00, msg=0x81c36e0) at action.c:816
#8  0x08056bbf in run_action_list (a=0x81b2c10, msg=0x81c36e0) at action.c:132
#9  0x08055f81 in do_action (a=0x81b2e58, msg=0x81c36e0) at action.c:689
#10 0x08056bbf in run_action_list (a=0x81b2948, msg=0x81c36e0) at action.c:132
#11 0x08056f79 in run_top_route (a=0x81b2948, msg=0x81c36e0) at action.c:112
#12 0xb795b029 in reply_received (p_msg=0x81c36e0) at t_reply.c:1326
#13 0x08061049 in forward_reply (msg=0x81c36e0) at forward.c:499
#14 0x08084530 in receive_msg (buf=0x8141180 "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 85.17.186.6;branch=z9hG4bKd9aa.6c30b705.0\r\nVia: SIP/2.0/UDP 10.0.0.101:5062;received=193.230.183.51;branch=z9hG4bK-1272a7mionnh;rport=5062\r\nFrom: \"Dan Pascu\" <sip:dan@"..., 
    len=570, rcv_info=0xbfe3e6a4) at receive.c:194
#15 0x080b5b87 in udp_rcv_loop () at udp_server.c:440
#16 0x080684a5 in main (argc=11, argv=0xbfe3e834) at main.c:788



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1825081&group_id=139143



More information about the Devel mailing list