Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > Re: Segfault in ruby tests

subversion
Discussion topic

Back to topic list

Re: Segfault in ruby tests

Author joeswatosh
Full name Joe Swatosh
Date 2009-01-29 20:32:59 PST
Message On Thu, Jan 29, 2009 at 10:27 AM, Hyrum K. Wright
<hyrum_wright@mai​l.utexas.edu> wrote:
> Joe Swatosh wrote:
>> <hyrum_wright@mai​l.utexas.edu> wrote:
>>>> On Wed, Jan 28, 2009 at 10:36 AM, Hyrum K. Wright
>>>> <hyrum_wright@mai​l.utexas.edu> wrote:
>>>>> Joe Swatosh wrote:
>>>>>> On Tue, Jan 27, 2009 at 9:57 AM, Hyrum K. Wright
>>>>>> <hyrum_wright@mai​l.utexas.edu> wrote:
>>>>>>> Joe, Kou,
>>>>>>> The ruby bindings tests are segfaulting on the buildbot. I can
>>>>>>> reproduce
>>>>>>> locally:


>>> the buildbot continued to fail.
>>>
>>
>> I'm not much help. Maybe try running the tests with a -v so we will
>> at least know the name of the test that causes the segfault?
>
> hwright@orac:~/dev/s​vn-trunk/subversion/​bindings/swig/ruby$​ /usr/bin/ruby -I
> /home/hwright/dev/sv​n-trunk/subversion/b​indings/swig/ruby
> /home/hwright/dev/sv​n-trunk/subversion/b​indings/swig/ruby/te​st/run-test.rb
> -v
> Loaded suite .
> Started
> ...
> test_apply(SvnDeltaTest):
> /home/hwright/dev/sv​n-trunk/subversion/b​indings/swig/ruby/sv​n/util.rb:86:
> [BUG] Segmentation fault
> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
>

Not much to go on. Looking back at the buildbot results r35373 was
the last time the x64-ubuntu gcc passed. So:

D:\SVN\src-trunk>svn log -rhead:35373 subversion\libsvn_delta
--------------------​--------------------​--------------------​------------

D:\SVN\src-trunk>

Really nothing to go on.

D:\SVN\src-trunk>svn log -rhead:35373 subversion\include\svn_delta.h
--------------------​--------------------​--------------------​------------
r35424 | gstein | 2009-01-23 10:30:04 -0800 (Fri, 23 Jan 2009) | 86 lines

Adjust a bunch of our public header files:

- make sure everything the header needs is included
- make sure nothing is included which is NOT needed

Added an exception to svn_types.h: it now explicitly includes svn_error.h
since Everybody needs that thing. We go ahead and make it easy for them,
even though that is counter-philosophy.

After altering the header files, some .c files in our codebase would not
compile -- they used stuff that they did not explicitly include. Thus, a
goodly number of .c files were updated, too.

* subversion/libsvn_ra​/wrapper_template.h:​
* subversion/libsvn_ra​/deprecated.c:
* subversion/libsvn_ra/compat.c:
* subversion/libsvn_subr/iter.c:
* subversion/libsvn_su​br/cmdline.c:
* subversion/libsvn_su​br/ssl_client_cert_p​w_providers.c:
* subversion/libsvn_subr/error.c:
* subversion/libsvn_subr/auth.c:
* subversion/libsvn_subr/opt.c:
* subversion/libsvn_su​br/checksum.c:
* subversion/libsvn_su​br/compat.c:
* subversion/libsvn_subr/sha1.c:
* subversion/libsvn_su​br/deprecated.c:
* subversion/libsvn_su​br/ssl_server_trust_​providers.c:
* subversion/mod_dav_s​vn/activity.c:
* subversion/mod_dav_s​vn/reports/log.c:
* subversion/tests/lib​svn_fs/fs-test.c:
* subversion/tests/lib​svn_repos/repos-test​.c:
* subversion/svn/list-cmd.c:
* subversion/svn/chang​elist-cmd.c:
* subversion/svn/log-cmd.c:
* subversion/svn/confl​ict-callbacks.c:
* subversion/libsvn_fs​_base/dag.c:
* subversion/libsvn_fs​_base/util/fs_skels.​c:
* subversion/include/s​vn_dirent_uri.h:
* subversion/include/s​vn_error_codes.h:
* subversion/include/svn_fs.h:
* subversion/include/svn_diff.h:
* subversion/include/svn_sorts.h:
* subversion/include/s​vn_mergeinfo.h:
* subversion/include/s​vn_base64.h:
* subversion/include/svn_dso.h:
* subversion/include/s​vn_ra_svn.h:
* subversion/include/svn_repos.h:
* subversion/include/svn_delta.h:
* subversion/include/svn_path.h:
* subversion/include/svn_subst.h:
* subversion/include/svn_xml.h:
* subversion/include/svn_props.h:
* subversion/include/svn_iter.h:
* subversion/include/svn_types.h:
* subversion/include/s​vn_config.h:
* subversion/include/s​vn_string.h:
* subversion/include/svn_io.h:
* subversion/include/svn_wc.h:
* subversion/include/s​vn_cmdline.h:
* subversion/include/s​vn_client.h:
* subversion/include/svn_user.h:
* subversion/include/svn_hash.h:
* subversion/include/svn_md5.h:
* subversion/include/svn_error.h:
* subversion/include/svn_pools.h:
* subversion/include/p​rivate/svn_log.h:
* subversion/include/svn_time.h:
* subversion/include/svn_utf.h:
* subversion/include/svn_auth.h:
* subversion/include/svn_ra.h:
* subversion/include/svn_opt.h:
* subversion/include/s​vn_checksum.h:
* subversion/libsvn_wc​/deprecated.c:
* subversion/libsvn_wc/util.c:
* subversion/libsvn_wc/merge.c:
* subversion/libsvn_wc​/tree_conflicts.c:
* subversion/libsvn_cl​ient/list.c:
* subversion/libsvn_client/log.c:
* subversion/libsvn_ra​_neon/util.c:
* subversion/libsvn_ra​_neon/log.c:
* subversion/libsvn_re​pos/deprecated.c:
* subversion/libsvn_fs_fs/tree.c:
* subversion/libsvn_fs​_fs/fs_fs.c:
  (): adjust #include statements appropriately


--------------------​--------------------​--------------------​------------

D:\SVN\src-trunk>

Okay that seems really unlikely....

> The buildbot is back up, too, so you can see the error in the binding test
> output.

What do you see at:
http://subversion.ti​gris.org/ds/viewMess​age.do?dsForumId=552​&dsMessageId=106​9466
? :-)

--
Joe

« Previous message in topic | 8 of 30 | Next message in topic »

Messages

Show all messages in topic

Segfault in ruby tests "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-01-27 09:57:59 PST
     Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-01-27 20:42:01 PST
         Re: Segfault in ruby tests "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-01-28 10:36:47 PST
             Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-01-28 14:42:35 PST
                 Re: Segfault in ruby tests "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-01-28 15:10:09 PST
                     Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-01-29 07:21:54 PST
                         Re: Segfault in ruby tests "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-01-29 10:27:22 PST
                             Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-01-29 20:32:59 PST
                             Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-02-16 22:30:06 PST
                                 Re: Segfault in ruby tests David James <james82 at gmail dot com> David James <james82 at gmail dot com> 2009-02-17 08:27:11 PST
                                     Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-02-18 12:35:27 PST
                                         Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-02-18 12:41:02 PST
                                             Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-02-18 13:39:53 PST
                                                 Re: Segfault in ruby tests David James <james82 at gmail dot com> David James <james82 at gmail dot com> 2009-02-21 09:06:35 PST
                                                 Re: Segfault in ruby tests "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-02-24 14:34:55 PST
                                                     Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-02-26 22:10:51 PST
                                                     Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-02-26 22:14:49 PST
                                                         Re: Segfault in ruby tests "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-02-27 07:03:24 PST
                                                             Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-02-27 08:08:04 PST
     Re: Segfault in ruby tests kou Kouhei Sutou 2009-01-31 00:45:08 PST
         Re: Segfault in ruby tests julianfoad Julian Foad 2009-02-02 08:07:59 PST
         Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-02-05 13:52:43 PST
             Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-02-05 19:41:13 PST
                 Re: Segfault in ruby tests joeswatosh Joe Swatosh 2009-02-05 20:58:50 PST
     Re: Segfault in ruby tests "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-02-09 05:39:29 PST
Page: of 2 « Previous | Next »
Messages per page: