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

Bug#1082748: Segmentation fault when using dragonfly-reverb-lv2 with lv2file



Package: dragonfly-reverb-lv2
Version: 3.2.8-1

When using lv2file to apply the dragonfly-reverb-lv2 plugin's hall reverb to a file, lv2file crashes with a segmentation fault. A gdb backtrace shows that the crash happens inside the plugin, so I'm reporting the bug against the dragonfly-reverb-lv2 package.

Some plugins can be used without a crash (for example, urn:dragonfly:early doesn't crash, but urn:dragonfly:plate and urn:dragonfly:room both crash with similar backtraces to the one given below).



Example:

# Create an input file. Details aren't important
$ sox -n -c 2 -b 16 -r 44100 input.wav synth 1 sine
# Apply the plugin to the input file
$ lv2file -i input.wav -o output.wav https://github.com/michaelwillis/dragonfly-reverb
Note: Running 1 instances of the plugin.
Note: Mapping audio channels to plugin ports based on ordering
Segmentation fault



Same example with gbd backtrace, using symbols from lv2file-dbgsym and dragonfly-reverb-lv2-dbgsym:

(gdb) run
Starting program: /usr/bin/lv2file -i input.wav -o output.wav https://github.com/michaelwillis/dragonfly-reverb
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Note: Running 1 instances of the plugin.
Note: Mapping audio channels to plugin ports based on ordering

Program received signal SIGSEGV, Segmentation fault.
__strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:283
283	../sysdeps/x86_64/multiarch/strcmp-avx2.S: No such file or directory.
(gdb) bt
#0  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:283
#1  0x00007ffff797a74f in DISTRHO::lv2_instantiate (sampleRate=44100,
bundlePath=0x555555622390 "/usr/lib/lv2/DragonflyHallReverb.lv2/", features=<optimized out>)
    at ../../dpf/distrho/src/DistrhoPluginLV2.cpp:1415
#2 0x00007ffff7f05f93 in lilv_plugin_instantiate () from /lib/x86_64-linux-gnu/liblilv-0.so.0 #3 0x0000555555557c23 in main (argc=<optimized out>, argv=<optimized out>) at ./lv2file.c:785
(gdb)



Thanks for maintaining this package!

Cheers,
Michael

Attachment: OpenPGP_0x11044FD19FC527CC.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: