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

Re: Tests failing on trunk since r38648

From: Hyrum K. Wright <hyrum_at_hyrumwright.org>
Date: Thu, 20 Aug 2009 20:00:20 -0500

On Aug 13, 2009, at 10:24 AM, Julian Foad wrote:

> Is anyone working on fixing these?
>
> FAIL: external_tests.py 16: place a file external into a directory
> external.
> FAIL: switch_tests.py 18: switch shouldn't allow changing repos root
> FAIL: switch_tests.py 21: forced switch detectes tree conflicts.
>
> These tests are failing, both in my own testing (on SuSE GNU/Linux)
> and
> on the debian build-bot
> <http://crest.ics.uci.edu/buildbot/builders/i686-debian-sarge1%20shared
> %
> 20gcc-3.3.5/builds/1145>, since last Sunday.
>
> (All the other build-bots have been broken for much longer :-( )

No, you aren't imagining things: (at least one of) the buildbots is
back to green. There still remain other issues which selectively
affect some of the DAV testing boxes, but the vanilla build is back to
being sane again.

Normally we don't do this, but I want to give a major shout-out to
Bert for digging in and finding a couple of complex bugs in the wc_db
PDH handling. Thanks a lot!

However, there are still at least a few issues. I tracked down a
segfault in the ruby bindings, but haven't had time to dig any
further. The segfault results in this stack trace (parts of the gdb
session below for those who want to reproduce):

hwright_at_orac:~/dev/svn-trunk/subversion/bindings/swig/ruby$ gdb ruby
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) r -I `pwd` test/run-test.rb --name=test_adm_ensure
Starting program: /usr/bin/ruby -I `pwd` test/run-test.rb --
name=test_adm_ensure
[Thread debugging using libthread_db enabled]
[New Thread 0x7fe85d7856f0 (LWP 32050)]
Loaded suite .
Started
[New Thread 0x7fe85437f950 (LWP 32231)]
[Thread 0x7fe85437f950 (LWP 32231) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fe85d7856f0 (LWP 32050)]
0x00007fe85b80c90b in is_child (type=type_uri, path1=0x0,
     path2=0x24fee70 "file:///home/hwright/dev/svn-trunk/subversion/bindings/swig/ruby/repos
", pool=0x2567238) at subversion/libsvn_subr/dirent_uri.c:620
620 if (SVN_PATH_IS_EMPTY(path1)) /* "" is the parent
*/
(gdb) backtrace
#0 0x00007fe85b80c90b in is_child (type=type_uri, path1=0x0,
     path2=0x24fee70 "file:///home/hwright/dev/svn-trunk/subversion/bindings/swig/ruby/repos
", pool=0x2567238) at subversion/libsvn_subr/dirent_uri.c:620
#1 0x00007fe85b80dc72 in svn_uri_is_child (uri1=0x0,
     uri2=0x24fee70 "file:///home/hwright/dev/svn-trunk/subversion/bindings/swig/ruby/repos
", pool=0x2567238) at subversion/libsvn_subr/dirent_uri.c:1247
#2 0x00007fe85b0f87c4 in svn_wc__entries_init (path=0x2500560 "wc-tmp/
wc",
     uuid=0x0,
     url=0x24fee70 "file:///home/hwright/dev/svn-trunk/subversion/bindings/swig/ruby/repos
", repos_root=0x0, initial_rev=0, depth=svn_depth_infinity,
pool=0x255d1e8)
     at subversion/libsvn_wc/entries.c:3145
#3 0x00007fe85b0d6e2c in init_adm (path=0x2500560 "wc-tmp/wc",
uuid=0x0,
     url=0x24fee70 "file:///home/hwright/dev/svn-trunk/subversion/bindings/swig/ruby/repos
", repos=0x0, initial_rev=0, depth=svn_depth_infinity, pool=0x255d1e8)
     at subversion/libsvn_wc/adm_files.c:631
#4 0x00007fe85b0d6fad in svn_wc_ensure_adm3 (path=0x2500560 "wc-tmp/
wc",
     uuid=0x0,
     url=0x24fee70 "file:///home/hwright/dev/svn-trunk/subversion/bindings/swig/ruby/repos
", repos=0x0, revision=0, depth=svn_depth_infinity, pool=0x255d1e8)
     at subversion/libsvn_wc/adm_files.c:664
#5 0x00007fe8556f22bb in _wrap_svn_wc_ensure_adm3 (argc=6,
argv=0x7fff65783470,
     self=140635849778920) at subversion/bindings/swig/ruby/svn_wc.c:
14973
#6 0x00007fe85d2bec40 in rb_call0 (klass=140635849708120,
recv=140635849778920,
     id=52489, oid=52489, argc=6, argv=0x7fff65783470,
body=0x7fe855dc7bf8,
     flags=<value optimized out>) at eval.c:5904
#7 0x00007fe85d2bedfa in rb_call (klass=140635849708120,
recv=140635849778920,
     mid=52489, argc=6, argv=0x7fff65783470, scope=0,
self=140635849601520)
     at eval.c:6151
#8 0x00007fe85d2b8cf0 in rb_eval (self=140635849601520, n=<value
optimized out>)
     at eval.c:3492
#9 0x00007fe85d2c98f4 in block_pass (self=140635849601520,
node=0x7fe85c3ec528)
     at eval.c:9138
#10 0x00007fe85d2ba830 in rb_eval (self=140635849601520, n=<value
optimized out>)
     at eval.c:3208
#11 0x00007fe85d2beb43 in rb_call0 (klass=140635849243480,
recv=140635849601520,
     id=45313, oid=45313, argc=6, argv=0x7fff657852a0,
body=0x7fe85c3eceb0,
     flags=<value optimized out>) at eval.c:6055
#12 0x00007fe85d2bedfa in rb_call (klass=140635849243480,
recv=140635849601520,
     mid=45313, argc=6, argv=0x7fff657852a0, scope=0,
self=140635849769600)
     at eval.c:6151
#13 0x00007fe85d2b8cf0 in rb_eval (self=140635849769600, n=<value
optimized out>)
     at eval.c:3492
#14 0x00007fe85d2beb43 in rb_call0 (klass=140635849769560,
recv=140635849769600,
     id=15833, oid=15833, argc=0, argv=0x7fff65786250,
body=0x7fe855e68030,
     flags=<value optimized out>) at eval.c:6055
#15 0x00007fe85d2bedfa in rb_call (klass=140635849769560,
recv=140635849769600,
     mid=15833, argc=5, argv=0x7fff65786250, scope=0,
self=140635849601520)
     at eval.c:6151
#16 0x00007fe85d2b8cf0 in rb_eval (self=140635849601520, n=<value
optimized out>)
     at eval.c:3492
#17 0x00007fe85d2beb43 in rb_call0 (klass=140635849243480,
recv=140635849601520,
     id=45089, oid=45089, argc=5, argv=0x7fff657871d0,
body=0x7fe855e6a998,
     flags=<value optimized out>) at eval.c:6055
#18 0x00007fe85d2bedfa in rb_call (klass=140635849243480,
recv=140635849601520,
     mid=45089, argc=5, argv=0x7fff657871d0, scope=0,
self=140635836161880)
     at eval.c:6151
#19 0x00007fe85d2b8cf0 in rb_eval (self=140635836161880, n=<value
optimized out>)
     at eval.c:3492
#20 0x00007fe85d2beb43 in rb_call0 (klass=140635836192040,
recv=140635836161880,
---Type <return> to continue, or q <return> to quit---
     id=68153, oid=68153, argc=0, argv=0x7fff65788798,
body=0x7fe855126f20,
     flags=<value optimized out>) at eval.c:6055
#21 0x00007fe85d2bedfa in rb_call (klass=140635836192040,
recv=140635836161880,
     mid=68153, argc=0, argv=0x7fff65788798, scope=1, self=6) at
eval.c:6151
#22 0x00007fe85d2bf629 in rb_f_send (argc=1, argv=0x7fff65788790,
     recv=140635836161880) at eval.c:6199

...

#98 0x00007fe85d2bb803 in rb_eval (self=140635977294520, n=<value
optimized out>)
     at eval.c:3502
#99 0x00007fe85d2cbd9b in ruby_exec_internal () at eval.c:1641
#100 0x00007fe85d2cbde5 in ruby_exec () at eval.c:1661
#101 0x00007fe85d2cbe12 in ruby_run () at eval.c:1671
#102 0x00000000004008e3 in main (argc=5, argv=0x7fff657a5e78,
     envp=<value optimized out>) at main.c:48
(gdb)

Cheers,
-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2385863
Received on 2009-08-21 03:01:02 CEST

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.