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

Re: Upgrade woes

From: Sander Stoks <sander_at_stoks.nl>
Date: 2003-09-16 18:22:27 CEST

Philip Martin wrote:

> I suspect very few people attempt to build on BeOS, if nobody reports
> the problems they may not get fixed.
> What command are you using? What shell are you using? What goes
> wrong? What output do you get? Any errors in config.log?

Using svn log in a directory which is part of my project. BeOS uses a
bash variety. What goes wrong is a crash in svn_path_join. Config.log
ends with "configure: exit 0".

I've debugged things a bit and found out that the problem starts in
get_creds() in providers.c - what it does there is

config_dir = apr_hash_get (parameters,

(at around line 82). The problem is that this returns null on my
system. SVN_AUTH_PARAM_CONFIG_DIR is "svn:auth:config-dir", and
parameters seems like a valid pointer.

Next, this null pointer is passed into svn_config_read_auth_data with
cred_kind == svn.simple and realmstring == <http://pc1.stoks.nl:80>
Subversion repository.

svn_config_read_auth_data does a path_join() which dereferences the
null pointer and crashes.

Simply putting an if(config_dir) around the call to
svn_config_read_auth_data() solved the problem for me, but I'm probably
treating symptoms here...

Sander Stoks

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 16 18:22:27 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.