[Bug submit] Segmentation Fault
Hi, I discovered rtmpdump tonight and it seems to be the exact tool i need to retrieve a rtmp dump on a website. I try to download a stream with rtmpdump 2.3, but i had the following error : rtmpdump --verbose --debug -r "rtmpe://wske.wat.tv/ondemand/mp4:vod/H264-384x288/06/01/7130601.h264?bu=TF1&login=mentalist&i=78.224.146.115&u=58a636b81ca90ccabda546640dcbe036&sum=62a9f323c108a16ef109163410f278f4" -W "http://www.wat.tv/images/v40/PlayerWat.swf?revision=4.0.4" WARNING: HandShake: Type mismatch: client sent 6, server answered 9 DEBUG: HandShake: Server Uptime : 566467773 DEBUG: HandShake: FMS Version : 3.5.7.1 WARNING: HandShake: Server not genuine Adobe! ERROR: RTMP_Connect1, handshake failed. DEBUG: Closing connection. Then i read that only the rtmpdump 2.4 handle the rtmpe, so i downloaded it from the git master branch and launched it again : rtmpdump --verbose --debug -r "rtmpe://wske.wat.tv/ondemand/mp4:vod/H264-384x288/06/01/7130601.h264?bu=TF1&login=mentalist&i=78.224.146.115&u=58a636b81ca90ccabda546640dcbe036&sum=62a9f323c108a16ef109163410f278f4" -W "http://www.wat.tv/images/v40/PlayerWat.swf?revision=4.0.4" RTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL DEBUG: Parsing... DEBUG: Parsed protocol: 2 DEBUG: Parsed host : wske.wat.tv DEBUG: Parsed app : ondemand DEBUG: Protocol : RTMPE DEBUG: Hostname : wske.wat.tv DEBUG: Port : 1935 DEBUG: Playpath : mp4:vod/H264-384x288/06/01/7130601.h264?bu=TF1&login=mentalist&i=78.224.146.115&u=58a636b81ca90ccabda546640dcbe036&sum=62a9f323c108a16ef109163410f278f4 DEBUG: tcUrl : rtmpe://wske.wat.tv:1935/ondemand DEBUG: swfUrl : http://www.wat.tv/images/v40/PlayerWat.swf?revision=4.0.4 DEBUG: app : ondemand DEBUG: live : no DEBUG: timeout : 0 sec DEBUG: SWFSHA256: DEBUG: 0d f6 22 f9 c7 14 e1 89 3e 65 ec b8 12 e7 72 1e DEBUG: a4 0d fe f8 fd 3a fa ce d5 eb 4a be 84 fd 06 5e DEBUG: SWFSize : 307716 DEBUG: Setting buffer time to: 36000000ms Connecting ... Segmentation fault I tried with rtmp:// rtmpe://, with or without the -W parameter, but it segfaults everytime with the 2.4 version. I think this might happen because the stream is protected with DRM, or maybe i downloaded an unstable branch from the git server. But i would like to know if it is possible at all to download it :-) Thank you for your replies. Regards, -- Thibault Taillandier thibault@taillandier.name « L'imprimerie a permis au peuple de lire, Internet va lui permettre d'écrire » (Benjamin Bayart, 2009)
On Thu, 06 Oct 2011 22:34:39 +0200, Thibault Taillandier wrote:
Segmentation fault
please run it under gdb and create a backtrace so we can find out where its crashing. do gdb rtmpdump then type r -allyourrtmpdump -options -here When gdb encounters its problem, run the following commands and copy/paste the output into your bug report: bt disass $pc-32,$pc+32 info all-registers (we should probably copy this into rtmpdump webpage somewhere) -compn
Le 07/10/2011 03:12, compn a écrit :
Segmentation fault
On Thu, 06 Oct 2011 22:34:39 +0200, Thibault Taillandier wrote: please run it under gdb and create a backtrace so we can find out where its crashing. [...]
Hi, Thank you for this quick answer. Here is the result of the debugging commands : http://www.wilkins.fr/rtmpdump/crash1.log I'm available if more info is needed. Regards, -- Thibault Taillandier thibault@taillandier.name
Are you sure /usr/lib/librtmp.so.0 is from the same version as the rtmpdump you compiled? I found that building with shared library didn't work because I've got rtmpdump v2.3 on my system PATH, but when I compiled it as static it appeared to get as far as NetConnection.Connect.Rejected: AccessManager.Reject On Sat, Oct 8, 2011 at 5:32 AM, Thibault Taillandier <thibault@taillandier.name> wrote:
Le 07/10/2011 03:12, compn a écrit :
On Thu, 06 Oct 2011 22:34:39 +0200, Thibault Taillandier wrote:
Segmentation fault
please run it under gdb and create a backtrace so we can find out where its crashing. [...]
Hi,
Thank you for this quick answer.
Here is the result of the debugging commands :
http://www.wilkins.fr/rtmpdump/crash1.log
I'm available if more info is needed.
Regards,
-- Thibault Taillandier thibault@taillandier.name
_______________________________________________ rtmpdump mailing list rtmpdump@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
-- Adam Malcontenti-Wilson
participants (3)
-
Adam Malcontenti-Wilson -
compn -
Thibault Taillandier