You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David James <ja...@gmail.com> on 2005/06/21 21:59:34 UTC

Stack Trace for Ruby Segfaults

Hi Kouhei, Jani:

This stack trace shows a segfault I got on my system with the svnserve
port = 19191. I compiled subversion and APR with debug symbols enabled
and ran Ruby in debug mode.

Cheers,

David

james@syntax% gdb ruby
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -d test/run-test.rb --verbose=verbose
Starting program: /h/46/james/bin/ruby -d test/run-test.rb --verbose=verbose
Exception `Errno::EEXIST' at /h/46/james/lib/ruby/1.8/fileutils.rb:212
- File exists -
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/.ext/svn
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/.ext/svn/ext/core.so:
warning: global variable `$swig_runtime_data_type_pointer2' not
initialized
Exception `LoadError' at /h/46/james/lib/ruby/1.8/tmpdir.rb:12 - No
such file to load -- Win32API
Exception `LoadError' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:8
- No such file to load -- uconv
Loaded suite test
Started
test_change_prop(SvnDeltaTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Svn::Error::DIR_NOT_EMPTY' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/.ext/svn/ext/repos.so:0
- Repository creation failed
Could not create top-level directory
'test/repos' exists and is non-empty
E/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/test/util.rb:76:
warning: instance variable @svnserve_pid not initialized

test_changed(SvnDeltaTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed1.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed2.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed3.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed4.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed5.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed6.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed7.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed8.txt
.
test_deep_copy(SvnDeltaTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/file1.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/dir1/file2.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/dir1/dir2/file3.txt
.
test_changed(SvnInfoTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed1.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed2.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed3.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed4.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed5.txt
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed6.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed7.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed8.txt
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
removing /tmp/svn_fs4626.0...done
removing /tmp/svn_fs4626.1...done
removing /tmp/svn_fs4626.2...done
removing /tmp/svn_fs4626.3...done
removing /tmp/svn_fs4626.4...done
removing /tmp/svn_fs4626.5...done
removing /tmp/svn_fs4626.6...done
removing /tmp/svn_fs4626.7...done
removing /tmp/svn_fs4626.8...done
removing /tmp/svn_fs4626.9...done
removing /tmp/svn_fs4626.12...done
removing /tmp/svn_fs4626.13...done
removing /tmp/svn_fs4626.14...done
removing /tmp/svn_fs4626.15...done
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
.
test_diff(SvnInfoTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/diff1.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/diff3.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/diff4.txt
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
.
test_diff_path(SvnInfoTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test

Program received signal SIGSEGV, Segmentation fault.
(gdb) backtrace
#0  0x080bba65 in st_lookup ()
#1  0x08052966 in search_method ()
#2  0x080529cd in rb_get_method_body ()
#3  0x0805de36 in rb_call ()
#4  0x0805e047 in rb_apply ()
#5  0x401d349a in callback (info=1078858984)
    at /nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:409
#6  0x0805c96a in rb_rescue2 ()
#7  0x401d4ac5 in svn_swig_rb_auth_username_prompt_func (cred=0xbfff0280,
    baton=0x401a74a0, realm=0x81544c0 "b04e7b57-14fa-0310-86db-dd7eb51412b0",
    may_save=1, pool=0x8328920)
    at /nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1031
#8  0x4057b0aa in prompt_for_username_creds (cred_p=0xbfff0280, pb=0x823b6d0,
    parameters=0x85e29e0,
    realmstring=0x81544c0 "b04e7b57-14fa-0310-86db-dd7eb51412b0", first_time=1,
    may_save=1, pool=0x8328920)
    at subversion/libsvn_client/username_providers.c:230
#9  0x4057b161 in username_prompt_first_creds (credentials_p=0xbfff0280,
    iter_baton=0xbfff027c, provider_baton=0x823b6d0, parameters=0x85e29e0,
    realmstring=0x81544c0 "b04e7b57-14fa-0310-86db-dd7eb51412b0",
pool=0x8328920)
    at subversion/libsvn_client/username_providers.c:255
#10 0x40271f45 in svn_auth_first_credentials (credentials=0xbfff02d0,
    state=0xbfff02d8, cred_kind=0x4058b147 "svn.username",
    realmstring=0x81544c0 "b04e7b57-14fa-0310-86db-dd7eb51412b0",
    auth_baton=0x85e2958, pool=0x8328920) at subversion/libsvn_subr/auth.c:198
#11 0x40588567 in get_username (session=0x82a5e58, pool=0x8328920)
    at subversion/libsvn_ra_local/ra_plugin.c:200
#12 0x40588ce2 in svn_ra_local__get_commit_editor (session=0x82a5e58,
    editor=0xbfff049c, edit_baton=0xbfff0498, log_msg=0x82a5a38 "diff path",
    callback=0x40563c50 <svn_client__commit_callback>, callback_baton=0x82b1478,
    lock_tokens=0x82a68a0, keep_locks=1, pool=0x8328920)
    at subversion/libsvn_ra_local/ra_plugin.c:503
#13 0x40583e12 in svn_ra_get_commit_editor (session=0x82a5e58,
editor=0xbfff049c,
    edit_baton=0xbfff0498, log_msg=0x82a5a38 "diff path",
    callback=0x40563c50 <svn_client__commit_callback>, callback_baton=0x82b1478,
    lock_tokens=0x82a68a0, keep_locks=1, pool=0x8328920)
    at subversion/libsvn_ra/ra_loader.c:335
#14 0x4055f4af in get_ra_editor (ra_session=0xbfff0494, latest_rev=0x0,
    editor=0xbfff049c, edit_baton=0xbfff0498, ctx=0x81643b8,
    base_url=0x83d0250
"file:///nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/test/repos",
    base_dir=0x82ea128
"/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/test/wc",
base_access=0x82ab348, log_msg=0x82a5a38 "diff path",
    commit_items=0x8348580, commit_info=0xbfff0514, is_commit=1,
    lock_tokens=0x82a68a0, keep_locks=1, pool=0x8328920)
    at subversion/libsvn_client/commit.c:626
#15 0x40560ed1 in svn_client_commit2 (commit_info=0xbfff0514, targets=0x83a39d8,
    recurse=1, keep_locks=1, ctx=0x81643b8, pool=0x8328920)
    at subversion/libsvn_client/commit.c:1482
#16 0x40561366 in svn_client_commit (commit_info=0xbfff0514, targets=0x83a39d8,
    nonrecursive=0, ctx=0x81643b8, pool=0x8328920)
    at subversion/libsvn_client/commit.c:1632
#17 0x405433b3 in _wrap_svn_client_commit (argc=4, argv=0x83a39c0,
self=1075560756)
    at subversion/bindings/swig/ruby/svn_client.c:3450
#18 0x0806a268 in call_cfunc ()
#19 0x0805d4d4 in rb_call0 ()
#20 0x08063bb5 in method_call ()
#21 0x080641a9 in bmcall ()
#22 0x0805ba1a in rb_yield_0 ()
#23 0x08062a5c in proc_invoke ()
#24 0x0805d59e in rb_call0 ()
#25 0x0805dfc2 in rb_call ()
#26 0x080581fc in rb_eval ()
#27 0x0805ba34 in rb_yield_0 ()
#28 0x080575b6 in rb_eval ()
#29 0x0805900f in rb_eval ()
#30 0x0805daad in rb_call0 ()
#31 0x0805dfc2 in rb_call ()
#32 0x080581fc in rb_eval ()
#33 0x080571d6 in rb_eval ()
#34 0x0805daad in rb_call0 ()
#35 0x0805dfc2 in rb_call ()
#36 0x080581fc in rb_eval ()
#37 0x0805900f in rb_eval ()
#38 0x0805daad in rb_call0 ()
#39 0x0805dfc2 in rb_call ()
#40 0x0805e0e0 in rb_f_send ()
#41 0x0806a268 in call_cfunc ()
#42 0x0805d4d4 in rb_call0 ()
#43 0x0805dfc2 in rb_call ()
#44 0x0805845f in rb_eval ()
#45 0x0805765d in rb_eval ()
#46 0x0805785e in rb_eval ()
#47 0x0805daad in rb_call0 ()
#48 0x0805dfc2 in rb_call ()
#49 0x080581fc in rb_eval ()
#50 0x0806325e in block_pass ()
#51 0x08056ffa in rb_eval ()
#52 0x0805ba34 in rb_yield_0 ()
#53 0x0805bddb in rb_yield ()
#54 0x080cfc7f in rb_ary_each ()
#55 0x0806a27b in call_cfunc ()
#56 0x0805d4d4 in rb_call0 ()
#57 0x0805dfc2 in rb_call ()
#58 0x080581fc in rb_eval ()
#59 0x080571d6 in rb_eval ()
#60 0x0805daad in rb_call0 ()
#61 0x0805dfc2 in rb_call ()
#62 0x080581fc in rb_eval ()
#63 0x0806325e in block_pass ()
#64 0x08056ffa in rb_eval ()
#65 0x0805ba34 in rb_yield_0 ()
#66 0x0805bddb in rb_yield ()
#67 0x080cfc7f in rb_ary_each ()
#68 0x0806a27b in call_cfunc ()
#69 0x0805d4d4 in rb_call0 ()
#70 0x0805dfc2 in rb_call ()
#71 0x080581fc in rb_eval ()
#72 0x080571d6 in rb_eval ()
#73 0x0805daad in rb_call0 ()
#74 0x0805dfc2 in rb_call ()
#75 0x080581fc in rb_eval ()
#76 0x080571d6 in rb_eval ()
#77 0x0805daad in rb_call0 ()
#78 0x0805dfc2 in rb_call ()
#79 0x080581fc in rb_eval ()
#80 0x08057c4d in rb_eval ()
#81 0x0805daad in rb_call0 ()
#82 0x0805dfc2 in rb_call ()
#83 0x080584a3 in rb_eval ()
#84 0x08057c4d in rb_eval ()
#85 0x0805daad in rb_call0 ()
#86 0x0805dfc2 in rb_call ()
#87 0x080581fc in rb_eval ()
#88 0x08057c4d in rb_eval ()
#89 0x0805daad in rb_call0 ()
#90 0x0805dfc2 in rb_call ()
#91 0x080581fc in rb_eval ()
#92 0x0805800d in rb_eval ()
#93 0x0805daad in rb_call0 ()
#94 0x0805dfc2 in rb_call ()
#95 0x080581fc in rb_eval ()
#96 0x0805daad in rb_call0 ()
#97 0x0805dfc2 in rb_call ()
#98 0x080581fc in rb_eval ()
#99 0x08058320 in rb_eval ()
#100 0x08053d2b in eval_node ()
#101 0x080542c1 in ruby_exec_internal ()
#102 0x08054312 in ruby_exec ()
#103 0x08054334 in ruby_run ()
#104 0x080522fc in rb_secure () at main.c:46
#105 0x4007e5d9 in __libc_start_main () from /lib/libc.so.6

-- 
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


Re: Stack Trace for Ruby Segfaults

Posted by David James <ja...@gmail.com>.
On 6/21/05, David James <ja...@gmail.com> wrote:
> While trying to duplicate the segfault, I also found another error --
> it appears that the test program deadlocks at some point during the
> test_authentication test. I left it running for several minutes and it
> did not finish. This error occurs both with and without your patch.
> Below I have stopped the program (using CTRL-Z) while it was
> deadlocked. Here is a stack trace for the deadlock.

The deadlock problem is not related to the Ruby bindings -- it occurs
in the standard client too. I will post this under a different
(non-ruby-specific) subject so the other developers will look at it.

Cheers,

David

-- 
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


Re: Stack Trace for Ruby Segfaults

Posted by David James <ja...@gmail.com>.
On 6/21/05, Kouhei Sutou <ko...@cozmixng.org> wrote:
> I think the problem can be fixed the patch at
>   http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=101652
> 
> Could you try the patch?
> # I'm sorry that the patch contains Japanese.
I have applied your patch. I will try to duplicate the segfault again
both with and without your patch, and see if it makes a difference.

While trying to duplicate the segfault, I also found another error --
it appears that the test program deadlocks at some point during the
test_authentication test. I left it running for several minutes and it
did not finish. This error occurs both with and without your patch.
Below I have stopped the program (using CTRL-Z) while it was
deadlocked. Here is a stack trace for the deadlock.

test_authentication(TestSvnClient): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test

james@syntax% gdb ruby
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -d test/run-test.rb --verbose=verbose
Starting program: /h/46/james/bin/ruby -d test/run-test.rb --verbose=verbose
Exception `Errno::EEXIST' at /h/46/james/lib/ruby/1.8/fileutils.rb:212
- File exists -
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/.ext/svn
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/.ext/svn/ext/core.so:
warning: global variable `$swig_runtime_data_type_pointer2' not
initialized
Exception `LoadError' at /h/46/james/lib/ruby/1.8/tmpdir.rb:12 - No
such file to load -- Win32API
Exception `LoadError' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:8
- No such file to load -- uconv
Loaded suite test
Started
test_change_prop(SvnDeltaTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Svn::Error::DIR_NOT_EMPTY' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/.ext/svn/ext/repos.so:0
- Repository creation failed
Could not create top-level directory
'test/repos' exists and is non-empty
E/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/test/util.rb:76:
warning: instance variable @svnserve_pid not initialized

test_changed(SvnDeltaTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed1.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed2.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed3.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed4.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed5.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed6.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed7.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed8.txt
.
test_deep_copy(SvnDeltaTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/file1.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/dir1/file2.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/dir1/dir2/file3.txt
.
test_changed(SvnInfoTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed1.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed2.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed3.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed4.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed5.txt
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed6.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed7.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/changed_dir/changed8.txt
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
removing /tmp/svn_fs18342.5...done
removing /tmp/svn_fs18342.6...done
removing /tmp/svn_fs18342.7...done
removing /tmp/svn_fs18342.8...done
removing /tmp/svn_fs18342.9...done
removing /tmp/svn_fs18342.12...done
removing /tmp/svn_fs18342.13...done
removing /tmp/svn_fs18342.14...done
removing /tmp/svn_fs18342.15...done
removing /tmp/svn_fs18342.0...done
removing /tmp/svn_fs18342.1...done
removing /tmp/svn_fs18342.2...done
removing /tmp/svn_fs18342.3...done
removing /tmp/svn_fs18342.4...done
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
.
test_diff(SvnInfoTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/diff1.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/diff3.txt
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/diff4.txt
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
.
test_diff_path(SvnInfoTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
removing /tmp/svn_fs18342.0...done
removing /tmp/svn_fs18342.1...done
removing /tmp/svn_fs18342.10...done
removing /tmp/svn_fs18342.11...done
removing /tmp/svn_fs18342.2...done
removing /tmp/svn_fs18342.3...done
removing /tmp/svn_fs18342.16...done
removing /tmp/svn_fs18342.4...done
removing /tmp/svn_fs18342.5...done
removing /tmp/svn_fs18342.17...done
removing /tmp/svn_fs18342.6...done
removing /tmp/svn_fs18342.7...done
removing /tmp/svn_fs18342.18...done
removing /tmp/svn_fs18342.19...done
removing /tmp/svn_fs18342.20...done
removing /tmp/svn_fs18342.21...done
removing /tmp/svn_fs18342.22...done
removing /tmp/svn_fs18342.8...done
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
.
test_dirs_changed(SvnInfoTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/new_dir/new.txt
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
removing /tmp/svn_fs18342.0...done
removing /tmp/svn_fs18342.1...done
removing /tmp/svn_fs18342.2...done
removing /tmp/svn_fs18342.3...done
removing /tmp/svn_fs18342.4...done
removing /tmp/svn_fs18342.5...done
removing /tmp/svn_fs18342.6...done
removing /tmp/svn_fs18342.7...done
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
.
test_info(SvnInfoTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Errno::ENOENT' at /h/46/james/lib/ruby/1.8/fileutils.rb:821
- No such file or directory - test/wc/hello.txt
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
.
test_sha256(SvnInfoTest): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
Exception `Uconv::Error' at
/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/svn/info.rb:14
- Uconv::Error
.
test_set_pool(SvnUtilTest): .
test_time(SvnUtilTest): .
test_to_ruby_class_name(SvnUtilTest): removing /tmp/svn_fs18342.4...done
removing /tmp/svn_fs18342.0...done
removing /tmp/svn_fs18342.1...done
removing /tmp/svn_fs18342.2...done
removing /tmp/svn_fs18342.3...done
removing /tmp/svn_fs18342.5...done
removing /tmp/svn_fs18342.6...done
removing /tmp/svn_fs18342.7...done
removing /tmp/svn_fs18342.9...done
removing /tmp/svn_fs18342.8...done
.
test_to_ruby_const_name(SvnUtilTest): .
test_authentication(TestSvnClient): Exception `Errno::EEXIST' at
/h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
Program received signal SIGTSTP, Stopped (user).
0x40142fd4 in read () from /lib/libc.so.6
(gdb) backtrace
#0  0x40142fd4 in read () from /lib/libc.so.6
#1  0x402ba5c0 in __JCR_LIST__ ()
   from /nobackup/clgrp/james/ruby/trunk/apr/.libs/libapr-0.so.0
#2  0x405c1c2d in readbuf_input (conn=0x84d0bb8,
    data=0x84d0bc8 "c\001\031@°*\b@", len=0xbffea7c0)
    at subversion/libsvn_ra_svn/marshal.c:244
#3  0x405c1dd2 in readbuf_fill (conn=0x84d0bb8, pool=0x83cc840)
    at subversion/libsvn_ra_svn/marshal.c:265
#4  0x405c1e40 in readbuf_getchar (conn=0x84d0bb8, pool=0x83cc840,
    result=0xbffea82f "") at subversion/libsvn_ra_svn/marshal.c:275
#5  0x405c1e94 in readbuf_getchar_skip_whitespace (conn=0x84d0bb8,
    pool=0x83cc840, result=0xbffea82f "")
    at subversion/libsvn_ra_svn/marshal.c:285
#6  0x405c2e8a in svn_ra_svn_read_item (conn=0x84d0bb8, pool=0x83cc840,
    item=0xbffea868) at subversion/libsvn_ra_svn/marshal.c:612
#7  0x405c335e in svn_ra_svn_read_tuple (conn=0x84d0bb8, pool=0x83cc840,
    fmt=0x405c5fa8 "wl") at subversion/libsvn_ra_svn/marshal.c:732
#8  0x405c3441 in svn_ra_svn_read_cmd_response (conn=0x84d0bb8,
    pool=0x83cc840, fmt=0x405c4160 "nnll")
    at subversion/libsvn_ra_svn/marshal.c:756
#9  0x405b8739 in ra_svn_open (session=0x82a3b50,
    url=0x82e87c8
"svn://127.0.0.1:19195/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/test/repos/sample.txt",
callbacks=0x83cc890,
    callback_baton=0x83cc8b0, config=0x0, pool=0x83cc840)
    at subversion/libsvn_ra_svn/client.c:629
#10 0x40583c9e in svn_ra_open (session_p=0xbffeaaa4,
    repos_URL=0x82e87c8
"svn://127.0.0.1:19195/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/test/repos/sample.txt",
callbacks=0x83cc890,
    callback_baton=0x83cc8b0, config=0x0, pool=0x83cc840)
    at subversion/libsvn_ra/ra_loader.c:278
#11 0x405744d4 in svn_client__open_ra_session_internal (
    ra_session=0xbffeaaa4,
    base_url=0x82e87c8
"svn://127.0.0.1:19195/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/test/repos/sample.txt",
base_dir=0x0,
    base_access=0x0, commit_items=0x0, use_admin=0, read_only_wc=1,
    ctx=0x83ae610, pool=0x83cc840) at subversion/libsvn_client/ra.c:288
#12 0x4057517a in svn_client__repos_locations (start_url=0xbffeab64,
    start_revision=0xbffeab28, end_url=0xbffeab20, end_revision=0xbffeab2c,
    path=0x82e87c8
"svn://127.0.0.1:19195/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/test/repos/sample.txt",
revision=0xbffeab50,
    start=0xbffeab40, end=0xbffeab30, ctx=0x83ae610, pool=0x82b6650)
    at subversion/libsvn_client/ra.c:739
#13 0x40575770 in svn_client__ra_session_from_path (ra_session_p=0xbffeac2c,
    rev_p=0xbffeac28, url_p=0xbffeac14,
    path_or_url=0x82e87c8
"svn://127.0.0.1:19195/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/test/repos/sample.txt",
    peg_revision_p=0xbffeacc0, revision=0xbffeacc0, ctx=0x83ae610,
    pool=0x82b6650) at subversion/libsvn_client/ra.c:893
#14 0x4055d44c in svn_client_cat2 (out=0x820b0f0,
    path_or_url=0x82e87c8
"svn://127.0.0.1:19195/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/test/repos/sample.txt",
    peg_revision=0xbffeacc0, revision=0xbffeacc0, ctx=0x83ae610,
    pool=0x82b6650) at subversion/libsvn_client/cat.c:198
#15 0x4055da12 in svn_client_cat (out=0x820b0f0,
    path_or_url=0x82e87c8
"svn://127.0.0.1:19195/nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/test/repos/sample.txt",
revision=0xbffeacc0,
    ctx=0x83ae610, pool=0x82b6650) at subversion/libsvn_client/cat.c:289
#16 0x4054a0f9 in _wrap_svn_client_cat (argc=5, argv=0x820b0d8,
    self=1075559976) at subversion/bindings/swig/ruby/svn_client.c:6396
#17 0x0806a268 in call_cfunc (func=0x40549f62 <_wrap_svn_client_cat>,
    recv=1075559976, len=-1, argc=5, argv=0x820b0d8) at eval.c:5387
#18 0x0805d4d4 in rb_call0 (klass=1075549996, recv=1075559976, id=31761,
    oid=31761, argc=5, argv=0x820b0d8, body=0x4019f0fc, nosuper=0)
    at eval.c:5522
#19 0x08063bb5 in method_call (argc=5, argv=0x820b0d8, method=1078818464)
    at eval.c:8799
#20 0x080641a9 in bmcall (args=1078703264, method=1078818464) at eval.c:9074
#21 0x0805ba1a in rb_yield_0 (val=1078703264, self=1078859524,
    klass=1078843984, flags=0, avalue=2) at eval.c:4723
#22 0x08062a5c in proc_invoke (proc=1078818404, args=1078703264,
    self=1078859524, klass=1078843984) at eval.c:8185
#23 0x0805d59e in rb_call0 (klass=1078843984, recv=1078859524, id=14457,
    oid=14457, argc=5, argv=0xbffeb5a8, body=0x404d763c, nosuper=0)
    at eval.c:5546
#24 0x0805dfc2 in rb_call (klass=1078843984, recv=1078859524, mid=14457,
    argc=5, argv=0xbffeb5a8, scope=0) at eval.c:5743
#25 0x080581fc in rb_eval (self=1078704584, n=0x4021e084) at eval.c:3229
#26 0x0805daad in rb_call0 (klass=1075502956, recv=1078704584, id=14457,
    oid=14457, argc=0, argv=0xbffebd9c, body=0x4021e084, nosuper=0)
    at eval.c:5650
#27 0x0805dfc2 in rb_call (klass=1075502956, recv=1078704584, mid=14457,
    argc=1, argv=0xbffebd98, scope=0) at eval.c:5743
#28 0x080581fc in rb_eval (self=1078259724, n=0x401aba64) at eval.c:3229
#29 0x0805ba34 in rb_yield_0 (val=6, self=1078259724, klass=0, flags=0,
    avalue=0) at eval.c:4726
#30 0x080575b6 in rb_eval (self=1078259724, n=0x401b63ec) at eval.c:3025
#31 0x0805765d in rb_eval (self=1078259724, n=0x401b6270) at eval.c:3036
#32 0x0805ba34 in rb_yield_0 (val=6, self=1078259724, klass=0, flags=0,
    avalue=0) at eval.c:4726
#33 0x080575b6 in rb_eval (self=1078259724, n=0x401b7bc0) at eval.c:3025
#34 0x0805692e in rb_eval (self=1078259724, n=0x401b7ad0) at eval.c:2776
#35 0x0805ba34 in rb_yield_0 (val=6, self=1078259724, klass=0, flags=0,
    avalue=0) at eval.c:4726
#36 0x080575b6 in rb_eval (self=1078259724, n=0x401ae6ec) at eval.c:3025
#37 0x08057c4d in rb_eval (self=1078259724, n=0x401ae660) at eval.c:3173
#38 0x0805daad in rb_call0 (klass=1075467276, recv=1078259724, id=10617,
    oid=10617, argc=0, argv=0x0, body=0x401ae660, nosuper=0) at eval.c:5650
#39 0x0805dfc2 in rb_call (klass=1075467276, recv=1078259724, mid=10617,
    argc=0, argv=0x0, scope=1) at eval.c:5743
#40 0x0805845f in rb_eval (self=1078259724, n=0x401b7a94) at eval.c:3244
#41 0x080571d6 in rb_eval (self=1078259724, n=0x401b7a44) at eval.c:2949
#42 0x0805daad in rb_call0 (klass=1075467276, recv=1078259724, id=10609,
    oid=10609, argc=0, argv=0xbffefa0c, body=0x401b7a44, nosuper=0)
    at eval.c:5650
#43 0x0805dfc2 in rb_call (klass=1075467276, recv=1078259724, mid=10609,
    argc=1, argv=0xbffefa08, scope=1) at eval.c:5743
#44 0x0805845f in rb_eval (self=1078259724, n=0x401b6450) at eval.c:3244
#45 0x080571d6 in rb_eval (self=1078259724, n=0x401b5ec4) at eval.c:2949
#46 0x0805ba34 in rb_yield_0 (val=6, self=1078259724, klass=0, flags=0,
    avalue=0) at eval.c:4726
#47 0x080575b6 in rb_eval (self=1078259724, n=0x401ae868) at eval.c:3025
#48 0x08057c4d in rb_eval (self=1078259724, n=0x401ae818) at eval.c:3173
#49 0x0805785e in rb_eval (self=1078259724, n=0x401ae660) at eval.c:3085
#50 0x0805daad in rb_call0 (klass=1075467276, recv=1078259724, id=10617,
    oid=10617, argc=0, argv=0x0, body=0x401ae660, nosuper=0) at eval.c:5650
#51 0x0805dfc2 in rb_call (klass=1075467276, recv=1078259724, mid=10617,
    argc=0, argv=0x0, scope=1) at eval.c:5743
#52 0x0805845f in rb_eval (self=1078259724, n=0x401b5e9c) at eval.c:3244
#53 0x080571d6 in rb_eval (self=1078259724, n=0x401b5e4c) at eval.c:2949
#54 0x0805daad in rb_call0 (klass=1075467276, recv=1078259724, id=10737,
    oid=10737, argc=1, argv=0xbfff27d8, body=0x401b5e4c, nosuper=0)
    at eval.c:5650
#55 0x0805dfc2 in rb_call (klass=1075467276, recv=1078259724, mid=10737,
    argc=1, argv=0xbfff27d8, scope=1) at eval.c:5743
#56 0x0805845f in rb_eval (self=1078259724, n=0x401b5c94) at eval.c:3244
#57 0x0806325e in block_pass (self=1078259724, node=0x401b5cbc) at eval.c:8475
#58 0x08056ffa in rb_eval (self=1078259724, n=0x401b5d0c) at eval.c:2935
#59 0x0805daad in rb_call0 (klass=1075467276, recv=1078259724, id=10745,
    oid=10745, argc=1, argv=0xbfff3718, body=0x401b5d0c, nosuper=0)
    at eval.c:5650
#60 0x0805dfc2 in rb_call (klass=1075467276, recv=1078259724, mid=10745,
    argc=1, argv=0xbfff3718, scope=1) at eval.c:5743
#61 0x0805845f in rb_eval (self=1078259724, n=0x401abaf0) at eval.c:3244
#62 0x080571d6 in rb_eval (self=1078259724, n=0x401ad10c) at eval.c:2949
#63 0x0805daad in rb_call0 (klass=1078262624, recv=1078259724, id=14465,
    oid=14465, argc=0, argv=0xbfff476c, body=0x401ad10c, nosuper=0)
    at eval.c:5650
#64 0x0805dfc2 in rb_call (klass=1078262624, recv=1078259724, mid=14465,
    argc=0, argv=0xbfff476c, scope=1) at eval.c:5743
#65 0x0805e0e0 in rb_f_send (argc=0, argv=0xbfff476c, recv=1078259724)
    at eval.c:5791
#66 0x0806a268 in call_cfunc (func=0x805e04a <rb_f_send>, recv=1078259724,
    len=-1, argc=1, argv=0xbfff4768) at eval.c:5387
#67 0x0805d4d4 in rb_call0 (klass=1075637396, recv=1078259724, id=3889,
    oid=3889, argc=1, argv=0xbfff4768, body=0x401ccd40, nosuper=0)
    at eval.c:5522
#68 0x0805dfc2 in rb_call (klass=1075637396, recv=1078259724, mid=3889,
    argc=1, argv=0xbfff4768, scope=1) at eval.c:5743
#69 0x0805845f in rb_eval (self=1078259724, n=0x401b9eac) at eval.c:3244
#70 0x0805765d in rb_eval (self=1078259724, n=0x401b995c) at eval.c:3036
#71 0x0805785e in rb_eval (self=1078259724, n=0x401b9f88) at eval.c:3085
#72 0x0805daad in rb_call0 (klass=1075467376, recv=1078259724, id=5113,
    oid=5113, argc=0, argv=0xbfff5acc, body=0x401b9f88, nosuper=0)
    at eval.c:5650
#73 0x0805dfc2 in rb_call (klass=1075467376, recv=1078259724, mid=5113,
    argc=1, argv=0xbfff5ac8, scope=0) at eval.c:5743
#74 0x080581fc in rb_eval (self=1078260164, n=0x401a66e0) at eval.c:3229
#75 0x0806325e in block_pass (self=1078260164, node=0x401a66f4) at eval.c:8475
#76 0x08056ffa in rb_eval (self=1078260164, n=0x401a66cc) at eval.c:2935
#77 0x0805ba34 in rb_yield_0 (val=1078259724, self=1078260164, klass=0,
    flags=0, avalue=0) at eval.c:4726
#78 0x0805bddb in rb_yield (val=1078259724) at eval.c:4808
#79 0x080cfc7f in rb_ary_each (ary=1078259804) at array.c:1131
#80 0x0806a27b in call_cfunc (func=0x80cfc4a <rb_ary_each>, recv=1078259804,
    len=0, argc=0, argv=0x0) at eval.c:5390
#81 0x0805d4d4 in rb_call0 (klass=1075606896, recv=1078259804, id=3833,
    oid=3833, argc=0, argv=0x0, body=0x401c714c, nosuper=0) at eval.c:5522
#82 0x0805dfc2 in rb_call (klass=1075606896, recv=1078259804, mid=3833,
    argc=0, argv=0x0, scope=0) at eval.c:5743
#83 0x080581fc in rb_eval (self=1078260164, n=0x401a67a8) at eval.c:3229
#84 0x080571d6 in rb_eval (self=1078260164, n=0x401a6870) at eval.c:2949
#85 0x0805daad in rb_call0 (klass=1075468316, recv=1078260164, id=5113,
    oid=5113, argc=0, argv=0xbfff798c, body=0x401a6870, nosuper=0)
    at eval.c:5650
#86 0x0805dfc2 in rb_call (klass=1075468316, recv=1078260164, mid=5113,
    argc=1, argv=0xbfff7988, scope=0) at eval.c:5743
#87 0x080581fc in rb_eval (self=1078458344, n=0x401a66e0) at eval.c:3229
#88 0x0806325e in block_pass (self=1078458344, node=0x401a66f4) at eval.c:8475
#89 0x08056ffa in rb_eval (self=1078458344, n=0x401a66cc) at eval.c:2935
#90 0x0805ba34 in rb_yield_0 (val=1078260164, self=1078458344, klass=0,
    flags=0, avalue=0) at eval.c:4726
#91 0x0805bddb in rb_yield (val=1078260164) at eval.c:4808
#92 0x080cfc7f in rb_ary_each (ary=1078458524) at array.c:1131
#93 0x0806a27b in call_cfunc (func=0x80cfc4a <rb_ary_each>, recv=107845852
    len=0, argc=0, argv=0x0) at eval.c:5390
#94 0x0805d4d4 in rb_call0 (klass=1075606896, recv=1078458524, id=3833,
    oid=3833, argc=0, argv=0x0, body=0x401c714c, nosuper=0) at eval.c:5522
#95 0x0805dfc2 in rb_call (klass=1075606896, recv=1078458524, mid=3833,
    argc=0, argv=0x0, scope=0) at eval.c:5743
#96 0x080581fc in rb_eval (self=1078458344, n=0x401a67a8) at eval.c:3229
#97 0x080571d6 in rb_eval (self=1078458344, n=0x401a6870) at eval.c:2949
#98 0x0805daad in rb_call0 (klass=1075468316, recv=1078458344, id=5113,
    oid=5113, argc=0, argv=0xbfff984c, body=0x401a6870, nosuper=0)
    at eval.c:5650
#99 0x0805dfc2 in rb_call (klass=1075468316, recv=1078458344, mid=5113,
    argc=1, argv=0xbfff9848, scope=0) at eval.c:5743
#100 0x080581fc in rb_eval (self=1078301444, n=0x40469380) at eval.c:3229
#101 0x080571d6 in rb_eval (self=1078301444, n=0x40469ee8) at eval.c:2949
#102 0x0805daad in rb_call0 (klass=1078304864, recv=1078301444, id=38041,
    oid=38041, argc=0, argv=0x0, body=0x40469ee8, nosuper=0) at eval.c:5650
#103 0x0805dfc2 in rb_call (klass=1078304864, recv=1078301444, mid=38041,
    argc=0, argv=0x0, scope=0) at eval.c:5743
#104 0x080581fc in rb_eval (self=1078303544, n=0x4046ddf4) at eval.c:3229
#105 0x08057c4d in rb_eval (self=1078303544, n=0x4046dd7c) at eval.c:3173
#106 0x0805daad in rb_call0 (klass=1078303144, recv=1078303544, id=37937,
    oid=37937, argc=0, argv=0x0, body=0x4046dd7c, nosuper=0) at eval.c:5650
#107 0x0805dfc2 in rb_call (klass=1078303144, recv=1078303544, mid=37937,
    argc=0, argv=0x0, scope=2) at eval.c:5743
#108 0x080584a3 in rb_eval (self=1078303544, n=0x40475158) at eval.c:3250
#109 0x08057c4d in rb_eval (self=1078303544, n=0x40475270) at eval.c:3173
#110 0x0805daad in rb_call0 (klass=1078303144, recv=1078303544, id=5033,
    oid=5033, argc=0, argv=0x0, body=0x40475270, nosuper=0) at eval.c:5650
#111 0x0805dfc2 in rb_call (klass=1078303144, recv=1078303544, mid=5033,
    argc=0, argv=0x0, scope=0) at eval.c:5743
#112 0x080581fc in rb_eval (self=1078303144, n=0x4019e648) at eval.c:3229
#113 0x08057c4d in rb_eval (self=1078303144, n=0x4019e5d0) at eval.c:3173
#114 0x0805daad in rb_call0 (klass=1078303044, recv=1078303144, id=5113,
    oid=5113, argc=0, argv=0xbfffcea0, body=0x4019e5d0, nosuper=0)
    at eval.c:5650
#115 0x0805dfc2 in rb_call (klass=1078303044, recv=1078303144, mid=5113,
    argc=2, argv=0xbfffce98, scope=0) at eval.c:5743
#116 0x080581fc in rb_eval (self=1075719868, n=0x4019ee90) at eval.c:3229
#117 0x0805800d in rb_eval (self=1075719868, n=0x4019ef30) at eval.c:3223
#118 0x0805daad in rb_call0 (klass=1075874288, recv=1075719868, id=5113,
    oid=5113, argc=0, argv=0x0, body=0x4019ef30, nosuper=0) at eval.c:5650
#119 0x0805dfc2 in rb_call (klass=1075874288, recv=1075719868, mid=5113,
    argc=0, argv=0x0, scope=0) at eval.c:5743
#120 0x080581fc in rb_eval (self=1075874288, n=0x401a4ca0) at eval.c:3229
#121 0x0805daad in rb_call0 (klass=1075874268, recv=1075874288, id=5113,
    oid=5113, argc=0, argv=0xbfffe410, body=0x401a4ca0, nosuper=0)
#122 0x0805dfc2 in rb_call (klass=1075874268, recv=1075874288, mid=5113,
    argc=2, argv=0xbfffe408, scope=0) at eval.c:5743
#123 0x080581fc in rb_eval (self=1075632576, n=0x401bd4bc) at eval.c:3229
#124 0x08058320 in rb_eval (self=1075632576, n=0x401be0c4) at eval.c:3239
#125 0x08053d2b in eval_node (self=1075632576, node=0x401be0c4) at eval.c:1296
#126 0x080542c1 in ruby_exec_internal () at eval.c:1473
#127 0x08054312 in ruby_exec () at eval.c:1493
#128 0x08054334 in ruby_run () at eval.c:1503
#129 0x080522fc in rb_secure (level=4) at main.c:46
#130 0x4007e5d9 in __libc_start_main () from /lib/libc.so.6

Cheers,

David



-- 
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


Re: Stack Trace for Ruby Segfaults

Posted by Jani Averbach <ja...@jaa.iki.fi>.
On 2005-06-24 09:14+0900, Kouhei Sutou wrote:
> 
> I give up the problem at this time because I can't reproduce
> the case. Could you update to trunk?

The ruby testing is part of svntest-breakage system, so it will be tested
every night if there are any changes in the trunk (or 1.2.x branch).

BR, Jani

-- 
Jani Averbach

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Stack Trace for Ruby Segfaults

Posted by Kouhei Sutou <ko...@cozmixng.org>.
Hi,

In <20...@jaa.iki.fi>
  "Re: Stack Trace for Ruby Segfaults" on Thu, 23 Jun 2005 09:37:19 -0600,
  Jani Averbach <ja...@jaa.iki.fi> wrote:

> I tested the r15153 (the version just before your pool removal) with
> GC.disable, and it didn't help.
> <http://subversion.tigris.org/servlets/ReadMsg?list=svn-breakage&msgNo=30783>

Thanks.

I give up the problem at this time because I can't reproduce
the case. Could you update to trunk?

--
kou

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Stack Trace for Ruby Segfaults

Posted by Jani Averbach <ja...@jaa.iki.fi>.
On 2005-06-23 22:59+0900, Kouhei Sutou wrote:
>
> I committed in r15154.
> But I want you to check the situation before update the
> revision.
> 
> * Whether segmentation fault is occurred or not when ruby's GC
>   is disabled?

I tested the r15153 (the version just before your pool removal) with
GC.disable, and it didn't help.
<http://subversion.tigris.org/servlets/ReadMsg?list=svn-breakage&msgNo=30783>

BR, Jani

-- 
Jani Averbach

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Stack Trace for Ruby Segfaults

Posted by Kouhei Sutou <ko...@cozmixng.org>.
Hi,

In <20...@jaa.iki.fi>
  "Re: Stack Trace for Ruby Segfaults" on Thu, 23 Jun 2005 02:15:41 -0600,
  Jani Averbach <ja...@jaa.iki.fi> wrote:

> I guess that this result is ok, I got one failure:

I agree with you.

> > I will remove apr_pool_t from Ruby world soon. (This is
> > already implemented in my working copy.) The change may fix
> > (or hide) the problem. Just a moment, please.
> 
> I will keep svntest/ruby turned on in the meantime, if you like?

I committed in r15154.
But I want you to check the situation before update the
revision.

* Whether segmentation fault is occurred or not when ruby's GC
  is disabled?

  To do this, could you add 'GC.disable' to
  subversion/bindings/swig/ruby/test/run-test.rb? For
  example:

    +GC.disable
    
     if Test::Unit::AutoRunner.respond_to?(:standalone?)
       exit Test::Unit::AutoRunner.run($0, File.dirname($0))
     else
       exit Test::Unit::AutoRunner.run(false, File.dirname($0))
     end

--
kou

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Stack Trace for Ruby Segfaults

Posted by Jani Averbach <ja...@jaa.iki.fi>.
On 2005-06-23 13:17+0900, Kouhei Sutou wrote:
>   (2) run test/runner.rb with installed ruby

Thanks!

I guess that this result is ok, I got one failure:
$ ruby test/runner.rb
Loaded suite test
Started

1106 x '.' + 1 x 'F'

Finished in 77.532515 seconds.

  1) Failure:
test_event(TestSetTraceFunc) [./test/ruby/test_settracefunc.rb:133]:
<["return", 7, :bar, TestSetTraceFunc]> expected but was
<["return", 6, :bar, TestSetTraceFunc]>.

1107 tests, 11452 assertions, 1 failures, 0 errors

> I will remove apr_pool_t from Ruby world soon. (This is
> already implemented in my working copy.) The change may fix
> (or hide) the problem. Just a moment, please.

I will keep svntest/ruby turned on in the meantime, if you like?

BR, Jani

-- 
Jani Averbach

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Stack Trace for Ruby Segfaults

Posted by Kouhei Sutou <ko...@cozmixng.org>.
Hi,

In <20...@jaa.iki.fi>
  "Re: Stack Trace for Ruby Segfaults" on Wed, 22 Jun 2005 12:05:44 -0600,
  Jani Averbach <ja...@jaa.iki.fi> wrote:

> Would there be any good ways to ensure that my environment is sane?
> Some huge, complicated ruby system? Could I run Ruby's regression
> tests afterward against already installed Ruby?

You can do.

  (1) get ruby archive and extract

      % wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.3-preview1.tar.gz
      % tar xfz ruby-1.8.3-preview1.tar.gz

  (2) run test/runner.rb with installed ruby

      % cd ruby-1.8.3
      % ruby test/runner.rb


I will remove apr_pool_t from Ruby world soon. (This is
already implemented in my working copy.) The change may fix
(or hide) the problem. Just a moment, please.

--
kou

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Stack Trace for Ruby Segfaults

Posted by Jani Averbach <ja...@jaa.iki.fi>.
On 2005-06-23 01:28+0900, Kouhei Sutou wrote:
> 
> Does the attached patch solve the problem?
> 

Unfortunately not.

> If the attached patch doesn't solve the problem, I'll have
> to put some statements for debug print. I still can't
> reproduce the problem on my environment.

Would there be any good ways to ensure that my environment is sane?
Some huge, complicated ruby system? Could I run Ruby's regression
tests afterward against already installed Ruby?

BR, Jani

-- 
Jani Averbach

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Stack Trace for Ruby Segfaults

Posted by Kouhei Sutou <ko...@cozmixng.org>.
Hi,

In <20...@jaa.iki.fi>
  "Re: Stack Trace for Ruby Segfaults" on Tue, 21 Jun 2005 19:29:28 -0600,
  Jani Averbach <ja...@jaa.iki.fi> wrote:

> Mine is segfaulting here:
> 0x00002aaaaac08204 in rb_hash_foreach () from /usr/lib/libruby18.so.1.8
> #0  0x00002aaaaac08204 in rb_hash_foreach () from /usr/lib/libruby18.so.1.8
> #1  0x00002aaaab6f53a9 in r2c_hash (hash=18446744072338819352, func=0x2aaaab6f5300 <r2c_hash_i>,
>     ctx=0x7ffffffb3330, pool=0xcc8dd8)
>     at /home/jaa/svn/svn/trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:342
> #2  0x00002aaaab5d5e88 in _wrap_svn_prop_diffs ()
>    from /home/jaa/tmpfs/build/obj-svn-trunk/subversion/bindings/swig/ruby/.ext/svn/ext/core.so

Does the attached patch solve the problem?

I think freeing keys of apr_hash_t by ruby's GC causes the
problem. (the attached patch solves the case.)

If the attached patch doesn't solve the problem, I'll have
to put some statements for debug print. I still can't
reproduce the problem on my environment.

--
kou

Re: Stack Trace for Ruby Segfaults

Posted by Jani Averbach <ja...@jaa.iki.fi>.
On 2005-06-22 09:51+0900, Kouhei Sutou wrote:
> Hi,
> 
> > test_diff_path(SvnInfoTest): Exception `Errno::EEXIST' at
> > /h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > (gdb) backtrace
> > #0  0x080bba65 in st_lookup ()
> > #1  0x08052966 in search_method ()
> > #2  0x080529cd in rb_get_method_body ()
> > #3  0x0805de36 in rb_call ()
> > #4  0x0805e047 in rb_apply ()
> > #5  0x401d349a in callback (info=1078858984)
> >     at /nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:409
> > #6  0x0805c96a in rb_rescue2 ()
> > #7  0x401d4ac5 in svn_swig_rb_auth_username_prompt_func (cred=0xbfff0280,
> >     baton=0x401a74a0, realm=0x81544c0 "b04e7b57-14fa-0310-86db-dd7eb51412b0",
> >     may_save=1, pool=0x8328920)
> >     at /nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1031
> 
> I think the problem can be fixed the patch at
>   http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=101652
>
> Could you try the patch?
I am sorry to say, but this patch didn't help.

Mine is segfaulting here:
(gdb) run -I /home/jaa/svn/svn/trunk/subversion/bindings/swig/ruby
/home/jaa/svn/svn/trunk/subversion/bindings/swig/ruby/test/run-test.rb
--verbose=verbose
Starting program: /usr/bin/ruby -I /home/jaa/svn/svn/trunk/subversion/bindings/swig/ruby 
/home/jaa/svn/svn/trunk/subversion/bindings/swig/ruby/test/run-test.rb --verbose=verbose
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46912506657504 (LWP 5649)]
Loaded suite test
Started
test_change_prop(SvnDeltaTest): .
test_changed(SvnDeltaTest): .
test_deep_copy(SvnDeltaTest): .
test_changed(SvnInfoTest): .
test_diff(SvnInfoTest):
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912506657504 (LWP 5649)]
0x00002aaaaac08204 in rb_hash_foreach () from /usr/lib/libruby18.so.1.8
#0  0x00002aaaaac08204 in rb_hash_foreach () from /usr/lib/libruby18.so.1.8
#1  0x00002aaaab6f53a9 in r2c_hash (hash=18446744072338819352, func=0x2aaaab6f5300 <r2c_hash_i>,
    ctx=0x7ffffffb3330, pool=0xcc8dd8)
    at /home/jaa/svn/svn/trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:342
#2  0x00002aaaab5d5e88 in _wrap_svn_prop_diffs ()
   from /home/jaa/tmpfs/build/obj-svn-trunk/subversion/bindings/swig/ruby/.ext/svn/ext/core.so
#3  0x00002aaaaabf3138 in rb_thread_schedule () from /usr/lib/libruby18.so.1.8
#4  0x00002aaaaabfa3fd in rb_apply () from /usr/lib/libruby18.so.1.8
#5  0x00002aaaaabfa47e in rb_apply () from /usr/lib/libruby18.so.1.8
#6  0x00002aaaaabf5cf5 in rb_iter_break () from /usr/lib/libruby18.so.1.8
#7  0x00002aaaaabf6adf in rb_yield () from /usr/lib/libruby18.so.1.8
#8  0x00002aaaaabf2c71 in rb_thread_schedule () from /usr/lib/libruby18.so.1.8
...

This is with your patch and I get the same result without the patch.

BR, Jani

-- 
Jani Averbach

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Stack Trace for Ruby Segfaults

Posted by David James <ja...@gmail.com>.
> If you apply the attached patch, you'll meet segmentation
> fault each time. :p
> # This is caused by ruby's GC.
Thanks for explaining this.

I have a quad-processor machine so the GC may run more frequently on
my machine than it does on yours.

Cheers,

David

-- 
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


Re: Stack Trace for Ruby Segfaults

Posted by Kouhei Sutou <ko...@cozmixng.org>.
Hi,

In <df...@mail.gmail.com>
  "Re: Stack Trace for Ruby Segfaults" on Tue, 21 Jun 2005 23:55:12 -0400,
  David James <ja...@gmail.com> wrote:

> > I think the problem can be fixed the patch at
> >   http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=101652
> > 
> > Could you try the patch?
> 
> I am very happy to say that your patch solves my segfault problem.

OK, I committed. (r15138)

> With your patch, I managed to run the "test_authentication" test over
> 20 times without errors. Without your patch, the "test_authentication"
> test crashes about 25% of the time.

If you apply the attached patch, you'll meet segmentation
fault each time. :p
# This is caused by ruby's GC.

--
kou

Re: Stack Trace for Ruby Segfaults

Posted by David James <ja...@gmail.com>.
On 6/21/05, Kouhei Sutou <ko...@cozmixng.org> wrote:
> I think the problem can be fixed the patch at
>   http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=101652
> 
> Could you try the patch?
Hi Kouhei,

I am very happy to say that your patch solves my segfault problem.
With your patch, I managed to run the "test_authentication" test over
20 times without errors. Without your patch, the "test_authentication"
test crashes about 25% of the time.

Please apply your patch.

Thanks,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: Stack Trace for Ruby Segfaults

Posted by Kouhei Sutou <ko...@cozmixng.org>.
Hi,

In <df...@mail.gmail.com>
  "Stack Trace for Ruby Segfaults" on Tue, 21 Jun 2005 17:59:34 -0400,
  David James <ja...@gmail.com> wrote:

> test_diff_path(SvnInfoTest): Exception `Errno::EEXIST' at
> /h/46/james/lib/ruby/1.8/fileutils.rb:212 - File exists - test
> 
> Program received signal SIGSEGV, Segmentation fault.
> (gdb) backtrace
> #0  0x080bba65 in st_lookup ()
> #1  0x08052966 in search_method ()
> #2  0x080529cd in rb_get_method_body ()
> #3  0x0805de36 in rb_call ()
> #4  0x0805e047 in rb_apply ()
> #5  0x401d349a in callback (info=1078858984)
>     at /nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:409
> #6  0x0805c96a in rb_rescue2 ()
> #7  0x401d4ac5 in svn_swig_rb_auth_username_prompt_func (cred=0xbfff0280,
>     baton=0x401a74a0, realm=0x81544c0 "b04e7b57-14fa-0310-86db-dd7eb51412b0",
>     may_save=1, pool=0x8328920)
>     at /nobackup/clgrp/james/ruby/trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1031

I think the problem can be fixed the patch at
  http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=101652

Could you try the patch?
# I'm sorry that the patch contains Japanese.

--
kou

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org