Bug 131144 - Crashes when registering new RSS stream on rss.netlab.cz
Summary: Crashes when registering new RSS stream on rss.netlab.cz
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-21 03:13 UTC by Matej Cepl
Modified: 2006-07-26 20:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Back stack for kopete's crash (2.32 KB, text/plain)
2006-07-21 03:14 UTC, Matej Cepl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matej Cepl 2006-07-21 03:13:17 UTC
Version:           0.12.0 (using KDE 3.5.3, Debian Package 4:3.5.3-1 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17.6.chelcicky.1

netlab.cz provides service rss.netlab.cz where you can register RSS/Atom feeds and then put contact (for example, dot.kde.org@rss.netlab.cz) to your roster and server delivers individual messages via Jabber.

However, whenever I register new stream, kopete (SVN/yesterday) crashes.
Comment 1 Matej Cepl 2006-07-21 03:14:10 UTC
Created attachment 17052 [details]
Back stack for kopete's crash
Comment 2 Olivier Goffart 2006-07-26 19:19:53 UTC
SVN commit 566670 by ogoffart:

This may fix Bug 131144. But i have not been able to reproduce it.  Please test.

CCBUG: 131144




 M  +2 -1      kopetemessage.cpp  


--- branches/kopete/0.12/kopete/libkopete/kopetemessage.cpp #566669:566670
@@ -29,6 +29,7 @@
 #include <kiconloader.h>
 #include <kstringhandler.h>
 #include <kmdcodec.h>
+#include <qguardedptr.h>
 
 #include "kopetemessage.h"
 #include "kopetemetacontact.h"
@@ -49,7 +50,7 @@
 	         const QString &body, const QString &subject, MessageDirection direction, MessageFormat f,
 	         const QString &requestedPlugin, MessageType type );
 
-	const Contact *from;
+	QGuardedPtr<const Contact> from;
 	ContactPtrList to;
 	ChatSession *manager;
 
Comment 3 Matej Cepl 2006-07-26 20:56:55 UTC
So far so good. Will reopen if happens again.