Crash Publishing Subcomp Ports

Steps causing the bug to occur

  1. Package up some nodes into a subcomposition
  2. Publish some ports

Have you found a workaround?

No.

Other notes

  • How severely does this bug affect you? It’s annoying but I can work around it.

Lots of crashing with sub comps, this is just the latest, reporting after the third attempt.

Crash report:

Process:               Vuo [83119]
Path:                  /Applications/Vuo.app/Contents/MacOS/Vuo
Identifier:            org.vuo.editor
Version:               2.3.0.11546 (2.3.0)
Code Type:             ARM-64 (Native)
Parent Process:        ??? [1]
Responsible:           Vuo [83119]
User ID:               501

Date/Time:             2021-04-16 00:05:33.299 -0700
OS Version:            macOS 11.2.3 (20D91)
Report Version:        12
Anonymous UUID:        43A67528-DE08-7AEF-96F9-5AB2819C6E2A

Sleep/Wake UUID:       954EFC63-845B-408C-9CF0-CDFEE431DF64

Time Awake Since Boot: 530000 seconds
Time Since Wake:       48000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

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

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

VM Regions Near 0x1906f9774b60:
    GPU Carveout (reserved)    1000000000-7000000000   [384.0G] ---/--- SM=NUL  reserved VM address space (unallocated)
--> 
    MALLOC_NANO              600000000000-600008000000 [128.0M] rw-/rwx SM=PRV  

Application Specific Information:
t=166.8629s         VuoCommandRemove.cc:310                                      redo()  jersmi.drumHiHat.vuo:      Delete cable ShareValue5:sameValue -> 
t=166.9040s              VuoCompiler.cc:1666  compileModulesFromSourceCode_block_invoke  Compiling jersmi.drumHiHat
t=166.9929s              VuoCompiler.cc:3330                    loadModulesAndSources()  Removed from composition-local environment: jersmi.drumHiHat
t=166.9991s              VuoCompiler.cc:3419                    loadModulesAndSources()  Loaded into composition-local environment:  [93d15650] /Users/jersmi/Desktop/VUO/Modules/jersmi.drumHiHat.vuo
t=174.0220s    VuoCommandPublishPort.cc:122                                      redo()  jersmi.drumHiHat.vuo:      Publish input port 'NAttack'
t=174.0768s              VuoCompiler.cc:1666  compileModulesFromSourceCode_block_invoke  Compiling jersmi.drumHiHat
t=174.1679s              VuoCompiler.cc:3330                    loadModulesAndSources()  Removed from composition-local environment: jersmi.drumHiHat
t=174.1743s              VuoCompiler.cc:3419                    loadModulesAndSources()  Loaded into composition-local environment:  [e18b219c] /Users/jersmi/Desktop/VUO/Modules/jersmi.drumHiHat.vuo
t=178.8665s    VuoCommandPublishPort.cc:122                                      redo()  jersmi.drumHiHat.vuo:      Publish input port 'NAttack'
t=178.9348s              VuoCompiler.cc:1666  compileModulesFromSourceCode_block_invoke  Compiling jersmi.drumHiHat
t=179.0223s              VuoCompiler.cc:3330                    loadModulesAndSources()  Removed from composition-local environment: jersmi.drumHiHat
t=179.0286s              VuoCompiler.cc:3419                    loadModulesAndSources()  Loaded into composition-local environment:  [6d948df2] /Users/jersmi/Desktop/VUO/Modules/jersmi.drumHiHat.vuo
t=181.4303s         VuoCommandRemove.cc:310                                      redo()  jersmi.drumHiHat.vuo:      Delete node ShareValue5
t=181.4693s              VuoCompiler.cc:1666  compileModulesFromSourceCode_block_invoke  Compiling jersmi.drumHiHat
t=181.5690s              VuoCompiler.cc:3330                    loadModulesAndSources()  Removed from composition-local environment: jersmi.drumHiHat
t=181.5752s              VuoCompiler.cc:3419                    loadModulesAndSources()  Loaded into composition-local environment:  [dbcecd56] /Users/jersmi/Desktop/VUO/Modules/jersmi.drumHiHat.vuo
t=185.7630s         VuoCommandRemove.cc:310                                      redo()  jersmi.drumHiHat.vuo:      Delete node LogRange8, cable MakeDictionary28:dictionary -> LogRange8:values, cable MakeList122:list -> MakeDictionary28:keys, cable MakeList60:list -> MakeDictionary28:values
t=185.8029s              VuoCompiler.cc:1666  compileModulesFromSourceCode_block_invoke  Compiling jersmi.drumHiHat
t=185.8982s              VuoCompiler.cc:3330                    loadModulesAndSources()  Removed from composition-local environment: jersmi.drumHiHat
t=185.9043s              VuoCompiler.cc:3419                    loadModulesAndSources()  Loaded into composition-local environment:  [3ed56e48] /Users/jersmi/Desktop/VUO/Modules/jersmi.drumHiHat.vuo

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.vuo.framework             	0x0000000104742ffc VuoCompilerPort::getDataVuoType() + 44
1   org.vuo.framework             	0x00000001046f7948 VuoCompilerComposition::checkForMissingTypes(VuoCompilerIssues*) + 204
2   org.vuo.framework             	0x00000001046f7130 VuoCompilerComposition::check(VuoCompilerIssues*) + 36
3   org.vuo.editor                	0x0000000104188920 VuoEditorWindow::updateUI() + 1060
4   org.qt-project.QtCore         	0x0000000106042010 QMetaObject::activate(QObject*, int, int, void**) + 1892
5   org.qt-project.QtCore         	0x0000000106042010 QMetaObject::activate(QObject*, int, int, void**) + 1892
6   org.vuo.editor                	0x00000001041eac0c VuoPanelDocumentation::event(QEvent*) + 92
7   org.qt-project.QtWidgets      	0x0000000104e77478 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 292
8   org.qt-project.QtWidgets      	0x0000000104e78764 QApplication::notify(QObject*, QEvent*) + 640
9   org.qt-project.QtCore         	0x000000010601cddc QCoreApplication::notifyInternal2(QObject*, QEvent*) + 204
10  org.qt-project.QtCore         	0x000000010601db38 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 528
11  libqcocoa.dylib               	0x000000010fc26ef4 0x10fc00000 + 159476
12  libqcocoa.dylib               	0x000000010fc27678 0x10fc00000 + 161400
13  com.apple.CoreFoundation      	0x00000001a1584c14 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
14  com.apple.CoreFoundation      	0x00000001a1584b60 __CFRunLoopDoSource0 + 208
15  com.apple.CoreFoundation      	0x00000001a158484c __CFRunLoopDoSources0 + 268
16  com.apple.CoreFoundation      	0x00000001a15831e4 __CFRunLoopRun + 824
17  com.apple.CoreFoundation      	0x00000001a1582740 CFRunLoopRunSpecific + 600
18  com.apple.HIToolbox           	0x00000001a90a75c4 RunCurrentEventLoopInMode + 292
19  com.apple.HIToolbox           	0x00000001a90a73f4 ReceiveNextEventCommon + 688
20  com.apple.HIToolbox           	0x00000001a90a7124 _BlockUntilNextEventMatchingListInModeWithFilter + 76
21  com.apple.AppKit              	0x00000001a3d5c82c _DPSNextEvent + 868
22  com.apple.AppKit              	0x00000001a3d5b1ac -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1312
23  com.apple.AppKit              	0x00000001a3d4d060 -[NSApplication run] + 600
24  libqcocoa.dylib               	0x000000010fc26650 0x10fc00000 + 157264
25  org.qt-project.QtCore         	0x0000000106019508 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 396
26  org.qt-project.QtCore         	0x000000010601d2f8 QCoreApplication::exec() + 112
27  org.vuo.editor                	0x00000001040b6774 main + 1836
28  libdyld.dylib                 	0x00000001a14a5f34 start + 4

Thanks for letting us know. Right now we don’t have enough information to figure out the problem. If you can give us a precise set of steps that always (or almost always) cause it to crash, including the composition and all its subcompositions, that would be of great help.

Figured as much and meant to do that, then I got on with trying to get the comp to work. At this point I got things working, so looks like just a few bumps in the road.  

I’ll need to test but I was wondering if the crashes had anything to do with the output port being connected, wondering if the success I had later was because I was finishing precomps then connecting output port at the end of the process.

Happy to report that precomps are behaving quite well at present on my M1 Mac mini + Vuo 2.3.0! That is, after a wave of crashes and hangs over a couple weeks that prompted me to think I had to give up on precomps, I gave it another chance with the 2.3.0 update. So far I have successfully converted six sections in a parent comp to subcomps (and created >4 more). It’s been 99% stable, and doing a pretty good job when I neglect to stop processing in the parent comp, then just beach ball waiting for Vuo/computer to catch up. Woot!  

Not sure if this is related, but I’m seeing crashes, and errors when I’m trying to Export to Mac App on M1, with .vuo file developed on Intel.

Error that appears in log is:
There was a problem exporting the composition. — This composition contains nodes that aren’t installed. — Nodes not installed —
isInsideRectangleFromList (keithlang.isInsideRectangleFromList)

I’ve tried opening this subcomp, just in case it needed to be run on M1 first to compile or something, no luck.
It’s here, which I assume is the right place for it.
/Users/keithlang/Library/Application\ Support/Vuo/Modules/keithlang.isInsideRectangleFromList.vuo

Crash log attached.

crash log.txt (147 KB)

@jersmi,

Gad to hear your problems seem to be resolved with Vuo 2.3.0. We’d like to close this bug report. If you have additional problems, we can open a new one.

@keithlang,

We believe your crashes may be the same as “Export App” Clash. Do you notice any problems exporting apps that don’t contain subcompositions?

@jmcc I can confirm that removing the home-made sub comps results in successful export and launch.

@keithlang,

Thank you for that report.

We’ve closed this bug report.