Your message dated Tue, 12 Sep 2017 23:34:11 +0000
with message-id <e1druh1-0006zg...@fasolo.debian.org>
and subject line Bug#872503: fixed in ffmpeg 7:3.3.4-1
has caused the Debian Bug report #872503,
regarding ffmpeg: armhf SIGBUS in ff_diff_pixels_armv6 running winff autopkgtest
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
872503: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872503
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ffmpeg
Version: 7:3.3.3-3
Severity: important
Control: found -1 7:3.2.4-1
Control: affects -1 src:winff

Hi,

Just noticed that winff's autopkgtests fail on armhf because ffmpeg
receives a SIGBUS.

The failing command is:

> /usr/bin/ffmpeg -i test.avi -vcodec flv -f flv -r 29.97 -vf scale=w=320:h=240 
> -aspect 4:3 -b:v 300k -g 160 -cmp dct -subcmp dct -mbd 2 -flags +aic+mv0+mv4 
> -trellis 1 -ac 1 -ar 22050 -b:a 56k -y -t 1 test.flv

Where test.avi can be obtained from the winff source package:
https://sources.debian.net/src/winff/1.5.5-1/debian/tests/test.avi/

Backtrace:
> (gdb) bt
> #0  ff_diff_pixels_armv6 () at src/libavcodec/arm/pixblockdsp_armv6.S:46
> #1  0xf6540fe8 in dct_sad8x8_c (h=8, stride=352,
>     src2=0xaacf377f 
> "ddefhiiihllllmmmnllllllllnnoopqqruuuvvvwwyyz{{|}}\200\200\201\201\202\203\203\203\202\202\202\203\203\203\204\204\206\205\205\204\204\203\203\203\200\201\201\201\201\202\202\202\206\206\206\206\206\206\206\206\210\212\215\220\222\222\221\220\220\220\220\221\221\222\222\222\223\223\224\225\225\226\226\227\235\235\236\236\236",
>  '\237' <repeats 13 times>, 
> "\240\240\241\241\242\242\243\243\243\244\245\245\246\246\247\250\250\251\251\252\252\253\251\251\252\252\252\253\253\253\255\255\255\255\255\255\255\255\256\256\257\257\257\260\260\260\261\261\261\261\261\261\261\261\263\263\263\264\264\264\265\265\264\264\264\264\264\264\264"...,
>     src1=0xaadf6990 
> "bcegijjkkklononnnmmmmmnnnoppqqqrvvuuuvwxy{|}}}}~~\177\200\201\201\202\203\202\202\203\204\204\204\204\205\205\206\206\206\206\205\205\205\204\203\203\203\202\202\202\202\202\203\204\204\205\205\207\211\210\211\213\215\220\222\222\221\221\221\221\220\220\220\220\221\223\223\224\225\226\225\225\225\227\232\233\234\235\235\234\234\235\235\235\236\237\236\237\240\237\236\236\237\237\237\240\241\241\241\241\242\243\243\243\244\245\244\245\246\246\246\247\247\250\251\252\253\253\253\253\252\252\254\254\254\254\254\255\255\256\257\257\257\257\257\257\257\257\260\260\261\262\262\261\260\261\261\262\262\262\263\264\264\264\264\264\264\264\264\264\264\263"...,
>  s=0xaac58b10) at src/libavcodec/me_cmp.c:631
> #2  dct_sad16_c (s=0xaac58b10,
>     dst=0xaadf6990 
> "bcegijjkkklononnnmmmmmnnnoppqqqrvvuuuvwxy{|}}}}~~\177\200\201\201\202\203\202\202\203\204\204\204\204\205\205\206\206\206\206\205\205\205\204\203\203\203\202\202\202\202\202\203\204\204\205\205\207\211\210\211\213\215\220\222\222\221\221\221\221\220\220\220\220\221\223\223\224\225\226\225\225\225\227\232\233\234\235\235\234\234\235\235\235\236\237\236\237\240\237\236\236\237\237\237\240\241\241\241\241\242\243\243\243\244\245\244\245\246\246\246\247\247\250\251\252\253\253\253\253\252\252\254\254\254\254\254\255\255\256\257\257\257\257\257\257\257\257\260\260\261\262\262\261\260\261\261\262\262\262\263\264\264\264\264\264\264\264\264\264\264\263"...,
>     src=0xaacf377f 
> "ddefhiiihllllmmmnllllllllnnoopqqruuuvvvwwyyz{{|}}\200\200\201\201\202\203\203\203\202\202\202\203\203\203\204\204\206\205\205\204\204\203\203\203\200\201\201\201\201\202\202\202\206\206\206\206\206\206\206\206\210\212\215\220\222\222\221\220\220\220\220\221\221\222\222\222\223\223\224\225\225\226\226\227\235\235\236\236\236",
>  '\237' <repeats 13 times>, 
> "\240\240\241\241\242\242\243\243\243\244\245\245\246\246\247\250\250\251\251\252\252\253\251\251\252\252\252\253\253\253\255\255\255\255\255\255\255\255\256\256\257\257\257\260\260\260\261\261\261\261\261\261\261\261\263\263\263\264\264\264\265\265\264\264\264\264\264\264\264"...,
>  stride=352, h=16) at src/libavcodec/me_cmp.c:971
> #3  0xf6570cec in cmp_inline (chroma=0, qpel=0, chroma_cmp_func=<optimized 
> out>, cmp_func=0x0, src_index=<optimized out>, ref_index=<optimized out>,
>     h=16, size=0, suby=0, subx=0, y=<optimized out>, x=-1, s=0x0) at 
> src/libavcodec/motion_est.c:217
> #4  cmp_simple (chroma_cmp_func=<optimized out>, cmp_func=0x0, 
> src_index=<optimized out>, ref_index=<optimized out>, y=<optimized out>, 
> x=-1, s=0x0)
>     at src/libavcodec/motion_est.c:234
> #5  cmp (flags=0, chroma_cmp_func=<optimized out>, cmp_func=0x0, 
> src_index=<optimized out>, ref_index=<optimized out>, h=16, size=0, suby=0, 
> subx=0,
>     y=<optimized out>, x=-1, s=0x0) at src/libavcodec/motion_est.c:266
> #6  small_diamond_search (flags=0, h=16, size=0, penalty_factor=-16, 
> ref_index=240, src_index=2, dmin=<optimized out>, best=0xfffee064, s=0x0)
>     at src/libavcodec/motion_est_template.c:445
> #7  diamond_search (flags=0, h=16, size=0, penalty_factor=-16, ref_index=240, 
> src_index=2, dmin=<optimized out>, best=0xfffee064, s=0x0)
>     at src/libavcodec/motion_est_template.c:840
> #8  epzs_motion_search_internal (h=16, size=0, flags=0, ref_mv_scale=0, 
> last_mv=0x0, ref_index=-162058212, src_index=0, P=0xfffee01c,
>     my_ptr=0xf77efce8 <__stack_chk_guard>, mx_ptr=0x15, s=0x1196a700) at 
> src/libavcodec/motion_est_template.c:966
> #9  ff_epzs_motion_search (s=0x1196a700, s@entry=0xaac58b10, mx_ptr=0x15, 
> mx_ptr@entry=0xfffee0e4, my_ptr=0xf77efce8 <__stack_chk_guard>,
>     my_ptr@entry=0xfffee0e8, P=P@entry=0xfffee0ec, 
> src_index=src_index@entry=0, ref_index=ref_index@entry=0, last_mv=0xaaccf9b8, 
> ref_mv_scale=32768,
>     ref_mv_scale@entry=65536, size=size@entry=0, h=h@entry=16) at 
> src/libavcodec/motion_est_template.c:984
> #10 0xf657301c in ff_estimate_p_frame_motion (s=s@entry=0xaac58b10, mb_x=49, 
> mb_y=-1428350416) at src/libavcodec/motion_est.c:978
> #11 0xf65c1cd4 in estimate_motion_thread (c=<optimized out>, arg=<optimized 
> out>) at src/libavcodec/mpegvideo_enc.c:2876
> #12 0xf671d23c in avcodec_default_execute (c=0xaac5c580, func=0xf65c1c18 
> <estimate_motion_thread>, arg=<optimized out>, ret=<optimized out>,
>     count=1, size=4) at src/libavcodec/utils.c:1015
> #13 0xf65c9304 in encode_picture (picture_number=0, s=0xaac58b10) at 
> src/libavcodec/mpegvideo_enc.c:3824
> #14 ff_mpv_encode_picture (avctx=avctx@entry=0xaac5c580, 
> pkt=pkt@entry=0xaac698e0, pic_arg=pic_arg@entry=0xaacf1fd0,
>     got_packet=got_packet@entry=0xfffee308) at 
> src/libavcodec/mpegvideo_enc.c:1962
> #15 0xf671e110 in avcodec_encode_video2 (avctx=avctx@entry=0xaac5c580, 
> avpkt=0xaac698e0, frame=frame@entry=0xaacf1fd0,
>     got_packet_ptr=got_packet_ptr@entry=0xfffee308) at 
> src/libavcodec/utils.c:2008
> #16 0xf671e488 in do_encode (avctx=0xaac5c580, frame=0xaacf1fd0, 
> got_packet=0xfffee308) at src/libavcodec/utils.c:2979
> #17 0xf6725330 in avcodec_send_frame (avctx=0xaac5c580, frame=0xaacf1fd0) at 
> src/libavcodec/utils.c:3028
> #18 0xaaacc824 in do_video_out (of=0xf4240, ost=0xaac5c3c0, 
> next_picture=0xaac5bf10, sync_ipts=1) at src/ffmpeg.c:1289
> #19 0xaaad15bc in reap_filters (flush=-1431350620) at src/ffmpeg.c:1507
> #20 0xaaad5df4 in transcode_step () at src/ffmpeg.c:4538
> #21 transcode () at src/ffmpeg.c:4582
> #22 0xaaab1cf4 in main (argc=<optimized out>, argv=<optimized out>) at 
> src/ffmpeg.c:4787

Note the backtrace is taken just before the SIGBUS because
ff_diff_pixels_armv6 reuses lr which makes obtaining a backtrace
difficult otherwise.

> (gdb) c
> Continuing.                                          
> 
> Thread 1 "ffmpeg" received signal SIGBUS, Bus error.        
> ff_diff_pixels_armv6 () at src/libavcodec/arm/pixblockdsp_armv6.S:52
> 52              ldrd_post       r6,  r7,  r2,  r3

It appears that the 3rd argument (r2 / src2) is misaligned which causes
the SIGBUS:

> (gdb) info reg
> r0             0xfffedf20       4294893344
> r1             0xaadf6af0       2866768624
> r2             0xaacf377f       2865706879
> r3             0x160    352

At this point I stopped looking into the bug for now.

James

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: ffmpeg
Source-Version: 7:3.3.4-1

We believe that the bug you reported is fixed in the latest version of
ffmpeg, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 872...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James Cowgill <jcowg...@debian.org> (supplier of updated ffmpeg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 12 Sep 2017 23:44:51 +0100
Source: ffmpeg
Binary: ffmpeg ffmpeg-doc libavcodec57 libavcodec-extra57 libavcodec-extra 
libavcodec-dev libavdevice57 libavdevice-dev libavfilter6 libavfilter-extra6 
libavfilter-extra libavfilter-dev libavformat57 libavformat-dev libavresample3 
libavresample-dev libavutil55 libavutil-dev libpostproc54 libpostproc-dev 
libswresample2 libswresample-dev libswscale4 libswscale-dev libav-tools
Architecture: source
Version: 7:3.3.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: James Cowgill <jcowg...@debian.org>
Description:
 ffmpeg     - Tools for transcoding, streaming and playing of multimedia files
 ffmpeg-doc - Documentation of the FFmpeg multimedia framework
 libav-tools - Compatibility links for libav-tools (transitional package)
 libavcodec-dev - FFmpeg library with de/encoders for audio/video codecs - 
developm
 libavcodec-extra - FFmpeg library with extra codecs (metapackage)
 libavcodec-extra57 - FFmpeg library with additional de/encoders for 
audio/video codecs
 libavcodec57 - FFmpeg library with de/encoders for audio/video codecs - runtime
 libavdevice-dev - FFmpeg library for handling input and output devices - 
developmen
 libavdevice57 - FFmpeg library for handling input and output devices - runtime 
fi
 libavfilter-dev - FFmpeg library containing media filters - development files
 libavfilter-extra - FFmpeg library with extra filters (metapackage)
 libavfilter-extra6 - FFmpeg library with extra media filters - runtime files
 libavfilter6 - FFmpeg library containing media filters - runtime files
 libavformat-dev - FFmpeg library with (de)muxers for multimedia containers - 
develo
 libavformat57 - FFmpeg library with (de)muxers for multimedia containers - 
runtim
 libavresample-dev - FFmpeg compatibility library for resampling - development 
files
 libavresample3 - FFmpeg compatibility library for resampling - runtime files
 libavutil-dev - FFmpeg library with functions for simplifying programming - 
devel
 libavutil55 - FFmpeg library with functions for simplifying programming - runti
 libpostproc-dev - FFmpeg library for post processing - development files
 libpostproc54 - FFmpeg library for post processing - runtime files
 libswresample-dev - FFmpeg library for audio resampling, rematrixing etc. - 
developme
 libswresample2 - FFmpeg library for audio resampling, rematrixing etc. - 
runtime f
 libswscale-dev - FFmpeg library for image scaling and various conversions - 
develo
 libswscale4 - FFmpeg library for image scaling and various conversions - runtim
Closes: 872503
Changes:
 ffmpeg (7:3.3.4-1) unstable; urgency=medium
 .
   * New upstream bugfix release.
     - Fixes CVE-2017-14054, CVE-2017-14055, CVE-2017-14056,
       CVE-2017-14057, CVE-2017-14058, CVE-2017-14059, CVE-2017-14169,
       CVE-2017-14170, CVE-2017-14171, CVE-2017-14222, CVE-2017-14223,
       CVE-2017-14225.
     - Fixes crashes on ARM due to misalignment. (Closes: #872503)
 .
   * debian/patches:
     - Drop 0004-swscale-fix-gbrap16-alpha-channel-issues.patch,
       applied upstream.
Checksums-Sha1:
 a84ccd22397353e4ad2131e35f16837d0b9ee7ef 5170 ffmpeg_3.3.4-1.dsc
 26a6cc311ab80bd36b38a2933a0086b4882f4395 8282960 ffmpeg_3.3.4.orig.tar.xz
 eec4bc39ccd15f2aee8fab1b8a2d1c6307d03b97 473 ffmpeg_3.3.4.orig.tar.xz.asc
 d3a10dfdc66ed7fde07a17a2f93e27a937a6680c 43520 ffmpeg_3.3.4-1.debian.tar.xz
 76f5dab230dd65d0e1397ed9bb028b5fe0681bde 6270 ffmpeg_3.3.4-1_source.buildinfo
Checksums-Sha256:
 2e0fce3be64db57e508821d3f590182faa34b6c5626e3682b20961115033abd2 5170 
ffmpeg_3.3.4-1.dsc
 98b97e1b908dfeb6aeb6d407e5a5eacdfc253a40c2d195f5867ed2d1d46ea957 8282960 
ffmpeg_3.3.4.orig.tar.xz
 68aef2e7bf9cfb8fecc1a8715538895d1f410e44adf4b6abc3adc6f85f9d16d0 473 
ffmpeg_3.3.4.orig.tar.xz.asc
 73dcb1d98fc54bb949bacf6e5aeff7ab636603fb1aa22e3539e22a627d077390 43520 
ffmpeg_3.3.4-1.debian.tar.xz
 fdcda66c8fb88b8cd4b47fa3d168f29b86e84527b87c77377d752b3475699ea7 6270 
ffmpeg_3.3.4-1_source.buildinfo
Files:
 96394d3bdfacad793a49ae04f7190391 5170 video optional ffmpeg_3.3.4-1.dsc
 e14a0200c78ce5c918427e57cd406a0d 8282960 video optional 
ffmpeg_3.3.4.orig.tar.xz
 4de2325090bca719586343b239d777e4 473 video optional 
ffmpeg_3.3.4.orig.tar.xz.asc
 9e4e9a01388372d648b76f61ee2de6b7 43520 video optional 
ffmpeg_3.3.4-1.debian.tar.xz
 19a30b153eb23a76ff591eef2a836999 6270 video optional 
ffmpeg_3.3.4-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE+Ixt5DaZ6POztUwQx/FnbeotAe8FAlm4ad0UHGpjb3dnaWxs
QGRlYmlhbi5vcmcACgkQx/FnbeotAe/hGg/8CdeS3Ue+kNZ2OGu8HEO6YzcrBxih
N22+N94R8OqUS2wxYw2XlMg959tA0M3Oxne8u95+6f/XS6K1+amvrQMt0AkmQqY7
0ru3EkKoywZlx1PIKqICmkNQp2yVbxvd7BLlp1xAhybsdfEEGj3ZrkfwYO2h7evu
4GjdwkkXj9MYOEybgUvjX0iqEBzRyV01WGE0lGmW0monZnZGCYXFkjF7Z7J8zv49
UAlz9P8TgNlpkuYrA4P+tXzgS7mDwBMMoH96XmO7nOBxkSpKwgSEvpt1BVmyMO9P
nwjYqHR+6bPhP3FXNHBnuKznLxfEEHpLKqCwUT9go2Kpl5FFZuhCGbw+9mn8VBlJ
tn18c/rS5K3RoaiqCRWwArbWSFHry0pC9nR6h4b7wwPIOj7xH8qGootrXNYXeDL5
XJImjjFur6Ga8xqQfZt0jg/qkLyKz/yQvyDG3xQPjUXXyHiOyf+WDkeOFgvStL8V
TQn1vdwKGc/Vq4gigoSHRUtX2ocn5ak48v1anvYmFNvT+HOOV/tjvsaxqIjmEaTx
Jncvd6kGatE38myQo01qau105TWpaS4UXix+hvj4tSP8B9d/Hpy2xDVhNdRxO7D2
KAAmrnEJ6gmMCV8f07zYhbL6Hl84nGspj573bqHXYVVo/Jyv+JL6qzLyFGrg3tIB
mL0/LDM39DngOgo=
=4ops
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to