Skip to content

No stack backtraces or macOS crash reports for crashing plugins #136

@nickdowell

Description

@nickdowell

If a plugin crashes while being tested by pluginval, all I see in the log is e.g.

pluginval received Abort trap: 6, exiting immediately

Finished validating: /Library/Audio/Plug-Ins/VST3/myplugin.vst3
*** FAILED WITH EXIT CODE: 9

This is not very helpful to a developer trying to figure out where a crash occurred.

I came across commit 4084b3b that made pluginval print stack backtraces if a crash occurs - a very useful feature - but this now appears to be broken.


As a macOS developer, I expect to find a crash report in ~/Library/Logs/DiagnosticReports for further investigation.

These reports contain more information than a simple backtrace, and the extra info can be useful in tracking down crashes.

pluginval is preventing Apple's crash reporter producing a crash report by installing a signal handler and offers no way to disable this (IMO harmful) behaviour.

Related:

I see there's a comment about the macOS crash dialog potentially causing the process to hang - maybe are other (better?) solutions to this like configuring Apple's crash reporter to show notifications instead of dialogs? (defaults write com.apple.CrashReporter UseUNC 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions