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

Segfault in HEAD client code.

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Fri, 31 Aug 2012 21:29:51 -0400

I'm getting an intermittent segfault using a HEAD trunk client against the
same pedigree of mod_dav_svn server. Reproduction is straightforward:

   rm -rf wc
   time -p svn co http://localhost/repos/subversion/trunk wc
   time -p svn sw http://localhost/repos/subversion/tags/1.6.5 wc

I say "intermittent" because the problem happens consistently when I'm
running these commands from a shell script, but I can't reproduce it when
running them interactively at the shell.

I need to debug further, but the one core file I was able to examine had the
problem happening somewhere in and around this chunk of code in
libsvn_client/svn/switch-cmd.c:

      err = svn_cl__resolve_conflicts(
              svn_cl__notifier_get_conflicted_paths(nwb.wrapped_baton,
                                                    scratch_pool),
              depth, opt_state, ctx, scratch_pool);

The stack was weird though, and possibly smashed, so I don't have a whole
lot of faith in the integrity of that information.

Anyway, don't know that I'll get to any more debugging tonight, but I wanted
to throw that out there in case it rung any bells.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2012-09-01 03:30:30 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.