View Single Post
Old 06-21-2019, 02:59 AM   #3138
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 5,246
Default

Quote:
Originally Posted by MixMonkey View Post
Been fooling around with the GoSubZone and GoZone commands in an FX.zon file.

It works fine until you accidentally press the GoSubZone button whilst in the subzone. If you then press the GoZone button (to return to the initial fx zone), Reaper crashes. This is on Mac, haven't tried Win yet.

If you don't press the GoSubZone button when you're in the SubZone, you can flip back and forth with no issue. Crash dump below:
Code:
Process:               REAPER [826]
Path:                  /Applications/REAPER64.app/Contents/MacOS/REAPER
Identifier:            com.cockos.reaper
Version:               5.97.800 (5.97.800)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           REAPER [826]
User ID:               501

Date/Time:             2019-06-21 02:36:25.619 +0100
OS Version:            Mac OS X 10.14.4 (18E226)
Report Version:        12
Anonymous UUID:        2BA6B564-D394-4BC7-86C1-959074C24EAA


Time Awake Since Boot: 2700 seconds

System Integrity Protection: enabled

Crashed Thread:        40

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000001000009
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [826]

VM Regions Near 0x1000009:
--> 
    __TEXT                 00000001069b5000-00000001074a8000 [ 10.9M] r-x/rwx SM=COW  /Applications/REAPER64.app/Contents/MacOS/REAPER

Thread 0:: reaper  Dispatch queue: com.apple.main-thread
0   libsystem_platform.dylib      	0x00007fff5dcedd09 _platform_memmove$VARIANT$Haswell + 41
1   reaper_csurf_integrator.dylib 	0x00000001115d859d std::__1::enable_if<(is_same<std::__1::remove_const<Zone*>::type, Zone*>::value) && (is_trivially_copy_assignable<Zone*>::value), Zone**>::type std::__1::__move<Zone*, Zone*>(Zone**, Zone**, Zone**) + 77
2   reaper_csurf_integrator.dylib 	0x00000001115d8387 Zone** std::__1::move<Zone**, Zone**>(Zone**, Zone**, Zone**) + 71
3   reaper_csurf_integrator.dylib 	0x00000001115d7f6b std::__1::vector<Zone*, std::__1::allocator<Zone*> >::erase(std::__1::__wrap_iter<Zone* const*>) + 107
4   reaper_csurf_integrator.dylib 	0x00000001115d7dd9 ControlSurface::RemoveActiveZone(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 265
5   reaper_csurf_integrator.dylib 	0x00000001115a1372 ControlSurface::DeactivateZone(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 82
6   reaper_csurf_integrator.dylib 	0x00000001115a112a ControlSurface::GoZone(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 394
7   reaper_csurf_integrator.dylib 	0x00000001115c2565 Page::GoZone(ControlSurface*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 101
8   reaper_csurf_integrator.dylib 	0x00000001115c24a1 GoZone::Do(ControlSurface*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 81
9   reaper_csurf_integrator.dylib 	0x000000011164b0bc SurfaceContextWithStringParam::DoAction(double) + 92
10  reaper_csurf_integrator.dylib 	0x000000011159f091 WidgetActionContextManager::DoAction(double) + 305
11  reaper_csurf_integrator.dylib 	0x000000011159ef56 Widget::DoAction(double) + 54
12  reaper_csurf_integrator.dylib 	0x00000001115b6915 Press_Midi_ControlSignalGenerator::ProcessMidiMessage(MIDI_event_ex_t const*) + 37
13  reaper_csurf_integrator.dylib 	0x00000001115dccd7 Midi_ControlSurface::ProcessMidiMessage(MIDI_event_ex_t const*) + 359
14  reaper_csurf_integrator.dylib 	0x00000001115dcafd Midi_ControlSurface::HandleMidiInput() + 125
15  reaper_csurf_integrator.dylib 	0x00000001115a6159 Midi_ControlSurface::Run() + 25
16  reaper_csurf_integrator.dylib 	0x000000011157ac51 Page::Run() + 113
17  reaper_csurf_integrator.dylib 	0x0000000111577056 Manager::Run() + 134
18  reaper_csurf_integrator.dylib 	0x0000000111576fc8 CSurfIntegrator::Run() + 24
19  com.cockos.reaper             	0x0000000106cdc924 CSurf_Run() + 852
20  com.cockos.reaper             	0x0000000106a7d55f runMiscTimers() + 6127
21  com.cockos.reaper             	0x0000000106a7b0f3 Main_OnTimer(HWND__*, unsigned long) + 163
22  com.cockos.reaper             	0x0000000107019741 MainProc(HWND__*, unsigned int, unsigned long, long) + 2481
23  com.cockos.reaper             	0x0000000106ec36a6 SwellDialogDefaultWindowProc(HWND__*, unsigned int, unsigned long, long) + 438
24  com.apple.Foundation          	0x00007fff33936e6b __NSFireTimer + 80
25  com.apple.CoreFoundation      	0x00007fff316b6fc0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
26  com.apple.CoreFoundation      	0x00007fff316b6b6c __CFRunLoopDoTimer + 851
27  com.apple.CoreFoundation      	0x00007fff316b66b2 __CFRunLoopDoTimers + 330
28  com.apple.CoreFoundation      	0x00007fff316978b2 __CFRunLoopRun + 2130
29  com.apple.CoreFoundation      	0x00007fff31696e0e CFRunLoopRunSpecific + 455
30  com.apple.HIToolbox           	0x00007fff309839db RunCurrentEventLoopInMode + 292
31  com.apple.HIToolbox           	0x00007fff30983715 ReceiveNextEventCommon + 603
32  com.apple.HIToolbox           	0x00007fff309834a6 _BlockUntilNextEventMatchingListInModeWithFilter + 64
33  com.apple.AppKit              	0x00007fff2ed1dffb _DPSNextEvent + 965
34  com.apple.AppKit              	0x00007fff2ed1cd93 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
35  com.apple.AppKit              	0x00007fff2ed16eb0 -[NSApplication run] + 699
36  com.apple.AppKit              	0x00007fff2ed063f0 NSApplicationMain + 777
37  com.cockos.reaper             	0x00000001069b69f4 start + 52
Thanks, SubZones on the Zone stack are a tricky thing, might rethink the Zone stack design...

In the meantime, thanks for testing, will see if there's a quick fix.
__________________
Beta software https://stash.reaper.fm/v/38349/CSI%20beta.zip Donate GeoffWaddington.ca
Installation / documentation / source https://github.com/GeoffAWaddington/...ntegrator/wiki
Geoff Waddington is offline   Reply With Quote