#14 LV2 plugin causes Ardour crash

closed
brummer
None
v1.0_(example)
1
2014-08-10
2014-03-23
Anonymous
No

I have Ardour project using Guitarix LV2 plugin (the project is in attachment). When I try to open the project Ardour crashes. Acording backtrace from core dump the crash is caused by Guitarix plug-in. The backtrace (bt.log) and Ardour output (ardour-crash.log) is also in attachment. I didn't attach core dump because its size is about 400MB. I can send it later if needed.

Ardour version is 3.5.357, Guitarix version is guitarix2 0.28.3. Linux distro is Arch Linux.

I was looking at guitarix source code to find the cause of the crash. It seems to crash in Convlevel::configure(...) method in trunk/src/zita-convolver-ffmpeg/zita-convolver.cc after _freq_data is allocated. Variable _freq_data is allocated using av_malloc() in Convlevel::alloc_aligned() method. I thing _freq_data should be freed using av_free() instead of just free() in Convlevel::cleanup(). This change in code seems to fix the problem.

Regards,
Milan Vahala

1 Attachments

Discussion

  • brummer

    brummer - 2014-03-30

    Good catch.
    Thanks for your report and fix.
    I've committed it to our master branch.

    regards
    hermann

     
  • brummer

    brummer - 2014-03-30
    • status: open --> closed
    • assigned_to: brummer
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks