Menu â–¾ â–´

#114 Guitarix LV2 plugin crashes host when closing window

open
nobody
None
v1.0_(example)
1
2020-07-25
2020-07-24
asdf sdfg
No

Some Guitarix LV2 plugins crash together with host when closing plugin window.

Steps to reproduce:
- Open DAW (I tried Ardour and Qtractor)
- Add an audio track
- Add Guitarix LV2 plugin (e.g. GxCabinet) to audio track
- Close plugin window

Expected result: plugin window closes, host works as intended.

Actual result: host crashes with a segfault.

Note: The crash occurs with some but not all Gx LV2 plugins. I have not tried all, but:
- GxCabinet, Gxdigitaldelay, and GxDelay-Stereo lead to a crash, while
- GxBoobTube, GxBlueAmp, and GxClubDrive do not (but their windows look funny when they first open: https://imgur.com/FByCuA6).
I've encountered no problems with LADPSA plugins or the standalone app.

Typical messages from dmesg following a crash:
[ 623.637494] qtractor[2019]: segfault at 8 ip 00007fd0d308e5a9 sp 00007ffda7ad5c20 error 4 in libX11.so.6.3.0[7fd0d305c000+8a000]
[ 623.637508] Code: 00 48 89 f7 ff 15 47 d4 0e 00 eb a8 ff 15 4f d9 0e 00 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 fd 53 48 83 ec 08 <48> 8b 5f 08 48 8b 07 ff 10 48 85 db 74 2a 48 8b 43 10 48 85 c0 74

[  697.775710] ArdourGUI[2623]: segfault at 8 ip 00007f0d789065a9 sp 00007ffecea98fc0 error 4 in libX11.so.6.3.0[7f0d788d4000+8a000]
[  697.775745] Code: 00 48 89 f7 ff 15 47 d4 0e 00 eb a8 ff 15 4f d9 0e 00 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 fd 53 48 83 ec 08 <48> 8b 5f 08 48 8b 07 ff 10 48 85 db 74 2a 48 8b 43 10 48 85 c0 74

Coredumps:
- qtractor crash: https://pastebin.com/LeUw1tME
- ardour crash: https://pastebin.com/rnfZUfdD

Software versions:
EndeavourOS (arch-based distro)
gxplugins.lv2 0.8-1
Linux 5.7.7-arch1-1
libX11 1.6.9-7
cairo 1.17.2+25+gaee96d175-1
suil 0.10.6-2
qt5-base 5.15.0-4
awesomeWM 4.3-1
ardour 6.2-1
qtractor 0.9.15-1
jack2 1.9.14-1
pulseaudio-jack 13.0-3
qjackctl 0.6.2-1

There's no exotic hardware in use, apart from some noname USB audio card (which has some issues going on with it as well, if that can be relevant).

Let me know if there is any more info I can provide.

P.S. Thank you for developing and maintaining this. I have greatly enjoyed the standalone version, now only to figure out why LV2 bugs out on me...

Discussion

  • brummer

    brummer - 2020-07-25

    Hi
    Thanks for reporting, which version of guitarix do you use, is it the latest 0.41.0?

     
  • asdf sdfg

    asdf sdfg - 2020-07-25

    Hi,
    Yes, my guitarix standalone is at 0.41.0-1.
    The issue, however, is with gxplugins.lv2, which is at version 0.8-1 (and does not depend on the standalone package?) and, as I have only now realized, has its own repo at https://github.com/brummer10/GxPlugins.lv2
    Should I migrate this issue there instead?
    Sorry for the confusion

     
  • brummer

    brummer - 2020-07-25

    Okay, now I'm confused. You said:

    • GxCabinet, Gxdigitaldelay, and GxDelay-Stereo lead to a crash
      they are from the guitarix suite.

    • GxBoobTube, GxBlueAmp, and GxClubDrive do not

    They are from the GxPlugins (yes, they've no dependency on guitarix)

    Problem is that I can't reproduce this issue, not for one of the GxPlugins nor for one from the guitarix suite.

     
  • asdf sdfg

    asdf sdfg - 2020-07-25

    Apologies, my bad, I presumed all Gx LV2 plugins on my system were from gxplugins.lv2, but I do indeed have both that and guitarix suite installed.

    Any guesses on how I could triage this any better?

     
  • brummer

    brummer - 2020-07-25

    Well, at least it is my bad, I should have better use a seperate URI for the GxPlugins, but now it's to late.
    However, I've looked at the coredumps but couldn't find any hint what happened.
    I guess only a debug build of both (guitarix and ardour) could bring some more light into this.

     
  • brummer

    brummer - 2020-07-25

    Maybe, the crash happen because XIC wasn't created and the plug ry to destroy it. Therefore I've implemented a check now. Still, I don't know if that helps for your case, but it's so only thing I see in the backtrace. You may try guitarix from git to check if that helps.

     
  • asdf sdfg

    asdf sdfg - 2020-07-25

    Everything works like a charm with the most recent git version.
    Many thanks!

     

Anonymous
Anonymous

Add attachments
Cancel