Same outcome with 0.5.0 manually built from upstream. Stack trace with 0.5.0:

#0  0x00005555555d78b0 in  ()
#1  0x00007ffff7da900e in av_buffer_unref () at
/usr/lib/x86_64-linux-gnu/libavutil.so.56
#2  0x00007ffff6a0d4c5 in av_packet_unref
(pkt=pkt@entry=0x5555555bd300) at src/libavcodec/avpacket.c:595
#3  0x00007ffff6a930f8 in decode_simple_internal
(frame=0x5555555bd480, avctx=0x5555555bb640) at
src/libavcodec/decode.c:377
#4  0x00007ffff6a930f8 in decode_simple_receive_frame
(frame=<optimized out>, avctx=<optimized out>) at
src/libavcodec/decode.c:594
#5  0x00007ffff6a930f8 in decode_receive_frame_internal
(avctx=avctx@entry=0x5555555bb640, frame=frame@entry=0x5555555bd480)
    at src/libavcodec/decode.c:612
#6  0x00007ffff6a95bbb in avcodec_receive_frame (avctx=0x5555555bb640,
frame=0x5555555bd480) at src/libavcodec/decode.c:726
#7  0x00007ffff6a95e7b in compat_decode (avctx=0x5555555bb640,
frame=0x5555555bd480, got_frame=0x7fffffffd910, pkt=0x5555555ba9a0)
    at src/libavcodec/decode.c:782
#8  0x000055555555f3a4 in frame_reader_run (n=0x5555555ba960) at
ffsox_frame_reader.c:277
#9  0x000055555555f633 in ffsox_engine_run (e=0x7fffffffd9a0,
node=0x5555555ba960) at ffsox_engine.c:33
#10 0x000055555556147d in ffsox_sox_reader_read (sa=0x555555599410,
buf=0x5555555c91c0, len=8192) at ffsox_sox_reader.c:117
#11 0x0000555555561a0c in drain (e=0x5555555bdb90,
obuf=0x5555555c91c0, osamp=0x7fffffffda98) at
ffsox_sox_read_handler.c:56
#12 0x00007ffff63bd933 in drain_effect (n=0, chain=0x5555555963e0) at
effects.c:352
#13 0x00007ffff63bd933 in sox_flow_effects (chain=<optimized out>,
callback=0x0, client_data=0x0) at effects.c:445
#14 0x000055555555dae4 in ffsox_analyze (ac=0x7fffffffdda0, ai=-1,
vi=-1) at ffsox_analyze.c:164
#15 0x000055555555a77a in bs1770gain_tree_analyze
(tree=0x7fffffffde60, odirname=0x0, options=0x7fffffffdeb0) at
bs1770gain_tree.c:155
#16 0x0000555555558f96 in main (argc=2, argv=0x7fffffffe0e8) at
bs1770gain.c:1053


On Sat, 6 Oct 2018 at 15:58, Etienne Dechamps <etie...@edechamps.fr> wrote:
>
> Package: bs1770gain
> Version: 0.4.12-3+b1
> Severity: important
>
> --- Please enter the report below this line. ---
> bs1770gain segfaults when running on most MP3 files. (Other formats,
> like FLAC, appear to work fine.)
>
> Steps to reproduce:
> $ sox -n sine.wav synth 1 sine 1000
> ...
> $ ffmpeg -i sine.wav sine.mp3
> ...
> $ bs1770gain sine.mp3
> analyzing ...
>   [1/1] "sine.mp3": Segmentation fault (core dumped)
>
> GDB stacktrace with debug symbols:
>
> analyzing ...
>   [1/1] "sine.mp3":
> Program received signal SIGSEGV, Segmentation fault.
> 0x00005555555d08b0 in ?? ()
> (gdb) bt
> #0  0x00005555555d08b0 in  ()
> #1  0x00007ffff7da900e in av_buffer_unref () at
> /usr/lib/x86_64-linux-gnu/libavutil.so.56
> #2  0x00007ffff6a0d4c5 in av_packet_unref
> (pkt=pkt@entry=0x5555555b6300) at src/libavcodec/avpacket.c:595
> #3  0x00007ffff6a930f8 in decode_simple_internal
> (frame=0x5555555b6480, avctx=0x5555555b4640) at
> src/libavcodec/decode.c:377
> #4  0x00007ffff6a930f8 in decode_simple_receive_frame
> (frame=<optimized out>, avctx=<optimized out>) at
> src/libavcodec/decode.c:594
> #5  0x00007ffff6a930f8 in decode_receive_frame_internal
> (avctx=avctx@entry=0x5555555b4640, frame=frame@entry=0x5555555b6480)
>     at src/libavcodec/decode.c:612
> #6  0x00007ffff6a95bbb in avcodec_receive_frame (avctx=0x5555555b4640,
> frame=0x5555555b6480) at src/libavcodec/decode.c:726
> #7  0x00007ffff6a95e7b in compat_decode
> (avctx=avctx@entry=0x5555555b4640, frame=frame@entry=0x5555555b6480,
> got_frame=got_frame@entry=0x7fffffffd964,
> pkt=pkt@entry=0x5555555b39a0) at src/libavcodec/decode.c:782
> #8  0x00007ffff6a9624d in avcodec_decode_audio4
> (avctx=avctx@entry=0x5555555b4640, frame=frame@entry=0x5555555b6480,
> got_frame_ptr=got_frame_ptr@entry=0x7fffffffd964,
> avpkt=avpkt@entry=0x5555555b39a0) at src/libavcodec/decode.c:838
> #9  0x000055555555d5e2 in frame_reader_run (n=0x5555555b3960) at
> ffsox_frame_reader.c:172
> #10 0x000055555555db0c in ffsox_machine_run (m=m@entry=0x7fffffffd9d0,
> node=<optimized out>, node@entry=0x555555592410)
>     at ffsox_machine.c:30
> #11 0x000055555555f4be in ffsox_sox_reader_read
> (sa=sa@entry=0x555555592410, buf=<optimized out>, len=<optimized out>)
>     at ffsox_sox_reader.c:117
> #12 0x000055555555f5a2 in drain (e=<optimized out>, obuf=<optimized
> out>, osamp=0x7fffffffdac8) at ffsox_sox_read_handler.c:56
> #13 0x00007ffff63bd933 in drain_effect (n=0, chain=0x55555558f3e0) at
> effects.c:352
> #14 0x00007ffff63bd933 in sox_flow_effects
> (chain=chain@entry=0x55555558f3e0, callback=callback@entry=
>     0x0, client_data=client_data@entry=0x0) at effects.c:445
> #15 0x000055555555c704 in ffsox_analyze (ac=ac@entry=0x7fffffffdde0,
> ai=<optimized out>, vi=<optimized out>) at ffsox_analyze.c:159
> #16 0x000055555555a6ae in bs1770gain_tree_analyze (tree=<optimized
> out>, odirname=0x0, options=0x7fffffffdef0) at bs1770gain_tree.c:141
> #17 0x000055555555808a in main (argc=<optimized out>,
> argv=0x7fffffffe118) at bs1770gain.c:970
>
> --- System information. ---
> Architecture:
> Kernel:       Linux 4.18.0-1-amd64
>
> Debian Release: buster/sid
>   500 unstable-debug  deb.debian.org
>   500 unstable        deb.debian.org
>   500 stretch         packagecloud.io
>   500 stable          www.ubnt.com
>     1 experimental-debug deb.debian.org
>     1 experimental    deb.debian.org
>
> --- Package information. ---
> Depends                   (Version) | Installed
> ===================================-+-=============
> libavcodec58            (>= 7:4.0)  | 7:4.0.2-2
>  OR libavcodec-extra58   (>= 7:4.0) |
> libavformat58            (>= 7:4.0) | 7:4.0.2-2
> libavutil56              (>= 7:4.0) | 7:4.0.2-2
> libc6                     (>= 2.14) | 2.27-6
> libsox3                (>= 14.4.2~) | 14.4.2-3
> libswresample3           (>= 7:4.0) | 7:4.0.2-2
>
>
> Package's Recommends field is empty.
>
> Package's Suggests field is empty.

Reply via email to