[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947211: marked as done (Regression in libsoxr0 0.1.3-2 makes ffmpeg segfault)



Your message dated Sun, 03 May 2020 21:04:27 +0000
with message-id <E1jVLml-000FJe-CZ@fasolo.debian.org>
and subject line Bug#944017: fixed in libsoxr 0.1.3-3
has caused the Debian Bug report #944017,
regarding Regression in libsoxr0 0.1.3-2 makes ffmpeg segfault
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 owner@bugs.debian.org
immediately.)


-- 
944017: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944017
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libsoxr0
Version: 0.1.3-2
Control: fixed -1 0.1.3-1

Steps to reproduce:

$ sox -n -r 44100 test.wav synth 1 sine 1000
$ ffmpeg -i test.wav -filter:a "aresample=48000:resampler=soxr" testout.wav
ffmpeg version 4.2.1-2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9 (Debian 9.2.1-15)
  configuration: --prefix=/usr --extra-version=2 --toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
--disable-stripping --enable-avresample --disable-filter=resample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libcodec2 --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame
--enable-libmysofa --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librsvg
--enable-librubberband --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvidstab --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi
--enable-lv2 --enable-omx --enable-openal --enable-opengl
--enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883
--enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, wav, from 'test.wav':
  Duration: 00:00:01.00, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s32le ([1][0][0][0] / 0x0001), 44100 Hz,
mono, s32, 1411 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s32le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Segmentation fault (core dumped)

Stack trace:
Thread 1 "ffmpeg" received signal SIGSEGV, Segmentation fault.
__memmove_avx_unaligned_erms () at
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:416
416     ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No
such file or directory.
(gdb) bt
#0  __memmove_avx_unaligned_erms () at
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:416
#1  0x00007ffff06c6dcd in memcpy (__len=3556, __src=<optimized out>,
__dest=0x0) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
#2  _soxr_interleave_f (data_type=<optimized out>,
dest0=0x5555556386c0, src=<optimized out>, n=889, ch=1,
seed=0x555555635e00) at ./src/data-io.c:204
#3  0x00007ffff06c260f in soxr_output_1ch (p=p@entry=0x555555635ce0,
i=i@entry=0, dest=dest@entry=0x7fffffffd1a0, len=<optimized out>,
len@entry=1146, separated=separated@entry=true)
    at ./src/soxr.c:664
#4  0x00007ffff06c3e71 in soxr_process (p=p@entry=0x555555635ce0,
in=in@entry=0x7fffffffcf80, ilen0=<optimized out>, ilen0@entry=1024,
idone0=idone0@entry=0x7fffffffcee8,
    out=out@entry=0x7fffffffd1a0, olen=olen@entry=1146,
odone0=0x7fffffffcef0) at ./src/soxr.c:794
#5  0x00007ffff63bdba3 in process (c=0x555555635ce0,
dst=0x7fffffffd1a0, dst_size=1146, src=0x7fffffffcf80, src_size=1024,
consumed=0x7fffffffcf7c) at src/libswresample/soxr_resample.c:90
#6  0x00007ffff63be5b3 in resample (s=s@entry=0x55555561d900,
out_param=out_param@entry=0x7fffffffd870,
out_count=out_count@entry=1146,
in_param=in_param@entry=0x5555556208d0,
    in_count=in_count@entry=1024) at src/libswresample/swresample.c:537
#7  0x00007ffff63bef3e in swr_convert_internal
(s=s@entry=0x55555561d900, out=out@entry=0x555555620f30,
out_count=out_count@entry=1146, in=in@entry=0x5555556206b0,
in_count=in_count@entry=1024)
    at src/libswresample/swresample.c:646
#8  0x00007ffff63bfa8c in swr_convert_internal (in_count=1024,
in=0x5555556206b0, out_count=1146, out=0x555555620f30,
s=0x55555561d900) at src/libswresample/swresample.c:589
#9  swr_convert (s=0x55555561d900, out_arg=0x555555636440,
out_count=out_count@entry=1146, in_arg=<optimized out>,
in_count=<optimized out>, in_count@entry=1024) at
src/libswresample/swresample.c:766
#10 0x00007ffff7ccd67f in filter_frame
(inlink=inlink@entry=0x5555556333c0, insamplesref=<optimized out>) at
src/libavfilter/af_aresample.c:217
#11 0x00007ffff7d238ad in ff_filter_frame_framed (frame=<optimized
out>, link=0x5555556333c0) at src/libavfilter/avfilter.c:1071
#12 ff_filter_frame_to_filter (link=0x5555556333c0) at
src/libavfilter/avfilter.c:1219
#13 ff_filter_activate_default (filter=<optimized out>) at
src/libavfilter/avfilter.c:1268
#14 ff_filter_activate (filter=<optimized out>) at
src/libavfilter/avfilter.c:1430
#15 0x00007ffff7d26a7b in ff_filter_graph_run_once
(graph=graph@entry=0x555555619e40) at
src/libavfilter/avfiltergraph.c:1454
#16 0x00007ffff7d286f8 in push_frame (graph=0x555555619e40) at
src/libavfilter/buffersrc.c:187
#17 av_buffersrc_add_frame_internal (ctx=ctx@entry=0x55555561d400,
frame=frame@entry=0x5555556130c0, flags=flags@entry=4) at
src/libavfilter/buffersrc.c:261
#18 0x00007ffff7d28b46 in av_buffersrc_add_frame_flags
(ctx=0x55555561d400, frame=0x5555556130c0, flags=4) at
src/libavfilter/buffersrc.c:170
#19 0x000055555557f773 in ifilter_send_frame (frame=0x5555556130c0,
ifilter=0x555555618380) at src/fftools/ffmpeg.c:2196
#20 send_frame_to_filters (ist=0x555555615f80,
decoded_frame=0x5555556130c0) at src/fftools/ffmpeg.c:2270
#21 0x0000555555580579 in decode_audio (decode_failed=<synthetic
pointer>, got_output=0x7fffffffe02c, pkt=0x7fffffffe050,
ist=0x555555615f80) at src/fftools/ffmpeg.c:2337
#22 process_input_packet (ist=<optimized out>, pkt=0x7fffffffe270,
no_eof=0) at src/fftools/ffmpeg.c:2619
#23 0x00005555555830eb in process_input (file_index=<optimized out>)
at src/fftools/ffmpeg.c:4518
#24 transcode_step () at src/fftools/ffmpeg.c:4638
#25 transcode () at src/fftools/ffmpeg.c:4692
#26 0x00005555555607de in main (argc=6, argv=0x7fffffffe9f8) at
src/fftools/ffmpeg.c:4894

If ":resampler=soxr" is removed, everything is fine.

Package versions of all binaries in the above stack trace:
libsoxr0 0.1.3-2
libswresample3 7:4.2.1-2
libavfilter7 7:4.2.1-2
ffmpeg 7:4.2.1-2

If I downgrade libsoxr0 to 0.1.3-1, I am unable to reproduce. If I
downgrade ffmpeg to 7:4.1.4-1+b2, but keep libsoxr0 at 0.1.3-2, I can
still reproduce.

--- End Message ---
--- Begin Message ---
Source: libsoxr
Source-Version: 0.1.3-3
Done: Sebastian Ramacher <sramacher@debian.org>

We believe that the bug you reported is fixed in the latest version of
libsoxr, 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 944017@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramacher@debian.org> (supplier of updated libsoxr 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 03 May 2020 22:47:06 +0200
Source: libsoxr
Architecture: source
Version: 0.1.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Closes: 942795 944017
Changes:
 libsoxr (0.1.3-3) unstable; urgency=medium
 .
   * Team upload
 .
   [ Mattia Rizzolo ]
   * Add patch to fix the content of the pkg-config file when built with nocheck.
     (Closes: #942795)
 .
   [ Sebastian Ramacher ]
   * debian/patches: Revert "Add patch to fix FTBFS in sparc64." (Closes:
     #944017)
   * debian/control: Bump Standards-Version
Checksums-Sha1:
 d27f7dca11bf5a57d8d74c26594cb5d70e63a58c 2146 libsoxr_0.1.3-3.dsc
 6cfa88fc41784fecd3f02437d1597aa123644765 4848 libsoxr_0.1.3-3.debian.tar.xz
Checksums-Sha256:
 269e3108207d430ff0f2959cad980af4539020bf71ed5a5f3af4005af03f40d6 2146 libsoxr_0.1.3-3.dsc
 1b603656223cf02263621c813ae9d8c6cdc531fb3369c1812bb4b0bd3d20ad7d 4848 libsoxr_0.1.3-3.debian.tar.xz
Files:
 3acba0fcf0feb34afcd23edcf38ec57e 2146 libs optional libsoxr_0.1.3-3.dsc
 4c1952c4323d3bd3429572e4fa8b5947 4848 libs optional libsoxr_0.1.3-3.debian.tar.xz

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

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAl6vLqoACgkQafL8UW6n
GZPa7Q/+O2OTkQxCaoSp1h9S076uxLk/6WVkfK34ET3nLpgAfryhRDfDWSIXGQjA
kK1mEV6rj/BgsNr4+sYoPJF7i6NuqMjRPnyQmZGGqwTt4PCUPsFLERh6qAhZbXvt
cO6GqUvJAUxBUZGu0X7vTL+3ZNNPEpVzlvqyFe9WihJW0b0QzHw7N+/QlmtEEJG+
B+Uk2Iw0DBZsuD3+6jNNZ9m8tYXMbTyuEHVW9vRVfR52pBG5lIiwgw2lcGrUzYi8
l8x6NF2jepL3M1t4Xs4kiSh230nCjN2oifyuUqO4hU6f9O9aMaQFEDzgnx0ctoVu
nosP5pOvJ3zXUvOy0iPIAIsbRQ8pBd5oKhQq9ChDfBI+eyA85XxEaqDCl0zwav9s
rj9KvyfeQ2XUXTHWMqNyV7WfbYMIS/T9Z+cA1Vd3m3nCgZG0XhyXBYhJgz0R74Wo
kW9dCp11/VJ2D2w5TMB5lE2KoecoMhcbSI8E/BnOhblQlPJdDR2GMW8+ncZp1XMP
KBZ21DbcNu6w4SsKqJj3G5rZVVI9e3OwkXIDT+kCgUKQGF6w14vzTM6fUR46K07+
lz9vjzczu5clex627ECfS5txx2hP59b1WE4ciepWHVFwBTDIUoFv1XrEslx0TdMw
Tr8yDLi6Q13TBHOsSM1Uu8myX05sm5Ekcw9/49dNKV4hTsoAJUk=
=IsH0
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: