GuitarML / SmartGuitarPedal

Guitar plugin made with JUCE that uses neural network models to emulate real world hardware.
https://www.facebook.com/smartguitarml
Apache License 2.0
264 stars 24 forks source link

Reaper (Linux, 86_64) crash unless loaded as dedicated process. #19

Open 38github opened 2 years ago

38github commented 2 years ago

When adding a SmartPedal (VST3) to a channel Reaper crashes. The terminal shows the following:

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

Killed

It does load if I set Run as -> dedicated process but it is very unstable and after a while, if I open the GUI several times, Reaper hangs.

GuitarML commented 2 years ago

@38github Thanks for the info, if you can get me the following info it would help track this down:

-Flavor/version of Linux? -Version of Reaper? -Computer processor (i5, i7, AMD/Ryzen)

Thanks!

38github commented 2 years ago

-Flavor/version of Linux? -Version of Reaper? -Computer processor (i5, i7, AMD/Ryzen)

No problem at all.

It happens with both the official VST3 in the deb package and when I compile it on these systems.

38github commented 2 years ago

On my Kaby Lake laptop (year 2017 I think) it works! I use the compile that I made so I haven't tried the official deb package. I also didn't have to run it as a dedicated process in Reaper and it didn't crash.

On a side note: SmartPedal does not load the models when opening a project and I have to open up the plugin for it to activate. Is this something that you have looked into or maybe you haven't experienced it?

38github commented 1 year ago

Any work on this issue? Any information you need me/us to post to go any further?

GuitarML commented 1 year ago

No that’s plenty of info, thank you! I haven’t made any progress on this one yet, unfortunately I don’t have a direct way to debug what you’re seeing. It could be hardware related, if it works for your newer computer with OS and Reaper versions the same. The pixman error seems to indicate a graphics/rendering issue. Did you happen to run earlier versions of SmartPedal before my graphics update?

38github commented 1 year ago

Did you happen to run earlier versions of SmartPedal before my graphics update?

Unfortunately I can't give you an answer to that question. I don't remember.

38github commented 1 year ago

I built a debug version and in the terminal the following is shown when Reaper crash:

JUCE v7.0.2 JUCE Assertion failure in juce_LookAndFeel.cpp:73 JUCE Assertion failure in juce_LookAndFeel.cpp:73 JUCE v7.0.2 Killed [user@user REAPER]$ ** Leaked objects detected: 120 instance(s) of class CachedGlyphEdgeTable JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class GlyphCache JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 84 instance(s) of class PositionedGlyph JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 33 instance(s) of class GlyphInfo JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class CustomTypeface JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class Typeface JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 116 instance(s) of class KnownTypeface JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class FTFaceWrapper JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class FTTypefaceList JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class FTLibWrapper JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 5 instance(s) of class GlyphArrangement JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 33 instance(s) of class Path JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 39 instance(s) of class EdgeTable JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class LookAndFeel_V4 JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class LookAndFeel_V2 JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class LookAndFeel JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class Desktop JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class NativeDarkModeChangeDetectorImpl JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class MouseInputSource JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class MouseInputSourceInternal JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 209 instance(s) of class Font JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class TypefaceCache JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class Image JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class ComponentAnimator JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class MemoryBlock JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 3 instance(s) of class Param JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class JuceVST3EditController JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class AudioParameterBool JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class JuceAudioProcessor JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class HashMap JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class JuceVST3Component JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class AudioBuffer JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class MidiBuffer JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class SmartPedalAudioProcessor JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 4 instance(s) of class AudioBuffer JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 3 instance(s) of class SharedObject JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 2 instance(s) of class AudioProcessorParameterNode JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class TimerThread JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 6 instance(s) of class AsyncUpdater JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class Thread JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class AudioProcessorValueTreeState JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 2 instance(s) of class AudioParameterFloat JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 3 instance(s) of class AudioProcessorParameterWithID JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 3 instance(s) of class AudioProcessorParameter JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class AudioProcessor JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 2 instance(s) of class AudioProcessorParameterGroup JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 2 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 2 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 9 instance(s) of class BigInteger JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class X11Symbols JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 5 instance(s) of class DynamicLibrary JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class XWindowSystem JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class MessageThread JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 6 instance(s) of class WaitableEvent JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class SharedResourcePointer JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 1 instance(s) of class MessageManager JUCE Assertion failure in juce_LeakedObjectDetector.h:92 Leaked objects detected: 3 instance(s) of class StringArray JUCE Assertion failure in juce_LeakedObjectDetector.h:92 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 JUCE Assertion failure in juce_Singleton.h:50**

@tpoole I tagged your since you are a conributer to JUCE and might have an idea what might be the problem.

Regards