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

Re: "svn diff -rN" dereferences a NIL pointer and crashes with "Segmentation fault".

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-02-17 22:07:15 CET

On 2/17/06, Carsten Koch <Carsten.Koch@icem.com> wrote:
> Garrett Rooney wrote:
> > On 2/16/06, Carsten Koch <Carsten.Koch@icem.com> wrote:
> >
> >> Is this a known bug?
> >> Would you like me to file a bug report?
> >
> > I can't seem to reporduce this with either trunk or the current 1.3.x,
> > over either ra_local or ra_dav. Would it be possible for you to
> > reduce the bug report to a script we could run that creates the new
> > branch, makes the necessary modifications to it, then runs the diff,
> > to be sure that we're doing exactly the same thing you're doing?
>
> Yes. here it is:
>
> svn copy http://server/repository/product/trunk \
> http://server/repository/product/mods/branch \
> -m "create mod branch."
> svn mkdir http://server/repository/product/mods/branch/subdir \
> -m "create subdirectory."
> svn checkout -N http://server/repository/product/mods/branch
> cd branch
> svn diff -rStartRev
>
> Here is a real-life log:
>
> % svn copy http://svn/test/cko/trunk http://svn/test/cko/mods/svn_crash -m "create mod branch."
>
> Committed revision 1741.
> % svn mkdir http://svn/test/cko/mods/svn_crash/subdir -m "create subdirectory."
>
> Committed revision 1742.
> % svn checkout -N http://svn/test/cko/mods/svn_crash
> A svn_crash/display_mod_diff.py
> A svn_crash/accept_mod.py
> A svn_crash/show_include_deps.py
> A svn_crash/merge_mod.py
> A svn_crash/make_include_refs.py
> A svn_crash/make_caa_build.py
> A svn_crash/submit_mod.py
> A svn_crash/check_out.py
> A svn_crash/verify_base_libs.py
> A svn_crash/reject_mod.py
> A svn_crash/setup_caa_env.py
> A svn_crash/get_mod.py
> A svn_crash/display_include_deps.py
> A svn_crash/re_merge_mod.py
> A svn_crash/addfw.py
> A svn_crash/commit_mod.py
> Checked out revision 1742.
> smasher:cko[18] cd svn_crash
> smasher:cko[19] svn diff -r1741
> Segmentation fault

Ahh, it was the nonrecursive checkout that was throwing me. Thanks
for the recipie, I'll look into fixing this...

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 17 22:07:57 2006

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.