HISE Logo Forum
    • Categories
    • Register
    • Login

    Preset Crashes Standalone MacOS

    Scheduled Pinned Locked Moved General Questions
    51 Posts 6 Posters 4.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hisefiloH
      hisefilo @Christoph Hart
      last edited by

      @Christoph-Hart this is what you mean?

      Process:               AudioPluginHost [22982]
      Path:                  /Users/USER/*/AudioPluginHost.app/Contents/MacOS/AudioPluginHost
      Identifier:            com.juce.pluginhost
      Version:               1.0.0 (1.0.0)
      Code Type:             ARM-64 (Native)
      Parent Process:        launchd [1]
      User ID:               501
      
      Date/Time:             2023-03-30 10:01:20.1321 -0300
      OS Version:            macOS 13.0 (22A8380)
      Report Version:        12
      Anonymous UUID:        1A53BBE3-57ED-73DB-15D5-619959A054A6
      
      Sleep/Wake UUID:       79B6A69A-D003-44F6-8E0D-2C300590D027
      
      Time Awake Since Boot: 63000 seconds
      Time Since Wake:       8233 seconds
      
      System Integrity Protection: enabled
      
      Crashed Thread:        0  JUCE Message Thread  Dispatch queue: com.apple.main-thread
      
      Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000034
      Exception Codes:       0x0000000000000001, 0x0000000000000034
      
      Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
      Terminating Process:   exc handler [22982]
      
      VM Region Info: 0x34 is not in any region.  Bytes before following region: 105553518919628
            REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
            UNUSED SPACE AT START
      --->  
            MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-/rwx SM=NUL  ...(unallocated)
      
      Thread 0 Crashed:: JUCE Message Thread Dispatch queue: com.apple.main-thread
      0   SandStorm                     	       0x110fb141c 0x110f28000 + 562204
      1   SandStorm                     	       0x110fb13d4 0x110f28000 + 562132
      2   SandStorm                     	       0x111b411c0 0x110f28000 + 12685760
      3   SandStorm                     	       0x110fb1c04 0x110f28000 + 564228
      4   SandStorm                     	       0x1110ae910 0x110f28000 + 1599760
      5   SandStorm                     	       0x111a4b9b0 0x110f28000 + 11680176
      6   SandStorm                     	       0x111a4b844 0x110f28000 + 11679812
      7   CoreFoundation                	       0x18a395a34 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
      8   CoreFoundation                	       0x18a3959c8 __CFRunLoopDoSource0 + 176
      9   CoreFoundation                	       0x18a395738 __CFRunLoopDoSources0 + 244
      10  CoreFoundation                	       0x18a39433c __CFRunLoopRun + 836
      11  CoreFoundation                	       0x18a3938a4 CFRunLoopRunSpecific + 612
      12  HIToolbox                     	       0x193a083bc RunCurrentEventLoopInMode + 292
      13  HIToolbox                     	       0x193a08200 ReceiveNextEventCommon + 672
      14  HIToolbox                     	       0x193a07f48 _BlockUntilNextEventMatchingListInModeWithFilter + 72
      15  AppKit                        	       0x18d5ec630 _DPSNextEvent + 632
      16  AppKit                        	       0x18d5eb7c0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
      17  AppKit                        	       0x18d5dfbf0 -[NSApplication run] + 464
      18  AudioPluginHost               	       0x100ba9dc0 main + 196
      19  dyld                          	       0x189f8be50 start + 2544
      
      
      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @hisefilo
        last edited by

        @hisefilo Nope, it's still not symbolicated:

        SandStorm                     	       0x110fb141c 0x110f28000 + 562204
        

        must look like

        SandStorm                     	       0x12341232 hise::thisFunctionIsCrashing() + 123
        hisefiloH 1 Reply Last reply Reply Quote 0
        • hisefiloH
          hisefilo @Christoph Hart
          last edited by

          @Christoph-Hart found the bastard!!!!

          
          Crashed Thread:        0  JUCE Message Thread  Dispatch queue: com.apple.main-thread
          
          Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
          Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000034
          Exception Codes:       0x0000000000000001, 0x0000000000000034
          
          Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
          Terminating Process:   exc handler [24473]
          
          VM Region Info: 0x34 is not in any region.  Bytes before following region: 105553518919628
                REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
                UNUSED SPACE AT START
          --->  
                MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-/rwx SM=NUL  ...(unallocated)
          
          Thread 0 Crashed:: JUCE Message Thread Dispatch queue: com.apple.main-thread
          0   SandStorm                     	       0x10295352c hise::FrontendMacroPanel::getNumRows() + 260
          1   SandStorm                     	       0x1029534e4 hise::FrontendMacroPanel::getNumRows() + 188
          2   SandStorm                     	       0x1034ea9ac juce::ListBox::updateContent() + 68
          3   SandStorm                     	       0x102953d14 non-virtual thunk to hise::FrontendMacroPanel::macroConnectionChanged(int, hise::Processor*, int, bool) + 24
          4   SandStorm                     	       0x102a52504 std::__1::__function::__func<hise::MacroControlBroadcaster::sendMacroConnectionChangeMessageForAll(bool)::'lambda'(), std::__1::allocator<hise::MacroControlBroadcaster::sendMacroConnectionChangeMessageForAll(bool)::'lambda'()>, void ()>::operator()() + 252
          5   SandStorm                     	       0x1033f3fdc juce::MessageQueue::deliverNextMessage() + 288
          6   SandStorm                     	       0x1033f3e70 juce::MessageQueue::runLoopSourceCallback(void*) + 20
          7   CoreFoundation                	       0x18a395a34 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
          8   CoreFoundation                	       0x18a3959c8 __CFRunLoopDoSource0 + 176
          9   CoreFoundation                	       0x18a395738 __CFRunLoopDoSources0 + 244
          10  CoreFoundation                	       0x18a39433c __CFRunLoopRun + 836
          11  CoreFoundation                	       0x18a3938a4 CFRunLoopRunSpecific + 612
          12  HIToolbox                     	       0x193a083bc RunCurrentEventLoopInMode + 292
          13  HIToolbox                     	       0x193a08200 ReceiveNextEventCommon + 672
          14  HIToolbox                     	       0x193a07f48 _BlockUntilNextEventMatchingListInModeWithFilter + 72
          15  AppKit                        	       0x18d5ec630 _DPSNextEvent + 632
          16  AppKit                        	       0x18d5eb7c0 -[NSApplication(NS
          
          1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey
            last edited by

            @hisefilo Do you have a lot of samples being loaded?

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            hisefiloH 1 Reply Last reply Reply Quote 0
            • hisefiloH
              hisefilo @d.healey
              last edited by

              @d-healey Nope. Just 3 samplers. Turned them off and crash persist. This is the guy I guess:

              SandStorm                     	       0x10295352c hise::FrontendMacroPanel::getNumRows() + 260
              
              Christoph HartC 1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @hisefilo
                last edited by

                Nice catch, there was indeed an issue that could cause a thread to read a dangling array. I've pushed a fix that correctly synchronises the array access, let me know if that solved the problem.

                hisefiloH 1 Reply Last reply Reply Quote 0
                • hisefiloH
                  hisefilo @Christoph Hart
                  last edited by hisefilo

                  @Christoph-Hart thanks :)
                  Crashed :( after compiling with develop including your last commit https://github.com/christophhart/HISE/commit/e927b40a93dab42a30f1f5186664350c44ae38e4

                  0   SandStorm                     	       0x1028c9c14 hise::FrontendMacroPanel::getNumRows() + 256
                  

                  Full report:

                  -------------------------------------
                  Translated Report (Full Report Below)
                  -------------------------------------
                  
                  Process:               SandStorm [27035]
                  Path:                  /Users/USER/*/SandStorm.app/Contents/MacOS/SandStorm
                  Identifier:            com.sampleson.sandstorm
                  Version:               1.0.7 (1.0.7)
                  Code Type:             ARM-64 (Native)
                  Parent Process:        launchd [1]
                  User ID:               501
                  
                  Date/Time:             2023-03-31 09:18:02.5311 -0300
                  OS Version:            macOS 13.0 (22A8380)
                  Report Version:        12
                  Anonymous UUID:        1A53BBE3-57ED-73DB-15D5-619959A054A6
                  
                  Sleep/Wake UUID:       F5490E4C-6F32-489B-A511-E8D937605432
                  
                  Time Awake Since Boot: 72000 seconds
                  Time Since Wake:       7511 seconds
                  
                  System Integrity Protection: enabled
                  
                  Crashed Thread:        0  JUCE Message Thread  Dispatch queue: com.apple.main-thread
                  
                  Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
                  Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000034
                  Exception Codes:       0x0000000000000001, 0x0000000000000034
                  
                  Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
                  Terminating Process:   exc handler [27035]
                  
                  VM Region Info: 0x34 is not in any region.  Bytes before following region: 105553518919628
                        REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
                        UNUSED SPACE AT START
                  --->  
                        MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-/rwx SM=NUL  ...(unallocated)
                  
                  Thread 0 Crashed:: JUCE Message Thread Dispatch queue: com.apple.main-thread
                  0   SandStorm                     	       0x1028c9c14 hise::FrontendMacroPanel::getNumRows() + 256
                  1   SandStorm                     	       0x1028c9bcc hise::FrontendMacroPanel::getNumRows() + 184
                  2   SandStorm                     	       0x10346cd04 juce::ListBox::updateContent() + 68
                  3   SandStorm                     	       0x1028ca464 non-virtual thunk to hise::FrontendMacroPanel::macroConnectionChanged(int, hise::Processor*, int, bool) + 24
                  4   SandStorm                     	       0x1029c9538 std::__1::__function::__func<hise::MacroControlBroadcaster::sendMacroConnectionChangeMessageForAll(bool)::'lambda'(), std::__1::allocator<hise::MacroControlBroadcaster::sendMacroConnectionChangeMessageForAll(bool)::'lambda'()>, void ()>::operator()() + 252
                  5   SandStorm                     	       0x103375f38 juce::MessageQueue::deliverNextMessage() + 288
                  6   SandStorm                     	       0x103375dcc juce::MessageQueue::runLoopSourceCallback(void*) + 20
                  7   CoreFoundation                	       0x18a395a34 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
                  8   CoreFoundation                	       0x18a3959c8 __CFRunLoopDoSource0 + 176
                  9   CoreFoundation                	       0x18a395738 __CFRunLoopDoSources0 + 244
                  10  CoreFoundation                	       0x18a39433c __CFRunLoopRun + 836
                  11  CoreFoundation                	       0x18a3938a4 CFRunLoopRunSpecific + 612
                  12  HIToolbox                     	       0x193a083bc RunCurrentEventLoopInMode + 292
                  13  HIToolbox                     	       0x193a08200 ReceiveNextEventCommon + 672
                  14  HIToolbox                     	       0x193a07f48 _BlockUntilNextEventMatchingListInModeWithFilter + 72
                  15  AppKit                        	       0x18d5ec630 _DPSNextEvent + 632
                  16  AppKit                        	       0x18d5eb7c0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
                  17  AppKit                        	       0x18d5dfbf0 -[NSApplication run] + 464
                  18  SandStorm                     	       0x10286daa8 main + 296
                  19  dyld                          	       0x189f8be50 start + 2544
                  
                  Thread 1:
                  0   libsystem_pthread.dylib       	       0x18a2b0e18 start_wqthread + 0
                  
                  Thread 2:
                  0   libsystem_pthread.dylib       	       0x18a2b0e18 start_wqthread + 0
                  
                  Thread 3:: Javascript Thread
                  0   libsystem_kernel.dylib        	       0x18a27a5e4 __psynch_cvwait + 8
                  1   libsystem_pthread.dylib       	       0x18a2b6638 _pthread_cond_wait + 1232
                  2   libc++.1.dylib                	       0x18a203b60 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
                  3   SandStorm                     	       0x103306ba8 juce::WaitableEvent::wait(int) const + 152
                  4   SandStorm                     	       0x1030f0eac hise::JavascriptThreadPool::run() + 160
                  5   SandStorm                     	       0x103318a40 juce::threadEntryProc(void*) + 288
                  6   libsystem_pthread.dylib       	       0x18a2b606c _pthread_start + 148
                  7   libsystem_pthread.dylib       	       0x18a2b0e2c thread_start + 8
                  
                  Thread 4:: Sample Loading Thread
                  0   SandStorm                     	       0x1030e724c hise::ProcessorWithScriptingContent::controlCallback(hise::ScriptingApi::Content::ScriptComponent*, juce::var) + 456
                  1   SandStorm                     	       0x1030e7318 hise::ProcessorWithScriptingContent::controlCallback(hise::ScriptingApi::Content::ScriptComponent*, juce::var) + 660
                  2   SandStorm                     	       0x1030fc3d4 hise::ProcessorWithScriptingContent::setControlValue(int, float) + 652
                  3   SandStorm                     	       0x102982254 hise::MacroControlBroadcaster::MacroControlledParameterData::setAttribute(double) + 260
                  4   SandStorm                     	       0x102981880 hise::MacroControlBroadcaster::setMacroControl(int, float, juce::NotificationType) + 220
                  5   SandStorm                     	       0x1029c7b70 hise::MacroControlBroadcaster::loadMacrosFromValueTree(juce::ValueTree const&, bool) + 3256
                  6   SandStorm                     	       0x1029cce34 std::__1::__function::__func<hise::MainController::UserPresetHandler::loadUserPreset(juce::ValueTree const&, bool)::$_16, std::__1::allocator<hise::MainController::UserPresetHandler::loadUserPreset(juce::ValueTree const&, bool)::$_16>, hise::SafeFunctionCall::Status (hise::Processor*)>::operator()(hise::Processor*&&) + 156
                  7   SandStorm                     	       0x10296469c hise::MainController::SampleManager::PreloadJob::runJob() + 568
                  8   SandStorm                     	       0x103126f78 hise::SampleThreadPool::run() + 152
                  9   SandStorm                     	       0x103318a40 juce::threadEntryProc(void*) + 288
                  10  libsystem_pthread.dylib       	       0x18a2b606c _pthread_start + 148
                  11  libsystem_pthread.dylib       	       0x18a2b0e2c thread_start + 8
                  
                  Thread 5:: Convolution Background Thread
                  0   libsystem_kernel.dylib        	       0x18a27a5e4 __psynch_cvwait + 8
                  1   libsystem_pthread.dylib       	       0x18a2b6638 _pthread_cond_wait + 1232
                  2   libc++.1.dylib                	       0x18a203b60 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
                  3   SandStorm                     	       0x103306ba8 juce::WaitableEvent::wait(int) const + 152
                  4   SandStorm                     	       0x102a77dec hise::MultithreadedConvolver::BackgroundThread::run() + 392
                  5   SandStorm                     	       0x103318a40 juce::threadEntryProc(void*) + 288
                  6   libsystem_pthread.dylib       	       0x18a2b606c _pthread_start + 148
                  7   libsystem_pthread.dylib       	       0x18a2b0e2c thread_start + 8
                  
                  Thread 6:: com.apple.NSURLConnectionLoader
                  0   libsystem_kernel.dylib        	       0x18a276df0 mach_msg2_trap + 8
                  1   libsystem_kernel.dylib        	       0x18a2888d8 mach_msg2_internal + 80
                  2   libsystem_kernel.dylib        	       0x18a27f638 mach_msg_overwrite + 540
                  3   libsystem_kernel.dylib        	       0x18a27716c mach_msg + 24
                  4   CoreFoundation                	       0x18a395bdc __CFRunLoopServiceMachPort + 160
                  5   CoreFoundation                	       0x18a3944c8 __CFRunLoopRun + 1232
                  6   CoreFoundation                	       0x18a3938a4 CFRunLoopRunSpecific + 612
                  7   CFNetwork                     	       0x18ed5cbac 0x18eb0b000 + 2431916
                  8   Foundation                    	       0x18b295470 __NSThread__start__ + 716
                  9   libsystem_pthread.dylib       	       0x18a2b606c _pthread_start + 148
                  10  libsystem_pthread.dylib       	       0x18a2b0e2c thread_start + 8
                  
                  Thread 7:: caulk.messenger.shared:17
                  0   libsystem_kernel.dylib        	       0x18a276d6c semaphore_wait_trap + 8
                  1   caulk                         	       0x19372fcfc caulk::mach::semaphore::wait_or_error() + 28
                  2   caulk                         	       0x193712634 caulk::concurrent::details::worker_thread::run() + 56
                  3   caulk                         	       0x193712278 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 96
                  4   libsystem_pthread.dylib       	       0x18a2b606c _pthread_start + 148
                  5   libsystem_pthread.dylib       	       0x18a2b0e2c thread_start + 8
                  
                  Thread 8:: com.apple.audio.IOThread.client
                  0   libsystem_kernel.dylib        	       0x18a276df0 mach_msg2_trap + 8
                  1   libsystem_kernel.dylib        	       0x18a2888d8 mach_msg2_internal + 80
                  2   libsystem_kernel.dylib        	       0x18a27f638 mach_msg_overwrite + 540
                  3   libsystem_kernel.dylib        	       0x18a27716c mach_msg + 24
                  4   CoreAudio                     	       0x18c6af1bc HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 104
                  5   CoreAudio                     	       0x18c588688 HALC_ProxyIOContext::IOWorkLoop() + 3316
                  6   CoreAudio                     	       0x18c58738c invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 100
                  7   CoreAudio                     	       0x18c70937c HALB_IOThread::Entry(void*) + 88
                  8   libsystem_pthread.dylib       	       0x18a2b606c _pthread_start + 148
                  9   libsystem_pthread.dylib       	       0x18a2b0e2c thread_start + 8
                  
                  Thread 9:
                  0   libsystem_kernel.dylib        	       0x18a276df0 mach_msg2_trap + 8
                  1   libsystem_kernel.dylib        	       0x18a2888d8 mach_msg2_internal + 80
                  2   libsystem_kernel.dylib        	       0x18a27f638 mach_msg_overwrite + 540
                  3   libsystem_kernel.dylib        	       0x18a27716c mach_msg + 24
                  4   CoreMIDI                      	       0x1a159683c XServerMachPort::ReceiveMessage(int&, void*, int&) + 104
                  5   CoreMIDI                      	       0x1a15ca7a8 MIDIProcess::MIDIInPortThread::Run() + 164
                  6   CoreMIDI                      	       0x1a15b1bd8 XThread::RunHelper(void*) + 48
                  7   CoreMIDI                      	       0x1a15b2ef0 CAPThread::Entry(CAPThread*) + 92
                  8   libsystem_pthread.dylib       	       0x18a2b606c _pthread_start + 148
                  9   libsystem_pthread.dylib       	       0x18a2b0e2c thread_start + 8
                  
                  Thread 10:: com.apple.NSEventThread
                  0   libsystem_kernel.dylib        	       0x18a276df0 mach_msg2_trap + 8
                  1   libsystem_kernel.dylib        	       0x18a2888d8 mach_msg2_internal + 80
                  2   libsystem_kernel.dylib        	       0x18a27f638 mach_msg_overwrite + 540
                  3   libsystem_kernel.dylib        	       0x18a27716c mach_msg + 24
                  4   CoreFoundation                	       0x18a395bdc __CFRunLoopServiceMachPort + 160
                  5   CoreFoundation                	       0x18a3944c8 __CFRunLoopRun + 1232
                  6   CoreFoundation                	       0x18a3938a4 CFRunLoopRunSpecific + 612
                  7   AppKit                        	       0x18d716248 _NSEventThread + 172
                  8   libsystem_pthread.dylib       	       0x18a2b606c _pthread_start + 148
                  9   libsystem_pthread.dylib       	       0x18a2b0e2c thread_start + 8
                  
                  Thread 11:: JUCE Timer
                  0   libsystem_kernel.dylib        	       0x18a27a5e4 __psynch_cvwait + 8
                  1   libsystem_pthread.dylib       	       0x18a2b6638 _pthread_cond_wait + 1232
                  2   libc++.1.dylib                	       0x18a203b60 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
                  3   SandStorm                     	       0x103306ba8 juce::WaitableEvent::wait(int) const + 152
                  4   SandStorm                     	       0x10337990c juce::Timer::TimerThread::run() + 188
                  5   SandStorm                     	       0x103318a40 juce::threadEntryProc(void*) + 288
                  6   libsystem_pthread.dylib       	       0x18a2b606c _pthread_start + 148
                  7   libsystem_pthread.dylib       	       0x18a2b0e2c thread_start + 8
                  
                  Thread 12:
                  0   libsystem_pthread.dylib       	       0x18a2b0e18 start_wqthread + 0
                  
                  Thread 13:
                  0   libsystem_pthread.dylib       	       0x18a2b0e18 start_wqthread + 0
                  
                  Thread 14:: Server Thread
                  0   libsystem_kernel.dylib        	       0x18a27a5e4 __psynch_cvwait + 8
                  1   libsystem_pthread.dylib       	       0x18a2b6638 _pthread_cond_wait + 1232
                  2   libc++.1.dylib                	       0x18a203b60 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
                  3   SandStorm                     	       0x103306ba8 juce::WaitableEvent::wait(int) const + 152
                  4   SandStorm                     	       0x102e23f64 hise::GlobalServer::WebThread::run() + 124
                  5   SandStorm                     	       0x103318a40 juce::threadEntryProc(void*) + 288
                  6   libsystem_pthread.dylib       	       0x18a2b606c _pthread_start + 148
                  7   libsystem_pthread.dylib       	       0x18a2b0e2c thread_start + 8
                  
                  Thread 15:
                  0   libsystem_pthread.dylib       	       0x18a2b0e18 start_wqthread + 0
                  
                  
                  Thread 0 crashed with ARM Thread State (64-bit):
                      x0: 0x0000000112849cb8   x1: 0x000000016d5a60c0   x2: 0x0000000122ea7800   x3: 0x0000000122ea7800
                      x4: 0x0000000000000001   x5: 0x0000000000000000   x6: 0x00000001e7435300   x7: 0x000000018a2716cc
                      x8: 0x0000000000000001   x9: 0x00000000ffffffff  x10: 0x0000000000000000  x11: 0x0000000000000001
                     x12: 0x0000010000000000  x13: 0x0000000000000000  x14: 0x0000000000000000  x15: 0x0000000000000000
                     x16: 0x00000001e5a46500  x17: 0x00000001e5a46500  x18: 0x0000000000000000  x19: 0x0000000112849cb0
                     x20: 0x0000000000000000  x21: 0x0000000000000000  x22: 0x000000010a344600  x23: 0x0000000109820cf0
                     x24: 0x0000600001c1bfe0  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x0000000122f25378
                     x28: 0x0000000000000000   fp: 0x000000016d5a61d0   lr: 0x00000001028c9bcc
                      sp: 0x000000016d5a6160   pc: 0x00000001028c9c14 cpsr: 0x60001000
                     far: 0x0000000000000034  esr: 0x92000006 (Data Abort) byte read Translation fault
                  
                  Binary Images:
                         0x102858000 -        0x104593fff com.sampleson.sandstorm (1.0.7) <d65216ba-635f-32f0-8fb4-cb54b6eaf8f2> /Users/USER/*/SandStorm.app/Contents/MacOS/SandStorm
                         0x18a314000 -        0x18a7ebfff com.apple.CoreFoundation (6.9) <da41d167-77ad-3bee-8a4c-ccc1399ee15e> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
                         0x1939d6000 -        0x193d09fff com.apple.HIToolbox (2.1.1) <8384f6fe-bb4d-3b01-b6b4-54011042b722> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
                         0x18d5b3000 -        0x18e4bafff com.apple.AppKit (6.9) <47f20729-e102-3a52-a31d-8be7277f85fb> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
                         0x189f86000 -        0x18a0104b3 dyld (*) <b7142778-f6ba-31ca-820c-34b24d90f149> /usr/lib/dyld
                         0x18a2af000 -        0x18a2bbffb libsystem_pthread.dylib (*) <1712c255-a808-3763-b5e4-8c3faeb3dd68> /usr/lib/system/libsystem_pthread.dylib
                         0x18a276000 -        0x18a2aeffb libsystem_kernel.dylib (*) <cc8c9730-0055-3658-bb1c-1b49a5eadccd> /usr/lib/system/libsystem_kernel.dylib
                         0x18a1f7000 -        0x18a25dff3 libc++.1.dylib (*) <14267a9b-21bf-34c7-a706-8083a7ea551d> /usr/lib/libc++.1.dylib
                         0x18eb0b000 -        0x18eecafff com.apple.CFNetwork (1399.4) <e837040d-ddf0-3091-af23-ed6db40810ff> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
                         0x18b23f000 -        0x18bc77fff com.apple.Foundation (6.9) <e7232df3-ac3f-3f33-b4bd-61338defd258> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
                         0x193710000 -        0x193739fff com.apple.audio.caulk (1.0) <ecb03923-f685-31e0-9c78-29e1d892cebc> /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
                         0x18c3ae000 -        0x18ca8dfff com.apple.audio.CoreAudio (5.0) <447221cd-bf90-3dbc-86d0-37434963bbc3> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
                         0x1a1584000 -        0x1a15f6fff com.apple.audio.midi.CoreMIDI (2.0) <0436fc7e-7c8b-31ca-8c63-7b266ced4c97> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
                                 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
                  
                  External Modification Summary:
                    Calls made by other processes targeting this process:
                      task_for_pid: 0
                      thread_create: 0
                      thread_set_state: 0
                    Calls made by this process:
                      task_for_pid: 0
                      thread_create: 0
                      thread_set_state: 0
                    Calls made by all processes on this machine:
                      task_for_pid: 0
                      thread_create: 0
                      thread_set_state: 0
                  
                  VM Region Summary:
                  ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)
                  Writable regions: Total=2.3G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.3G(100%)
                  
                                                  VIRTUAL   REGION 
                  REGION TYPE                        SIZE    COUNT (non-coalesced) 
                  ===========                     =======  ======= 
                  Accelerate framework               640K        5 
                  Activity Tracing                   256K        1 
                  CG backing stores                 4032K        4 
                  CG image                            48K        2 
                  ColorSync                          560K       25 
                  CoreAnimation                     32.0M        9 
                  CoreGraphics                        32K        2 
                  CoreUI image data                  928K        6 
                  Foundation                          16K        1 
                  Kernel Alloc Once                   32K        1 
                  MALLOC                             1.0G      150 
                  MALLOC guard page                  288K       15 
                  MALLOC_MEDIUM (reserved)         864.0M        8         reserved VM address space (unallocated)
                  MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
                  SQLite page cache                  384K        3 
                  STACK GUARD                       56.2M       16 
                  Stack                             16.0M       16 
                  VM_ALLOCATE                        304K       15 
                  VM_ALLOCATE (reserved)              32K        1         reserved VM address space (unallocated)
                  __AUTH                             921K      230 
                  __AUTH_CONST                      16.9M      419 
                  __CTF                               756        1 
                  __DATA                            6434K      405 
                  __DATA_CONST                      18.4M      421 
                  __DATA_DIRTY                       980K      139 
                  __FONT_DATA                        2352        1 
                  __LINKEDIT                       769.2M        4 
                  __OBJC_CONST                      1895K      189 
                  __OBJC_RO                         65.1M        1 
                  __OBJC_RW                         1981K        1 
                  __TEXT                           396.9M      442 
                  dyld private memory                256K        1 
                  libnetwork                         640K       16 
                  mapped file                      206.8M       37 
                  shared memory                      864K       14 
                  ===========                     =======  ======= 
                  TOTAL                              3.8G     2602 
                  TOTAL, minus reserved VM space     2.6G     2602 
                  
                  
                  
                  -----------
                  Full Report
                  -----------
                  
                  {"app_name":"SandStorm","timestamp":"2023-03-31 09:18:03.00 -0300","app_version":"1.0.7","slice_uuid":"d65216ba-635f-32f0-8fb4-cb54b6eaf8f2","build_version":"1.0.7","platform":1,"bundleID":"com.sampleson.sandstorm","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.0 (22A8380)","roots_installed":0,"name":"SandStorm","incident_id":"AD8079C3-4118-49DF-BCF5-6B3B7A2B0CAC"}
                  {
                    "uptime" : 72000,
                    "procRole" : "Foreground",
                    "version" : 2,
                    "userID" : 501,
                    "deployVersion" : 210,
                    "modelCode" : "Mac14,10",
                    "coalitionID" : 27249,
                    "osVersion" : {
                      "train" : "macOS 13.0",
                      "build" : "22A8380",
                      "releaseType" : "User"
                    },
                    "captureTime" : "2023-03-31 09:18:02.5311 -0300",
                    "incident" : "AD8079C3-4118-49DF-BCF5-6B3B7A2B0CAC",
                    "pid" : 27035,
                    "translated" : false,
                    "cpuType" : "ARM-64",
                    "roots_installed" : 0,
                    "bug_type" : "309",
                    "procLaunch" : "2023-03-31 09:17:47.1393 -0300",
                    "procStartAbsTime" : 1734367576814,
                    "procExitAbsTime" : 1734736822134,
                    "procName" : "SandStorm",
                    "procPath" : "\/Users\/USER\/*\/SandStorm.app\/Contents\/MacOS\/SandStorm",
                    "bundleInfo" : {"CFBundleShortVersionString":"1.0.7","CFBundleVersion":"1.0.7","CFBundleIdentifier":"com.sampleson.sandstorm"},
                    "storeInfo" : {"deviceIdentifierForVendor":"491241BE-F0D5-57D4-9D31-4C70A66927E8","thirdParty":true},
                    "parentProc" : "launchd",
                    "parentPid" : 1,
                    "coalitionName" : "com.sampleson.sandstorm",
                    "crashReporterKey" : "1A53BBE3-57ED-73DB-15D5-619959A054A6",
                    "wakeTime" : 7511,
                    "sleepWakeUUID" : "F5490E4C-6F32-489B-A511-E8D937605432",
                    "sip" : "enabled",
                    "vmRegionInfo" : "0x34 is not in any region.  Bytes before following region: 105553518919628\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-\/rwx SM=NUL  ...(unallocated)",
                    "exception" : {"codes":"0x0000000000000001, 0x0000000000000034","rawCodes":[1,52],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000034"},
                    "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":27035},
                    "vmregioninfo" : "0x34 is not in any region.  Bytes before following region: 105553518919628\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-\/rwx SM=NUL  ...(unallocated)",
                    "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
                    "faultingThread" : 0,
                    "threads" : [{"triggered":true,"id":534489,"threadState":{"x":[{"value":4605648056},{"value":6129606848},{"value":4880758784},{"value":4880758784},{"value":1},{"value":0},{"value":8174916352,"symbolLocation":56,"symbol":"vtable for __cxxabiv1::__si_class_type_info"},{"value":6612784844,"symbolLocation":0,"symbol":"__cxxabiv1::__si_class_type_info::search_above_dst(__cxxabiv1::__dynamic_cast_info*, void const*, void const*, int, bool) const"},{"value":1},{"value":4294967295},{"value":0},{"value":1},{"value":1099511627776},{"value":0},{"value":0},{"value":0},{"value":8147723520,"symbolLocation":0,"symbol":"_main_thread"},{"value":8147723520,"symbolLocation":0,"symbol":"_main_thread"},{"value":0},{"value":4605648048},{"value":0},{"value":0},{"value":4466165248},{"value":4454485232},{"value":105553145741280},{"value":0},{"value":0},{"value":4881273720},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4337736652},"cpsr":{"value":1610616832},"fp":{"value":6129607120},"sp":{"value":6129607008},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4337736724,"matchesCrashFrame":1},"far":{"value":52}},"name":"JUCE Message Thread","queue":"com.apple.main-thread","frames":[{"imageOffset":465940,"symbol":"hise::FrontendMacroPanel::getNumRows()","symbolLocation":256,"imageIndex":0},{"imageOffset":465868,"symbol":"hise::FrontendMacroPanel::getNumRows()","symbolLocation":184,"imageIndex":0},{"imageOffset":12668164,"symbol":"juce::ListBox::updateContent()","symbolLocation":68,"imageIndex":0},{"imageOffset":468068,"symbol":"non-virtual thunk to hise::FrontendMacroPanel::macroConnectionChanged(int, hise::Processor*, int, bool)","symbolLocation":24,"imageIndex":0},{"imageOffset":1512760,"symbol":"std::__1::__function::__func<hise::MacroControlBroadcaster::sendMacroConnectionChangeMessageForAll(bool)::'lambda'(), std::__1::allocator<hise::MacroControlBroadcaster::sendMacroConnectionChangeMessageForAll(bool)::'lambda'()>, void ()>::operator()()","symbolLocation":252,"imageIndex":0},{"imageOffset":11657016,"symbol":"juce::MessageQueue::deliverNextMessage()","symbolLocation":288,"imageIndex":0},{"imageOffset":11656652,"symbol":"juce::MessageQueue::runLoopSourceCallback(void*)","symbolLocation":20,"imageIndex":0},{"imageOffset":530996,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__","symbolLocation":28,"imageIndex":1},{"imageOffset":530888,"symbol":"__CFRunLoopDoSource0","symbolLocation":176,"imageIndex":1},{"imageOffset":530232,"symbol":"__CFRunLoopDoSources0","symbolLocation":244,"imageIndex":1},{"imageOffset":525116,"symbol":"__CFRunLoopRun","symbolLocation":836,"imageIndex":1},{"imageOffset":522404,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":1},{"imageOffset":205756,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":2},{"imageOffset":205312,"symbol":"ReceiveNextEventCommon","symbolLocation":672,"imageIndex":2},{"imageOffset":204616,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":72,"imageIndex":2},{"imageOffset":235056,"symbol":"_DPSNextEvent","symbolLocation":632,"imageIndex":3},{"imageOffset":231360,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":728,"imageIndex":3},{"imageOffset":183280,"symbol":"-[NSApplication run]","symbolLocation":464,"imageIndex":3},{"imageOffset":88744,"symbol":"main","symbolLocation":296,"imageIndex":0},{"imageOffset":24144,"symbol":"start","symbolLocation":2544,"imageIndex":4}]},{"id":534516,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":534517,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":534544,"name":"Javascript Thread","frames":[{"imageOffset":17892,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":5},{"imageOffset":52064,"symbol":"std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >)","symbolLocation":100,"imageIndex":7},{"imageOffset":11201448,"symbol":"juce::WaitableEvent::wait(int) const","symbolLocation":152,"imageIndex":0},{"imageOffset":9014956,"symbol":"hise::JavascriptThreadPool::run()","symbolLocation":160,"imageIndex":0},{"imageOffset":11274816,"symbol":"juce::threadEntryProc(void*)","symbolLocation":288,"imageIndex":0},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":5},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":534546,"name":"Sample Loading Thread","frames":[{"imageOffset":8974924,"symbol":"hise::ProcessorWithScriptingContent::controlCallback(hise::ScriptingApi::Content::ScriptComponent*, juce::var)","symbolLocation":456,"imageIndex":0},{"imageOffset":8975128,"symbol":"hise::ProcessorWithScriptingContent::controlCallback(hise::ScriptingApi::Content::ScriptComponent*, juce::var)","symbolLocation":660,"imageIndex":0},{"imageOffset":9061332,"symbol":"hise::ProcessorWithScriptingContent::setControlValue(int, float)","symbolLocation":652,"imageIndex":0},{"imageOffset":1221204,"symbol":"hise::MacroControlBroadcaster::MacroControlledParameterData::setAttribute(double)","symbolLocation":260,"imageIndex":0},{"imageOffset":1218688,"symbol":"hise::MacroControlBroadcaster::setMacroControl(int, float, juce::NotificationType)","symbolLocation":220,"imageIndex":0},{"imageOffset":1506160,"symbol":"hise::MacroControlBroadcaster::loadMacrosFromValueTree(juce::ValueTree const&, bool)","symbolLocation":3256,"imageIndex":0},{"imageOffset":1527348,"symbol":"std::__1::__function::__func<hise::MainController::UserPresetHandler::loadUserPreset(juce::ValueTree const&, bool)::$_16, std::__1::allocator<hise::MainController::UserPresetHandler::loadUserPreset(juce::ValueTree const&, bool)::$_16>, hise::SafeFunctionCall::Status (hise::Processor*)>::operator()(hise::Processor*&&)","symbolLocation":156,"imageIndex":0},{"imageOffset":1099420,"symbol":"hise::MainController::SampleManager::PreloadJob::runJob()","symbolLocation":568,"imageIndex":0},{"imageOffset":9236344,"symbol":"hise::SampleThreadPool::run()","symbolLocation":152,"imageIndex":0},{"imageOffset":11274816,"symbol":"juce::threadEntryProc(void*)","symbolLocation":288,"imageIndex":0},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":5},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":534549,"name":"Convolution Background Thread","frames":[{"imageOffset":17892,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":5},{"imageOffset":52064,"symbol":"std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >)","symbolLocation":100,"imageIndex":7},{"imageOffset":11201448,"symbol":"juce::WaitableEvent::wait(int) const","symbolLocation":152,"imageIndex":0},{"imageOffset":2227692,"symbol":"hise::MultithreadedConvolver::BackgroundThread::run()","symbolLocation":392,"imageIndex":0},{"imageOffset":11274816,"symbol":"juce::threadEntryProc(void*)","symbolLocation":288,"imageIndex":0},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":5},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":534561,"name":"com.apple.NSURLConnectionLoader","frames":[{"imageOffset":3568,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":6},{"imageOffset":75992,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":6},{"imageOffset":38456,"symbol":"mach_msg_overwrite","symbolLocation":540,"imageIndex":6},{"imageOffset":4460,"symbol":"mach_msg","symbolLocation":24,"imageIndex":6},{"imageOffset":531420,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":1},{"imageOffset":525512,"symbol":"__CFRunLoopRun","symbolLocation":1232,"imageIndex":1},{"imageOffset":522404,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":1},{"imageOffset":2431916,"imageIndex":8},{"imageOffset":353392,"symbol":"__NSThread__start__","symbolLocation":716,"imageIndex":9},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":5},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":534571,"name":"caulk.messenger.shared:17","frames":[{"imageOffset":3436,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":6},{"imageOffset":130300,"symbol":"caulk::mach::semaphore::wait_or_error()","symbolLocation":28,"imageIndex":10},{"imageOffset":9780,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":56,"imageIndex":10},{"imageOffset":8824,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*)","symbolLocation":96,"imageIndex":10},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":5},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":534617,"name":"com.apple.audio.IOThread.client","frames":[{"imageOffset":3568,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":6},{"imageOffset":75992,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":6},{"imageOffset":38456,"symbol":"mach_msg_overwrite","symbolLocation":540,"imageIndex":6},{"imageOffset":4460,"symbol":"mach_msg","symbolLocation":24,"imageIndex":6},{"imageOffset":3150268,"symbol":"HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int)","symbolLocation":104,"imageIndex":11},{"imageOffset":1943176,"symbol":"HALC_ProxyIOContext::IOWorkLoop()","symbolLocation":3316,"imageIndex":11},{"imageOffset":1938316,"symbol":"invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int)","symbolLocation":100,"imageIndex":11},{"imageOffset":3519356,"symbol":"HALB_IOThread::Entry(void*)","symbolLocation":88,"imageIndex":11},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":5},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":534638,"frames":[{"imageOffset":3568,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":6},{"imageOffset":75992,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":6},{"imageOffset":38456,"symbol":"mach_msg_overwrite","symbolLocation":540,"imageIndex":6},{"imageOffset":4460,"symbol":"mach_msg","symbolLocation":24,"imageIndex":6},{"imageOffset":75836,"symbol":"XServerMachPort::ReceiveMessage(int&, void*, int&)","symbolLocation":104,"imageIndex":12},{"imageOffset":288680,"symbol":"MIDIProcess::MIDIInPortThread::Run()","symbolLocation":164,"imageIndex":12},{"imageOffset":187352,"symbol":"XThread::RunHelper(void*)","symbolLocation":48,"imageIndex":12},{"imageOffset":192240,"symbol":"CAPThread::Entry(CAPThread*)","symbolLocation":92,"imageIndex":12},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":5},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":534690,"name":"com.apple.NSEventThread","frames":[{"imageOffset":3568,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":6},{"imageOffset":75992,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":6},{"imageOffset":38456,"symbol":"mach_msg_overwrite","symbolLocation":540,"imageIndex":6},{"imageOffset":4460,"symbol":"mach_msg","symbolLocation":24,"imageIndex":6},{"imageOffset":531420,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":1},{"imageOffset":525512,"symbol":"__CFRunLoopRun","symbolLocation":1232,"imageIndex":1},{"imageOffset":522404,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":1},{"imageOffset":1454664,"symbol":"_NSEventThread","symbolLocation":172,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":5},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":534691,"name":"JUCE Timer","frames":[{"imageOffset":17892,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":5},{"imageOffset":52064,"symbol":"std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >)","symbolLocation":100,"imageIndex":7},{"imageOffset":11201448,"symbol":"juce::WaitableEvent::wait(int) const","symbolLocation":152,"imageIndex":0},{"imageOffset":11671820,"symbol":"juce::Timer::TimerThread::run()","symbolLocation":188,"imageIndex":0},{"imageOffset":11274816,"symbol":"juce::threadEntryProc(void*)","symbolLocation":288,"imageIndex":0},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":5},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":534739,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":534740,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":534753,"name":"Server Thread","frames":[{"imageOffset":17892,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":6},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":5},{"imageOffset":52064,"symbol":"std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >)","symbolLocation":100,"imageIndex":7},{"imageOffset":11201448,"symbol":"juce::WaitableEvent::wait(int) const","symbolLocation":152,"imageIndex":0},{"imageOffset":6078308,"symbol":"hise::GlobalServer::WebThread::run()","symbolLocation":124,"imageIndex":0},{"imageOffset":11274816,"symbol":"juce::threadEntryProc(void*)","symbolLocation":288,"imageIndex":0},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":5},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":534757,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]}],
                    "usedImages" : [
                    {
                      "source" : "P",
                      "arch" : "arm64",
                      "base" : 4337270784,
                      "CFBundleShortVersionString" : "1.0.7",
                      "CFBundleIdentifier" : "com.sampleson.sandstorm",
                      "size" : 30654464,
                      "uuid" : "d65216ba-635f-32f0-8fb4-cb54b6eaf8f2",
                      "path" : "\/Users\/USER\/*\/SandStorm.app\/Contents\/MacOS\/SandStorm",
                      "name" : "SandStorm",
                      "CFBundleVersion" : "1.0.7"
                    },
                    {
                      "source" : "P",
                      "arch" : "arm64e",
                      "base" : 6613450752,
                      "CFBundleShortVersionString" : "6.9",
                      "CFBundleIdentifier" : "com.apple.CoreFoundation",
                      "size" : 5079040,
                      "uuid" : "da41d167-77ad-3bee-8a4c-ccc1399ee15e",
                      "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
                      "name" : "CoreFoundation",
                      "CFBundleVersion" : "1953.1"
                    },
                    {
                      "source" : "P",
                      "arch" : "arm64e",
                      "base" : 6771531776,
                      "CFBundleShortVersionString" : "2.1.1",
                      "CFBundleIdentifier" : "com.apple.HIToolbox",
                      "size" : 3358720,
                      "uuid" : "8384f6fe-bb4d-3b01-b6b4-54011042b722",
                      "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
                      "name" : "HIToolbox"
                    },
                    {
                      "source" : "P",
                      "arch" : "arm64e",
                      "base" : 6666530816,
                      "CFBundleShortVersionString" : "6.9",
                      "CFBundleIdentifier" : "com.apple.AppKit",
                      "size" : 15761408,
                      "uuid" : "47f20729-e102-3a52-a31d-8be7277f85fb",
                      "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
                      "name" : "AppKit",
                      "CFBundleVersion" : "2299"
                    },
                    {
                      "source" : "P",
                      "arch" : "arm64e",
                      "base" : 6609723392,
                      "size" : 566452,
                      "uuid" : "b7142778-f6ba-31ca-820c-34b24d90f149",
                      "path" : "\/usr\/lib\/dyld",
                      "name" : "dyld"
                    },
                    {
                      "source" : "P",
                      "arch" : "arm64e",
                      "base" : 6613037056,
                      "size" : 53244,
                      "uuid" : "1712c255-a808-3763-b5e4-8c3faeb3dd68",
                      "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
                      "name" : "libsystem_pthread.dylib"
                    },
                    {
                      "source" : "P",
                      "arch" : "arm64e",
                      "base" : 6612803584,
                      "size" : 233468,
                      "uuid" : "cc8c9730-0055-3658-bb1c-1b49a5eadccd",
                      "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
                      "name" : "libsystem_kernel.dylib"
                    },
                    {
                      "source" : "P",
                      "arch" : "arm64e",
                      "base" : 6612283392,
                      "size" : 421876,
                      "uuid" : "14267a9b-21bf-34c7-a706-8083a7ea551d",
                      "path" : "\/usr\/lib\/libc++.1.dylib",
                      "name" : "libc++.1.dylib"
                    },
                    {
                      "source" : "P",
                      "arch" : "arm64e",
                      "base" : 6688911360,
                      "CFBundleShortVersionString" : "1399.4",
                      "CFBundleIdentifier" : "com.apple.CFNetwork",
                      "size" : 3932160,
                      "uuid" : "e837040d-ddf0-3091-af23-ed6db40810ff",
                      "path" : "\/System\/Library\/Frameworks\/CFNetwork.framework\/Versions\/A\/CFNetwork",
                      "name" : "CFNetwork",
                      "CFBundleVersion" : "1399.4"
                    },
                    {
                      "source" : "P",
                      "arch" : "arm64e",
                      "base" : 6629355520,
                      "CFBundleShortVersionString" : "6.9",
                      "CFBundleIdentifier" : "com.apple.Foundation",
                      "size" : 10719232,
                      "uuid" : "e7232df3-ac3f-3f33-b4bd-61338defd258",
                      "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
                      "name" : "Foundation",
                      "CFBundleVersion" : "1953.1"
                    },
                    {
                      "source" : "P",
                      "arch" : "arm64e",
                      "base" : 6768623616,
                      "CFBundleShortVersionString" : "1.0",
                      "CFBundleIdentifier" : "com.apple.audio.caulk",
                      "size" : 172032,
                      "uuid" : "ecb03923-f685-31e0-9c78-29e1d892cebc",
                      "path" : "\/System\/Library\/PrivateFrameworks\/caulk.framework\/Versions\/A\/caulk",
                      "name" : "caulk"
                    },
                    {
                      "source" : "P",
                      "arch" : "arm64e",
                      "base" : 6647635968,
                      "CFBundleShortVersionString" : "5.0",
                      "CFBundleIdentifier" : "com.apple.audio.CoreAudio",
                      "size" : 7208960,
                      "uuid" : "447221cd-bf90-3dbc-86d0-37434963bbc3",
                      "path" : "\/System\/Library\/Frameworks\/CoreAudio.framework\/Versions\/A\/CoreAudio",
                      "name" : "CoreAudio",
                      "CFBundleVersion" : "5.0"
                    },
                    {
                      "source" : "P",
                      "arch" : "arm64e",
                      "base" : 7001882624,
                      "CFBundleShortVersionString" : "2.0",
                      "CFBundleIdentifier" : "com.apple.audio.midi.CoreMIDI",
                      "size" : 471040,
                      "uuid" : "0436fc7e-7c8b-31ca-8c63-7b266ced4c97",
                      "path" : "\/System\/Library\/Frameworks\/CoreMIDI.framework\/Versions\/A\/CoreMIDI",
                      "name" : "CoreMIDI",
                      "CFBundleVersion" : "88"
                    },
                    {
                      "size" : 0,
                      "source" : "A",
                      "base" : 0,
                      "uuid" : "00000000-0000-0000-0000-000000000000"
                    }
                  ],
                    "sharedCache" : {
                    "base" : 6609076224,
                    "size" : 3411476480,
                    "uuid" : "4028b886-0785-32de-af1f-eca0b8899374"
                  },
                    "vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=2.3G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.3G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               640K        5 \nActivity Tracing                   256K        1 \nCG backing stores                 4032K        4 \nCG image                            48K        2 \nColorSync                          560K       25 \nCoreAnimation                     32.0M        9 \nCoreGraphics                        32K        2 \nCoreUI image data                  928K        6 \nFoundation                          16K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                             1.0G      150 \nMALLOC guard page                  288K       15 \nMALLOC_MEDIUM (reserved)         864.0M        8         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSQLite page cache                  384K        3 \nSTACK GUARD                       56.2M       16 \nStack                             16.0M       16 \nVM_ALLOCATE                        304K       15 \nVM_ALLOCATE (reserved)              32K        1         reserved VM address space (unallocated)\n__AUTH                             921K      230 \n__AUTH_CONST                      16.9M      419 \n__CTF                               756        1 \n__DATA                            6434K      405 \n__DATA_CONST                      18.4M      421 \n__DATA_DIRTY                       980K      139 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       769.2M        4 \n__OBJC_CONST                      1895K      189 \n__OBJC_RO                         65.1M        1 \n__OBJC_RW                         1981K        1 \n__TEXT                           396.9M      442 \ndyld private memory                256K        1 \nlibnetwork                         640K       16 \nmapped file                      206.8M       37 \nshared memory                      864K       14 \n===========                     =======  ======= \nTOTAL                              3.8G     2602 \nTOTAL, minus reserved VM space     2.6G     2602 \n",
                    "legacyInfo" : {
                    "threadTriggered" : {
                      "name" : "JUCE Message Thread",
                      "queue" : "com.apple.main-thread"
                    }
                  },
                    "trialInfo" : {
                    "rollouts" : [
                      {
                        "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
                        "factorPackIds" : {
                  
                        },
                        "deploymentId" : 240000021
                      },
                      {
                        "rolloutId" : "61675b89201f677a9a4cbd65",
                        "factorPackIds" : {
                          "HEALTH_FEATURE_AVAILABILITY" : "63f8068a238e7b23a1f30123"
                        },
                        "deploymentId" : 240000055
                      }
                    ],
                    "experiments" : [
                  
                    ]
                  }
                  }
                  
                  Model: Mac14,10, BootROM 8419.41.10, proc 12:8:4 processors, 16 GB, SMC 
                  Graphics: Apple M2 Pro, Apple M2 Pro, Built-In
                  Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online
                  Memory Module: LPDDR5, Micron
                  AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Oct 22 2022 21:32:09 version 22.27.1.2.40.50.74 FWID 01-a4d78d2a
                  Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
                  Network Service: Wi-Fi, AirPort, en0
                  USB Device: USB31Bus
                  USB Device: USB31Bus
                  USB Device: USB31Bus
                  Thunderbolt Bus: MacBook Pro, Apple Inc.
                  Thunderbolt Bus: MacBook Pro, Apple Inc.
                  Thunderbolt Bus: MacBook Pro, Apple Inc.
                  
                  Christoph HartC 1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart @hisefilo
                    last edited by

                    @hisefilo Ah damn it, maybe it was the other thing in the method :)

                    It's definitely a race condition between the UI thread rebuilding the macro panel and the sample loading thread calling an onControl callback (as you can see the SampleLoadingThread is busy too).

                    I'll try to take a look at this again later, might be more complex...

                    hisefiloH 1 Reply Last reply Reply Quote 0
                    • hisefiloH
                      hisefilo @Christoph Hart
                      last edited by

                      @Christoph-Hart Maybe making kind of lazy preset loading? I just speaking my mind. Logic PRO does not crash but takes a while (1s) to load some presets. I guess is preventing the crash or something.

                      Christoph HartC 1 Reply Last reply Reply Quote 0
                      • Christoph HartC
                        Christoph Hart @hisefilo
                        last edited by

                        @hisefilo no, I need to fix the race condition - Logic is just not crashing because it's laggy, but that isn't a solution...

                        hisefiloH 2 Replies Last reply Reply Quote 2
                        • hisefiloH
                          hisefilo @Christoph Hart
                          last edited by

                          @Christoph-Hart said in Preset Crashes Standalone MacOS:

                          @hisefilo no, I need to fix the race condition - Logic is just not crashing because it's laggy, but that isn't a solution...

                          let the SampleLoadingThread win LOL
                          thanks Christoph for being there! Is super important for us :)

                          hisefiloH 1 Reply Last reply Reply Quote 1
                          • hisefiloH
                            hisefilo @hisefilo
                            last edited by

                            @Christoph-Hart any update?? Now Logic crashes with preset loading :o

                            Screenshot 2023-04-04 at 13.45.36.png

                            1 Reply Last reply Reply Quote 0
                            • hisefiloH
                              hisefilo @Christoph Hart
                              last edited by

                              @Christoph-Hart and AudioPluginHost also crashed

                              -------------------------------------
                              Translated Report (Full Report Below)
                              -------------------------------------
                              
                              Process:               AudioPluginHost [1581]
                              Path:                  /Users/USER/*/AudioPluginHost.app/Contents/MacOS/AudioPluginHost
                              Identifier:            com.juce.pluginhost
                              Version:               1.0.0 (1.0.0)
                              Code Type:             ARM-64 (Native)
                              Parent Process:        launchd [1]
                              User ID:               501
                              
                              Date/Time:             2023-04-05 13:31:27.6255 -0300
                              OS Version:            macOS 13.0 (22A8380)
                              Report Version:        12
                              Anonymous UUID:        1A53BBE3-57ED-73DB-15D5-619959A054A6
                              
                              
                              Time Awake Since Boot: 1800 seconds
                              
                              System Integrity Protection: enabled
                              
                              Crashed Thread:        0  JUCE Message Thread  Dispatch queue: com.apple.main-thread
                              
                              
                              Christoph HartC 1 Reply Last reply Reply Quote 0
                              • Christoph HartC
                                Christoph Hart @hisefilo
                                last edited by

                                @hisefilo Can you check two things?

                                1. Add another lock statement before this line: https://github.com/christophhart/HISE/blob/2deb09cfc20dbfa80d8db5c9201cc605e27cfd6c/hi_components/floating_layout/FrontendPanelTypes.cpp#L1003
                                        if (!getMainController()->getMacroManager().isMacroEnabledOnFrontend())
                                	{
                                                hise::SimpleReadWriteLock::ScopedWriteLock sl(connectionLock);
                                		connectionList.clear();
                                		return 0;
                                	}
                                
                                1. If this doesn't work, remove this loop here: https://github.com/christophhart/HISE/blob/2deb09cfc20dbfa80d8db5c9201cc605e27cfd6c/hi_components/floating_layout/FrontendPanelTypes.cpp#L1009

                                This will break the macro functionality entirely but we can then at least confirm that it's the real cause and not masking something else.

                                hisefiloH 4 Replies Last reply Reply Quote 0
                                • hisefiloH
                                  hisefilo @Christoph Hart
                                  last edited by hisefilo

                                  @Christoph-Hart Hi Christoph! thanks for the time.

                                  I still getting crashes after that. (Do I need to recompile HISE itself?, or just to point to the modified source)
                                  Update. I did both with the same results

                                  Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
                                  Terminating Process:   exc handler [6043]
                                  
                                  VM Region Info: 0x34 is not in any region.  Bytes before following region: 105553518919628
                                        REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
                                        UNUSED SPACE AT START
                                  --->  
                                        MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-/rwx SM=NUL  ...(unallocated)
                                  
                                  Thread 0 Crashed:: JUCE Message Thread Dispatch queue: com.apple.main-thread
                                  0   SandStorm                     	       0x102fcdfb4 hise::FrontendMacroPanel::getNumRows() + 256
                                  1   SandStorm                     	       0x102fcdf6c hise::FrontendMacroPanel::getNumRows() + 184
                                  2   SandStorm                     	       0x103b710a4 juce::ListBox::updateContent() + 68
                                  3   SandStorm                     	       0x102fce804 non-virtual thunk to hise::FrontendMacroPanel::macroConnectionChanged(int, hise::Processor*, int, bool) + 24
                                  4   SandStorm                     	       0x1030cd8d8 std::__1::__function::__func<hise::MacroControlBroadcaster::sendMacroConnectionChangeMessageForAll(bool)::'lambda'(), std::__1::allocator<hise::MacroControlBroadcaster::sendMacroConnectionChangeMessageForAll(bool)::'lambda'()>, void ()>::operator()() + 252
                                  5   SandStorm                     	       0x103a7a2d8 juce::MessageQueue::deliverNextMessage() + 288
                                  6   SandStorm                     	       0x103a7a16c juce::MessageQueue::runLoopSourceCallback(void*) + 20
                                  7   CoreFoundation                	       0x1b0981a34 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
                                  8   CoreFoundation                	       0x1b09819c8 __CFRunLoopDoSource0 + 176
                                  9   CoreFoundation                	       0x1b0981738 __CFRunLoopDoSources0 + 244
                                  10  CoreFoundation                	       0x1b098033c __CFRunLoopRun + 836
                                  11  CoreFoundation                	       0x1b097f8a4 CFRunLoopRunSpecific + 612
                                  12  HIToolbox                     	       0x1b9ff43bc RunCurrentEventLoopInMode + 292
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • hisefiloH
                                    hisefilo @Christoph Hart
                                    last edited by

                                    @Christoph-Hart still getting customers with crashes. Now Ableton joined the list. Any chance to get a patch or something? 🙏

                                    1 Reply Last reply Reply Quote 0
                                    • hisefiloH
                                      hisefilo @Christoph Hart
                                      last edited by

                                      @Christoph-Hart Hi sir!! Congrats on 3.5!!!
                                      I found this commit. It fixes the race condition for preset loading?? Just wondering :)

                                      Link Preview Image
                                      - added UserPresetHandler.isCurrentlyLoadingPreset() · christophhart/HISE@6535012

                                      The open source framework for sample based instruments - - added UserPresetHandler.isCurrentlyLoadingPreset() · christophhart/HISE@6535012

                                      favicon

                                      GitHub (github.com)

                                      1 Reply Last reply Reply Quote 0
                                      • hisefiloH
                                        hisefilo @Christoph Hart
                                        last edited by hisefilo

                                        @Christoph-Hart Well, new project, new HISE 3.5.0 and crashed repeatedly on FrontendMacroPanel::getNumRows()

                                        I added this (cardinal sin) and stoped crashing (by now).
                                        on https://github.com/christophhart/HISE/blob/2deb09cfc20dbfa80d8db5c9201cc605e27cfd6c/hi_components/floating_layout/FrontendPanelTypes.cpp#L1009

                                        It's there any other quick way to do it???

                                        Please tell me you wont kick me out of the forum!!!

                                        	for (int i = 0; i < 8; i++)
                                        	{
                                                Thread::sleep(1); // Forgive me for this!!
                                                
                                        		auto d = macroChain->getMacroControlData(i);
                                        		for (int j = 0; j < d->getNumParameters(); j++)
                                        		{
                                                    
                                        			newList.add(d->getParameter(j));
                                                    
                                        		}
                                        	}
                                        
                                        Adam_GA 1 Reply Last reply Reply Quote 0
                                        • Adam_GA
                                          Adam_G @hisefilo
                                          last edited by

                                          @hisefilo did you make any progress on this? im afraid i now have the same problem.. :(

                                          Christoph HartC 1 Reply Last reply Reply Quote 0
                                          • Christoph HartC
                                            Christoph Hart @Adam_G
                                            last edited by

                                            @Adam_G I've rewritten some of the macro control code to reduce the multithreading issues, but I can't guarantee that it solves your problem). You might want to try out the latest state and see if it helps.

                                            Adam_GA 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            30

                                            Online

                                            1.8k

                                            Users

                                            11.9k

                                            Topics

                                            104.0k

                                            Posts