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

Re: svn commit: r37336 - trunk/subversion/libsvn_subr

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 17 Apr 2009 21:21:51 +0100

On Fri, Apr 17, 2009 at 02:21:02PM -0500, Hyrum K. Wright wrote:
> Fine. At least we have the machinery in place for developers to
> locally and easily get stack traces from failed assertions. I still
> feel more comfortable with code that checks for specific error
> conditions, not "did this thing give me any error?".
>
> Though I do seem to recall somebody in IRC a few days ago stating that
> we could replace the abort handler with something that returns an
> error, so this idea isn't complete crazy.

Do you not get a core-file when svn crashes?

I do get them by default, but I know that on some operating systems
you have to flip a knob somewhere to enable it.

For me, getting a stack trace boils down to typing:
        gdb `which svn` svn.core
        bt
which isn't really that much effort.

Stefan
Received on 2009-04-17 22:22:17 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.