Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#594 closed defect (fixed)

Combination of transpose, scale, pad filters results in segfault

Reported by: ignat Owned by:
Priority: important Component: avfilter
Version: git-master Keywords: sse3
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Hi,

when I am trying to execute following transcode I receive segmentation fault.

( I am trying to rotate initial video and then scale it down, adding two equal vertical black stripes on the left and right).

What is most peculiar is that if I change pad to pad=152,270,0,0 this segfault does not happen.

Please find ffmpeg output below:

ffmpeg -v 9 -loglevel 99 -i rotation_-90.MOV -vcodec libx264 -r 20 -b 768k -bt 768k -vf transpose=3,scale=152:270,pad=480:270:164:0 -s 480x270 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null
ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers

built on Oct 17 2011 15:23:13 with gcc 4.1.2 20071124 (Red Hat 4.1.2-42)
configuration: --prefix=/usr/local/media-utils --enable-libx264 --enable-libmp3lame --enable-shared --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-small --disable-ffserver --disable-ffplay --enable-memalign-hack --enable-gpl --enable-pthreads --extra-cflags=-I/usr/local/media-utils/include --extra-ldflags=-L/usr/local/media-utils/lib --enable-nonfree --enable-version3 --disable-decoder=amrnb
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x92b83a0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x92b83a0] ISO: File Type Major Brand: qt
[h264 @ 0x92baa60] Unsupported bit depth: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x92b83a0] All info found

Seems stream 0 codec frame rate differs from container frame rate: 1200.00 (1200/1) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotation_-90.MOV':

Metadata:

major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2011-10-25 10:56:51
encoder : 5.0
encoder-eng : 5.0
date : 2011-10-25T11:56:51+0100
date-eng : 2011-10-25T11:56:51+0100

Duration: 00:00:06.84, start: 0.000023, bitrate: 10871 kb/s

Stream #0.0(und), 41, 1/600: Video: h264, yuv420p, 1280x720, 1/1200, 10815 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc
Metadata:

creation_time : 2011-10-25 10:56:51

Stream #0.1(und), 101, 1/44100: Audio: aac, 44100 Hz, mono, s16, 63 kb/s
Metadata:

creation_time : 2011-10-25 10:56:51

[buffer @ 0x92c05e0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[scale @ 0x92bd620] w:1280 h:720 fmt:yuv420p -> w:480 h:270 fmt:yuv420p flags:0x4
[transpose @ 0x92b75c0] w:480 h:270 dir:3 -> w:270 h:480 rotation:clockwise vflip:1
[scale @ 0x92b7540] w:270 h:480 fmt:yuv420p -> w:152 h:270 fmt:yuv420p flags:0x4
[pad @ 0x92b7cc0] w:152 h:270 -> w:480 h:270 x:164 y:0 color:0x108080FF[yuva]
[libx264 @ 0x92bdda0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle? SSE4.1 Cache64
[libx264 @ 0x92bdda0] profile Constrained Baseline, level 2.1
Output #0, rawvideo, to '/dev/null':

Metadata:

major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2011-10-25 10:56:51
date-eng : 2011-10-25T11:56:51+0100
encoder-eng : 5.0
date : 2011-10-25T11:56:51+0100
encoder : Lavf53.4.0
Stream #0.0(und), 0, 1/90000: Video: libx264, yuv420p, 480x270, 1/20, q=2-31, pass 1, 768 kb/s, 90k tbn, 20 tbc
Metadata:

creation_time : 2011-10-25 10:56:51

Stream mapping:

Stream #0.0 -> #0.0

Press [q] to stop, ? for help
Segmentation fault

Attachments (1)

rotate_x.mp4 (1.6 MB) - added by ignat 5 years ago.
File that also demonstrates a segfault.

Download all attachments as: .zip

Change History (13)

Changed 5 years ago by ignat

File that also demonstrates a segfault.

comment:1 Changed 5 years ago by ignat

Ffmpeg output with attached file:
ffmpeg -v 9 -loglevel 99 -i rotate_x.mp4 -vcodec libx264 -r 20 -b 768k -bt 768k -vf transpose=3,scale=152:270,pad=480:270:164:0 -s 480x270 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null
ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers

built on Oct 17 2011 15:23:13 with gcc 4.1.2 20071124 (Red Hat 4.1.2-42)
configuration: --prefix=/usr/local/media-utils --enable-libx264 --enable-libmp3lame --enable-shared --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-small --disable-ffserver --disable-ffplay --enable-memalign-hack --enable-gpl --enable-pthreads --extra-cflags=-I/usr/local/media-utils/include --extra-ldflags=-L/usr/local/media-utils/lib --enable-nonfree --enable-version3 --disable-decoder=amrnb
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x89d03a0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x89d03a0] ISO: File Type Major Brand: 3gp4
[h264 @ 0x89d4a00] Unsupported bit depth: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x89d03a0] All info found

Seems stream 1 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 30000.00 (60000/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotate_x.mp4':

Metadata:

major_brand : 3gp4
minor_version : 768
compatible_brands: 3gp43gp6

Duration: 00:00:01.17, start: 0.000000, bitrate: 11299 kb/s

Stream #0.0(eng), 1, 1/16000: Audio: aac, 16000 Hz, mono, s16, 27 kb/s
Stream #0.1(eng), 27, 1/30000: Video: h264, yuv420p, 1280x720, 1/60000, 12667 kb/s, 28.85 fps, 30k tbr, 30k tbn, 60k tbc

[buffer @ 0x89d0d40] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[scale @ 0x89e5cc0] w:1280 h:720 fmt:yuv420p -> w:480 h:270 fmt:yuv420p flags:0x4
[transpose @ 0x89d7160] w:480 h:270 dir:3 -> w:270 h:480 rotation:clockwise vflip:1
[scale @ 0x89d70c0] w:270 h:480 fmt:yuv420p -> w:152 h:270 fmt:yuv420p flags:0x4
[pad @ 0x89d7820] w:152 h:270 -> w:480 h:270 x:164 y:0 color:0x108080FF[yuva]
[libx264 @ 0x89d14a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle? SSE4.1 Cache64
[libx264 @ 0x89d14a0] profile Constrained Baseline, level 2.1
Output #0, rawvideo, to '/dev/null':

Metadata:

major_brand : 3gp4
minor_version : 768
compatible_brands: 3gp43gp6
encoder : Lavf53.4.0
Stream #0.0(eng), 0, 1/90000: Video: libx264, yuv420p, 480x270, 1/20, q=2-31, pass 1, 768 kb/s, 90k tbn, 20 tbc

Stream mapping:

Stream #0.1 -> #0.0

Press [q] to stop, ? for help
Segmentation fault

comment:2 Changed 5 years ago by cehoyos

Is an external library (libx264) necessary to reproduce the crash?
Does the crash also happen with current git master?

Please provide backtrace etc. as explained on http://ffmpeg.org/bugreports.html

comment:3 Changed 5 years ago by ignat

Hi,
Thanks for the quick response.
I was able to get the crash with latest versions (of x264 and ffmpeg) with following results (below).
I will try to reduce command line to see if removing codec changes things.
(And since it is my local box now I will provide debug info for latest version, in some time)

ignat@optiplex-755:~/Videos/rotation$ /usr/local/bin/ffmpeg -v 9 -loglevel 99 -i rotate_x.mp4 -vcodec libx264 -r 20 -b 768k -bt 768k -vf transpose=3,scale=152:270,pad=480:270:164:0 -s 480x270 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null
ffmpeg version N-34062-g4416931, Copyright (c) 2000-2011 the FFmpeg developers

built on Oct 26 2011 17:18:28 with gcc 4.5.2
configuration: --prefix=/usr/local --enable-shared --enable-libx264 --enable-libfaac --enable-gpl --enable-libmp3lame --enable-pthreads --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-ffserver --disable-ffplay --enable-memalign-hack --disable-decoder=amrnb --enable-nonfree --enable-version3
libavutil 51. 22. 0 / 51. 22. 0
libavcodec 53. 23. 0 / 53. 23. 0
libavformat 53. 17. 0 / 53. 17. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 45. 0 / 2. 45. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x95f1aa0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x95f1aa0] ISO: File Type Major Brand: 3gp4
[aac @ 0x95f7f00] err{or,}_recognition separate: 1; 1
[aac @ 0x95f7f00] err{or,}_recognition combined: 1; 1
[aac @ 0x95f7f00] Unsupported bit depth: 0
[h264 @ 0x95f8e40] err{or,}_recognition separate: 1; 1
[h264 @ 0x95f8e40] err{or,}_recognition combined: 1; 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x95f1aa0] All info found
rfps: 29.333333 0.017250

Last message repeated 1 times

rfps: 29.416667 0.011961
rfps: 29.500000 0.007650
rfps: 29.583333 0.004317
rfps: 29.666667 0.001963
rfps: 29.750000 0.000586
rfps: 29.833333 0.000187
rfps: 29.916667 0.000766
rfps: 30.000000 0.002323

Last message repeated 1 times

rfps: 30.083333 0.004858

Last message repeated 1 times

rfps: 30.166667 0.008372

Last message repeated 1 times

rfps: 30.250000 0.012863

Last message repeated 1 times

rfps: 30.333333 0.018332

Last message repeated 1 times

rfps: 59.166667 0.017269
rfps: 59.250000 0.012071
rfps: 59.333333 0.007850
rfps: 59.416667 0.004607
rfps: 59.500000 0.002343
rfps: 59.583333 0.001056
rfps: 59.666667 0.000747
rfps: 59.750000 0.001417
rfps: 59.833333 0.003064
rfps: 59.916667 0.005690

Last message repeated 1 times

rfps: 29.970030 0.001651

Last message repeated 1 times

rfps: 59.940060 0.006602

Last message repeated 1 times

Seems stream 1 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 29.83 (179/6)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotate_x.mp4':

Metadata:

major_brand : 3gp4
minor_version : 768
compatible_brands: 3gp43gp6

Duration: 00:00:01.17, start: 0.000000, bitrate: 11299 kb/s

Stream #0:0(eng), 1, 1/16000: Audio: aac (mp4a / 0x6134706D), 16000 Hz, mono, s16, 27 kb/s
Stream #0:1(eng), 27, 1/30000: Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 1/60000, 12667 kb/s, 28.85 fps, 29.83 tbr, 30k tbn, 60k tbc

Please use -b:a or -b:v, -b is ambiguous
[buffer @ 0x95f9da0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[scale @ 0x95f9f80] w:1280 h:720 fmt:yuv420p -> w:480 h:270 fmt:yuv420p flags:0x4
[transpose @ 0x95f3d00] w:480 h:270 dir:3 -> w:270 h:480 rotation:clockwise vflip:1
[scale @ 0x95f3fa0] w:270 h:480 fmt:yuv420p -> w:152 h:270 fmt:yuv420p flags:0x4
[pad @ 0x95f4400] w:152 h:270 -> w:480 h:270 x:164 y:0 color:0x108080FF[yuva]
[libx264 @ 0x95f2600] err{or,}_recognition separate: 1; 1
[libx264 @ 0x95f2600] err{or,}_recognition combined: 1; 1
[libx264 @ 0x95f2600] using mv_range_thread = 40
[libx264 @ 0x95f2600] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0x95f2600] profile Constrained Baseline, level 2.1
[h264 @ 0x95f8e40] err{or,}_recognition separate: 1; 1
[h264 @ 0x95f8e40] err{or,}_recognition combined: 1; 1
Output #0, rawvideo, to '/dev/null':

Metadata:

major_brand : 3gp4
minor_version : 768
compatible_brands: 3gp43gp6
encoder : Lavf53.17.0
Stream #0:0(eng), 0, 1/90000: Video: h264, yuv420p, 480x270, 1/20, q=-1--1, pass 1, 768 kb/s, 90k tbn, 20 tbc

Stream mapping:

Stream #0.1 -> #0.0 (h264 -> libx264)

Press [q] to stop, ? for help
Segmentation fault

comment:4 Changed 5 years ago by ignat

Please find gdb output below:
(I've removed some intermediate ffmpeg output before segfault)
(Had to adjust command line - extra scaler (e.g. -s ) sneaked into graph)

Starting program: /home/ignat/external_src/ffmpeg/ffmpeg_g -v 9 -loglevel 99 -i rotate_x.mp4 -vcodec libx264 -r 20 -b 768k -bt 768k -vf transpose=3,scale=152:270,pad=480:270:164:0 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null
[Thread debugging using libthread_db enabled]
ffmpeg version N-34062-g4416931, Copyright (c) 2000-2011 the FFmpeg developers

built on Oct 26 2011 17:18:28 with gcc 4.5.2
configuration: --prefix=/usr/local --enable-shared --enable-libx264 --enable-libfaac --enable-gpl --enable-libmp3lame --enable-pthreads --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-ffserver --disable-ffplay --enable-memalign-hack --disable-decoder=amrnb --enable-nonfree --enable-version3
libavutil 51. 22. 0 / 51. 22. 0
libavcodec 53. 23. 0 / 53. 23. 0
libavformat 53. 17. 0 / 53. 17. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 45. 0 / 2. 45. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0

[buffer @ 0x8070da0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[transpose @ 0x806a8c0] w:1280 h:720 dir:3 -> w:720 h:1280 rotation:clockwise vflip:1
[scale @ 0x806abc0] w:720 h:1280 fmt:yuv420p -> w:152 h:270 fmt:yuv420p flags:0x4
[pad @ 0x806b020] w:152 h:270 -> w:480 h:270 x:164 y:0 color:0x108080FF[yuva]
[libx264 @ 0x8069600] err{or,}_recognition separate: 1; 1
[libx264 @ 0x8069600] err{or,}_recognition combined: 1; 1
[libx264 @ 0x8069600] using mv_range_thread = 40
[libx264 @ 0x8069600] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[New Thread 0xb69dab70 (LWP 7559)]
[New Thread 0xb61d9b70 (LWP 7560)]
[New Thread 0xb59d8b70 (LWP 7561)]
[New Thread 0xb4cbeb70 (LWP 7562)]
[libx264 @ 0x8069600] profile Constrained Baseline, level 2.1
[h264 @ 0x806fe40] err{or,}_recognition separate: 1; 1
[h264 @ 0x806fe40] err{or,}_recognition combined: 1; 1
Output #0, rawvideo, to '/dev/null':

Metadata:

major_brand : 3gp4
minor_version : 768
compatible_brands: 3gp43gp6
encoder : Lavf53.17.0
Stream #0:0(eng), 0, 1/90000: Video: h264, yuv420p, 480x270, 1/20, q=-1--1, pass 1, 768 kb/s, 90k tbn, 20 tbc

Stream mapping:

Stream #0.1 -> #0.0 (h264 -> libx264)

Press [q] to stop, ? for help

Program received signal SIGSEGV, Segmentation fault.
0xb7222217 in ?? () from /usr/local/lib/libswscale.so.2
(gdb) bt
#0 0xb7222217 in ?? () from /usr/local/lib/libswscale.so.2
#1 0x00000000 in ?? ()
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0xb72221f7 to 0xb7222237:

0xb72221f7: pmulhw %xmm0,%xmm2
0xb72221fb: pmulhw %xmm0,%xmm5
0xb72221ff: paddw %xmm2,%xmm3
0xb7222203: paddw %xmm5,%xmm4
0xb7222207: jne 0xb72221e0
0xb7222209: psraw $0x3,%xmm3
0xb722220e: psraw $0x3,%xmm4
0xb7222213: packuswb %xmm4,%xmm3

=> 0xb7222217: movntdq %xmm3,(%ebx,%ecx,1)

0xb722221c: add $0x10,%ecx
0xb722221f: cmp %eax,%ecx
0xb7222221: movdqa %xmm7,%xmm3
0xb7222225: movdqa %xmm7,%xmm4
0xb7222229: mov 0xc(%esp),%edx
0xb722222d: mov (%edx),%esi
0xb722222f: jb 0xb72221e0
0xb7222231: mov (%esp),%ebx
0xb7222234: mov 0x4(%esp),%esi

End of assembler dump.
(gdb) info all-registers
eax 0x98 152
ecx 0x0 0
edx 0x8080668 134743656
ebx 0x8a95624 145315364
esp 0xbfffc6b4 0xbfffc6b4
ebp 0x8081538 0x8081538
esi 0x0 0
edi 0x0 0
eip 0xb7222217 0xb7222217
eflags 0x210246 [ PF ZF IF RF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6)
st1 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6)
st2 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6)
st3 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6)
st4 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6)
st5 -nan(0xa6a6a6a6a6a6a6a6) (raw 0xffffa6a6a6a6a6a6a6a6)
st6 -nan(0x20002000200020) (raw 0xffff0020002000200020)
st7 0 (raw 0x00000000000000000000)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x80523c4 134554564
foseg 0x7b 123
fooff 0xbfffcdbc -1073754692
fop 0x19c 412
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x9d, 0x9d, 0x9d, 0x9d, 0x0 <repeats 12 times>}, v8_int16 = {

0x9d9d, 0x9d9d, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x9d9d9d9d, 0x0, 0x0, 0x0}, v2_int64 = {0x9d9d9d9d, 0x0},

uint128 = 0x0000000000000000000000009d9d9d9d}

xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x76, 0x75, 0x74, 0x6c, 0x6d,

0x76, 0x79, 0x7a, 0x76, 0x74, 0x74, 0x72, 0x75, 0x76, 0x77, 0x75}, v8_int16 = {0x7576, 0x6c74, 0x766d, 0x7a79, 0x7476, 0x7274, 0x7675, 0x7577},

v4_int32 = {0x6c747576, 0x7a79766d, 0x72747476, 0x75777675}, v2_int64 = {0x7a79766d6c747576, 0x7577767572747476},
uint128 = 0x75777675727474767a79766d6c747576}

xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x76, 0x0, 0x74, 0x0, 0x74, 0x0, 0x72, 0x0, 0x75, 0x0, 0x76,

0x0, 0x77, 0x0, 0x75, 0x0}, v8_int16 = {0x76, 0x74, 0x74, 0x72, 0x75, 0x76, 0x77, 0x75}, v4_int32 = {0x740076, 0x720074, 0x760075, 0x750077},

v2_int64 = {0x72007400740076, 0x75007700760075}, uint128 = 0x00750077007600750072007400740076}

xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x82, 0x82, 0x82, 0x82, 0x85,
---Type <return> to continue, or q <return> to quit---

0x83, 0x81, 0x7d, 0x80, 0x7f, 0x7e, 0x7e, 0x7c, 0x7b, 0x7b, 0x7b}, v8_int16 = {0x8282, 0x8282, 0x8385, 0x7d81, 0x7f80, 0x7e7e, 0x7b7c, 0x7b7b},

v4_int32 = {0x82828282, 0x7d818385, 0x7e7e7f80, 0x7b7b7b7c}, v2_int64 = {0x7d81838582828282, 0x7b7b7b7c7e7e7f80},
uint128 = 0x7b7b7b7c7e7e7f807d81838582828282}

xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0,

0x4, 0x0, 0x4, 0x0}, v8_int16 = {0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4}, v4_int32 = {0x40004, 0x40004, 0x40004, 0x40004}, v2_int64 = {
0x4000400040004, 0x4000400040004}, uint128 = 0x00040004000400040004000400040004}

mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ]
mm0 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6,

0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}}

mm1 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6,

0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}}

mm2 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6,

0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}}

mm3 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6,

0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}}

mm4 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6,

0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}}

mm5 {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6,

0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}}

mm6 {uint64 = 0x20002000200020, v2_int32 = {0x200020, 0x200020}, v4_int16 = {0x20, 0x20, 0x20, 0x20}, v8_int8 = {0x20, 0x0, 0x20, 0x0,

0x20, 0x0, 0x20, 0x0}}

mm7 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}

Last edited 5 years ago by ignat (previous) (diff)

comment:5 Changed 5 years ago by cehoyos

Is an external library (libx264) required to reproduce the problem?

Please recompile without --enable-shared, this will make the backtrace more useful.

comment:6 Changed 5 years ago by ignat

Please find gdb output for statically linked ffmpeg below.
Crash below was reproduced without transpose=3 filter.

I will investigate if using external library (x264) is required to reproduce crash tomorrow.

(gdb) r -v 9 -loglevel 99 -i rotate_x.mp4 -vcodec libx264 -r 20 -b 768k -bt 768k -vf scale=152:270,pad=480:270:164:0 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null
Starting program: /home/ignat/external_src/ffmpeg/ffmpeg_g -v 9 -loglevel 99 -i rotate_x.mp4 -vcodec libx264 -r 20 -b 768k -bt 768k -vf scale=152:270,pad=480:270:164:0 -an -preset medium -fastfirstpass 1 -profile baseline -pass 1 -passlogfile result.mp4.passlogfile -f rawvideo -y /dev/null
[Thread debugging using libthread_db enabled]

.....

Seems stream 1 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 29.83 (179/6)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotate_x.mp4':
  Metadata:
    major_brand     : 3gp4
    minor_version   : 768
    compatible_brands: 3gp43gp6
  Duration: 00:00:01.17, start: 0.000000, bitrate: 11299 kb/s
    Stream #0:0(eng), 1, 1/16000: Audio: aac (mp4a / 0x6134706D), 16000 Hz, mono, s16, 27 kb/s
    Stream #0:1(eng), 27, 1/30000: Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 1/60000, 12667 kb/s, 28.85 fps, 29.83 tbr, 30k tbn, 60k tbc
Please use -b:a or -b:v, -b is ambiguous
[buffer @ 0x8dd9da0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[scale @ 0x8dd3880] w:1280 h:720 fmt:yuv420p -> w:152 h:270 fmt:yuv420p flags:0x4
[pad @ 0x8dd3d60] w:152 h:270 -> w:480 h:270 x:164 y:0 color:0x108080FF[yuva]
[libx264 @ 0x8dd2600] err{or,}_recognition separate: 1; 1
[libx264 @ 0x8dd2600] err{or,}_recognition combined: 1; 1
[libx264 @ 0x8dd2600] using mv_range_thread = 40
[libx264 @ 0x8dd2600] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[New Thread 0xb77f7b70 (LWP 20488)]
[New Thread 0xb6ff6b70 (LWP 20489)]
[New Thread 0xb67f5b70 (LWP 20490)]
[New Thread 0xb5adbb70 (LWP 20491)]
[libx264 @ 0x8dd2600] profile Constrained Baseline, level 2.1
[h264 @ 0x8dd8e40] err{or,}_recognition separate: 1; 1
[h264 @ 0x8dd8e40] err{or,}_recognition combined: 1; 1
Output #0, rawvideo, to '/dev/null':
  Metadata:
    major_brand     : 3gp4
    minor_version   : 768
    compatible_brands: 3gp43gp6
    encoder         : Lavf53.17.0
    Stream #0:0(eng), 0, 1/90000: Video: h264, yuv420p, 480x270, 1/20, q=-1--1, pass 1, 768 kb/s, 90k tbn, 20 tbc
Stream mapping:
  Stream #0.1 -> #0.0 (h264 -> libx264)
Press [q] to stop, [?] for help


Program received signal SIGSEGV, Segmentation fault.
0x086d64c7 in yuv2yuvX_sse3 (filter=0x8de9538, filterSize=11, src=0x8dee890, 
    dest=0x97f7e04 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"..., dstW=152, dither=0x88382d8 "@@@@@@@@", offset=0)
    at libswscale/x86/swscale_mmx.c:196
196	    __asm__ volatile(
(gdb) bt
#0  0x086d64c7 in yuv2yuvX_sse3 (filter=0x8de9538, filterSize=11, src=0x8dee890, 
    dest=0x97f7e04 "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"..., dstW=152, dither=0x88382d8 "@@@@@@@@", offset=0)
    at libswscale/x86/swscale_mmx.c:196
#1  0x086c7bfc in swScale (c=0x8de7ba0, src=0xbfffc9b0, srcStride=0xbfffc980, srcSliceY=0, srcSliceH=720, dst=0xbfffc9a0, dstStride=0xbfffc990)
    at libswscale/swscale.c:2691
#2  0x086acb50 in sws_scale (c=0x8de7ba0, srcSlice=0xbfffca70, srcStride=0xbfffca50, srcSliceY=0, srcSliceH=720, dst=0xbfffca60, 
    dstStride=0xbfffca40) at libswscale/swscale_unscaled.c:807
#3  0x080a62f6 in scale_slice (link=0x8dd3c60, y=0, h=720, slice_dir=1) at libavfilter/vf_scale.c:294
#4  draw_slice (link=0x8dd3c60, y=0, h=720, slice_dir=1) at libavfilter/vf_scale.c:311
#5  0x08094f9e in avfilter_draw_slice (link=0x8dd3c60, y=0, h=720, slice_dir=1) at libavfilter/avfilter.c:641
#6  0x080a97ff in request_frame (link=0x8dd3c60) at libavfilter/vsrc_buffer.c:191
#7  0x0809433f in avfilter_request_frame (link=0x8dd4380) at libavfilter/avfilter.c:520
#8  0x0809895b in av_buffersink_get_buffer_ref (ctx=0x8def180, bufref=0x8dd2b98, flags=0) at libavfilter/sink_buffer.c:128
#9  0x08080f1b in output_packet (ist=0x8dd9d40, ist_index=1, ost_table=0x8dd2a00, nb_ostreams=1, pkt=0xbfffd17c) at ffmpeg.c:1852
#10 0x080868f5 in transcode (output_files=0x8dd3420, nb_output_files=1, input_files=0x8dd98e0, nb_input_files=1) at ffmpeg.c:2635
#11 0x0808b22d in main (argc=<value optimized out>, argv=<value optimized out>) at ffmpeg.c:4486
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0x86d64a7 to 0x86d64e7:
   0x086d64a7 <yuv2yuvX_sse3+103>:	pmulhw %xmm0,%xmm2
   0x086d64ab <yuv2yuvX_sse3+107>:	pmulhw %xmm0,%xmm5
   0x086d64af <yuv2yuvX_sse3+111>:	paddw  %xmm2,%xmm3
   0x086d64b3 <yuv2yuvX_sse3+115>:	paddw  %xmm5,%xmm4
   0x086d64b7 <yuv2yuvX_sse3+119>:	jne    0x86d6490 <yuv2yuvX_sse3+80>
   0x086d64b9 <yuv2yuvX_sse3+121>:	psraw  $0x3,%xmm3
   0x086d64be <yuv2yuvX_sse3+126>:	psraw  $0x3,%xmm4
   0x086d64c3 <yuv2yuvX_sse3+131>:	packuswb %xmm4,%xmm3
=> 0x086d64c7 <yuv2yuvX_sse3+135>:	movntdq %xmm3,(%ebx,%ecx,1)
   0x086d64cc <yuv2yuvX_sse3+140>:	add    $0x10,%ecx
   0x086d64cf <yuv2yuvX_sse3+143>:	cmp    %eax,%ecx
   0x086d64d1 <yuv2yuvX_sse3+145>:	movdqa %xmm7,%xmm3
   0x086d64d5 <yuv2yuvX_sse3+149>:	movdqa %xmm7,%xmm4
   0x086d64d9 <yuv2yuvX_sse3+153>:	mov    0xc(%esp),%edx
   0x086d64dd <yuv2yuvX_sse3+157>:	mov    (%edx),%esi
   0x086d64df <yuv2yuvX_sse3+159>:	jb     0x86d6490 <yuv2yuvX_sse3+80>
   0x086d64e1 <yuv2yuvX_sse3+161>:	mov    (%esp),%ebx
   0x086d64e4 <yuv2yuvX_sse3+164>:	mov    0x4(%esp),%esi
End of assembler dump.
(gdb) info all-registers
eax            0x98	152
ecx            0x0	0
edx            0x8de95e8	148805096
ebx            0x97f7e04	159350276
esp            0xbfffc754	0xbfffc754
ebp            0x8dea538	0x8dea538
esi            0x0	0
edi            0x0	0
eip            0x86d64c7	0x86d64c7 <yuv2yuvX_sse3+135>
eflags         0x210246	[ PF ZF IF RF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
st0            -nan(0xa6a6a6a6a6a6a6a6)	(raw 0xffffa6a6a6a6a6a6a6a6)
st1            -nan(0xa6a6a6a6a6a6a6a6)	(raw 0xffffa6a6a6a6a6a6a6a6)
st2            -nan(0xa6a6a6a6a6a6a6a6)	(raw 0xffffa6a6a6a6a6a6a6a6)
st3            -nan(0xa6a6a6a6a6a6a6a6)	(raw 0xffffa6a6a6a6a6a6a6a6)
st4            -nan(0xa6a6a6a6a6a6a6a6)	(raw 0xffffa6a6a6a6a6a6a6a6)
st5            -nan(0xa6a6a6a6a6a6a6a6)	(raw 0xffffa6a6a6a6a6a6a6a6)
st6            -nan(0x20002000200020)	(raw 0xffff0020002000200020)
st7            0	(raw 0x00000000000000000000)
fctrl          0x37f	895
fstat          0x20	32
ftag           0xffff	65535
fiseg          0x73	115
fioff          0x80838a4	134756516
foseg          0x7b	123
fooff          0xbfffcdcc	-1073754676
fop            0x19c	412
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x9e, 0x9f, 0x9e, 0x9f, 0x0 <repeats 12 times>}, v8_int16 = {
    0x9f9e, 0x9f9e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x9f9e9f9e, 0x0, 0x0, 0x0}, v2_int64 = {0x9f9e9f9e, 0x0}, 
  uint128 = 0x0000000000000000000000009f9e9f9e}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x92, 0x92, 0x93, 0x92, 0x90, 0x92, 0x92, 0x90, 0x8a, 0x8d, 
    0x8f, 0x8f, 0x8d, 0x8b, 0x96, 0x9b}, v8_int16 = {0x9292, 0x9293, 0x9290, 0x9092, 0x8d8a, 0x8f8f, 0x8b8d, 0x9b96}, v4_int32 = {0x92939292, 
    0x90929290, 0x8f8f8d8a, 0x9b968b8d}, v2_int64 = {0x9092929092939292, 0x9b968b8d8f8f8d8a}, uint128 = 0x9b968b8d8f8f8d8a9092929092939292}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x8a, 0x0, 0x8d, 0x0, 0x8f, 0x0, 0x8f, 0x0, 0x8d, 0x0, 0x8b, 
    0x0, 0x96, 0x0, 0x9b, 0x0}, v8_int16 = {0x8a, 0x8d, 0x8f, 0x8f, 0x8d, 0x8b, 0x96, 0x9b}, v4_int32 = {0x8d008a, 0x8f008f, 0x8b008d, 0x9b0096}, 
  v2_int64 = {0x8f008f008d008a, 0x9b0096008b008d}, uint128 = 0x009b0096008b008d008f008f008d008a}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x82, 0x82, 0x82, 0x82, 0x85, 
    0x83, 0x81, 0x7d, 0x80, 0x7f, 0x7e, 0x7e, 0x7c, 0x7b, 0x7b, 0x7b}, v8_int16 = {0x8282, 0x8282, 0x8385, 0x7d81, 0x7f80, 0x7e7e, 0x7b7c, 0x7b7b}, 
---Type <return> to continue, or q <return> to quit---
  v4_int32 = {0x82828282, 0x7d818385, 0x7e7e7f80, 0x7b7b7b7c}, v2_int64 = {0x7d81838582828282, 0x7b7b7b7c7e7e7f80}, 
  uint128 = 0x7b7b7b7c7e7e7f807d81838582828282}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 0x4, 0x0, 
    0x4, 0x0, 0x4, 0x0}, v8_int16 = {0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4}, v4_int32 = {0x40004, 0x40004, 0x40004, 0x40004}, v2_int64 = {
    0x4000400040004, 0x4000400040004}, uint128 = 0x00040004000400040004000400040004}
mxcsr          0x1fa0	[ PE IM DM ZM OM UM PM ]
mm0            {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 
    0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}}
mm1            {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 
    0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}}
mm2            {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 
    0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}}
mm3            {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 
    0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}}
mm4            {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 
    0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}}
mm5            {uint64 = 0xa6a6a6a6a6a6a6a6, v2_int32 = {0xa6a6a6a6, 0xa6a6a6a6}, v4_int16 = {0xa6a6, 0xa6a6, 0xa6a6, 0xa6a6}, v8_int8 = {0xa6, 
    0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6, 0xa6}}
mm6            {uint64 = 0x20002000200020, v2_int32 = {0x200020, 0x200020}, v4_int16 = {0x20, 0x20, 0x20, 0x20}, v8_int8 = {0x20, 0x0, 0x20, 0x0, 
    0x20, 0x0, 0x20, 0x0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
Last edited 5 years ago by cehoyos (previous) (diff)

comment:7 Changed 5 years ago by cehoyos

  • Keywords sse3 added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from 0.8.5 to git-master

Only reproducible on SSE3, but for any yuv input file.

$ make fate-vsynth1-dv
$ /ffmpeg -i tests/data/vsynth1/dv.dv -vf transpose=3,scale=152:270,pad=480:270:164:0 -f null -

comment:8 follow-up: Changed 5 years ago by cehoyos

  • Component changed from undetermined to avfilter
  • Resolution set to fixed
  • Status changed from open to closed

This specific crash has been fixed, please (test and) open a new ticket if you find related ones.

comment:9 in reply to: ↑ 8 ; follow-up: Changed 5 years ago by ignat

Replying to cehoyos:

This specific crash has been fixed, please (test and) open a new ticket if you find related ones.

For some reason I still can reproduce the issue with latest (ffmpeg version N-34062-g4416931) ffmpeg and I can't find any resent pushes to git that would mention this ticket :(

Sorry for being insistent :(

Last edited 5 years ago by ignat (previous) (diff)

comment:10 in reply to: ↑ 9 Changed 5 years ago by cehoyos

Replying to ignat:

Replying to cehoyos:

This specific crash has been fixed, please (test and) open a new ticket if you find related ones.

For some reason I still can reproduce the issue with latest (ffmpeg version N-34062-g4416931) ffmpeg and I can't find any resent pushes to git that would mention this ticket :(

This is the version you originally used when reporting the problem (and the version I used to reproduce it). Please update to current git head and test again.

comment:11 Changed 5 years ago by ignat

Thanks, turned out that I don't have understanding in teh ways of git. Got changes - will verify.

comment:12 Changed 5 years ago by ignat

Yes, I can confirm that it works. Have to run more thorough tests though.

Thank you!

Last edited 5 years ago by ignat (previous) (diff)
Note: See TracTickets for help on using tickets.