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

Re: svn commit: r15154 - in trunk: subversion/bindings/swig/ruby/libsvn_swig_ruby subversion/bindings/swig/ruby/svn subversion/bindings/swig/ruby/test tools/examples tools/hook-scripts

From: David James <james82_at_gmail.com>
Date: 2005-07-05 13:42:58 CEST

On 7/5/05, Kouhei Sutou <kou@cozmixng.org> wrote:
> Thanks for information.
> This problem isn't occurred on Ruby bindings. Because a pool
> of Ruby bindings has reference of parent pool, now.
I see you fixed this in r15257. Great! How do you deal with functions
which allocate memory from pools, such svn_config_get_config? If a
function allocates memory from a pool to create a variable, we must
make sure that the pool exists as long as the variable does.

Here is a sample script which crashes Ruby on my machine using version
r15260 of the Ruby bindings.

  require "svn/client"

  ctx = Svn::Client::Context.new()



David James -- http://www.cs.toronto.edu/~james
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 5 14:36:02 2005

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.