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

Re: Bug with http: URLs with functions from the client module in the Python bindings

From: Christian Boos <cboos_at_neuf.fr>
Date: 2006-12-19 18:08:21 CET

Hello again,

I'm forwarding a mail I received from Tim Hatch:

----
I wanted to let you know it happens on Linux too.
Christian Boos wrote:
> > Actually, the URL doesn't even need to be valid to trigger the crash:
> >
> >  python C:/TMP/blame.py http://xxx
>   
Happens with Linux too, with svn 1.4.2:
SIGSEGV
0xb7b4fefb in svn_auth_set_parameter (auth_baton=0x0, name=0x0,
value=0x0) at auth.c:144
Here's the backtrace:
#0  0xb7b4fefb in svn_auth_set_parameter (auth_baton=0x0, name=0x0,
value=0x0) at auth.c:144
#1  0xb789327d in svn_ra_dav__open (session=0x0, repos_URL=0xb7b1ce44
"http://xxx", callbacks=0x8130e50, callback_baton=0x0, config=0x0,
    pool=0x8130e10) at session.c:758
#2  0xb7b3589a in svn_ra_open2 (session_p=0x0, repos_URL=0xb7b1ce44
"http://xxx", callbacks=0x0, callback_baton=0x0, config=0x0,
    pool=0x8130e10) at ra_loader.c:294
...
----
>
> Alternatively, it can well be a misuse of the API, in which case I'd 
> be glad to get a few pointers to the relevant documentation (well, 
> besides the doxygen documentation for the C API and the Python binding 
> tests). 
So it looks very much like a misuse of the svn_client_ctx_t, which is 
used uninitialized.
Any pointers about how to set this up correctly would be appreciated!
-- Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 19 18:08:25 2006

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