Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

rtmpsuck segmentation fault

(http://stream-recorder.com/forum/showthread.php?t=19020)

bluebonic 11-17-2014 05:04 AM

rtmpsuck segmentation fault


 
Hi,

I'm trying to use rtmpsuck on debian wheezy. It basically works, but after a while I get a segmentation fault. I'm using a KSV patched version of rtmpdump. I'm not quite sure how to debug the crash, but I'm willing to try if someone can give me tips.

So far, I tried to get a dump with gdb. I manage to capture 3 crashes:

Code:

[Thread 0x7ffff3af4700 (LWP 14146) exited]

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7ffff42f5700 (LWP 14143)]
0x00007ffff7bcf64c in send () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) bt
#0  0x00007ffff7bcf64c in send () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff79aac38 in RTMPSockBuf_Send () from /usr/lib/librtmp.so.1
#2  0x00007ffff79ab1bd in WriteN () from /usr/lib/librtmp.so.1
#3  0x00007ffff79ac886 in RTMP_SendChunk () from /usr/lib/librtmp.so.1
#4  0x0000000000404390 in doServe ()
#5  0x00007ffff7bc7b50 in start_thread ()
  from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffff6c01e6d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Code:

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7ffff3af4700 (LWP 21880)]
0x00007ffff7bcf64c in send () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) bt
#0  0x00007ffff7bcf64c in send () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff79aac38 in RTMPSockBuf_Send () from /usr/lib/librtmp.so.1
#2  0x00007ffff79ab1bd in WriteN () from /usr/lib/librtmp.so.1
#3  0x00007ffff79ac886 in RTMP_SendChunk () from /usr/lib/librtmp.so.1
#4  0x0000000000404390 in doServe ()
#5  0x00007ffff7bc7b50 in start_thread ()
  from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffff6c01e6d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Code:

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7ffff591f700 (LWP 22158)]
0x00007ffff7bcf64c in send () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) bt
#0  0x00007ffff7bcf64c in send () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff79aac38 in RTMPSockBuf_Send () from /usr/lib/librtmp.so.1
#2  0x00007ffff79ab1bd in WriteN () from /usr/lib/librtmp.so.1
#3  0x00007ffff79ac886 in RTMP_SendChunk () from /usr/lib/librtmp.so.1
#4  0x0000000000404390 in doServe ()
#5  0x00007ffff7bc7b50 in start_thread ()
  from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffff6c01e6d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

I also see messages like this quite often:

Code:

WARNING: ignoring too small audio packet: size: 0
Code:

ERROR: WriteN, RTMP send error 9 (46 bytes)
Any ideas?


All times are GMT -6. The time now is 05:49 AM.