Re: Segfault in Perl bindings when commit touches a large number of files
From: Roderich Schupp <roderich.schupp_at_gmail.com>
Date: Thu, 21 May 2015 16:06:18 +0200
On Wed, May 20, 2015 at 10:12 AM, Roderich Schupp <roderich.schupp_at_gmail.com
> Looking at your patch, the offending line may very well be the cause of
Nope, I'll take that back. When this line
ST(argvi) = sv_newmortal();
is called argvi is still 0, so it is safe. This line is actually how Swig
int argvi = 0;
/* push output parameters (if any) onto Perl stack, increment argvi
XSRETURN(argvi);
This is a little bit silly: if there are output parameters, the first one
My prime suspects are parameters result_digest and (to a lesser extent)
As a simple experiment, I modified the Swig generated svn_delta.c to
- always pass NULL for result_digest in the actual call to svn_txdelta_apply
et voilĂ : git svn clone -r 28995:HEAD svn://anonsvn.kde.org/home/kde
Cheers, Roderich
|
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.