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

Perl bindings build, then fail 'make check-swig-pl'

From: Kurt Raschke <kurt_at_raschke.net>
Date: 2005-07-10 19:59:07 CEST

I'm trying to compile Subversion 1.2.1 on Solaris 9/SPARC, with SWIG
1.3.21 and Perl 5.8.5. Subversion itself builds and runs fine, and
while the Perl bindings compile fine, any attempt to use them results
in perl coredumping:

bash-2.05# make check-swig-pl
cd /export/home/kurt/subversion-1.2.1/subversion/bindings/swig/perl/
native; make
cd /export/home/kurt/subversion-1.2.1/subversion/bindings/swig/perl/
native; make test
PERL_DL_NONLAZY=1 LD_LIBRARY_PATH=/export/home/kurt/subversion-1.2.1/
subversion/bindings/swig/perl/libsvn_swig_perl/.libs:/export/home/
kurt/subversion-1.2.1/subversion/libsvn_client/.libs:/export/home/
kurt/subversion-1.2.1/subversion/libsvn_delta/.libs:/export/home/kurt/
subversion-1.2.1/subversion/libsvn_fs/.libs:/export/home/kurt/
subversion-1.2.1/subversion/libsvn_ra/.libs:/export/home/kurt/
subversion-1.2.1/subversion/libsvn_repos/.libs:/export/home/kurt/
subversion-1.2.1/subversion/libsvn_wc/.libs:/export/home/kurt/
subversion-1.2.1/subversion/libsvn_diff/.libs:/export/home/kurt/
subversion-1.2.1/subversion/libsvn_subr/.libs:/export/home/kurt/
subversion-1.2.1/subversion/libsvn_ra_local/.libs:/export/home/kurt/
subversion-1.2.1/subversion/libsvn_ra_svn/.libs:/export/home/kurt/
subversion-1.2.1/subversion/libsvn_ra_dav/.libs:/export/home/kurt/
subversion-1.2.1/subversion/libsvn_fs_base/.libs:/export/home/kurt/
subversion-1.2.1/subversion/libsvn_fs_fs/.libs /usr/local/bin/perl "-
MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/
arch')" ../../../../../subversion/bindings/swig/perl/native/t/*.t
../../../../../subversion/bindings/swig/perl/native/t/0use.......ok
../../../../../subversion/bindings/swig/perl/native/t/1repos.....dubious
         Test returned status 0 (wstat 139, 0x8b)
         test program seems to have generated a core
DIED. FAILED tests 1-6
         Failed 6/6 tests, 0.00% okay
../../../../../subversion/bindings/swig/perl/native/t/2fs........dubious
         Test returned status 0 (wstat 139, 0x8b)
         test program seems to have generated a core
DIED. FAILED tests 1-11
         Failed 11/11 tests, 0.00% okay
<additional output like this snipped>

I am not entirely sure as to how to debug this, however, if it helps,
here is the backtrace from perl:

#0 apr_palloc (pool=0x0, size=32) at apr_pools.c:606
#1 0xfefe0880 in svn_repos_create (repos_p=0xffbff374, path=0x413880
"/tmp/svn-perl-test-mtDUEi", unused_1=0x0, unused_2=0x0,
     config=0x0, fs_config=0x0, pool=0x0) at subversion/libsvn_repos/
repos.c:1526
#2 0xfe4b6ab4 in _wrap_svn_repos_create (cv=0x413880) at svn_repos.c:
1038
#3 0x0008dea0 in Perl_pp_entersub ()
#4 0x00085b80 in Perl_runops_standard ()
#5 0x0002be5c in S_run_body ()
#6 0x0002ba78 in perl_run ()
#7 0x000286b4 in main ()

I've also tried SWIG 1.3.24 with a similar lack of success. Who do I
need to contact about this? Is it a SWIG bug, or an SVN bug, or even
a Perl bug? Or is there simply some undocumented secret to making
this work?

Thanks,

Kurt Raschke

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 10 22:54:36 2005

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