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

Re: SVN Perl Bus Error

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2005-02-20 16:38:15 CET

Brooke Smith <novorivus <at> optusnet.com.au> writes:
> SNV::Error::ignore_error($lsvn_error_t);
>
> But using this instead of croak or confess still gives a Bus Error
> (after a delay). I've written in debug print STDERR statements, and
> the error happens after control returns to the handler (after calling
> SVN::Error::ignore_error).

I took a look at the error handling code in svn/perl, and yes, it requires
the handler to die out, otherwise it is doing the wrapping for the returned
values of the function as if they were returned normally.

This needs to be fixed with a definite behavior about the return values.

for now you still want to die in the handler, and use or
local $SIG{__DIE__} for the scope.

Cheers,
CLK

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 20 17:15:55 2005

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.