Possible to Crash Logic 2 with an Analyzer

See an older post regarding format string:

… but I didn’t hear back anything to confirm or deny my suspicions of the format syntax used:

Note: For more info on Handlebars JS:

(Which may or may not be the right syntax for this)

Finally, this could explain the harder crashing: if the Logic application (running in Electron/JavaScript) is natively executing/interpreting the ‘format’ returned from the python HLA, then the error handling & validation of a bad ‘format’ strings may be missing on the JavaScript side (vs. caught/handled on the python side).

However, I agree – the JS side could do more to catch/validate bad format exceptions from python/HLAs to mitigate hard crashes, and/or hopefully Saleae could at least document (or disclose) the right ‘format’ syntax to use to avoid causing them in the first place.

1 Like