AudioPluginHost and WebBrowser under Linux

Hi,

I get a ton of asserts when I try to load the Editor/UI of a plugin with a juce::WebBrowserComponent in AudioPluginHost (I’m only using RAII and things work fine in Standalone and on Windows):

*** Leaked objects detected: 1 instance(s) of class WebBrowserComponent
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: 1 instance(s) of class OggVorbisAudioFormat
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class FlacAudioFormat
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AiffAudioFormat
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class WavAudioFormat
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioThumbnail
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 AudioThumbnailCache
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 TimeSliceThread
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioFormatManager
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 ScrollBar
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class PluginEditor
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class LookAndFeel_V4
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class LookAndFeel_V2
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class LookAndFeel
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 instance(s) of class Image
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class JUCESplashScreen
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class ComponentAnimator
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: 1 instance(s) of class ComponentBoundsConstrainer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ContentWrapperComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 10 instance(s) of class Component
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 10 instance(s) of class MouseCursor
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class JuceVST3Editor
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class EventHandler
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 MemoryBlock
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2081 instance(s) of class AudioProcessorParameterNode
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2081 instance(s) of class AudioProcessorParameter
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 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 VST3PluginInstance
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class MidiEventList
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class RunLoop
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 AudioParameterBool
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioProcessorParameterWithID
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioProcessorParameter
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 PluginProcessor
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 32 instance(s) of class SamplerVoice
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 64 instance(s) of class GenericInterpolator
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 32 instance(s) of class ModernSynthVoice
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 65 instance(s) of class AudioBuffer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class SamplerSynth
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ModernSynth
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class MidiKeyboardState
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class MidiBuffer
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: 9 instance(s) of class AsyncUpdater
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 SharedObject
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class AudioProcessor
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 instance(s) of class AudioProcessorParameterGroup
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 instance(s) of class OwnedArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 4 instance(s) of class OwnedArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 10 instance(s) of class BigInteger
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class XSettings
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: 4 instance(s) of class Thread
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 13 instance(s) of class WaitableEvent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 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: 1 instance(s) of class VST3HostContext
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 7 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
*** Leaked objects detected: 1 instance(s) of class DLLHandle*** Leaked objects detected: 1 instance(s) of class PluginWindow
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class WebBrowserComponent
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: 1 instance(s) of class OggVorbisAudioFormat
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class FlacAudioFormat
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AiffAudioFormat
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class WavAudioFormat
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioThumbnail
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 AudioThumbnailCache
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 TimeSliceThread
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioFormatManager
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 ScrollBar
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class PluginEditor
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class LookAndFeel_V4
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class LookAndFeel_V2
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class LookAndFeel
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 instance(s) of class Image
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class JUCESplashScreen
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class ComponentAnimator
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: 1 instance(s) of class ComponentBoundsConstrainer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ContentWrapperComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 10 instance(s) of class Component
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 10 instance(s) of class MouseCursor
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class JuceVST3Editor
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class EventHandler
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 MemoryBlock
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2081 instance(s) of class AudioProcessorParameterNode
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2081 instance(s) of class AudioProcessorParameter
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 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 VST3PluginInstance
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class MidiEventList
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class RunLoop
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 AudioParameterBool
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioProcessorParameterWithID
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioProcessorParameter
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 PluginProcessor
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 32 instance(s) of class SamplerVoice
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 64 instance(s) of class GenericInterpolator
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 32 instance(s) of class ModernSynthVoice
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 65 instance(s) of class AudioBuffer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class SamplerSynth
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ModernSynth
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class MidiKeyboardState
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class MidiBuffer
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: 9 instance(s) of class AsyncUpdater
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 SharedObject
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class AudioProcessor
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 instance(s) of class AudioProcessorParameterGroup
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 instance(s) of class OwnedArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 4 instance(s) of class OwnedArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 10 instance(s) of class BigInteger
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class XSettings
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: 4 instance(s) of class Thread
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 13 instance(s) of class WaitableEvent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 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: 1 instance(s) of class VST3HostContext
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 7 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
*** Leaked objects detected: 1 instance(s) of class DLLHandle
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class DLLHandleCache
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class VST3ModuleHandle
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class PopupMenu
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class X11DragState
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 98 instance(s) of class EdgeTable
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** 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: 419 instance(s) of class PositionedGlyph
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 22 instance(s) of class GlyphArrangement
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class XBitmapImage
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ImagePixelData
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 50 instance(s) of class PinComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 5 instance(s) of class OwnedArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 5 instance(s) of class Node
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ChildProcessCoordinator
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 72 instance(s) of class GlyphInfo
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class CustomTypeface
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 Typeface
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 286 instance(s) of class KnownTypeface
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 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: 1 instance(s) of class MenuBarComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class TooltipBar
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class MidiKeyboardComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class UpDownButton
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class KeyboardComponentBase
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class GraphEditorPanel
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 DrawableRectangle
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 GraphDocumentComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class SidePanel
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class ShapeButton
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 7 instance(s) of class DropShadowEffect
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class Label
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class MidiKeyboardState
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioProcessorPlayer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class MidiMessageCollector
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 11 instance(s) of class MidiBuffer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 instance(s) of class AudioBuffer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class PluginGraph
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 StreamDeckManager
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class HighResolutionTimer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioProcessorGraph
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class FileBasedDocument
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class Pimpl
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 4 instance(s) of class RowComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 568 instance(s) of class Font

(...)

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
JUCE Assertion failure in juce_Singleton.h:50
JUCE Assertion failure in juce_Singleton.h:50
JUCE Assertion failure in juce_Singleton.h:50

Another problem:
When I have two WebBrowserComponents under linux my plugin will freeze when I try to open the plugin-GUI in the PluginHost.

When I have a plugin with one window and open a second window within my plugin with a (second) Webbrowser the plugin will crash in this momement with some failure in unique_ptr.h (again I only use proper RAII!).

Any ideas ? :grimacing:

Best, equinox

Have you debugged with Address Sanitizer at all?

No, sorry I have no experience with AdressSanitizer.
Do you mean to put it on the plugin or the host?

I’m using cmake/clion on linux, would this be enough:

target_compile_options(MyPlugin PRIVATE -fsanitize=address)
target_link_options(MyPlugin PRIVATE -fsanitize=address)

thanks a lot for your help.

That should do it, yes. I recommend building both the plugin and host with address sanitizer enabled.

Ok I was able to use it on the host, but the new sanitizer tab in clion show now abnormalities.
In my plugin I get tons of errors in the linker, I tried it with the Cmake example plugin and get the same errors:

juce_gui_basics.cpp:(.text+0x713d7): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71412): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71439): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ResizableEdgeComponent::ResizableEdgeComponent(juce::Component*, juce::ComponentBoundsConstrainer*, juce::ResizableEdgeComponent::Edge)':
juce_gui_basics.cpp:(.text+0x71536): undefined reference to `__asan_option_detect_stack_use_after_return'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71545): undefined reference to `__asan_stack_malloc_0'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x715d9): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7162d): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7168f): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71778): undefined reference to `__asan_handle_no_return'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ResizableEdgeComponent::~ResizableEdgeComponent()':
juce_gui_basics.cpp:(.text+0x7180c): undefined reference to `__asan_report_store8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ResizableEdgeComponent::isVertical() const':
juce_gui_basics.cpp:(.text+0x718a9): undefined reference to `__asan_report_load4'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ResizableEdgeComponent::paint(juce::Graphics&)':
juce_gui_basics.cpp:(.text+0x71924): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7194b): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ResizableEdgeComponent::mouseDown(juce::MouseEvent const&)':
juce_gui_basics.cpp:(.text+0x71a4a): undefined reference to `__asan_report_store16'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71a8b): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71ac6): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71aed): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ResizableEdgeComponent::mouseDrag(juce::MouseEvent const&)':
juce_gui_basics.cpp:(.text+0x71b45): undefined reference to `__asan_option_detect_stack_use_after_return'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71b54): undefined reference to `__asan_stack_malloc_0'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71bf5): undefined reference to `__asan_report_store16'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71c20): undefined reference to `__asan_report_load16'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71c75): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71df5): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71e52): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71ef6): undefined reference to `__asan_report_load16'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71f7e): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71fac): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x71ffe): undefined reference to `__asan_report_load16'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ResizableEdgeComponent::mouseUp(juce::MouseEvent const&)':
juce_gui_basics.cpp:(.text+0x720ad): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x720e8): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7210f): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::ScrollBar(bool)':
juce_gui_basics.cpp:(.text+0x72194): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x721c9): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72202): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7228a): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x722c5): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7230a): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72355): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72398): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x723e3): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72426): undefined reference to `__asan_report_store4'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o):juce_gui_basics.cpp:(.text+0x72471): more undefined references to `__asan_report_store4' follow
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::ScrollBar(bool)':
juce_gui_basics.cpp:(.text+0x7258a): undefined reference to `__asan_report_store1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x725d2): undefined reference to `__asan_report_store1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72617): undefined reference to `__asan_report_store1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7265c): undefined reference to `__asan_report_store1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x726d9): undefined reference to `__asan_handle_no_return'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::~ScrollBar()':
juce_gui_basics.cpp:(.text+0x72720): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72755): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7278e): undefined reference to `__asan_report_store8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::setRangeLimits(juce::Range<double>, juce::NotificationType)':
juce_gui_basics.cpp:(.text+0x728f1): undefined reference to `__asan_option_detect_stack_use_after_return'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72900): undefined reference to `__asan_stack_malloc_0'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x729c8): undefined reference to `__asan_report_store16'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72a10): undefined reference to `__asan_report_load16'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::setRangeLimits(double, double, juce::NotificationType)':
juce_gui_basics.cpp:(.text+0x72ae4): undefined reference to `__asan_option_detect_stack_use_after_return'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72af3): undefined reference to `__asan_stack_malloc_0'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72b93): undefined reference to `__asan_report_load16'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::setCurrentRange(juce::Range<double>, juce::NotificationType)':
juce_gui_basics.cpp:(.text+0x72c6b): undefined reference to `__asan_option_detect_stack_use_after_return'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72c7a): undefined reference to `__asan_stack_malloc_1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72d29): undefined reference to `__asan_report_store16'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72db1): undefined reference to `__asan_report_store16'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::setCurrentRange(double, double, juce::NotificationType)':
juce_gui_basics.cpp:(.text+0x72ed4): undefined reference to `__asan_option_detect_stack_use_after_return'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72ee3): undefined reference to `__asan_stack_malloc_0'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x72f8b): undefined reference to `__asan_report_load16'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::setSingleStepSize(double)':
juce_gui_basics.cpp:(.text+0x730be): undefined reference to `__asan_report_store8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::moveScrollbarInSteps(int, juce::NotificationType)':
juce_gui_basics.cpp:(.text+0x73118): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::setButtonRepeatSpeed(int, int, int)':
juce_gui_basics.cpp:(.text+0x7338a): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x733d4): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x73416): undefined reference to `__asan_report_store4'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::handleAsyncUpdate()::{lambda(juce::ScrollBar::Listener&)#1}::operator()(juce::ScrollBar::Listener&) const':
juce_gui_basics.cpp:(.text+0x73523): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7354e): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x73576): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7359f): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::handleAsyncUpdate()':
juce_gui_basics.cpp:(.text+0x735e4): undefined reference to `__asan_option_detect_stack_use_after_return'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x735f3): undefined reference to `__asan_stack_malloc_0'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7369d): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x736cd): undefined reference to `__asan_report_store8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::updateThumbPosition()':
juce_gui_basics.cpp:(.text+0x7378d): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x737b5): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x73840): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x738ba): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x73923): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7397c): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x739cd): undefined reference to `__asan_report_load4'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o):juce_gui_basics.cpp:(.text+0x73a86): more undefined references to `__asan_report_load4' follow
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::updateThumbPosition()':
juce_gui_basics.cpp:(.text+0x73cd7): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x73d75): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x73dbf): undefined reference to `__asan_report_store4'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::setOrientation(bool)':
juce_gui_basics.cpp:(.text+0x73e24): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x73ea2): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x73f04): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x73f44): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x73fa6): undefined reference to `__asan_report_store4'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::setAutoHide(bool)':
juce_gui_basics.cpp:(.text+0x7400f): undefined reference to `__asan_report_store1'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::autoHides() const':
juce_gui_basics.cpp:(.text+0x74076): undefined reference to `__asan_report_load1'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::paint(juce::Graphics&)':
juce_gui_basics.cpp:(.text+0x740de): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7413d): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x74168): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x74193): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x741e7): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x74235): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x74269): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x74294): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x742fe): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x74343): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7438f): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x743dd): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7443f): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7446a): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x744d2): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x74517): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x74571): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x745b1): undefined reference to `__asan_report_load4'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::ScrollBar::lookAndFeelChanged()':

(...)

/usr/bin/ld: juce_gui_basics.cpp:(.text+0x76ae8): undefined reference to `__asan_handle_no_return'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::SidePanel::SidePanel(juce::StringRef, int, bool, juce::Component*, bool)::{lambda()#1}::operator()() const':
juce_gui_basics.cpp:(.text+0x76bc1): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::SidePanel::SidePanel(juce::StringRef, int, bool, juce::Component*, bool)':
juce_gui_basics.cpp:(.text+0x76c2f): undefined reference to `__asan_option_detect_stack_use_after_return'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x76c3e): undefined reference to `__asan_stack_malloc_2'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x76d47): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x76d82): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x76dc1): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x76e23): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x76f76): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x76fa8): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x76ffa): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77038): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x770ee): undefined reference to `__asan_report_store1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7713f): undefined reference to `__asan_report_store1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7718d): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x771d8): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77229): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77287): undefined reference to `__asan_report_store1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x772d5): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7731e): undefined reference to `__asan_report_store1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77392): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7763e): undefined reference to `__asan_handle_no_return'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::SidePanel::~SidePanel()':
juce_gui_basics.cpp:(.text+0x77730): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77765): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7779e): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77810): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::SidePanel::setContent(juce::Component*, bool)':
juce_gui_basics.cpp:(.text+0x77a08): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77a35): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::SidePanel::setTitleBarComponent(juce::Component*, bool, bool)':
juce_gui_basics.cpp:(.text+0x77b09): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77b36): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77b77): undefined reference to `__asan_report_store1'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::SidePanel::showOrHide(bool)':
juce_gui_basics.cpp:(.text+0x77bc1): undefined reference to `__asan_option_detect_stack_use_after_return'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77bd0): undefined reference to `__asan_stack_malloc_0'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77c54): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77ca8): undefined reference to `__asan_report_store1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77cf6): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77d26): undefined reference to `__asan_report_store16'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77dcb): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77e27): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77e55): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::SidePanel::resized()':
juce_gui_basics.cpp:(.text+0x77f38): undefined reference to `__asan_option_detect_stack_use_after_return'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x77f47): undefined reference to `__asan_stack_malloc_2'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7800d): undefined reference to `__asan_report_store16'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7807c): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x780ae): undefined reference to `__asan_report_store16'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x78128): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x78184): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x781c8): undefined reference to `__asan_report_store16'

(...)

/usr/bin/ld: juce_gui_basics.cpp:(.text+0x79dc8): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x79dfa): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x79e4f): undefined reference to `__asan_handle_no_return'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x79e75): undefined reference to `__asan_handle_no_return'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::SidePanel::componentMovedOrResized(juce::Component&, bool, bool)':
juce_gui_basics.cpp:(.text+0x79f56): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::SidePanel::changeListenerCallback(juce::ChangeBroadcaster*)':
juce_gui_basics.cpp:(.text+0x7a052): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7a0b4): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7a0f7): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7a122): undefined reference to `__asan_report_load8'

(...)

/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7bbde): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7bc0a): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7bc7c): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7bca8): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7bcfa): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7bd48): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7bd98): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7be0b): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7be37): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7bea9): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7bed5): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7bf27): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7bf75): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7bfc5): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c04f): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c0e3): undefined reference to `__asan_report_load4'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o):juce_gui_basics.cpp:(.text+0x7c164): more undefined references to `__asan_report_load4' follow
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::StretchableLayoutManager::getMinimumSizeOfItems(int, int) const':
juce_gui_basics.cpp:(.text+0x7c19d): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::StretchableLayoutManager::getMaximumSizeOfItems(int, int) const':
juce_gui_basics.cpp:(.text+0x7c226): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c25f): undefined reference to `__asan_report_load8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::StretchableLayoutManager::updatePrefSizesToMatchCurrentPositions()':
juce_gui_basics.cpp:(.text+0x7c2e2): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c350): undefined reference to `__asan_report_store8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::StretchableLayoutResizerBar::StretchableLayoutResizerBar(juce::StretchableLayoutManager*, int, bool)':
juce_gui_basics.cpp:(.text+0x7c409): undefined reference to `__asan_option_detect_stack_use_after_return'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c418): undefined reference to `__asan_stack_malloc_0'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c4ac): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c4e0): undefined reference to `__asan_report_store8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c52d): undefined reference to `__asan_report_store4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c578): undefined reference to `__asan_report_store1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c636): undefined reference to `__asan_handle_no_return'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::StretchableLayoutResizerBar::~StretchableLayoutResizerBar()':
juce_gui_basics.cpp:(.text+0x7c6ca): undefined reference to `__asan_report_store8'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::StretchableLayoutResizerBar::paint(juce::Graphics&)':
juce_gui_basics.cpp:(.text+0x7c760): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c787): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c7eb): undefined reference to `__asan_report_load1'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::StretchableLayoutResizerBar::mouseDown(juce::MouseEvent const&)':
juce_gui_basics.cpp:(.text+0x7c883): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c8c4): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c918): undefined reference to `__asan_report_store4'
/usr/bin/ld: AudioPluginExample_artefacts/libAudio Plugin Example_SharedCode.a(juce_gui_basics.cpp.o): in function `juce::StretchableLayoutResizerBar::mouseDrag(juce::MouseEvent const&)':
juce_gui_basics.cpp:(.text+0x7c978): undefined reference to `__asan_report_load4'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7c9b7): undefined reference to `__asan_report_load1'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7ca0c): undefined reference to `__asan_report_load8'
/usr/bin/ld: juce_gui_basics.cpp:(.text+0x7ca4d): undefined reference to `__asan_report_load4'
/usr/bin/ld: ^Cmake[2]: *** Deleting file 'AudioPluginExample_artefacts/Standalone/Audio Plugin Example'
make[2]: *** [CMakeFiles/AudioPluginExample_Standalone.dir/build.make:196: AudioPluginExample_artefacts/Standalone/Audio Plugin Example] Interrupt
make[1]: *** [CMakeFiles/Makefile2:206: CMakeFiles/AudioPluginExample_Standalone.dir/all] Interrupt

I have no clue whats going on here… :confused:

Ok I made a demo project with two webbrowser components and it definitly freezes the UI when I try to open the Editor under linux in the stand AudioPluginHost (JUCE 7.0.5):

PluginEditor.h:

#pragma once
#include <juce_gui_extra/juce_gui_extra.h>

#include "PluginProcessor.h"

//==============================================================================
class AudioPluginAudioProcessorEditor : public juce::AudioProcessorEditor {
public:
  explicit AudioPluginAudioProcessorEditor(AudioPluginAudioProcessor &);
  ~AudioPluginAudioProcessorEditor() override;

  //==============================================================================
  void paint(juce::Graphics &) override;
  void resized() override;

private:
  juce::WebBrowserComponent browser;
  juce::WebBrowserComponent browser2;
  // This reference is provided as a quick way for your editor to
  // access the processor object that created it.
  AudioPluginAudioProcessor &processorRef;

  JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(AudioPluginAudioProcessorEditor)
};

PluginEditor.cpp:

#include "PluginEditor.h"
#include "PluginProcessor.h"

//==============================================================================
AudioPluginAudioProcessorEditor::AudioPluginAudioProcessorEditor(
    AudioPluginAudioProcessor &p)
    : AudioProcessorEditor(&p), processorRef(p) {
  juce::ignoreUnused(processorRef);
  // Make sure that before the constructor has finished, you've set the
  // editor's size to whatever you need it to be.
  addAndMakeVisible(&browser);
  addAndMakeVisible(&browser2);
  browser.goToURL("http://www.juce.com");
  browser2.goToURL("http://forum.juce.com");
  setSize(400, 300);
}

AudioPluginAudioProcessorEditor::~AudioPluginAudioProcessorEditor() {}

//==============================================================================
void AudioPluginAudioProcessorEditor::paint(juce::Graphics &g) {
  // (Our component is opaque, so we must completely fill the background with a
  // solid colour)
  g.fillAll(juce::Colours::rebeccapurple);

  g.setColour(juce::Colours::white);
  g.setFont(15.0f);
  g.drawFittedText("Hello World!", getLocalBounds(),
                   juce::Justification::centred, 1);
}

void AudioPluginAudioProcessorEditor::resized() {
  browser.setBounds(getLocalBounds().removeFromTop(100));
  browser2.setBounds(getLocalBounds());
  // This is generally where you'll want to lay out the positions of any
  // subcomponents in your editor..
}

Processor is same as in the Cmake Plugin Example.

The memory allocation stuff could be related to some bugs in my plugin, but it’s definitly not possible to load a plugin with two webbrowser components with the AudioPluginHost under linux, or I’m missing something here.

Thanks for any help,

best equinox

I found out something interesting:

With the pure AudioPluginExample + WebBrowser ( one instance, so in my example no browser2) loaded in a pure AudioPluginHost you get tones of those errors:

*** Leaked objects detected: 1 instance(s) of class VST3PluginInstance
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class MidiEventList
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class RunLoop
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 VST3HostContext
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class DLLHandle
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class DLLHandleCache
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class VST3ModuleHandle
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 instance(s) of class PopupMenu
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class X11DragState
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 120 instance(s) of class EdgeTable
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** 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: 611 instance(s) of class PositionedGlyph
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 37 instance(s) of class GlyphArrangement
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class XBitmapImage
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ImagePixelData
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 50 instance(s) of class PinComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 5 instance(s) of class OwnedArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 5 instance(s) of class Node
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 79 instance(s) of class GlyphInfo
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class CustomTypeface
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 Typeface
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 286 instance(s) of class KnownTypeface
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 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: 1 instance(s) of class MenuBarComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class TooltipBar
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class MidiKeyboardComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class UpDownButton
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class KeyboardComponentBase
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class GraphEditorPanel
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 OwnedArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class GraphDocumentComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class SidePanel
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class ShapeButton
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 7 instance(s) of class DropShadowEffect
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class Label
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioProcessorPlayer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class MidiMessageCollector
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 4 instance(s) of class RowComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 775 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 BurgerMenuComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class ListViewport
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 4 instance(s) of class ScrollBar
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class Viewport
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class DragToScrollListener
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 4 instance(s) of class AnimatedPosition
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class ListBox
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class PluginGraph
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 AudioProcessorGraph
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class FileBasedDocument
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class Pimpl
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class DragAndDropContainer
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 CustomPluginScanner
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ResizableBorderComponent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class MidiInput
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: 2 instance(s) of class ALSADevice
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ALSAThread
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ALSAAudioIODeviceType
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class PropertiesFile
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class PropertySet
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 instance(s) of class AudioBuffer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class MidiKeyboardState
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 11 instance(s) of class MidiBuffer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 5 instance(s) of class MemoryBlock
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioProcessorParameterNode
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioProcessorParameter
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 55 instance(s) of class PluginDescription
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 4 instance(s) of class AudioGraphIOProcessor
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 5 instance(s) of class AudioPluginInstance
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 6 instance(s) of class AudioProcessor
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 6 instance(s) of class AudioProcessorParameterGroup
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 6 instance(s) of class OwnedArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 12 instance(s) of class OwnedArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class MainHostWindow
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class KnownPluginList
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class CallbackHandler
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class AudioDeviceManager
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 26 instance(s) of class AudioBuffer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 50 instance(s) of class BigInteger
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 OwnedArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class MenuBarModel
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class ButtonAccessibilityHandler
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 34 instance(s) of class KeyPress
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 ButtonListenerProxy
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 4 instance(s) of class CallbackHelper
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 4 instance(s) of class Button
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 6 instance(s) of class SimpleValueSource
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 6 instance(s) of class ValueSource
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class DocumentWindow
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 81 instance(s) of class Path
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class XmlElement
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ResizableWindow
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ComponentBoundsConstrainer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ComponentDragger
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 68 instance(s) of class AccessibilityHandler
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: 1 instance(s) of class NativeDarkModeChangeDetectorImpl
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class ComponentAnimator
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: 7 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: 1 instance(s) of class KeyPressMappingSet
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 OwnedArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class ApplicationCommandManager
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: 36 instance(s) of class AsyncUpdater
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class ApplicationCommandTarget
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: 2 instance(s) of class StringPairArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 16 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
JUCE Assertion failure in juce_Singleton.h:50
JUCE Assertion failure in juce_Singleton.h:50

Btw sorry for posting so much errors :crazy_face:

Hi again.

I got now the output of the Address Sanitizer. I used the standart AudioPluginHost with the standart cmake plugin example project with just a juce::WebBrowserComponent as a member of the PluginEditor (even no need to add and make it visible…). JUCE Version is 7.0.5, linux is ubunt 22.0

==24696==Running thread 24633 was not suspended. False leaks are possible.
==24696==Running thread 24634 was not suspended. False leaks are possible.
==24696==Running thread 24635 was not suspended. False leaks are possible.
==24696==Running thread 24638 was not suspended. False leaks are possible.
==24696==Running thread 24639 was not suspended. False leaks are possible.
==24696==Running thread 24652 was not suspended. False leaks are possible.

=================================================================
==24677==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 16522 byte(s) in 57 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc69c92b22f  (/home/equinox/Documents/Code/Sources/AudioPluginHost/cmake-build-debug/AudioPluginHost_artefacts/Debug/AudioPluginHost+0x21f422f)

Direct leak of 16384 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x565465073f11 in juce::HeapBlock<unsigned char, false>::HeapBlock<int, 0>(int) /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/memory/juce_HeapBlock.h:112
    #2 0x565465524e23 in juce::AlsaClient::MidiInputThread::run() /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_audio_devices/native/juce_linux_Midi.cpp:328
    #3 0x5654651e083a in juce::Thread::threadEntryPoint() /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/threads/juce_Thread.cpp:98
    #4 0x5654651e0a26 in juce::juce_threadEntryPoint(void*) /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/threads/juce_Thread.cpp:120
    #5 0x565465246cf9 in operator() /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/native/juce_linux_Threads.cpp:40
    #6 0x565465246d21 in _FUN /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/native/juce_linux_Threads.cpp:43
    #7 0x7fc6beb25b42 in start_thread nptl/pthread_create.c:442

Direct leak of 256 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc6a0fd7a21  (/lib/x86_64-linux-gnu/libfontconfig.so.1+0x1fa21)

Direct leak of 144 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc69c92b22f  (/home/equinox/Documents/Code/Sources/AudioPluginHost/cmake-build-debug/AudioPluginHost_artefacts/Debug/AudioPluginHost+0x21f422f)
    #2 0x6150000f8eff  (<unknown module>)

Direct leak of 144 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc69c92b22f  (/home/equinox/Documents/Code/Sources/AudioPluginHost/cmake-build-debug/AudioPluginHost_artefacts/Debug/AudioPluginHost+0x21f422f)
    #2 0x61f0001a087f  (<unknown module>)

Direct leak of 144 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc69c92b22f  (/home/equinox/Documents/Code/Sources/AudioPluginHost/cmake-build-debug/AudioPluginHost_artefacts/Debug/AudioPluginHost+0x21f422f)
    #2 0x6110001d6f3f  (<unknown module>)

Direct leak of 80 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc69c92b22f  (/home/equinox/Documents/Code/Sources/AudioPluginHost/cmake-build-debug/AudioPluginHost_artefacts/Debug/AudioPluginHost+0x21f422f)
    #2 0x6030003b082f  (<unknown module>)

Direct leak of 80 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc69c92b22f  (/home/equinox/Documents/Code/Sources/AudioPluginHost/cmake-build-debug/AudioPluginHost_artefacts/Debug/AudioPluginHost+0x21f422f)
    #2 0x618000088a47  (<unknown module>)

Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2a37 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154
    #1 0x7fc6bf1f7f43 in snd_midi_event_new (/lib/x86_64-linux-gnu/libasound.so.2+0xbcf43)
    #2 0x5654651e083a in juce::Thread::threadEntryPoint() /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/threads/juce_Thread.cpp:98
    #3 0x5654651e0a26 in juce::juce_threadEntryPoint(void*) /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/threads/juce_Thread.cpp:120
    #4 0x565465246cf9 in operator() /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/native/juce_linux_Threads.cpp:40
    #5 0x565465246d21 in _FUN /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/native/juce_linux_Threads.cpp:43
    #6 0x7fc6beb25b42 in start_thread nptl/pthread_create.c:442

Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc69c92b22f  (/home/equinox/Documents/Code/Sources/AudioPluginHost/cmake-build-debug/AudioPluginHost_artefacts/Debug/AudioPluginHost+0x21f422f)
    #2 0xd7b619580096dcff  (<unknown module>)

Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2a37 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154
    #1 0x7fc6ba823ea2 in pa_xmalloc0 (/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so+0x1bea2)

Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc69c92adbf  (/home/equinox/Documents/Code/Sources/AudioPluginHost/cmake-build-debug/AudioPluginHost_artefacts/Debug/AudioPluginHost+0x21f3dbf)

Direct leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f41c7 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:99
    #1 0x7fc6a682bc27 in juce::Timer::TimerThread::run() (/home/equinox/Documents/Code/Builds/JuceWebSkelet/AudioPluginExample_artefacts/VST3/Audio Plugin Example.vst3/Contents/x86_64-linux/Audio Plugin Example.so+0x48fc27)
    #2 0x7fc6a686b5d9 in juce::Thread::threadEntryPoint() (/home/equinox/Documents/Code/Builds/JuceWebSkelet/AudioPluginExample_artefacts/VST3/Audio Plugin Example.vst3/Contents/x86_64-linux/Audio Plugin Example.so+0x4cf5d9)
    #3 0x7fc6a686b6a7 in juce::juce_threadEntryPoint(void*) (/home/equinox/Documents/Code/Builds/JuceWebSkelet/AudioPluginExample_artefacts/VST3/Audio Plugin Example.vst3/Contents/x86_64-linux/Audio Plugin Example.so+0x4cf6a7)
    #4 0x7fc6a6894a29 in juce::Thread::createNativeThread(juce::Thread::Priority)::{lambda(void*)#1}::operator()(void*) const (/home/equinox/Documents/Code/Builds/JuceWebSkelet/AudioPluginExample_artefacts/VST3/Audio Plugin Example.vst3/Contents/x86_64-linux/Audio Plugin Example.so+0x4f8a29)
    #5 0x7fc6a6894a51 in juce::Thread::createNativeThread(juce::Thread::Priority)::{lambda(void*)#1}::_FUN(void*) (/home/equinox/Documents/Code/Builds/JuceWebSkelet/AudioPluginExample_artefacts/VST3/Audio Plugin Example.vst3/Contents/x86_64-linux/Audio Plugin Example.so+0x4f8a51)
    #6 0x7fc6beb25b42 in start_thread nptl/pthread_create.c:442

Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x565465529619 in juce::HeapBlock<pollfd, false>::HeapBlock<int, 0>(int) /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/memory/juce_HeapBlock.h:112
    #2 0x565465524de5 in juce::AlsaClient::MidiInputThread::run() /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_audio_devices/native/juce_linux_Midi.cpp:325
    #3 0x5654651e083a in juce::Thread::threadEntryPoint() /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/threads/juce_Thread.cpp:98
    #4 0x5654651e0a26 in juce::juce_threadEntryPoint(void*) /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/threads/juce_Thread.cpp:120
    #5 0x565465246cf9 in operator() /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/native/juce_linux_Threads.cpp:40
    #6 0x565465246d21 in _FUN /home/equinox/Documents/Code/Sources/AudioPluginHost/Source/3rdParty/JUCE/modules/juce_core/native/juce_linux_Threads.cpp:43
    #7 0x7fc6beb25b42 in start_thread nptl/pthread_create.c:442

Indirect leak of 16384 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc6bf1f7f77 in snd_midi_event_new (/lib/x86_64-linux-gnu/libasound.so.2+0xbcf77)

Indirect leak of 643 byte(s) in 11 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc69c92b22f  (/home/equinox/Documents/Code/Sources/AudioPluginHost/cmake-build-debug/AudioPluginHost_artefacts/Debug/AudioPluginHost+0x21f422f)

Indirect leak of 590 byte(s) in 13 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc69c92adbf  (/home/equinox/Documents/Code/Sources/AudioPluginHost/cmake-build-debug/AudioPluginHost_artefacts/Debug/AudioPluginHost+0x21f3dbf)

Indirect leak of 104 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fc69c92b22f  (/home/equinox/Documents/Code/Sources/AudioPluginHost/cmake-build-debug/AudioPluginHost_artefacts/Debug/AudioPluginHost+0x21f422f)
    #2 0xd7b61957ffffffff  (<unknown module>)

Indirect leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x7fc6bf2f2a37 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154
    #1 0x7fc6a0fda51e  (/lib/x86_64-linux-gnu/libfontconfig.so.1+0x2251e)

SUMMARY: AddressSanitizer: 51683 byte(s) leaked in 97 allocation(s).

I don’t know whats going on actually…

This issue is now fixed on develop

This should allow you to have multiple webview instances working correctly on Linux.

3 Likes

@attila Hi Attila, thanks for putting this on the list and fixing it!
I can confirm that it is working now like expected, super cool!
Somehow I have the impression, that the startup time when opening a browser also improved.
Again thank you very much!

1 Like