[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 every checkout

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 13 Feb 2009 12:06:20 +0000

On Thu, Feb 12, 2009 at 07:12:14PM +0100, Johannes Wienke wrote:
> Hi,
> Am 12.02.2009 18:10 schrieb Hyrum K. Wright:
> > Thanks. Do you have a copy of Subversion with debugging symbols so we
> > can determine where in those functions it is failing?
> Does this help?


As I suspected, the binary is most likely not running with the
APR version it was linked against. Please check your setup.

Note that APR 0.x and APR 1.x are not binary compatible.
See Subversion's INSTALL file for details.

svn_error_t *
svn_io_get_dir_filenames(apr_hash_t **dirents,
                         const char *path,
                         apr_pool_t *pool)
  apr_status_t status;
  apr_dir_t *this_dir;
  apr_finfo_t this_entry;
  apr_int32_t flags = APR_FINFO_NAME;

  *dirents = apr_hash_make(pool);

  SVN_ERR(svn_io_dir_open(&this_dir, path, pool));

  for (status = apr_dir_read(&this_entry, flags, this_dir);
       status == APR_SUCCESS;
       status = apr_dir_read(&this_entry, flags, this_dir))
1918: if ((this_entry.name[0] == '.')

Crashes in line marked 1918. this_entry is an apr_finfo_t, a structure
provided by APR. There's nothing we can do in the Subversion source
code to fix your problem.

Received on 2009-02-13 13:06:44 CET

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.