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

Ruby tests broken since r15154

From: David James <james82_at_gmail.com>
Date: 2005-07-05 20:27:39 CEST

Currently, the Ruby test suite segfaults on my machine. It looks like
r15154 caused the problem -- r15153 works fine on my machine, but
r15154 and r15261 do not. I have reported the test suite output of all
three versions below.

Test output with r15261:
cd /nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby; \
  /h/46/james/bin/ruby -I
/nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby \
    /nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby/test/run-test.rb \
    --verbose=verbose
Loaded suite test
Started
test_authentication(SvnClientTest): svn_swig_rb_set_pool:target: 0x40448ee0
#<SWIG::TYPE_p_svn_repos_t:0x40448ee0>
#<Svn::Ext::Core::Apr_pool_t:0x40448f6c>
svn_swig_rb_set_pool:target: 0x40448d28
#<SWIG::TYPE_p_svn_repos_t:0x40448d28>
#<Svn::Ext::Core::Apr_pool_t:0x40448d64>
svn_swig_rb_set_pool:target: 0x404475f4
#<Svn::Ext::Client::Svn_client_ctx_t:0x404475f4>
#<Svn::Ext::Core::Apr_pool_t:0x40447bbc>
svn_swig_rb_set_pool:target: 0x40445844
#<SWIG::TYPE_p_svn_auth_baton_t:0x40445844>
#<Svn::Ext::Core::Apr_pool_t:0x40445880>
svn_swig_rb_set_pool:target: 0x404455ec
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x404455ec>
#<Svn::Ext::Core::Apr_pool_t:0x4044563c>
svn_swig_rb_set_pool:target: 0x404453e4
#<SWIG::TYPE_p_svn_auth_baton_t:0x404453e4>
#<Svn::Ext::Core::Apr_pool_t:0x40445434>
svn_swig_rb_set_pool:target: 0x1
0
#<Svn::Ext::Core::Apr_pool_t:0x404451dc>
svn_swig_rb_set_pool:target: 0x40444f0c
"test/repos/conf/svnserve.conf"
#<Svn::Ext::Core::Apr_pool_t:0x40444f34>
svn_swig_rb_set_pool:target: 0x40444d18
"test/repos/conf"
#<Svn::Ext::Core::Apr_pool_t:0x40444d40>
svn_swig_rb_set_pool:target: 0x40444390
#<Svn::Ext::Client::Svn_client_ctx_t:0x40444390>
#<Svn::Ext::Core::Apr_pool_t:0x40444480>
svn_swig_rb_set_pool:target: 0x40443fe4
#<SWIG::TYPE_p_svn_auth_baton_t:0x40443fe4>
#<Svn::Ext::Core::Apr_pool_t:0x40444020>
svn_swig_rb_set_pool:target: 0x40443cd8
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x40443cd8>
#<Svn::Ext::Core::Apr_pool_t:0x40443d28>
svn_swig_rb_set_pool:target: 0x40443b48
#<SWIG::TYPE_p_svn_auth_baton_t:0x40443b48>
#<Svn::Ext::Core::Apr_pool_t:0x40443b84>
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x40443684
#<Svn::Ext::Client::Svn_client_commit_info_t:0x40443684>
#<Svn::Ext::Core::Apr_pool_t:0x404438c8>
svn_swig_rb_set_pool:target: 0x40443378
#<Svn::Ext::Client::Svn_client_ctx_t:0x40443378>
#<Svn::Ext::Core::Apr_pool_t:0x40443418>
svn_swig_rb_set_pool:target: 0x4022d9d0
#<SWIG::TYPE_p_svn_auth_baton_t:0x4022d9d0>
#<Svn::Ext::Core::Apr_pool_t:0x4022df48>
svn_swig_rb_set_pool:target: 0x40223a20
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x40223a20>
#<Svn::Ext::Core::Apr_pool_t:0x40223d04>
svn_swig_rb_set_pool:target: 0x40220ac8
#<SWIG::TYPE_p_svn_auth_baton_t:0x40220ac8>
#<Svn::Ext::Core::Apr_pool_t:0x40221144>
svn_swig_rb_set_pool:target: 0x4021a04c
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x4021a04c>
#<Svn::Ext::Core::Apr_pool_t:0x4021a8f8>
svn_swig_rb_set_pool:target: 0x40218044
#<SWIG::TYPE_p_svn_auth_baton_t:0x40218044>
#<Svn::Ext::Core::Apr_pool_t:0x40218f1c>
svn_swig_rb_set_pool:target: 0x402031d0
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x402031d0>
#<Svn::Ext::Core::Apr_pool_t:0x40203248>
svn_swig_rb_set_pool:target: 0x40201df8
#<SWIG::TYPE_p_svn_auth_baton_t:0x40201df8>
#<Svn::Ext::Core::Apr_pool_t:0x40201f38>
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x4
nil
.
test_cat(SvnClientTest): svn_swig_rb_set_pool:target: 0x401b0820
#<SWIG::TYPE_p_svn_repos_t:0x401b0820>
#<Svn::Ext::Core::Apr_pool_t:0x401b15a4>
svn_swig_rb_set_pool:target: 0x401addf0
#<SWIG::TYPE_p_svn_repos_t:0x401addf0>
#<Svn::Ext::Core::Apr_pool_t:0x401ade2c>
svn_swig_rb_set_pool:target: 0x401a707c
#<Svn::Ext::Client::Svn_client_ctx_t:0x401a707c>
#<Svn::Ext::Core::Apr_pool_t:0x401a70cc>
svn_swig_rb_set_pool:target: 0x404e05d8
#<SWIG::TYPE_p_svn_auth_baton_t:0x404e05d8>
#<Svn::Ext::Core::Apr_pool_t:0x404e0bdc>
svn_swig_rb_set_pool:target: 0x404d9508
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x404d9508>
#<Svn::Ext::Core::Apr_pool_t:0x404d9a94>
svn_swig_rb_set_pool:target: 0x404d8658
#<SWIG::TYPE_p_svn_auth_baton_t:0x404d8658>
#<Svn::Ext::Core::Apr_pool_t:0x404d8838>
svn_swig_rb_set_pool:target: 0x1
0
#<Svn::Ext::Core::Apr_pool_t:0x404d6948>
svn_swig_rb_set_pool:target: 0x404d3a54
"test/repos/conf/svnserve.conf"
#<Svn::Ext::Core::Apr_pool_t:0x404d3d74>
svn_swig_rb_set_pool:target: 0x404d2320
"test/repos/conf"
#<Svn::Ext::Core::Apr_pool_t:0x404d28ac>
svn_swig_rb_set_pool:target: 0x404cf328
#<Svn::Ext::Client::Svn_client_ctx_t:0x404cf328>
#<Svn::Ext::Core::Apr_pool_t:0x404cf5f8>
svn_swig_rb_set_pool:target: 0x404ccf88
#<SWIG::TYPE_p_svn_auth_baton_t:0x404ccf88>
#<Svn::Ext::Core::Apr_pool_t:0x404cd2f8>
svn_swig_rb_set_pool:target: 0x404cadf0
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x404cadf0>
#<Svn::Ext::Core::Apr_pool_t:0x404cb110>
svn_swig_rb_set_pool:target: 0x404c9234
#<SWIG::TYPE_p_svn_auth_baton_t:0x404c9234>
#<Svn::Ext::Core::Apr_pool_t:0x404c939c>
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x404c8168
#<Svn::Ext::Client::Svn_client_commit_info_t:0x404c8168>
#<Svn::Ext::Core::Apr_pool_t:0x404c84c4>
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x404c6a0c
#<Svn::Ext::Client::Svn_client_commit_info_t:0x404c6a0c>
#<Svn::Ext::Core::Apr_pool_t:0x404c7060>
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x4
nil
.
test_commit(SvnClientTest): svn_swig_rb_set_pool:target: 0x404afca8
#<SWIG::TYPE_p_svn_repos_t:0x404afca8>
#<Svn::Ext::Core::Apr_pool_t:0x404afd48>
svn_swig_rb_set_pool:target: 0x404af85c
#<SWIG::TYPE_p_svn_repos_t:0x404af85c>
#<Svn::Ext::Core::Apr_pool_t:0x404afb04>
svn_swig_rb_set_pool:target: 0x404aed44
#<Svn::Ext::Client::Svn_client_ctx_t:0x404aed44>
#<Svn::Ext::Core::Apr_pool_t:0x404aed6c>
svn_swig_rb_set_pool:target: 0x404a8c8c
#<SWIG::TYPE_p_svn_auth_baton_t:0x404a8c8c>
#<Svn::Ext::Core::Apr_pool_t:0x404ae934>
svn_swig_rb_set_pool:target: 0x404a8200
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x404a8200>
#<Svn::Ext::Core::Apr_pool_t:0x404a83a4>
svn_swig_rb_set_pool:target: 0x404a7300
#<SWIG::TYPE_p_svn_auth_baton_t:0x404a7300>
#<Svn::Ext::Core::Apr_pool_t:0x404a73f0>
svn_swig_rb_set_pool:target: 0x1
0
#<Svn::Ext::Core::Apr_pool_t:0x404a6e3c>
svn_swig_rb_set_pool:target: 0x404a6608
"test/repos/conf/svnserve.conf"
#<Svn::Ext::Core::Apr_pool_t:0x404a6644>
svn_swig_rb_set_pool:target: 0x404a62ac
"test/repos/conf"
#<Svn::Ext::Core::Apr_pool_t:0x404a63d8>
svn_swig_rb_set_pool:target: 0x404a5910
#<Svn::Ext::Client::Svn_client_ctx_t:0x404a5910>
#<Svn::Ext::Core::Apr_pool_t:0x404a5b54>
svn_swig_rb_set_pool:target: 0x404a328c
#<SWIG::TYPE_p_svn_auth_baton_t:0x404a328c>
#<Svn::Ext::Core::Apr_pool_t:0x404a3624>
svn_swig_rb_set_pool:target: 0x40499f84
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x40499f84>
#<Svn::Ext::Core::Apr_pool_t:0x4049a1b4>
svn_swig_rb_set_pool:target: 0x4049275c
#<SWIG::TYPE_p_svn_auth_baton_t:0x4049275c>
#<Svn::Ext::Core::Apr_pool_t:0x40493b48>
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x1
0
#<Svn::Ext::Core::Apr_pool_t:0x4048794c>
svn_swig_rb_set_pool:target: 0x40480f48
#<Svn::Ext::Client::Svn_client_commit_info_t:0x40480f48>
#<Svn::Ext::Core::Apr_pool_t:0x404841ac>
svn_swig_rb_set_pool:target: 0x3
1
#<Svn::Ext::Core::Apr_pool_t:0x4047d1e0>
svn_swig_rb_set_pool:target: 0x4
nil
.
test_diff(SvnClientTest): svn_swig_rb_set_pool:target: 0x40467430
#<SWIG::TYPE_p_svn_repos_t:0x40467430>
#<Svn::Ext::Core::Apr_pool_t:0x40467700>
svn_swig_rb_set_pool:target: 0x40466800
#<SWIG::TYPE_p_svn_repos_t:0x40466800>
#<Svn::Ext::Core::Apr_pool_t:0x40466da0>
svn_swig_rb_set_pool:target: 0x404652ac
#<Svn::Ext::Client::Svn_client_ctx_t:0x404652ac>
#<Svn::Ext::Core::Apr_pool_t:0x404653d8>
svn_swig_rb_set_pool:target: 0x40464a50
#<SWIG::TYPE_p_svn_auth_baton_t:0x40464a50>
#<Svn::Ext::Core::Apr_pool_t:0x40464b40>
svn_swig_rb_set_pool:target: 0x40463f74
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x40463f74>
#<Svn::Ext::Core::Apr_pool_t:0x404640dc>
svn_swig_rb_set_pool:target: 0x40463cf4
#<SWIG::TYPE_p_svn_auth_baton_t:0x40463cf4>
#<Svn::Ext::Core::Apr_pool_t:0x40463e0c>
svn_swig_rb_set_pool:target: 0x1
0
#<Svn::Ext::Core::Apr_pool_t:0x404638e4>
svn_swig_rb_set_pool:target: 0x40462e58
"test/repos/conf/svnserve.conf"
#<Svn::Ext::Core::Apr_pool_t:0x40463038>
svn_swig_rb_set_pool:target: 0x40461634
"test/repos/conf"
#<Svn::Ext::Core::Apr_pool_t:0x40461c10>
svn_swig_rb_set_pool:target: 0x40460798
#<Svn::Ext::Client::Svn_client_ctx_t:0x40460798>
#<Svn::Ext::Core::Apr_pool_t:0x4046093c>
svn_swig_rb_set_pool:target: 0x4045feec
#<SWIG::TYPE_p_svn_auth_baton_t:0x4045feec>
#<Svn::Ext::Core::Apr_pool_t:0x4045ff28>
svn_swig_rb_set_pool:target: 0x4045fb54
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x4045fb54>
#<Svn::Ext::Core::Apr_pool_t:0x4045fc58>
svn_swig_rb_set_pool:target: 0x4045f898
#<SWIG::TYPE_p_svn_auth_baton_t:0x4045f898>
#<Svn::Ext::Core::Apr_pool_t:0x4045f924>
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x4045e63c
#<Svn::Ext::Client::Svn_client_commit_info_t:0x4045e63c>
#<Svn::Ext::Core::Apr_pool_t:0x4045f3ac>
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x40458b38
#<Svn::Ext::Client::Svn_client_commit_info_t:0x40458b38>
#<Svn::Ext::Core::Apr_pool_t:0x4045a5dc>
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x4
nil
.
test_log(SvnClientTest): svn_swig_rb_set_pool:target: 0x40448da0
#<SWIG::TYPE_p_svn_repos_t:0x40448da0>
#<Svn::Ext::Core::Apr_pool_t:0x40448e54>
svn_swig_rb_set_pool:target: 0x40448bac
#<SWIG::TYPE_p_svn_repos_t:0x40448bac>
#<Svn::Ext::Core::Apr_pool_t:0x40448c10>
svn_swig_rb_set_pool:target: 0x40448594
#<Svn::Ext::Client::Svn_client_ctx_t:0x40448594>
#<Svn::Ext::Core::Apr_pool_t:0x404485bc>
svn_swig_rb_set_pool:target: 0x404483c8
#<SWIG::TYPE_p_svn_auth_baton_t:0x404483c8>
#<Svn::Ext::Core::Apr_pool_t:0x40448404>
svn_swig_rb_set_pool:target: 0x40448198
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x40448198>
#<Svn::Ext::Core::Apr_pool_t:0x404481e8>
svn_swig_rb_set_pool:target: 0x40447f40
#<SWIG::TYPE_p_svn_auth_baton_t:0x40447f40>
#<Svn::Ext::Core::Apr_pool_t:0x40447f7c>
svn_swig_rb_set_pool:target: 0x1
0
#<Svn::Ext::Core::Apr_pool_t:0x404475b8>
svn_swig_rb_set_pool:target: 0x404467e4
"test/repos/conf/svnserve.conf"
#<Svn::Ext::Core::Apr_pool_t:0x40446870>
svn_swig_rb_set_pool:target: 0x40445f9c
"test/repos/conf"
#<Svn::Ext::Core::Apr_pool_t:0x40446154>
svn_swig_rb_set_pool:target: 0x404459e8
#<Svn::Ext::Client::Svn_client_ctx_t:0x404459e8>
#<Svn::Ext::Core::Apr_pool_t:0x40445a10>
svn_swig_rb_set_pool:target: 0x404457f4
#<SWIG::TYPE_p_svn_auth_baton_t:0x404457f4>
#<Svn::Ext::Core::Apr_pool_t:0x40445830>
svn_swig_rb_set_pool:target: 0x4044559c
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x4044559c>
#<Svn::Ext::Core::Apr_pool_t:0x404455ec>
svn_swig_rb_set_pool:target: 0x4044536c
#<SWIG::TYPE_p_svn_auth_baton_t:0x4044536c>
#<Svn::Ext::Core::Apr_pool_t:0x404453a8>
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x40444ee4
#<Svn::Ext::Client::Svn_client_commit_info_t:0x40444ee4>
#<Svn::Ext::Core::Apr_pool_t:0x404450ec>
svn_swig_rb_set_pool:target: 0x40444048
1120586628111859
#<Svn::Ext::Core::Apr_pool_t:0x40444084>
svn_swig_rb_set_pool:target: 0x4
nil
svn_swig_rb_set_pool:target: 0x4
nil
.
test_not_new(SvnClientTest): svn_swig_rb_set_pool:target: 0x40212b94
#<SWIG::TYPE_p_svn_repos_t:0x40212b94>
#<Svn::Ext::Core::Apr_pool_t:0x40212c48>
svn_swig_rb_set_pool:target: 0x4021045c
#<SWIG::TYPE_p_svn_repos_t:0x4021045c>
#<Svn::Ext::Core::Apr_pool_t:0x40210ce0>
svn_swig_rb_set_pool:target: 0x402073e8
#<Svn::Ext::Client::Svn_client_ctx_t:0x402073e8>
#<Svn::Ext::Core::Apr_pool_t:0x40207410>
svn_swig_rb_set_pool:target: 0x40202910
#<SWIG::TYPE_p_svn_auth_baton_t:0x40202910>
#<Svn::Ext::Core::Apr_pool_t:0x402034c8>
svn_swig_rb_set_pool:target: 0x401ff210
#<Svn::Ext::Core::Svn_auth_provider_object_t:0x401ff210>
#<Svn::Ext::Core::Apr_pool_t:0x401ff710>
svn_swig_rb_set_pool:target: 0x401fc880
#<SWIG::TYPE_p_svn_auth_baton_t:0x401fc880>
#<Svn::Ext::Core::Apr_pool_t:0x401fcde4>
svn_swig_rb_set_pool:target: 0x1
0
#<Svn::Ext::Core::Apr_pool_t:0x401fb570>
svn_swig_rb_set_pool:target: 0x401fa620
"test/repos/conf/svnserve.conf"
#<Svn::Ext::Core::Apr_pool_t:0x401fa648>
svn_swig_rb_set_pool:target: 0x401f9450
"test/repos/conf"
#<Svn::Ext::Core::Apr_pool_t:0x401f9478>
svn_swig_rb_set_pool:target: 0x4
nil
.
test_revert(SvnClientTest):
/nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby/test/util.rb:16:
[BUG] Segmentation fault
ruby 1.8.3 (2005-06-20) [i686-linux]

make: *** [check-swig-rb] Error 134

Test output with r15154:
cd subversion/bindings/swig/ruby && /bin/sh
/nobackup/clgrp/james/trunk/libtool --tag=CC --silent --mode=link gcc
-g -shrext .so -g -shared -L/h/46/james/share/swig -rpath
/h/46/james/lib/ruby/site_ruby/1.8/i686-linux/svn/ext -avoid-version
-module -o wc.la svn_wc.lo
../../../../subversion/bindings/swig/ruby/libsvn_swig_ruby/libsvn_swig_ruby-1.la
../../../../subversion/libsvn_wc/libsvn_wc-1.la
../../../../subversion/libsvn_subr/libsvn_subr-1.la
libtool: link: warning: `/usr/lib//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib//libgdbm.la' seems to be moved
cd /nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby; \
  /h/46/james/bin/ruby -I
/nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby \
    /nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby/test/run-test.rb \
    --verbose=verbose
Loaded suite test
Started
test_authentication(SvnClientTest): .
test_cat(SvnClientTest): .
test_commit(SvnClientTest):
/nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby/svn/util.rb:73:
[BUG] Segmentation fault
ruby 1.8.3 (2005-06-20) [i686-linux]

make: *** [check-swig-rb] Error 134

Test output with r15153:
cd /nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby; \
  /h/46/james/bin/ruby -I
/nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby \
    /nobackup/clgrp/james/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): .
test_diff_path(SvnInfoTest): .
test_dirs_changed(SvnInfoTest): .
test_info(SvnInfoTest): .
test_sha256(SvnInfoTest): .
test_set_pool(SvnUtilTest): .
test_time(SvnUtilTest): .
test_to_ruby_class_name(SvnUtilTest): .
test_to_ruby_const_name(SvnUtilTest): .
test_authentication(TestSvnClient): .
test_cat(TestSvnClient): .
test_commit(TestSvnClient): .
test_diff(TestSvnClient): .
test_log(TestSvnClient): .
test_not_new(TestSvnClient): .
test_revert(TestSvnClient): .
test_update(TestSvnClient): .
test_binary_mime_type?(TestSvnCore): .
test_new_pool(TestSvnCore): .
test_not_new_auth_provider_object(TestSvnCore): .
test_prop(TestSvnFs): .
test_path(TestSvnRepos): .
test_transaction(TestSvnRepos): .
test_locked(TestSvnWc): .
test_status(TestSvnWc): .

Finished in 69.259468 seconds.

29 tests, 169 assertions, 0 failures, 0 errors

Test output with r15154:

-- 
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 20:28:36 2005

This is an archived mail posted to the Subversion Dev mailing list.