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

Re: Segfault in Perl bindings when commit touches a large number of files

From: Roderich Schupp <roderich.schupp_at_gmail.com>
Date: Wed, 3 Jun 2015 17:54:02 +0200

On Wed, May 27, 2015 at 7:56 PM, Roderich Schupp <roderich.schupp_at_gmail.com>
wrote:

> I've dug a little deeper and think I've found a serious flaw in how the
> Perl bindings handle
> the Perl arguments and return values stack.
>

I've committed a series of patches (r1683261:1683271) to address this
problem:

   - identify helper functions that (transitively) may call back into Perl
   - bracket all calls to these functions in Swig rules with PUTBACK/SPAGAIN
   (or only SPAGAIN for "in" typemaps, as the local stack pointer does not
   "move" during input parameter handling)

Cheers, Roderich
Received on 2015-06-03 17:54:53 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.