K-S-V / Scripts

Collection of my scripts
GNU General Public License v3.0
635 stars 226 forks source link

Memory Corruption #8

Closed myrmidon-media closed 11 years ago

myrmidon-media commented 11 years ago

Steps to reproduce:

ffplay "rtmp://cp108478.live.edgefcs.net/live/sport1_1_800@45517 swfsize=927444 swfhash=6c1be1765187eae0bc9af07d858fae59a0effd3c5b803d08db261ced2c5512bb live=1 swfUrl=http://www.wilmaa.com/player/main_v5.033.swf"

Gives a memory corruption:

* glibc detected * ffplay: malloc(): memory corruption: 0x00007ffd00020630 ***

gdb says it's around (RTMP_Read)

K-S-V commented 11 years ago

if the issue is only after applying my patch file then i would like to fix the issue. have you tried directly with rtmpdump? i personally tried with rtmpdump (with my patches) and it gave me mixed results. sometimes it starts normally and other times it fails to decode rtmp packet. it may be borked server which randomly spits out wrong data. due to lack of time i may not be able to do any further debugging. however if you can figure out the offending code then i would like to fix the issue.