fmwviormv / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

webrtc2sip crush when login to SIP proxy from SIPML5 #207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Using SIPML5, try to login to SIP proxy via webrtc2sip. 
2.webrtc2sip crush before sending anything to the SIP proxy.

What is the expected output? What do you see instead?

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff18af700 (LWP 30408)]
0x00007ffff7b8ee8c in tsip_transac_send (self=0x7fffdc000b70, 
branch=0x7fffdc0026d0 "z9hG4bKWx0GnEG2Mppvtd9moC7WFPadsLCpuV0G", 
    msg=0x7fffdc000ff0) at src/transactions/tsip_transac.c:227
227         tsk_strupdate(&msg->sigcomp_id, 
TSIP_TRANSAC_GET_SESSION(self)->sigcomp_id);
(gdb) bt
#0  0x00007ffff7b8ee8c in tsip_transac_send (self=0x7fffdc000b70, 
branch=0x7fffdc0026d0 "z9hG4bKWx0GnEG2Mppvtd9moC7WFPadsLCpuV0G", 
    msg=0x7fffdc000ff0) at src/transactions/tsip_transac.c:227
#1  0x00007ffff7b931af in tsip_transac_nict_Started_2_Trying_X_send 
(app=<optimized out>) at src/transactions/tsip_transac_nict.c:357
#2  0x00007ffff7def477 in tsk_fsm_act (self=0x7fffdc000c60, action=<optimized 
out>, cond_data1=<optimized out>, cond_data2=0x0)
    at src/tsk_fsm.c:164
#3  0x00007ffff7b8ecde in tsip_transac_fsm_act (self=0x7fffdc000b70, 
action_id=255, message=0x0)
    at src/transactions/tsip_transac.c:267
#4  0x00007ffff7b9261e in tsip_transac_nict_start (self=0x7fffdc000b70, 
request=0x7fffdc000ff0)
    at src/transactions/tsip_transac_nict.c:332
#5  0x00007ffff7b6f195 in tsip_dialog_layer_handle_incoming_msg 
(self=<optimized out>, message=0x7fffdc000ff0)
    at src/dialogs/tsip_dialog_layer.c:478
#6  0x00007ffff7b991aa in tsip_transport_layer_ws_cb (e=0x7fffd00008f0) at 
src/transports/tsip_transport_layer.c:523
#7  0x00007ffff790d072 in run (self=0x653320) at src/tnet_transport.c:848
#8  0x000000363ea07851 in start_thread () from /lib64/libpthread.so.0
#9  0x000000363e2e811d in clone () from /lib64/libc.so.6

What version of the product are you using? On what operating system?
webrtc2sip version 2.2.0 on CentOS 6.3 64 bit

Please provide any additional information below.

(gdb) print msg->sigcomp_id
$1 = 0x0

(gdb) print *self
$2 = {__def__ = 0x7ffff7de4d20 <tsip_transac_nict_def_s>, refCount = 3, type = 
tsip_transac_type_nict, dst = 0x7fffdc000b40, 
  fsm = 0x7fffdc000c60, reliable = 0, running = 1, initialized = 1, 
  branch = 0x7fffdc0026d0 "z9hG4bKWx0GnEG2Mppvtd9moC7WFPadsLCpuV0G", cseq_value = 62776, cseq_method = 0x7fffdc000c10 "REGISTER", 
  callid = 0x7fffdc000c30 "9945e1b3-142b-8803-c700-b407a5e4e6e9", callback = 0x7ffff7b932e0 <tsip_transac_nict_event_callback>}

Original issue reported on code.google.com by sagi.am...@gmail.com on 7 Feb 2013 at 4:12

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 7 Feb 2013 at 4:19

GoogleCodeExporter commented 9 years ago
Fixed by r815

Original comment by boss...@yahoo.fr on 7 Feb 2013 at 4:30

GoogleCodeExporter commented 9 years ago
Thanks, it worked.

Original comment by sagi.am...@gmail.com on 11 Feb 2013 at 1:59