fangjz / sipml5

Automatically exported from code.google.com/p/sipml5
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

crashes on providing dtmf during call #143

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (Wireshark) or Javascript console log
if you want quick response

What steps will reproduce the problem?
1. webrtc crashes when we provide dtmf during call
2.
3.

What is the expected output? What do you see instead?
Expected Output: webrtc should not crash on providing dtmf
output after crash:
*INFO: State machine: tsip_transac_ist_Accepted_2_Accepted_iACK
*INFO: State machine: x0000_Connected_2_Connected_X_iACK
*INFO: State machine: ICE_ConnChecking_2_ConnCheckingCompleted_X_Success
*INFO: ICE callback: ConnCheck succeed
*INFO: max_bw_up=2147483647 kpbs, max_bw_down=2147483647 kpbs, 
congestion_ctrl_enabled=0, media_type=2
*INFO: SO_RCVBUF = 65535, SO_SNDBUF = 65535
*INFO: rtcp.remote_ip=192.168.1.90, rtcp.remote_port=53415, rtcp.local_fd=23
*INFO: tsk_timer_manager_start
*INFO: Timer manager already running
*INFO: srtp_use_different_keys=false
*INFO: tnet_transport_prepare()
*INFO: pipeR fd=31
*INFO: Socket added[RTP/RTCP Manager]: fd=31, tail.count=1
*INFO: master fd=23
*INFO: Socket added[RTP/RTCP Manager]: fd=23, tail.count=2
*INFO: Transport::run() - enter
*INFO: Audio denoiser to be opened(record_frame_size_samples=160, 
record_sampling_rate=8000, playback_frame_size_samples=160, 
playback_sampling_rate=8000)
*INFO: Starting [RTP/RTCP Manager] server with IP {192.168.1.20} on port 
{53226} using fd {23} with type {3}...
warning: The VAD has been replaced by a hack pending a complete rewrite
*INFO: Mapped address different than local connection address...probably 
symetric NAT: 122.180.153.18#192.168.1.20 or 63422#53226
*INFO: ICE context not active yet
*INFO: Using symetric RTP for [192.168.1.20]:14386
*INFO: State machine: No matching state found.
*** glibc detected *** ./webrtc2sip: double free or corruption (fasttop): 
0x00007fea040046e0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3cd8077e98]
/lib64/libc.so.6(cfree+0x76)[0x3cd807a456]
/usr/local/lib/libtinySAK.so.0(tsk_object_unref+0x42)[0x7fea0da8e442]
/usr/local/lib/libtinySAK.so.0[0x7fea0da8c5ef]
/usr/local/lib/libtinySAK.so.0(tsk_object_delete+0x2a)[0x7fea0da8e33a]
/usr/local/lib/libtinySAK.so.0(tsk_object_unref+0x42)[0x7fea0da8e442]
/usr/local/lib/libtinySAK.so.0[0x7fea0da9316f]
/lib64/libpthread.so.0[0x3cd8c073da]
/lib64/libc.so.6(clone+0x6d)[0x3cd80e627d]
======= Memory map: ========
00400000-004f1000 r-xp 00000000 08:03 4713372                            
/home/neha/WebRTC/abhi/webrtc2sip/webrtc2sip
006f0000-006f4000 rw-p 000f0000 08:03 4713372                            
/home/neha/WebRTC/abhi/webrtc2sip/webrtc2sip
01120000-012bc000 rw-p 00000000 00:00 0                                  [heap]
3cd7c00000-3cd7c20000 r-xp 00000000 08:03 2262933                        
/lib64/ld-2.9.so
3cd7e1f000-3cd7e20000 r--p 0001f000 08:03 2262933                        
/lib64/ld-2.9.so
3cd7e20000-3cd7e21000 rw-p 00020000 08:03 2262933                        
/lib64/ld-2.9.so
3cd8000000-3cd8168000 r-xp 00000000 08:03 2262934                        
/lib64/libc-2.9.so
3cd8168000-3cd8368000 ---p 00168000 08:03 2262934                        
/lib64/libc-2.9.so
3cd8368000-3cd836c000 r--p 00168000 08:03 2262934                        
/lib64/libc-2.9.so
3cd836c000-3cd836d000 rw-p 0016c000 08:03 2262934                        
/lib64/libc-2.9.so
3cd836d000-3cd8372000 rw-p 00000000 00:00 0
3cd8400000-3cd8402000 r-xp 00000000 08:03 2262935                        
/lib64/libdl-2.9.so
3cd8402000-3cd8602000 ---p 00002000 08:03 2262935                        
/lib64/libdl-2.9.so
3cd8602000-3cd8603000 r--p 00002000 08:03 2262935                        
/lib64/libdl-2.9.so
3cd8603000-3cd8604000 rw-p 00003000 08:03 2262935                        
/lib64/libdl-2.9.so
3cd8800000-3cd8884000 r-xp 00000000 08:03 2262936                        
/lib64/libm-2.9.so
3cd8884000-3cd8a83000 ---p 00084000 08:03 2262936                        
/lib64/libm-2.9.so
3cd8a83000-3cd8a84000 r--p 00083000 08:03 2262936                        
/lib64/libm-2.9.so
3cd8a84000-3cd8a85000 rw-p 00084000 08:03 2262936                        
/lib64/libm-2.9.so
3cd8c00000-3cd8c17000 r-xp 00000000 08:03 2262942                        
/lib64/libpthread-2.9.so
3cd8c17000-3cd8e16000 ---p 00017000 08:03 2262942                        
/lib64/libpthread-2.9.so
3cd8e16000-3cd8e17000 r--p 00016000 08:03 2262942                        
/lib64/libpthread-2.9.so
3cd8e17000-3cd8e18000 rw-p 00017000 08:03 2262942                        
/lib64/libpthread-2.9.so
3cd8e18000-3cd8e1c000 rw-p 00000000 00:00 0
3cd9000000-3cd9015000 r-xp 00000000 08:03 2262940                        
/lib64/libz.so.1.2.3
3cd9015000-3cd9214000 ---p 00015000 08:03 2262940                        
/lib64/libz.so.1.2.3
3cd9214000-3cd9215000 rw-p 00014000 08:03 2262940                        
/lib64/libz.so.1.2.3
3cd9800000-3cd9816000 r-xp 00000000 08:03 2262950                        
/lib64/libgcc_s-4.3.2-20081105.so.1
3cd9816000-3cd9a16000 ---p 00016000 08:03 2262950                        
/lib64/libgcc_s-4.3.2-20081105.so.1
3cd9a16000-3cd9a17000 rw-p 00016000 08:03 2262950                        
/lib64/libgcc_s-4.3.2-20081105.so.1
3cd9c00000-3cd9c08000 r-xp 00000000 08:03 2261062                        
/lib64/librt-2.9.so
3cd9c08000-3cd9e07000 ---p 00008000 08:03 2261062                        
/lib64/librt-2.9.so
3cd9e07000-3cd9e08000 r--p 00007000 08:03 2261062                        
/lib64/librt-2.9.so
3cd9e08000-3cd9e09000 rw-p 00008000 08:03 2261062                        
/lib64/librt-2.9.so
3cda400000-3cda4ee000 r-xp 00000000 08:03 3385275                        
/usr/lib64/libstdc++.so.6.0.10
3cda4ee000-3cda6ee000 ---p 000ee000 08:03 3385275                        
/usr/lib64/libstdc++.so.6.0.10
3cda6ee000-3cda6f5000 r--p 000ee000 08:03 3385275                        
/usr/lib64/libstdc++.so.6.0.10
3cda6f5000-3cda6f7000 rw-p 000f5000 08:03 3385275                        
/usr/lib64/libstdc++.so.6.0.10
3cda6f7000-3cda70a000 rw-p 00000000 00:00 0
3cdac00000-3cdac14000 r-xp 00000000 08:03 2262958                        
/lib64/libresolv-2.9.so
3cdac14000-3cdae14000 ---p 00014000 08:03 2262958                        
/lib64/libresolv-2.9.so
3cdae14000-3cdae15000 r--p 00014000 08:03 2262958                        
/lib64/libresolv-2.9.so
3cdae15000-3cdae16000 rw-p 00015000 08:03 2262958                        
/lib64/libresolv-2.9.so
3cdae16000-3cdae18000 rw-p 00000000 00:00 0
7fe9f4000000-7fe9f4021000 rw-p 00000000 00:00 0
7fe9f4021000-7fe9f8000000 ---p 00000000 00:00 0
7fe9f9ce9000-7fe9f9cea000 ---p 00000000 00:00 0
7fe9f9cea000-7fe9fa4ea000 rw-p 00000000 00:00 0
7fe9fa4ea000-7fe9fa4eb000 ---p 00000000 00:00 0
7fe9fa4eb000-7fe9faceb000 rw-p 00000000 00:00 0
7fe9faceb000-7fe9facec000 ---p 00000000 00:00 0
7fe9facec000-7fe9fb4ec000 rw-p 00000000 00:00 0
7fe9fb5ed000-7fe9fb5ee000 ---p 00000000 00:00 0
7fe9fb5ee000-7fe9fbdee000 rw-p 00000000 00:00 0
7fe9fbdee000-7fe9fbdef000 ---p 00000000 00:00 0
7fe9fbdef000-7fe9fc5ef000 rw-p 00000000 00:00 0
7fe9fc5ef000-7fe9fc5f0000 ---p 00000000 00:00 0
7fe9fc5f0000-7fe9fcdf0000 rw-p 00000000 00:00 0
7fe9fcdf0000-7fe9fcdf1000 ---p 00000000 00:00 0
7fe9fcdf1000-7fe9fd5f1000 rw-p 00000000 00:00 0
7fe9fd5f1000-7fe9fd5f2000 ---p 00000000 00:00 0
7fe9fd5f2000-7fe9fddf2000 rw-p 00000000 00:00 0
7fe9fddf2000-7fe9fddf3000 ---p 00000000 00:00 0
7fe9fddf3000-7fe9fe5f3000 rw-p 00000000 00:00 0
7fe9fe5f3000-7fe9fe5f4000 ---p 00000000 00:00 0
7fe9fe5f4000-7fe9fedf4000 rw-p 00000000 00:00 0
7fe9fedf4000-7fe9fedf5000 ---p 00000000 00:00 0
7fe9fedf5000-7fe9ff5f5000 rw-p 00000000 00:00 0
7fe9ff5f5000-7fe9ff5f6000 ---p 00000000 00:00 0
7fe9ff5f6000-7fe9ffdf6000 rw-p 00000000 00:00 0
7fe9ffdf6000-7fe9ffdf7000 ---p 00000000 00:00 0
7fe9ffdf7000-7fea005f7000 rw-p 00000000 00:00 0
7fea005f7000-7fea005f8000 ---p 00000000 00:00 0
7fea005f8000-7fea00df8000 rw-p 00000000 00:00 0
7fea00df8000-7fea00df9000 ---p 00000000 00:00 0
7fea00df9000-7fea015f9000 rw-p 00000000 00:00 0
7fea015f9000-7fea015fa000 ---p 00000000 00:00 0
7fea015fa000-7fea01ffc000 rw-p 00000000 00:00 0
7fea01ffc000-7fea01ffd000 ---p 00000000 00:00 0
7fea01ffd000-7fea027fd000 rw-p 00000000 00:00 0
7fea027fd000-7fea027fe000 ---p 00000000 00:00 0
7fea027fe000-7fea02ffe000 rw-p 00000000 00:00 0
7fea02ffe000-7fea02fff000 ---p 00000000 00:00 0
7fea02fff000-7fea037ff000 rw-p 00000000 00:00 0
7fea037ff000-7fea03800000 ---p 00000000 00:00 0 Aborted

What version of the product are you using? On what operating system?
sipml5 and doubango 2.0

Operating system details:
Fedora release 10

Please provide any additional information below.

Original issue reported on code.google.com by neha.sai...@gmail.com on 16 Dec 2013 at 11:54