[KDE-India] Problem with QHttp
Aditya Mooley
aditya.ml at gmail.com
Mon May 22 08:05:07 CEST 2006
On 5/21/06, Till Adam <adam at kde.org> wrote:
>
>
> Got it, I think. You'll need to add a:
>
> if ( requestId != httpGetId ) return;
>
> at the top of:
>
> void kdeTest::httpRequestFinished(int requestId, bool error)
>
> setHost() schedules a request, and get() schedules the next one. The
> handler is called first for the setHost request, deletes the file
> pointer, which the following attempt to satisfy the get() request
> access. Boom.
>
> Valgrind is a great tool for debugging these kinds of things, btw. It
> showed immediately where the illegal memory access was, and where that
> memory was deleted from.
Great!! That solved it .
Must really spend more time trying to read how to use Valgrind and more
importantly how to make sense out of backtrace. Any pointers for the later?
:)
Thanks once again,
--
Aditya Mooley
=============================================================
PHP Applications for E-Biz: http://www.sanisoft.com
Coppermine Picture Gallery: http://coppermine.sf.net
Koppermine KDE Client: http://koppermine.sf.net
=============================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-india/attachments/20060522/a7233f00/attachment.html
More information about the KDE-india
mailing list