-----BEGIN PGP SIGNED MESSAGE-----
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
> Now the logic stops and seg-faults in make_reporter(), which is called
> by svn_ra_do_diff().
> I have documented all this at
> 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.domain.com/srcrepo/module
> (gdb) run
> Program received signal SIGSEGV, Segmentation fault.
> 0x0 in ?? ()
> (gdb) where
> #0 0x0 in ?? ()
> #1 0x7f514558 in make_reporter () from
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)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
-----END PGP SIGNATURE-----
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Thu Jan 5 00:32:23 2006