Problems debugging kio_svn ioslave
David Faure
faure at kde.org
Fri Nov 25 16:28:19 GMT 2005
On Thursday 24 November 2005 00:21, Andreas Pakulat wrote:
> On 03.11.05 18:23:41, Andreas Pakulat wrote:
> > Hi,
> >
> > to solve a problem with kdevelop's subversion support I wanted to debug
> > the kio_svn slave using KDE_SLAVE_DEBUG_WAIT=svn+http kdeinit (svn+http
> > is the protocoll kdevelop's subversion plugin uses) and the output in
> > the terminal where I run this tells me that the slave is halted and
> > detached. However after a few seconds I get a message box from kdevelop
> > saying that the slave crashed (kdevelop's connects to the result()
> > signal of the job) and when finally the gdb is done loading symbols I
> > can't get any reasonable backtrace.
>
> Hi,
>
> I know this is considered "bad behaviour", but this is kind of a "help
> I'm totally lost, but really want to find the error"...
>
> So nobody here got a hint why the kio_svn slave crashes when it is
> suspended via the KDE_SLAVE_DEBUG_WAIT option for kdeinit? BTW: I get
> the same error message in konqueror telling me the slave died...
A (slow) solution is to launch kdeinit in valgrind in a terminal (like valgrind --tool=addrcheck --trace-children=yes kdeinit),
and then when things seem ready over there, launch the slave and check for the valgrind output.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel
mailing list