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

Re: svn bootstrap coredump

From: Nuutti Kotivuori <naked_at_iki.fi>
Date: 2002-09-29 01:13:44 CEST

Rafael Garcia-Suarez wrote:
> I was trying to build svn from the r3200 snapshot, and it appears
> that ./subversion/clients/cmdline/svn immediately coredumps, even
> without arguments.
>
> I hadn't this issue on RedHat 6.2 and 7.1 systems, where I installed
> subversion succesfully.
>
> This machine is a modified RedHat 7.0, with notably :
> $ rpm -q glibc kernel
> glibc-2.2.5-39
> kernel-2.4.2-2
>
> strace(1) says that the last system call executed is old_mmap.
> gdb is not very helpful.
>
> The coredump disappears if I configure with --disable-shared.
> Ain't it strange ?

No, not really :-)

What is most probably happening is that for some reason the Subversion
client is finding some old libraries from the system - from a previous
install of subversion or apr or something. This shouldn't happen - but
it may happen if you have LD_LIBRARY_PATH set to something for
example. Compiling with --disable-shared fixes this because then it
will not find the libraries in the wrong order since there's no
libraries to find :-)

Can you try checking with 'ldd' that what libraries does the 'svn'
executable try to use?

-- Naked

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 29 12:49:24 2002

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