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

Re: Segmentation fault on svn status

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-12-01 20:54:30 CET

"Mason Thomas" <mlt_svn@hotmail.com> writes:

> The first time I ran 'svn status' and also 'svn status -u' Subversion
> behaved as expected.
> Maybe related, maybe not: Then I ran 'svn version' and get 'Unknown
> command'. But after this, svn status gives segmentation faults.

It is extremely unlikely that running 'svn version' caused the

Lets see if I understand: you ran 'svn status -u' and it worked, you
ran 'svn version' and got 'unknown command' (the expected output) and
now any further attempts to run 'svn status -u' cause a core dump, all
with the same working copy.

Are you sure you didn't change something, or run some other command?
What does your repository look like? What about your working copy?
Do you have local modifications? It's not clear to me whether your
working copy is for the Subversion repository or your own repository.

> 'svn help' works still.
> 'svn update' successfully updated to r3946 (success is measured by

So your working copy is the Subversion tree?

> using an older version of Subversion: svn status -u).

I assume you have multiple Subversion installations, try

$ ldd /path/to/svn

and see whether it is linked to the correct Subversion/APR libraries.

> However, during
> the update, it just spits out a bunch of lines of "Update complete"
> instead of printing the filenames affected. At the end of the update,
> svn prints "Fetching external item into .".

That's what you get when the directory has an 'svn:external' property,
so your working copy is not the Subversion tree? Try running the
command 'svn pg svn:external' to see the property value.

> Probably this is not enough info to track down the problem, but please
> give me some pointers and I will attempt to help track it down.

If the core dump is repeatable then do

$ gdb /path/to/svn
(gdb) run status -u (or whatever arguments you give to the svn command)
Program received SIGSEGV
(gdb) bt full

which will print out a stack trace.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 1 20:55:23 2002

This is an archived mail posted to the Subversion Dev mailing list.