jonasblome / Saempl

A sample manager audio plug-in for automatic sample analysis and clustering.
Apache License 2.0
8 stars 1 forks source link

Linux - Crash when adding samples folder #3

Open crshrprt opened 9 months ago

crshrprt commented 9 months ago

Linux - Debian Sid

When I try to add a samples folder, as soon the scan starts (the scanning window is displayed for a fraction of a second), the plugins crashes.

I tried running it with carla-single vst3 ~/.vst3/Saempl.vst3 to get at least some message displayed on the terminal when the plugin crashes.

The error is: Floating point exception

jonasblome commented 9 months ago

hm, I'll take a look, maybe there's a division by zero or something. can you get any more information on that? did you try running the app in standalone mode? maybe that provides more info on the error.

jonasblome commented 9 months ago

try it again now, i tried to avoid any possible divisions by zero.

crshrprt commented 9 months ago

Now it starts Synching the sample libray in both VST3 and standalone.

VST3 version however crashes as soon the scan is finished with:

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  15 (X_QueryTree)
  Resource id in failed request:  0x820606
  Serial number of failed request:  5972
  Current serial number in output stream:  5972
[carla] Carla assertion failure: "engine == nullptr" in file ../backend/CarlaHostImpl.hpp, line 87
JUCE Assertion failure in juce_Singleton.h:50
JUCE Assertion failure in juce_Singleton.h:50
JUCE Assertion failure in juce_Singleton.h:50
JUCE Assertion failure in juce_Singleton.h:50
JUCE Assertion failure in juce_Singleton.h:50
JUCE Assertion failure in juce_Singleton.h:50
JUCE Assertion failure in juce_Singleton.h:50
JUCE Assertion failure in juce_Singleton.h:50

Standalone seems to load samples fine most of the times, but crashed a couple of times with "segmentation error".

jonasblome commented 9 months ago

okay, ill try to find the issue with the singleton thing. can you give me any other info on the segmentation error thing?

jonasblome commented 9 months ago

i have some issues myself with building and running the au and vst schemes because i fucked with some of the plist files and didn't manage to reverse it. next week ill copy the files to a new project and see if that fixes anything. thanks for the help you gave already!