[Bug 260432] multimedia/ffmpeg mp4-> aac -> mp3 (libmp3lame) fails with Illegal instruction on i386

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 15 Dec 2021 09:54:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260432

            Bug ID: 260432
           Summary: multimedia/ffmpeg mp4-> aac -> mp3 (libmp3lame) fails
                    with Illegal instruction on i386
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: p5B2E9A8F@t-online.de
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)
          Assignee: multimedia@FreeBSD.org

$ ffmpeg -v trace -i renamed.aac renamed.mp3
ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
  built with FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git
llvmorg-10.0.1-0-gef32c611aa2)
  configuration: --prefix=/usr/local --mandir=/usr/local/man
--datadir=/usr/local/share/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig
--disable-static --disable-libcelt --enable-shared --enable-pic --enable-gpl
--enable-avresample --cc=cc --cxx=c++ --disable-alsa
--disable-libopencore-amrnb --disable-libopencore-amrwb --enable-libaom
--disable-libaribb24 --enable-asm --enable-libass --disable-libbs2b
--disable-libcaca --disable-libcdio --disable-libcodec2 --enable-libdav1d
--disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages
--enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig
--enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt
--disable-libglslang --disable-libgme --enable-gmp --disable-gnutls
--enable-version3 --disable-libgsm --enable-iconv --disable-libilbc
--disable-libjack --disable-libklvanc --disable-libkvazaar --disable-ladspa
--enable-libmp3lame --disable-liblensfun --disable-libbluray --disable-librsvg
--disable-librtmp --enable-libxml2 --disable-lto --disable-lv2
--disable-mbedtls --disable-libmfx --disable-libmodplug --disable-libmysofa
--disable-nonfree --disable-openal --disable-opencl --disable-opengl
--disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt
--disable-openssl --disable-libopenvino --enable-optimizations --enable-libopus
--disable-pocketsphinx --disable-libpulse --disable-librabbitmq
--disable-librav1e --disable-librist --enable-runtime-cpudetect
--disable-librubberband --disable-sdl2 --disable-libsmbclient
--disable-libsnappy --enable-sndio --disable-libsoxr --disable-libspeex
--disable-libsrt --disable-libssh --disable-libtensorflow
--disable-libtesseract --enable-libtheora --disable-libtwolame
--disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapoursynth
--enable-vdpau --disable-libvidstab --enable-libvmaf --enable-libvorbis
--disable-libvo-amrwbenc --enable-libvpx --disable-vulkan --disable-libwebp
--enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxcb
--enable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq
--disable-libzvbi
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument
'trace'.
Reading option '-i' ... matched as input url with argument 'renamed.aac'.
Reading option 'renamed.mp3' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument trace.
Successfully parsed a group of options.
Parsing a group of options: input url renamed.aac.
Successfully parsed a group of options.
Opening an input file: renamed.aac.
[NULL @ 0x24754000] Opening 'renamed.aac' for reading
[file @ 0x2475a180] Setting default whitelist 'file,crypto,data'
Probing aac score:51 size:2048
[aac @ 0x24754000] Format aac probed with size=2048 and score=51
[aac @ 0x24754000] Before avformat_find_stream_info() pos: 0 bytes read:65696
seeks:4 nb_streams:1
[aac @ 0x24754000] All info found
[aac @ 0x24754000] Estimating duration from bitrate, this may be inaccurate
[aac @ 0x24754000] stream 0: start_time: NOPTS duration: 4510.24
[aac @ 0x24754000] format: start_time: NOPTS duration: 4510.24 (estimate from
bit rate) bitrate=314 kb/s
[aac @ 0x24754000] After avformat_find_stream_info() pos: 41987 bytes
read:98464 seeks:4 frames:50
Input #0, aac, from 'renamed.aac':
  Duration: 01:15:10.24, bitrate: 314 kb/s
  Stream #0:0, 50, 1/28224000: Audio: aac (LC), 48000 Hz, stereo, fltp, 314
kb/s
Successfully opened the file.
Parsing a group of options: output url renamed.mp3.
Successfully parsed a group of options.
Opening an output file: renamed.mp3.
File 'renamed.mp3' already exists. Overwrite? [y/N] y
[file @ 0x2475a780] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
Stream mapping:
  Stream #0:0 -> #0:0 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it
occurs once at the start per stream)
detected 1 logical cores
[graph_0_in_0_0 @ 0x247bb800] Setting 'time_base' to value '1/48000'
[graph_0_in_0_0 @ 0x247bb800] Setting 'sample_rate' to value '48000'
[graph_0_in_0_0 @ 0x247bb800] Setting 'sample_fmt' to value 'fltp'
[graph_0_in_0_0 @ 0x247bb800] Setting 'channel_layout' to value '0x3'
[graph_0_in_0_0 @ 0x247bb800] tb:1/48000 samplefmt:fltp samplerate:48000
chlayout:0x3
[format_out_0_0 @ 0x247bb980] Setting 'sample_fmts' to value 's32p|fltp|s16p'
[format_out_0_0 @ 0x247bb980] Setting 'sample_rates' to value
'44100|48000|32000|22050|24000|16000|11025|12000|8000'
[format_out_0_0 @ 0x247bb980] Setting 'channel_layouts' to value '0x4|0x3'
[AVFilterGraph @ 0x247be1c0] query_formats: 4 queried, 9 merged, 0 already
done, 0 delayed
Illegal instruction

-- 
You are receiving this mail because:
You are the assignee for the bug.