Opened 14 years ago
Closed 14 years ago
#130 closed defect (fixed)
crash with file probe
Reported by: | ami_stuff | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avcodec |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | yes |
Description
I get the crash with attached file under win32
under amigaos i got in the past this:
Stream #0.0: Video: mpeg2video, yuv444p, 512x512 [PAR 1:1 DAR 1:1], 6000 kb/s, 30 fps, 30 tbr, 1200k tbn, 60 tbc
but now I get:
Stream #0.0: Video: mpeg2video (), yuv444p, 512x512 [PAR 1:1 DAR 1:1], 6000 kb/s, 30 fps, 30 tbr, 1200k tbn, 60 tbc
so maybe crash in strlen() make sense? (this is libav debug build btw, because I can't find debug ffmpeg)
C:\>gdb.exe C:\ffmpeg.exe GNU gdb (GDB) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "mingw32". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from C:\ffmpeg.exe...done. (gdb) r -i C:\tek3.m2v Starting program: C:\ffmpeg.exe -i C:\tek3.m2v [New Thread 2704.0xb2c] ffmpeg version git-79ee897, Copyright (c) 2000-2011 the Libav developers built on Apr 27 2011 02:33:44 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc 14) configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch= x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect --enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 - lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx libavutil 51. 1. 0 / 51. 1. 0 libavcodec 53. 1. 1 / 53. 1. 1 libavformat 53. 0. 3 / 53. 0. 3 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 3. 1 / 2. 3. 1 libswscale 1. 0. 0 / 1. 0. 0 [mpegvideo @ 0x36dbd60] Estimating duration from bitrate, this may be inaccurate Input #0, mpegvideo, from 'C:\tek3.m2v': Duration: 00:00:00.16, bitrate: 6000 kb/s Program received signal SIGSEGV, Segmentation fault. 0x77c378c0 in strlen () from C:\WINDOWS\system32\msvcrt.dll (gdb)
if this is reproductible with the head I will try to find rev when regression happened
Attachments (1)
Change History (5)
by , 14 years ago
comment:1 by , 14 years ago
Component: | undetermined → avcodec |
---|---|
Priority: | normal → important |
Reproduced by developer: | set |
Status: | new → open |
Version: | unspecified → git-master |
comment:3 by , 14 years ago
Should be fixed in git-N-29445-ge5d80c7:
commit e5d80c7b2d893422e2e60a97e08bfc48ca1684e6
Author: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date: Thu Apr 28 01:42:56 2011 +0200
mpeg12: terminate mpeg2_video_profiles arrays
Make av_get_profile_name() return NULL if no profile is detected.
Fix trac issue #130, fix crash reading file tek3.m2v.
Please confirm and close the issue.
comment:4 by , 14 years ago
Analyzed by developer: | set |
---|---|
Resolution: | → fixed |
Status: | open → closed |