-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
seeking issue ("free(): invalid pointer") with some types of video file ... #702
Comments
Then it's 100% a ffmpeg bug. Why are you using 2.2-rc2? It's outdated. Of course it's possible that 2.2 proper or ffmpeg git master have the same problem. Can you try with mpv git master? I'm pretty sure this problem doesn't exist on Linux with ffmpeg git master and mpv git master. How exactly can this problem be reproduced? |
i'm using the "rebuild" script of mpv who rebuild & update all tools, i was thinking of its the actual git version of ffmpeg. Im using a personnal script to play with mpv/vlc/ffplay some remote web video files (a stuff like youtube-dl), this issue happen with video from "canalplus.fr" when i try to seek on it, but i found some videos from my personal vid directory with the same issue, all of them are encoded with Lavf55.21.101. |
Fixed the mpv-build update script. Now it prefers n2.2. |
same issue with ffmpeg version 2.2 |
Can you post a file with which this definitely happens? |
I sent you the command and the file link to your mailbox |
For the record: I can't reproduce a crash. But then I ran your command through:
Can I post your command line on the #ffmpeg-devel IRC channel, so others can reproduce? |
Le 07/04/2014 17:16, wm4 a écrit :
|
Also, I believe this doesn't happen with ffmpeg git head. |
ok so I while try to build it later |
You right, no issue with "ffmpeg version 2.2.git" (git head) , thanks wm4 |
Tried it again with ffmpeg 2.2.1, and couldn't reproduce. So I assume this is not an issue anymore. |
tools versions:
ffmpeg version 2.2-rc2
built on Apr 7 2014 14:07:05 with gcc 4.8
mpv 0.3.7-git-2758bc4 (C) 2000-2013 mpv/MPlayer/mplayer2 projects
built on 2014-04-07T12:16:46
ffmpeg library versions:
libavutil 52.66.100
libavcodec 55.52.102
libavformat 55.33.100
libswscale 2.5.101
libavfilter 4.2.100
libavresample 1.2.0
file infos:
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.21.101
Duration: 00:25:02.37, start: 0.000000, bitrate: 4193 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], 3997 kb/s, 30.47 fps, 29.97 tbr, 16k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 187 kb/s (default)
Metadata:
handler_name : SoundHandler
issue (when a seek command is used):
*** Error in `/home/pioneer/bin/mpv': free(): invalid pointer: 0x096924b4 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x767c2)[0xb74877c2]
/lib/i386-linux-gnu/libc.so.6(+0x77510)[0xb7488510]
/home/pioneer/bin/mpv[0x8899a82]
/home/pioneer/bin/mpv[0x8892fbe]
/home/pioneer/bin/mpv[0x83d9af4]
/home/pioneer/bin/mpv[0x83dd183]
/home/pioneer/bin/mpv[0x83e10eb]
/home/pioneer/bin/mpv[0x85b4ad2]
/lib/i386-linux-gnu/libpthread.so.0(+0x6d78)[0xb7f63d78]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb750301e]
gdb backtrace:
(gdb) bt
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb743faff in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#2 0xb7443083 in __GI_abort () at abort.c:90
#3 0xb747ca95 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0xb75800d0 "*** Error in `%s': %s: 0x%s ***\n")
#4 0xb74877c2 in malloc_printerr (action=, str=, ptr=0x96924b4) at malloc.c:4923
#5 0xb7488510 in _int_free (av=0xb75c1440 <main_arena>, p=0x96924ac, have_lock=0) at malloc.c:3779
#6 0x08899a82 in av_freep ()
#7 0x08892fbe in av_frame_unref ()
#8 0x083d9af4 in ff_h264_alloc_tables ()
#9 0x083dd183 in decode_slice_header ()
#10 0x083e10eb in h264_decode_frame ()
#11 0x085b4ad2 in frame_worker_thread ()
#12 0xb7f63d78 in start_thread (arg=0xb3facb40) at pthread_create.c:311
#13 0xb750301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
the same issue happen with ffplay version 2.2-rc2, but not with vlc version 2.2.0-git, not with mplayer(1) version 1.1-4.7, and not with avplay version 0.8.10-6
The text was updated successfully, but these errors were encountered: