[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: subversion 1.4.0 svn checkout crash

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-11-18 20:31:25 CET

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:
> http://code.google.com/p/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.

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Sat Nov 18 20:31:48 2006

This is an archived mail posted to the Subversion Dev mailing list.