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

Re: Perl Bindings: Assertion svn_uri_is_canonical failed

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 27 Jan 2015 17:41:36 +0100

On Tue, Jan 27, 2015 at 11:30:55AM -0500, Lathan Bidwell wrote:
> I fully agree, the error is correct and deserved.
> It is happening on both my 1.6 prod servers and my 1.8.8 test servers.
>
> And I fully understand, and will do more to sanitize my inputs.
>
> But the fact that warnings cause a seg fault / core fault of the whole
> apache process makes my error reporting very difficult.
>
> All I am asking is how / why does that error completely kill my execution
> chain.

Well, these crashes are not supposed to happen at all.

As an API user you're supposed to run your URL input through
svn_uri_canonicalize(). Else you'll get undefined behaviour,
which allows SVN to abort() or do anything else it wants.
Apart from forcing API users to provide sane input we also use
this to find bugs in SVN's own code.
Received on 2015-01-27 17:43:57 CET

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

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