[rtmpdump] rtmpsuck Segmentation Fault

Howard Chu hyc at highlandsun.com
Wed Feb 17 19:55:14 CET 2010


Francisco Legaspi wrote:
> Unfortunately, I ran into another problem when trying to use it on the longer
> streams on that site. After some time, rtmpsuck will throw out a couple of error
> messages, and the video will stop playing. I made another debug log, and here are
> the lines right after the last RTMP_SendChunk section:
>
> DEBUG2: RTMP_ReadPacket: fd=5
>    0000:  c5                                                 .
> ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 60764
> DEBUG: RTMP_SendPause, 1, pauseTime=777685.00
> DEBUG2: RTMP_SendPacket: fd=0, size=29
>    0000:  48 00 00 00 00 00 1d 14                            H.......
>    0000:  02 00 05 70 61 75 73 65  00 00 00 00 00 00 00 00   ...pause........
>    0010:  00 05 01 01 00 41 27 bb  aa 00 00 00 00            .....A'......
> ERROR: WriteN, RTMP send error 88 (37 bytes)
> ERROR: Request timeout/select failed, ignoring request
> Closing connection... done!
>
> DEBUG: serverThread: processed request
>
> Caught signal: 2, cleaning up, just a second...
> DEBUG: Done, exiting...
>
>
> I didn't hit the pause button, so I have no idea where that came from.
> Any ideas on what's going on here? If you need to see more of the log,
> just let me know. I didn't want to upload the whole thing because it's
> over 2GB.

The connection timed out. The rtmpsuck sends the pause command automatically, 
to try to wake up the connection. (It will then send an unpause, 1 second 
later.) In this case, the pause command couldn't be sent because the 
connection was already broken. There's nothing we can do here, it's up to the 
original client to retry the connection.


More information about the rtmpdump mailing list