[Bug 286307] Kmail crash (QNetworkAccessHttpBackend::replyDownloadMetaData, QNetworkAccessHttpBackend::qt_static_metacall, QObject::event)
Laurent Montel
montel at kde.org
Thu Jun 7 17:45:57 BST 2012
https://bugs.kde.org/show_bug.cgi?id=286307
--- Comment #181 from Laurent Montel <montel at kde.org> ---
I tried to debug it.
I create a patch for qt:
--- a/src/network/access/qnetworkaccessmanager_p.h
+++ b/src/network/access/qnetworkaccessmanager_p.h
@@ -72,7 +72,7 @@ class QNetworkAccessManagerPrivate: public QObjectPrivate
{
public:
QNetworkAccessManagerPrivate()
- : networkCache(0), cookieJar(0),
+ : cookieJar(0),
httpThread(0),
#ifndef QT_NO_NETWORKPROXY
proxyFactory(0),
@@ -123,7 +123,7 @@ public:
QNetworkRequest prepareMultipart(const QNetworkRequest &request,
QHttpMultiPart *multiPart);
// this is the cache for storing downloaded files
- QAbstractNetworkCache *networkCache;
+ QPointer<QAbstractNetworkCache >networkCache;
QNetworkCookieJar *cookieJar;
For me it doesn't crash.
But I can't validate it it's not easy to reproduce it.
Perhaps you can try it.
Just apply it and look at if it fixes it.
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list