-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Karamchedu, Rajeev K. wrote:
> Is this a bug ? my svn-push seems to be dying in
make_reporter(). See
> details below:
>
> Like a few others, I am trying to get svn-push going as
well.
>
> The svn-push.c found in the contrib dir doesn't do
anything. It seg
> faults whenever a http authentication is encountered.
>
> I added some auth routines based on the
tools/examples/minimal-client.c
> and atleast got the authentication to work. The code
itself is at
>
> http://svn.tigr.org/file
details.php?repname=tigr&path=%2Frajeev%2Ftrunk%2Fsvn-pu
sh.c
>
> Now the logic stops and seg-faults in make_reporter(),
which is called
> by svn_ra_do_diff().
> I have documented all this at
> http://kreaper.blogsome.com/2006/01/
02/svn-pushc-crashes-in-make_reporter-3/
>
> but here is the relevant GDB output. It looks like a
bug to me in either
> neon or make_reporter. but I am not an active
programmer. I just need SVN
> Mirroring to work!
Under these circumstances, I question whether svn-push.c is
the right
course to follow - it is more of a toy than an actual tool,
as evidenced
by the fact that it makes no attempt whatsoever to copy
log messages
(replacing them with "Hello, world!" !!!),
authors, or dates.
> gdb) set args -r 757:758 http://src.domai
n.com/srcrepo/module
> svn+ssh://svn dest.domain.com/destrepo/module
> (gdb) run
...
> Program received signal SIGSEGV, Segmentation fault.
> 0x0 in ?? ()
> (gdb) where
> #0 0x0 in ?? ()
> #1 0x7f514558 in make_reporter () from
> /home/rajeev/svn/lib/libsvn_ra_dav-1.so.0
You really need to build subversion with debug symbols for
gdb
backtraces to give more than a vague idea of the problem
location.
It turns out that the problem is that svn-push.c is failing
to
initialize the non-optional open_tmp_file ra_callback. This
just happens
to work with ra_local, but breaks when using ra_dav.
(I'm about to commit a fix to svn-push.c)
Max.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
iD8DBQFDvFqAfFNSmcDyxYARAkzuAJ4wQm67ffv5+pDCzZoD7lhxbdR6TgCg
obYB
wYaFdKQ/Eixr9HYajTNy9Yo=
=6IUz
-----END PGP SIGNATURE-----
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe subversion.tigris.org
For additional commands, e-mail: dev-help subversion.tigris.org
|