Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 11-17-2014, 06:04 AM
bluebonic bluebonic is offline
Junior Member
 
Join Date: Nov 2014
Posts: 1
bluebonic is on a distinguished road
Default

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?
Reply With Quote
Reply Post New Thread
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 01:07 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons