easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

Clicking `Show Native Window` for LSP Limiter sometime crashes

Open LebedevRI opened this issue 1 year ago • 6 comments

EasyEffects Version

7.1.6

What package are you using?

Other (specify below)

Distribution

debian sid

Describe the bug

I don't have a reproduction steps. Sometimes, when clicking on the Show Native Window button in the Limiter plugin, whole EE crashes. It happened 5+ times over last few weeks with Limiter, but i've never ever seen that happen with any other filter. I don't have a backtrace, so i understand that this is not exactly actionable.

CC @sadko4u

Expected Behavior

No response

Debug Log

No response

Additional Information

No response

LebedevRI avatar Jun 26 '24 19:06 LebedevRI

You can build LSP Plugins in debug mode and enable trace using these options:

make config DEBUG=1 TRACE=1

This will make LSP Plugins write log files to /tmp/lsp-lv2.log and /tmp/lsp-lv2ui.log. Also you'll be available to get stack trace running the host tool in GDB.

sadko4u avatar Jun 26 '24 19:06 sadko4u

@LebedevRI also try to install the pacakge with EasyEffects debug symbols and run sudo coredumpctl info right after a crash so we can have some idea about what it is being done when it crashes.

wwmm avatar Jun 27 '24 00:06 wwmm

Just thought I'd chime in here...

Also happening for me when trying to open the Native Window for the Equalizer... the Limiter seems fine here though.

I can't provide a dump though as I have coredump saves disabled on my system... I checked the systemd journal and dmesg output, didn't see anything about any seg faults or anything like that, that could have been related.

EDIT: From the little bit of poking at it I did do when I first noticed it happening, it seems to only crash if I try to open the Native Window while there is something currently being played.

If I open it while nothing is playing, it opens just fine, and then I can start playing audio from any application just fine and the Native Window works as normal.

sjclayton avatar Jun 28 '24 11:06 sjclayton

From the little bit of poking at it I did do when I first noticed it happening, it seems to only crash if I try to open the Native Window while there is something currently being played.

On my computer the native window for the equalizer and the limiter open just fine while something is playing. I wonder what is being triggered on your system for this to be making a difference.

wwmm avatar Jun 28 '24 15:06 wwmm

For me, it crashes maybe once per ~40+ times i click that button. It's almost assuredly some kind of a race condition. (and yes, IIRC it always only happened when something is actually playing)

LebedevRI avatar Jun 28 '24 15:06 LebedevRI

For me, it crashes maybe once per ~40+ times i click that button. It's almost assuredly some kind of a race condition. (and yes, IIRC it always only happened when something is actually playing)

It is possible. The problem is that I do not open the native plugin window (or EE window) often enough to see the problem. Someone that does that will have to view coredumps/gdb outputs so we can have some idea about where the crash is happening.

wwmm avatar Jun 28 '24 15:06 wwmm

So much has changed that is probably better to close this issue

wwmm avatar Nov 09 '25 02:11 wwmm

Still happening on 7.2.5 + lsp1.2.21, i don't know if this has been fixed in newer LSP versions.

LebedevRI avatar Nov 09 '25 13:11 LebedevRI

Still happening on 7.2.5 + lsp1.2.21, i don't know if this has been fixed in newer LSP versions.

Ok. But considering this involves graphical interface management it will probably be better to debug in a new issue dedicated to the new qt version.

wwmm avatar Nov 09 '25 14:11 wwmm