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

Re: swig-rb trunk r15112: FAIL (x86_64-unknown-linux-gnu shared)

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2005-06-21 06:05:11 CEST

Hi Jani,

In <20050620063500.34F5E3407C@hal9000.jaa.iki.fi>
  "swig-rb trunk r15112: FAIL (x86_64-unknown-linux-gnu shared)" on Mon, 20 Jun 2005 00:35:00 -0600,
  svntest@jaa.iki.fi wrote:

> Last 100 lines of the log file follow:
> rm -rf /srv/svntest/svntest/obj-sh/subversion/bindings/swig/ruby/test/repos /srv/svntest/svntest/obj-sh/subversion/bindings/swig/ruby/test/wc
> cd /srv/svntest/svntest/obj-sh/subversion/bindings/swig/ruby; \
> /usr/bin/ruby -I /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby \
> /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/run-test.rb \
> --verbose=verbose
> Loaded suite test
> Started
> test_change_prop(SvnDeltaTest): .
> test_changed(SvnDeltaTest): .
> test_deep_copy(SvnDeltaTest): .
> test_changed(SvnInfoTest): .
> test_diff(SvnInfoTest): /svntest/obj-sh/subversion/bindings/swig/ruby/.ext/svn/ext/core.so: [BUG] Segmentation fault
> ruby 1.8.3 (2005-05-12) [x86_64-linux]
>
> make: *** [check-swig-rb] Error 134
> Complete log saved in /srv/svntest/svntest/logs/svn_trunk/LOG_swig-rb_check.failed
> FAIL: swig-rb::check

Does attached patch solve the problem?
# The problem doesn't occur on my environment.

Index: subversion/bindings/swig/ruby/svn/client.rb
===================================================================
--- subversion/bindings/swig/ruby/svn/client.rb ($B%j%S%8%g%s(B 15127)
+++ subversion/bindings/swig/ruby/svn/client.rb ($B:n6H%3%T!<(B)
@@ -44,6 +44,7 @@
       alias _initialize initialize
       def initialize(pool)
         @pool = pool
+ @procs = []
         @providers = []
         update_auth_baton
       end
@@ -221,6 +222,7 @@
           cred
         end
         pro = Client.__send__("get_#{name}_prompt_provider", real_prompt, *args)
+ @procs << real_prompt
         @providers << pro
         update_auth_baton
       end

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 21 06:07:33 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.