Issue 318 in google-breakpad: Mac exception_handler doesn't catch uncaught C++ exceptions

22 views
Skip to first unread message

codesite...@google.com

unread,
Sep 29, 2009, 11:23:02 AM9/29/09
to google-brea...@googlegroups.com

Comment #2 on issue 318 by ted.mielczarek: Mac exception_handler doesn't
catch uncaught C++ exceptions
http://code.google.com/p/google-breakpad/issues/detail?id=318

Here's a start of a patch for this. It registers a terminate handler, but
doesn't
actually do anything in the callback. Unfortunately, set_terminate doesn't
offer a
way to save a context pointer, so to get back to the ExceptionHandler
instance that
registered this handler, in order to actually write a dump, we'll probably
need to
implement something like the Windows ExceptionHandler does, with a vector of
installed handlers and synchronization around them. Bleh.


Attachments:
osx-c++-exceptions.patch 2.6 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply all
Reply to author
Forward
0 new messages