Hey Friends,
Tried to increase the channel amount past 16 to 24 and got this error. Other projects have been opening fine, however when loading the xml from the current project I am working on, it crashes. More than happy to link the full crash report too if needed. I also validated the XML and it seems like nothing is wrong there. Looking at the report, it seems like it is crashing on a Sample loading thread, but honestly I don't know where I'd go from there. Is there anything I need to do other than modify the Macros.h file?
Thanks a lot in advance to anyone that can help out,
Noah
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: HISE [4990]
Path: /Applications/HISE-4.0.0/*/HISE.app/Contents/MacOS/HISE
Identifier: com.hartinstruments.HISEStandalone
Version: 4.0.0 (4.0.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2024-07-19 14:10:21.3078 -0400
OS Version: macOS 14.5 (23F79)
Report Version: 12
Anonymous UUID: 49290C3F-21E1-A279-AA72-C03590F470A3
Time Awake Since Boot: 10000 seconds
System Integrity Protection: enabled
Crashed Thread: 4 Sample Loading Thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [4990]
VM Region Info: 0 is not in any region. Bytes before following region: 4362387456
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 10404c000-105ca8000 [ 28.4M] r-x/r-x SM=COW /Applications/HISE-4.0.0/*/HISE.app/Contents/MacOS/HISE
Thread 0:: JUCE Message Thread Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x1998361f4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x199848b24 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x19983ee34 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x199836578 mach_msg + 24
4 CoreFoundation 0x199956680 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x199954f44 __CFRunLoopRun + 1208
6 CoreFoundation 0x199954434 CFRunLoopRunSpecific + 608
7 HIToolbox 0x1a40f819c RunCurrentEventLoopInMode + 292
8 HIToolbox 0x1a40f7fd8 ReceiveNextEventCommon + 648
9 HIToolbox 0x1a40f7d30 _BlockUntilNextEventMatchingListInModeWithFilter + 76
10 AppKit 0x19d1b3d68 _DPSNextEvent + 660
11 AppKit 0x19d9a9808 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700
12 AppKit 0x19d1a709c -[NSApplication run] + 476
13 HISE 0x1040608e4 main + 296
14 dyld 0x1994ee0e0 start + 2360
Thread 1:
0 libsystem_pthread.dylib 0x199871d20 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x199871d20 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x199871d20 start_wqthread + 0
Thread 4 Crashed:: Sample Loading Thread
0 DeadDrumsVol2.dylib 0x10ab0d704 scriptnode::data::display_buffer_base<true>::updateBuffer(double, int) + 632
1 DeadDrumsVol2.dylib 0x10ab12b98 scriptnode::prototypes::static_wrappers<scriptnode::wrap::node<DrumDynamics_impl::instance<1>>>::reset(void*) + 112
2 HISE 0x1045fc45c hise::HardcodedSwappableEffect::prepareOpaqueNode(scriptnode::OpaqueNode*) + 268
3 HISE 0x1045fa218 hise::HardcodedSwappableEffect::setEffect(juce::String const&, bool) + 1316
4 HISE 0x1046016e0 hise::HardcodedSwappableEffect::restoreHardcodedData(juce::ValueTree const&) + 396
5 HISE 0x104308954 hise::Processor::restoreFromValueTree(juce::ValueTree const&) + 2276
6 HISE 0x104308954 hise::Processor::restoreFromValueTree(juce::ValueTree const&) + 2276
7 HISE 0x104359794 hise::ModulatorSynth::restoreFromValueTree(juce::ValueTree const&) + 1512
8 HISE 0x1043902bc hise::ModulatorSynthChain::restoreFromValueTree(juce::ValueTree const&) + 324
9 HISE 0x1042d8c6c std::__1::__function::__func<hise::MainController::loadPresetInternal(juce::ValueTree const&)::$_16, std::__1::allocator<hise::MainController::loadPresetInternal(juce::ValueTree const&)::$_16>, hise::SafeFunctionCall::Status (hise::Processor*)>::operator()(hise::Processor*&&) + 1684
10 HISE 0x1042591c0 hise::MainController::KillStateHandler::killVoicesAndCall(hise::Processor*, std::__1::function<hise::SafeFunctionCall::Status (hise::Processor*)> const&, hise::MainController::KillStateHandler::TargetThread) + 364
11 HISE 0x1042d7ff8 hise::MainController::loadPresetFromValueTree(juce::ValueTree const&, juce::Component*) + 1240
12 HISE 0x1040f40b8 std::__1::__function::__func<hise::BackendProcessorEditor::loadNewContainer(juce::ValueTree const&)::$_44, std::__1::allocator<hise::BackendProcessorEditor::loadNewContainer(juce::ValueTree const&)::$_44>, hise::SafeFunctionCall::Status (hise::Processor*)>::operator()(hise::Processor*&&) + 28
13 HISE 0x10426b7fc hise::MainController::SampleManager::PreloadJob::runJob() + 576
14 HISE 0x105240ff0 hise::SampleThreadPool::run() + 276
15 HISE 0x1055f0924 juce::threadEntryProc(void*) + 284
16 libsystem_pthread.dylib 0x199876f94 _pthread_start + 136
17 libsystem_pthread.dylib 0x199871d34 thread_start + 8
Thread 5:: Javascript Thread
0 libsystem_kernel.dylib 0x1998399ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19987755c _pthread_cond_wait + 1228
2 libc++.1.dylib 0x19979cba8 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 HISE 0x1055deb94 juce::WaitableEvent::wait(int) const + 152
4 HISE 0x1049e86a8 hise::JavascriptThreadPool::run() + 376
5 HISE 0x1055f0924 juce::threadEntryProc(void*) + 284
6 libsystem_pthread.dylib 0x199876f94 _pthread_start + 136
7 libsystem_pthread.dylib 0x199871d34 thread_start + 8
Thread 6:
0 libsystem_kernel.dylib 0x1998361f4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x199848b24 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x19983ee34 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x199836578 mach_msg + 24
4 CoreMIDI 0x1b3a8a094 XServerMachPort::ReceiveMessage(int&, void*, int&) + 104
5 CoreMIDI 0x1b3a9b57c MIDIProcess::MIDIInPortThread::Run() + 156
6 CoreMIDI 0x1b3a98908 CADeprecated::XThread::RunHelper(void*) + 48
7 CoreMIDI 0x1b3a9a5cc CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92
8 libsystem_pthread.dylib 0x199876f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x199871d34 thread_start + 8
Thread 7:: caulk.messenger.shared:17
0 libsystem_kernel.dylib 0x199836170 semaphore_wait_trap + 8
1 caulk 0x1a3def624 caulk::semaphore::timed_wait(double) + 212
2 caulk 0x1a3def4d8 caulk::concurrent::details::worker_thread::run() + 36
3 caulk 0x1a3def1d8 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 0x199876f94 _pthread_start + 136
5 libsystem_pthread.dylib 0x199871d34 thread_start + 8
Thread 8:: caulk.messenger.shared:high
0 libsystem_kernel.dylib 0x199836170 semaphore_wait_trap + 8
1 caulk 0x1a3def624 caulk::semaphore::timed_wait(double) + 212
2 caulk 0x1a3def4d8 caulk::concurrent::details::worker_thread::run() + 36
3 caulk 0x1a3def1d8 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 0x199876f94 _pthread_start + 136
5 libsystem_pthread.dylib 0x199871d34 thread_start + 8
Thread 9:: com.apple.audio.IOThread.client
0 libsystem_kernel.dylib 0x1998361f4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x199848b24 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x19983ee34 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x199836578 mach_msg + 24
4 CoreAudio 0x19c2139f0 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 96
5 CoreAudio 0x19c0e7fe0 HALC_ProxyIOContext::IOWorkLoop() + 4272
6 CoreAudio 0x19c0e67f8 invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 108
7 CoreAudio 0x19c26c5c4 HALC_IOThread::Entry(void*) + 88
8 libsystem_pthread.dylib 0x199876f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x199871d34 thread_start + 8
Thread 10:: Directory Scanner
0 libsystem_kernel.dylib 0x1998399ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19987755c _pthread_cond_wait + 1228
2 libc++.1.dylib 0x19979cba8 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 HISE 0x1055deb94 juce::WaitableEvent::wait(int) const + 152
4 HISE 0x1055de7fc juce::TimeSliceThread::run() + 128
5 HISE 0x1055f0924 juce::threadEntryProc(void*) + 284
6 libsystem_pthread.dylib 0x199876f94 _pthread_start + 136
7 libsystem_pthread.dylib 0x199871d34 thread_start + 8
Thread 11:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x1998361f4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x199848b24 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x19983ee34 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x199836578 mach_msg + 24
4 CoreFoundation 0x199956680 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x199954f44 __CFRunLoopRun + 1208
6 CoreFoundation 0x199954434 CFRunLoopRunSpecific + 608
7 AppKit 0x19d2de188 _NSEventThread + 144
8 libsystem_pthread.dylib 0x199876f94 _pthread_start + 136
9 libsystem_pthread.dylib 0x199871d34 thread_start + 8
Thread 12:: JUCE Timer
0 libsystem_kernel.dylib 0x1998399ec __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19987755c _pthread_cond_wait + 1228
2 libc++.1.dylib 0x19979cba8 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 HISE 0x1055deb94 juce::WaitableEvent::wait(int) const + 152
4 HISE 0x105666c1c juce::Timer::TimerThread::run() + 188
5 HISE 0x1055f0924 juce::threadEntryProc(void*) + 284
6 libsystem_pthread.dylib 0x199876f94 _pthread_start + 136
7 libsystem_pthread.dylib 0x199871d34 thread_start + 8
Thread 13:
0 libsystem_pthread.dylib 0x199871d20 start_wqthread + 0
Thread 14:
0 libsystem_pthread.dylib 0x199871d20 start_wqthread + 0
Thread 4 crashed with ARM Thread State (64-bit):
x0: 0x000000016c7eb000 x1: 0x0000000000000200 x2: 0x0000000000000000 x3: 0x00006000028e3fb8
x4: 0x0000000134bb2080 x5: 0x0000000000002d30 x6: 0x00006000028e2d30 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0x000000012700c894 x11: 0x0000000000000010
x12: 0x000060000289b8a0 x13: 0x00000000001ff800 x14: 0x00000000000007fb x15: 0x00000000b62c82d4
x16: 0x000000016c7eb000 x17: 0x000000016c7eb000 x18: 0x0000000000000000 x19: 0x0000000000000200
x20: 0x0000000000000200 x21: 0x0000000000000000 x22: 0x000000012700c890 x23: 0x0000000000000001
x24: 0x000000012700c400 x25: 0x0000000000000000 x26: 0x000000012700caf0 x27: 0x0000000000000009
x28: 0x0000000000000001 fp: 0x000000016c7ea4f0 lr: 0xd55480010ab0d4d0
sp: 0x000000016c7ea490 pc: 0x000000010ab0d704 cpsr: 0x20001000
far: 0x0000000000000000 esr: 0x92000006 (Data Abort) byte read Translation fault
Binary Images:
0x10ab00000 - 0x10ac4bfff DeadDrumsVol2.dylib (*) <a838a5b7-f38e-3019-a1ef-3fb0afef9467> /Users/USER/Documents/*/DeadDrumsVol2.dylib
0x10adec000 - 0x10af23fff com.apple.audio.units.Components (1.14) <fd93a3bc-5142-33ea-88bd-c2258c5a032d> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
0x106bac000 - 0x106bb7fff libobjc-trampolines.dylib (*) <9381bd6d-84a5-3c72-b3b8-88428afa4782> /usr/lib/libobjc-trampolines.dylib
0x10404c000 - 0x105ca7fff com.hartinstruments.HISEStandalone (4.0.0) <2d13854e-0a5d-3ab6-9a46-ede5d1a1753b> /Applications/HISE-4.0.0/*/HISE.app/Contents/MacOS/HISE
0x199835000 - 0x19986fffb libsystem_kernel.dylib (*) <9b8b53f9-e2b6-36df-98e9-28d8fca732f2> /usr/lib/system/libsystem_kernel.dylib
0x1998d8000 - 0x199db0fff com.apple.CoreFoundation (6.9) <84b539d5-22c9-3f8c-84c8-903e9c7b8d29> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x1a40c5000 - 0x1a4388fff com.apple.HIToolbox (2.1.1) <7db6c397-563f-3756-908c-e25b019a1848> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x19d17a000 - 0x19e4b6fff com.apple.AppKit (6.9) <61f710be-9132-3cc2-883d-066365fba1ad> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x1994e8000 - 0x199570a17 dyld (*) <37bbc384-0755-31c7-a808-0ed49e44dd8e> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x199870000 - 0x19987cfff libsystem_pthread.dylib (*) <386b0fc1-7873-3328-8e71-43269fd1b2c7> /usr/lib/system/libsystem_pthread.dylib
0x19978c000 - 0x199818ff7 libc++.1.dylib (*) <ec33cd83-7098-3ad6-82c8-bc03ac81e87b> /usr/lib/libc++.1.dylib
0x1b3a55000 - 0x1b3aeafff com.apple.audio.midi.CoreMIDI (2.0) <92886b08-59dd-312f-a99f-e8005d6c8c76> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
0x1a3ded000 - 0x1a3e16fff com.apple.audio.caulk (1.0) <f2da6e2e-b5a0-3ce7-97f5-7d2141a3ec32> /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
0x19befa000 - 0x19c600fff com.apple.audio.CoreAudio (5.0) <e818958c-f2dc-37df-9896-ad6e9bcd028a> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
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=1.9G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.9G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG image 352K 17
ColorSync 640K 31
CoreAnimation 1376K 74
CoreGraphics 48K 3
CoreUI image data 544K 8
Foundation 16K 1
Kernel Alloc Once 32K 1
MALLOC 1.8G 72
MALLOC guard page 192K 12
STACK GUARD 56.2M 15
Stack 30.4M 15
VM_ALLOCATE 400K 18
VM_ALLOCATE (reserved) 80K 1 reserved VM address space (unallocated)
__AUTH 1216K 260
__AUTH_CONST 22.7M 437
__CTF 824 1
__DATA 8605K 428
__DATA_CONST 23.1M 444
__DATA_DIRTY 1213K 137
__FONT_DATA 4K 1
__LINKEDIT 544.9M 5
__OBJC_RO 71.9M 1
__OBJC_RW 2199K 1
__TEXT 546.1M 460
dyld private memory 272K 2
mapped file 263.4M 32
shared memory 1168K 15
=========== ======= =======
TOTAL 3.4G 2495
TOTAL, minus reserved VM space 3.4G 2495