Your message dated Wed, 09 Aug 2017 02:49:15 +0000
with message-id <e1dfh3b-0005qk...@fasolo.debian.org>
and subject line Bug#870622: fixed in ffmpeg 7:3.3.3-2
has caused the Debian Bug report #870622,
regarding ffmpeg: autopkgtest SIGBUS on armhf with binutils 2.29
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.)


-- 
870622: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870622
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ffmpeg
Version: 7:3.3.3-1
Severity: important
Tags: sid buster
X-Debbugs-CC: debian-...@lists.debian.org, binut...@packages.debian.org

Hi,

I was looking at the Ubuntu proposed migration pages for ffmpeg and
noticed that the autopkgtest failed on armhf:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful/artful/armhf/f/ffmpeg/20170803_033623_bd98d@/log.gz

It fails with SIGBUS when running the h264 tests.

> (gdb) bt 
> #0  0xf6456e12 in ff_h264_idct_add_neon () at 
> src/libavcodec/arm/h264idct_neon.S:24
> #1  0xf6456f3c in ff_h264_idct_add16_neon () at 
> src/libavcodec/arm/h264idct_neon.S:118
> #2  0xf659c88c in hl_decode_mb_idct_luma (p=<optimized out>, 
> dest_y=<optimized out>, linesize=<optimized out>, block_offset=<optimized 
> out>, pixel_shift=0, transform_bypass=0, simple=1,
>     mb_type=<optimized out>, sl=<optimized out>, h=<optimized out>) at 
> src/libavcodec/h264_mb.c:778
> #3  hl_decode_mb_444_simple_8 (h=0xaab6ea00, sl=<optimized out>) at 
> src/libavcodec/h264_mb_template.c:349
> #4  0xf65a471e in ff_h264_hl_decode_mb (h=h@entry=0xaab6ea00, 
> sl=sl@entry=0xaab7a080) at src/libavcodec/h264_mb.c:810
> #5  0xf65b3670 in decode_slice (avctx=<optimized out>, 
> arg=arg@entry=0xaab7a080) at src/libavcodec/h264_slice.c:2553
> #6  0xf65b45a6 in ff_h264_execute_decode_slices (h=h@entry=0xaab6ea00) at 
> src/libavcodec/h264_slice.c:2728
> #7  0xf65b954a in decode_nal_units (buf_size=20, buf=0xaab35f00 "", 
> h=0xaab6ea00) at src/libavcodec/h264dec.c:715
> #8  h264_decode_frame (avctx=0xaab0d850, data=0xaab0dc70, 
> got_frame=0xaab38a2c, avpkt=<optimized out>) at src/libavcodec/h264dec.c:1016
> #9  0xf679c8e2 in frame_worker_thread (arg=0xaab38908) at 
> src/libavcodec/pthread_frame.c:199
> #10 0xf61895e8 in start_thread () from 
> /lib/arm-linux-gnueabihf/libpthread.so.0
> #11 0xf612a57c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6

> (gdb) print $pc
> $1 = (void (*)()) 0xf6456e12 <ff_h264_idct_add_neon+2>

> (gdb) disassemble
> Dump of assembler code for function ff_h264_idct_add_neon:
>    0xf6456e10 <+0>:     vld1.64 {d0-d3}, [r1 :128]
>    0xf6456e14 <+4>:     vmov.i16        q15, #0 ; 0x0000
>    0xf6456e18 <+8>:     vswp    d1, d2
>    0xf6456e1c <+12>:    vst1.16 {d30-d31}, [r1 :128]!

Notice that the program counter is misaligned - there is no instruction
at 0xf6456e12.

Since nothing has been changed in h264idct_neon.S for > 2 years, I
guessed a toolchain issue and sure enough there is a difference
between compiling the same file with binutils 2.28 and 2.29:

> --- h264idct_neon-binutils-2.28-5       2017-08-03 12:48:07.560036237 +0000
> +++ h264idct_neon-binutils-2.29-3       2017-08-03 12:47:43.666083113 +0000
> @@ -89,8 +89,8 @@
>   118:  f04f 0e00       movne.w lr, #0
>   11c:  f1be 0f00       cmp.w   lr, #0
>   120:  bf14            ite     ne
> - 122:  f2af 0e7f       subwne  lr, pc, #127    ; 0x7f
> - 126:  f2af 1e27       subweq  lr, pc, #295    ; 0x127
> + 122:  f2af 0e7e       subwne  lr, pc, #126    ; 0x7e
> + 126:  f2af 1e26       subweq  lr, pc, #294    ; 0x126
>   12a:  47f0            blx     lr
>   12c:  f1bc 0c01       subs.w  ip, ip, #1
>   130:  f101 0120       add.w   r1, r1, #32
[...]

Could the ARM porters look and see if the assembly in h264idct_neon.S is
sane? If it is, this is probably a binutils bug.

Thanks,
James

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: ffmpeg
Source-Version: 7:3.3.3-2

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 870...@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, 08 Aug 2017 21:53:47 -0400
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.3-2
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: 870622
Changes:
 ffmpeg (7:3.3.3-2) unstable; urgency=medium
 .
   * Team upload.
   * Add 0005-arm-thumb2-blx.patch to fix SIGBUS on armhf.
     Thanks to Jiong Wang. (Closes: #870622)
Checksums-Sha1:
 b0eb1a93505c24d0a1ee5642d70a0d544da5756d 4892 ffmpeg_3.3.3-2.dsc
 e063bf40c292de222187d5a92530ddfa42855ccf 44460 ffmpeg_3.3.3-2.debian.tar.xz
 0a9519e703600f86d9a9f49eb2d5ee036198b38b 13346 ffmpeg_3.3.3-2_source.buildinfo
Checksums-Sha256:
 c36555e20532a13bc1f6db87f711597d41f0a5d37255130b7d1b01fd131cee7e 4892 
ffmpeg_3.3.3-2.dsc
 e74fee0034fb29d03a245b66907e1a798c437beafc1591bbff044b57a086ad13 44460 
ffmpeg_3.3.3-2.debian.tar.xz
 f80d489337b2ab0cc1a7c0ca0be12c71bc856101e6fbca0c8339855785380ca2 13346 
ffmpeg_3.3.3-2_source.buildinfo
Files:
 f44cba52f09806488609fc780048bf4d 4892 video optional ffmpeg_3.3.3-2.dsc
 48eb8edc0b2ab5cf1311604245813435 44460 video optional 
ffmpeg_3.3.3-2.debian.tar.xz
 a607980552991640e859d362e2c61dfb 13346 video optional 
ffmpeg_3.3.3-2_source.buildinfo

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

iQJIBAEBCgAyFiEE+Ixt5DaZ6POztUwQx/FnbeotAe8FAlmKa2gUHGpjb3dnaWxs
QGRlYmlhbi5vcmcACgkQx/FnbeotAe+znA//cNLf1ekuPn1kfSLlDVvPvF6psD3D
Ef1mMmtpVYZ6XMwf7Kh6ZyEGmlJykdTJs9NPFS/seg6KDJLxAE/dpfvSzSlKo0wn
CIyrsrK2b5+NSsjf3Egy5jspPZ613vcsVkiqSvyVnVqGadqJ8mIAnSIunN2CdecN
vL3OrfjXTDmwQGqNsqK36MX2osACEeT1Na+4v3iitrfRgh9x9uAv+zOI8h4+zf1d
W5dNQDCnFe+GST8zC7hfNQL8Y9MdyKhzdXbuS/QQV1WFJr/HrBfTzr0bh/UzlnX/
1ZFGf+P0uAFJMNDCpsYIUC0rtWljgUvKB8fkk4n6SwM0yrZ9mhs42tMcFXuLVlgD
KmGgC6zUKJ8JvNvI4xGbS1J4I+Tl8kQPSW9LkEWqvXYJKevhtntBmh0uHHxndq6Y
lYOnTdV5DapIQG4IgT8RNC+3j3tBPTL2HurVIhIiltVGcLCimUV5AzGJCJxJH2Cd
rcIuDK+zSG8JK0e9LAdtIjfnk4OODxqmeYllCrsmXY2/Qyn0OZ17CmDH8pMbmM3w
FpEuVrejJtut3Nwvf1UqwnUV+m0bNAUwPJIoisSbq+GOe+dJQGT7h013FyZ9mGlj
bKl4M8b5LUVCKolbuT2apSfYB895t2yJObkytWHVDWM6bSafqxVLi0lAG4q4Fn9F
xA+9cMIzhsDqicY=
=YCRw
-----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