Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly handle exceptions in update worker threads #10

Open
jeanlauliac opened this issue Aug 10, 2017 · 0 comments
Open

Properly handle exceptions in update worker threads #10

jeanlauliac opened this issue Aug 10, 2017 · 0 comments

Comments

@jeanlauliac
Copy link
Owner

jeanlauliac commented Aug 10, 2017

Right now it crashes the app, causing other threads to have broken depfile pipes. Ex:

libc++abi.dylib: terminating with uncaught exception of type std::runtime_error
jeanlauliac/minimale git:master* » clang: error: unable to execute command: Broken pipe: 13                                                                                     (50)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/81/kpc027714hl9xchgsp7sjs400000gn/T/main-d3577a.cpp
clang: note: diagnostic msg: /var/folders/81/kpc027714hl9xchgsp7sjs400000gn/T/main-d3577a.sh
clang: note: diagnostic msg: Crash backtrace is located in
clang: note: diagnostic msg: /Users/jean/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
clang: note: diagnostic msg:

********************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant