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

Re: Ruby bindings 1.4.0 core dump on Ubuntu Breezy

From: Blair Zajac <blair_at_orcaware.com>
Date: 2006-10-06 06:54:26 CEST

On Oct 5, 2006, at 9:28 PM, Kouhei Sutou wrote:

> Hi,
>
>
> 2006/10/6, Blair Zajac <blair@orcaware.com>:
>
>> > Could you try a change of r21652?
>>
>> It applied cleanly to 1.4.0, but just delayed the core dump:
>
> Could you try earlier SWIG?

Hi Kou,

What do you mean by earlier? An older version than 1.3.24?

In build/ac-macros/swig.m4, we don't support anything older than 1.3.24:

     if test -n "$SWIG_VERSION" &&
        test "$SWIG_VERSION" -ge "103024" &&
        test "$SWIG_VERSION" -le "103029"; then
       SWIG_SUITABLE=yes

Or do you mean a higher version?

>
>> >> 1) Failure:
>> >> test_load(SvnReposTest)
>> >> [/home/blair/Packages/ubuntu/blair/subversion/subversion-trunk/
>> >> subversion/bindings/swig/ruby/test/test_repos.rb:417]:
>> >> <NoMethodError> exception expected but was
>> >> Class: <TypeError>
>> >> Message: <"can't convert nil into String">
>
>> > Could you identify where the problem is occured?
>> >
>> >
>> > In my thought, it's the fourth argument of Svn::Repos#load_fs
>> > (parent_dir).
>>
>> Your hunch looks correct:
>>
>> 1) Failure:
>> test_load(SvnReposTest) [/home/blair/Packages/ubuntu/blair/
>> subversion/
>> subversion-trunk/subversion/bindings/swig/ruby/test/test_repos.rb:
>> 417]:
>> <NoMethodError> exception expected but was
>> Class: <TypeError>
>> Message: <"can't convert nil into String">
>
> The attached patch will solve this problem.

Thanks. It did.

Do you want to apply it to trunk and then nominate it for the 1.4.x
branch? I'll vote for it. I don't think it'll merge cleanly to
1.4.x, but it's a two line patch, so it probably won't need a merge
branch.

Regards,
Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 6 06:54:45 2006

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.