Sigfred HÃ¥versen <bsdlist <at> mumak.com> writes:
> $OpenBSD: patch-subversion_bindings_swig_perl_native_Core_pm,v 1.1 2006/08/21
17:39:00 aanriot
> Exp $
> --- subversion/bindings/swig/perl/native/Core.pm.orig Mon Aug 14 15:23:49 2006
> +++ subversion/bindings/swig/perl/native/Core.pm Mon Aug 14 15:23:57 2006
> <at> <at> -50,9 +50,6 <at> <at> BEGIN {
> SVN::_Core::apr_initialize();
> }
>
> -our $gpool = SVN::Pool->new_default;
> -SVN::Core::utf_initialize($gpool);
> -
> END {
> SVN::_Core::apr_terminate();
> }
>
> fixes the core dump, but may just fix the symptom and not the cause.
The gpool is used in SVN::Ra. Removing this will cause the Ra libs to be
initialised
with the current default pool when SVN::Ra is required, which is bad.
I was puzzled by the this segfault for a long time, but i found recently when
hacking on other projects that perl does not repsect references when destroying
"ours". I might have a patch to workaround this.
Cheers,
CLK
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 12 19:54:08 2006