You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Must not abort if exception thrown in threadpool #123
There are many functions being used in the threadpool that might throw. Whenever this is the case there MUST be a try/catch around the async code. Otherwise a C++ exception will go unhandled and lead to an abort (aka terminate) which will stop the entire node process similar to a crash. This should never happen and bugs like this need to be avoided. Another case of this try/catch going missing is mapbox/carmen-cache#56.
I'm creating this issue because I just hit a case where glyphs.SerializeAsString() threw and caused an abort inside RangeAsync.
Activity
[-]Will abort if exception throw in threadpool[/-][+]Must not abort if exception thrown in threadpool[/+]solve #123, #124, and #125
springmeyer commentedon Mar 2, 2017
Handled by #128