xiejianying / doubango

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

webrtc2sip crash with high load #403

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It seems similar to Issue 122.

We are running webrtc2sip + asterisk + sipML5. After 30 minutes or so the 
webrtc2sip service abruptly stops leading to this result:

*INFO: Socket to remove: fd=12, index=0, tail.count=2
*INFO: CloseSocket(12)
*INFO: Socket to remove: fd=68, index=0, tail.count=1
*INFO: State machine: tsip_transac_nict_Trying_2_Completed_X_200_to_699
*INFO: State machine: x0000_Any_2_Terminated_X_i2xxBYE
*INFO: === INVITE Dialog terminated ===
*INFO: === ICT terminated ===
*INFO: *** ICT destroyed ***
*INFO: === ICT terminated ===
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x76d76)[0x7f99074f7d76]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f99074fcb1c]
/usr/local/lib/libtinySAK.so.0(tsk_object_unref+0x39)[0x7f9909f8a429]
/usr/local/lib/libtinySIP.so.0(tsip_dialog_layer_handle_incoming_msg+0xe3)[0x7f9
90986a723]
/usr/local/lib/libtinySIP.so.0(+0x6285f)[0x7f990989585f]
/usr/local/lib/libtinyNET.so.0(+0xfe12)[0x7f9909d3fe12]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50)[0x7f9907fb1b50]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f990755d0ed]
======= Memory map: ========
00400000-004e6000 r-xp 00000000 08:05 20990                              
/usr/local/sbin/webrtc2sip
006e5000-006e8000 rw-p 000e5000 08:05 20990                              
/usr/local/sbin/webrtc2sip
006e8000-006e9000 rw-p 00000000 00:00 0
00e2f000-0c1ac000 rw-p 00000000 00:00 0                                  [heap]
7f98b6ffe000-7f98b6fff000 ---p 00000000 00:00 0
7f98b6fff000-7f98b77ff000 rw-p 00000000 00:00 0
7f98b77ff000-7f98b7800000 ---p 00000000 00:00 0
7f98b7800000-7f98b8000000 rw-p 00000000 00:00 0
7f98b8000000-7f98b8f4f000 rw-p 00000000 00:00 0
7f98b8f4f000-7f98bc000000 ---p 00000000 00:00 0
7f98bc799000-7f98bc79a000 ---p 00000000 00:00 0
7f98bc79a000-7f98bcf9a000 rw-p 00000000 00:00 0
7f98bcf9a000-7f98bcf9b000 ---p 00000000 00:00 0
7f98bcf9b000-7f98bd79b000 rw-p 00000000 00:00 0
7f98bf79f000-7f98bf7a0000 ---p 00000000 00:00 0
7f98bf7a0000-7f98bffa0000 rw-p 00000000 00:00 0
7f98bffa0000-7f98bffa1000 ---p 00000000 00:00 0
7f98bffa1000-7f98c07a1000 rw-p 00000000 00:00 0
7f98c07a1000-7f98c07a2000 ---p 00000000 00:00 0
7f98c07a2000-7f98c0fa2000 rw-p 00000000 00:00 0
7f98c0fa2000-7f98c0fa3000 ---p 00000000 00:00 0
7f98c0fa3000-7f98c17a3000 rw-p 00000000 00:00 0
7f98c17a3000-7f98c17a4000 ---p 00000000 00:00 0
7f98c17a4000-7f98c1fa4000 rw-p 00000000 00:00 0
7f98c1fa4000-7f98c1fa5000 ---p 00000000 00:00 0
7f98c1fa5000-7f98c27a5000 rw-p 00000000 00:00 0
7f98c27a5000-7f98c27a6000 ---p 00000000 00:00 0
7f98c27a6000-7f98c2fa6000 rw-p 00000000 00:00 0
7f98c2fa6000-7f98c2fa7000 ---p 00000000 00:00 0
7f98c2fa7000-7f98c37a7000 rw-p 00000000 00:00 0
7f98c37a7000-7f98c37a8000 ---p 00000000 00:00 0
7f98c37a8000-7f98c3fa8000 rw-p 00000000 00:00 0
7f98c3fa8000-7f98c3fa9000 ---p 00000000 00:00 0
7f98c3fa9000-7f98c47a9000 rw-p 00000000 00:00 0
7f98c47a9000-7f98c47aa000 ---p 00000000 00:00 0
7f98c47aa000-7f98c4faa000 rw-p 00000000 00:00 0
7f98c4faa000-7f98c4fab000 ---p 00000000 00:00 0
7f98c4fab000-7f98c57ab000 rw-p 00000000 00:00 0
7f98c57ab000-7f98c57ac000 ---p 00000000 00:00 0
7f98c57ac000-7f98c5fac000 rw-p 00000000 00:00 0
7f98c5fac000-7f98c5fad000 ---p 00000000 00:00 0
7f98c5fad000-7f98c67ad000 rw-p 00000000 00:00 0
7f98c67ad000-7f98c67ae000 ---p 00000000 00:00 0
7f98c67ae000-7f98c6fae000 rw-p 00000000 00:00 0
7f98c6fae000-7f98c6faf000 ---p 00000000 00:00 0
7f98c6faf000-7f98c77af000 rw-p 00000000 00:00 0
7f98c77af000-7f98c77b0000 ---p 00000000 00:00 0
7f98c77b0000-7f98c7fb0000 rw-p 00000000 00:00 0
7f98c7fb0000-7f98c7fb1000 ---p 00000000 00:00 0
7f98c7fb1000-7f98c87b1000 rw-p 00000000 00:00 0
7f98c87b1000-7f98c87b2000 ---p 00000000 00:00 0
7f98c87b2000-7f98c8fb2000 rw-p 00000000 00:00 0
7f98c8fb2000-7f98c8fb3000 ---p 00000000 00:00 0
7f98c8fb3000-7f98c97b3000 rw-p 00000000 00:00 0
7f98c97b3000-7f98c97b4000 ---p 00000000 00:00 0
7f98c97b4000-7f98c9fb4000 rw-p 00000000 00:00 0
7f98c9fb4000-7f98c9fb5000 ---p 00000000 00:00 0
7f98c9fb5000-7f98ca7b5000 rw-p 00000000 00:00 0
7f98ca7b5000-7f98ca7b6000 ---p 00000000 00:00 0
7f98ca7b6000-7f98cafb6000 rw-p 00000000 00:00 0
7f98cafb6000-7f98cafb7000 ---p 00000000 00:00 0
7f98cafb7000-7f98cb7b7000 rw-p 00000000 00:00 0
7f98cb7b7000-7f98cb7b8000 ---p 00000000 00:00 0
7f98cb7b8000-7f98cbfb8000 rw-p 00000000 00:00 0
7f98cc7b9000-7f98cc7ba000 ---p 00000000 00:00 0
7f98cc7ba000-7f98ccfba000 rw-p 00000000 00:00 0
7f98ccfba000-7f98ccfbb000 ---p 00000000 00:00 0
7f98ccfbb000-7f98cd7bb000 rw-p 00000000 00:00 0
7f98cd7bb000-7f98cd7bc000 ---p 00000000 00:00 0
7f98cd7bc000-7f98cdfbc000 rw-p 00000000 00:00 0
7f98cdfbc000-7f98cdfbd000 ---p 00000000 00:00 0
7f98cdfbd000-7f98ce7bd000 rw-p 00000000 00:00 0
7f98ce7bd000-7f98ce7be000 ---p 00000000 00:00 0
7f98ce7be000-7f98cefbe000 rw-p 00000000 00:00 0
7f98cefbe000-7f98cefbf000 ---p 00000000 00:00 0
7f98cefbf000-7f98cf7bf000 rw-p 00000000 00:00 0
7f98cf7bf000-7f98cf7c0000 ---p 00000000 00:00 0
7f98cf7c0000-7f98cffc0000 rw-p 00000000 00:00 0
7f98cffc0000-7f98cffc1000 ---p 00000000 00:00 0
7f98cffc1000-7f98d07c1000 rw-p 00000000 00:00 0
7f98d07c1000-7f98d07c2000 ---p 00000000 00:00 0
7f98d07c2000-7f98d0fc2000 rw-p 00000000 00:00 0
7f98d0fc2000-7f98d0fc3000 ---p 00000000 00:00 0
7f98d0fc3000-7f98d17c3000 rw-p 00000000 00:00 0
7f98d17c3000-7f98d17c4000 ---p 00000000 00:00 0
7f98d17c4000-7f98d1fc4000 rw-p 00000000 00:00 0
7f98d1fc4000-7f98d1fc5000 ---p 00000000 00:00 0
7f98d1fc5000-7f98d27c5000 rw-p 00000000 00:00 0
7f98d27c5000-7f98d27c6000 ---p 00000000 00:00 0
7f98d27c6000-7f98d2fc6000 rw-p 00000000 00:00 0
7f98d2fc6000-7f98d2fc7000 ---p 00000000 00:00 0
7f98d2fc7000-7f98d37c7000 rw-p 00000000 00:00 0
7f98d37c7000-7f98d37c8000 ---p 00000000 00:00 0
7f98d37c8000-7f98d3fc8000 rw-p 00000000 00:00 0
7f98d3fc8000-7f98d3fc9000 ---p 00000000 00:00 0
7f98d3fc9000-7f98d47c9000 rw-p 00000000 00:00 0
7f98d47c9000-7f98d47ca000 ---p 00000000 00:00 0
7f98d47ca000-7f98d4fca000 rw-p 00000000 00:00 0
7f98d4fca000-7f98d4fcb000 ---p 00000000 00:00 0
7f98d4fcb000-7f98d57cb000 rw-p 00000000 00:00 0
7f98d57cb000-7f98d57cc000 ---p 00000000 00:00 0
7f98d57cc000-7f98d5fcc000 rw-p 00000000 00:00 0
7f98d5fcc000-7f98d5fcd000 ---p 00000000 00:00 0
7f98d5fcd000-7f98d67cd000 rw-p 00000000 00:00 0
7f98d67cd000-7f98d67ce000 ---p 00000000 00:00 0
7f98d67ce000-7f98d6fce000 rw-p 00000000 00:00 0
7f98d6fce000-7f98d6fcf000 ---p 00000000 00:00 0
7f98d6fcf000-7f98d77cf000 rw-p 00000000 00:00 0
7f98d77cf000-7f98d77d0000 ---p 00000000 00:00 0
7f98d77d0000-7f98d7fd0000 rw-p 00000000 00:00 0
7f98d7fd0000-7f98d7fd1000 ---p 00000000 00:00 0
7f98d7fd1000-7f98d87d1000 rw-p 00000000 00:00 0
7f98d87d1000-7f98d87d2000 ---p 00000000 00:00 0
7f98d87d2000-7f98d8fd2000 rw-p 00000000 00:00 0
7f98d8fd2000-7f98d8fd3000 ---p 00000000 00:00 0
7f98d8fd3000-7f98d97d3000 rw-p 00000000 00:00 0
7f98d97d3000-7f98d97d4000 ---p 00000000 00:00 0
7f98d97d4000-7f98d9fd4000 rw-p 00000000 00:00 0
7f98d9fd4000-7f98d9fd5000 ---p 00000000 00:00 0
7f98d9fd5000-7f98da7d5000 rw-p 00000000 00:00 0
7f98da7d5000-7f98da7d6000 ---p 00000000 00:00 0
7f98da7d6000-7f98dafd6000 rw-p 00000000 00:00 0
7f98dafd6000-7f98dafd7000 ---p 00000000 00:00 0
7f98dafd7000-7f98db7d7000 rw-p 00000000 00:00 0
7f98db7d7000-7f98db7d8000 ---p 00000000 00:00 0
7f98db7d8000-7f98dbfd8000 rw-p 00000000 00:00 0
7f98dbfd8000-7f98dbfd9000 ---p 00000000 00:00 0
7f98dbfd9000-7f98dc7d9000 rw-p 00000000 00:00 0
7f98dc7d9000-7f98dc7da000 ---p 00000000 00:00 0
7f98dc7da000-7f98dcfda000 rw-p 00000000 00:00 0
7f98dcfda000-7f98dcfdb000 ---p 00000000 00:00 0
7f98dcfdb000-7f98dd7db000 rw-p 00000000 00:00 0
7f98dd7db000-7f98dd7dc000 ---p 00000000 00:00 0
7f98dd7dc000-7f98ddfdc000 rw-p 00000000 00:00 0
7f98de7dd000-7f98de7de000 ---p 00000000 00:00 0
7f98de7de000-7f98defde000 rw-p 00000000 00:00 0
7f98defde000-7f98defdf000 ---p 00000000 00:00 0
7f98defdf000-7f98df7df000 rw-p 00000000 00:00 0
7f98df7df000-7f98df7e0000 ---p 00000000 00:00 0
7f98df7e0000-7f98dffe0000 rw-p 00000000 00:00 0 Aborted

We are running the latest revision of doubango and webrtc2sip on Debian linux 
(kernel 3.2.0-4-amd64).
Chrome version is 36.0.1985.143-1 (stable)

Could you please advice on what we are doing wrong?
Best Regards and thanks in advance,

M.

Original issue reported on code.google.com by gouk...@gmail.com on 27 Aug 2014 at 10:02

GoogleCodeExporter commented 9 years ago
same issue here. after closing a connection same segfault problem. using same 
environment. occurs with firefox as well as chrome.

Nov 19 11:32:49 rtc2 kernel: webrtc2sip[2496]: segfault at 78 ip 
00007f869f66f1bd sp 00007f8533785ce0 error 4 in 
libtinyDAV.so.0.0.0[7f869f653000+5d000]

Nov 19 16:03:06 rtc2 kernel: webrtc2sip[19626]: segfault at 78 ip 
00007fd1bef411bd sp 00007fd06efbcce0 error 4 in 
libtinyDAV.so.0.0.0[7fd1bef25000+5d000]

Nov 19 17:34:01 rtc2 kernel: webrtc2sip[9192]: segfault at 78 ip 
00007f632daf51bd sp 00007f61cbf96ce0 error 4 in 
libtinyDAV.so.0.0.0[7f632dad9000+5d000]

Original comment by starlein19 on 19 Nov 2014 at 5:18