On Sat, Nov 18, 2006 at 07:09:09PM +0100, Stefan Küng wrote:
> >Is there any special reason why we want to put this code in a separate
> >dll? It seems to work fine with both the setup and crash handler code in
> >the executable.
> If you put it into the executable, then it won't work. After all: it has
> to catch a segfault, and a segfault will *stop* the application. That's
> why it is implemented as a dll.
Er, what? The DLL is loaded into the address space of the process -
there's nothing special about whether it's a DLL or not, it just calls
SetUnhandledExceptionFilter() to set a handler (in the same way that you
can call signal() to handle SIGSEGV before terminating).
> But are you sure you want to start from scratch with a crashhandler? You
> could also start using airbag:
Airbag looks like it'll be good, but it was pretty incomplete last time
I checked. It also seemed more focussed around sending the crash
reports to a server.
Received on Sat Nov 18 20:31:48 2006
- application/pgp-signature attachment: stored