Serial port comms crashing Vuo Composition Loader

Steps causing the bug to occur

  1. I have an Arduino based serial interface to some LED lights.
  2. I’m sending it simple commands to turn lights on and off.
  3. The Arduino echos the commands back, not that I need them.
  4. If I read what is coming back all seems fine.
  5. If I ignore what’s coming back the CompositonLoader will eventually crash during launch, not every time though.

Have you found a workaround?

Yes, include a Receive serial data node.

Other notes

  • Vuo version: 2.4.2
  • macOS version: macOS 12
  • CPU: arm64
  • Have you been able to reproduce the problem? Yes, the problem occurs consistently when I follow the steps above
  • How severely does this bug affect you? It’s annoying but I can work around it.

I attach the Vuo composition. All works fine unless I delete the Receive Serial data in which case the composition will regularly fail to launch but not every time.

I include the console log, there are some errors at the bottom.

I also include the ips from the DiagnosticReports directory.

Is this possibly related to the last bug report from an hour ago when I reported the “Find serial devices by name” wasn’t working, at least in this instance.

test.vuo (5.57 KB) (2.53 KB) (7.18 KB)

Thanks for reporting this problem, @pbourke. We are able to reproduce the crashes with a similar setup to what you described.

It’s not clear yet why having the Receive Serial Data node in the composition prevents the crash (or makes it much less likely). The proximate cause of the crash involves the Configure Serial Device node. Once we fix the crash, we’ll see if anything else bad happens if the composition ignores the incoming serial data.

Fixed in Vuo 2.4.3. No further problems detected with the composition after fixing that bug.