Bug 123895 - kontact crashs after restart of kontact
Summary: kontact crashs after restart of kontact
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: summary (show other bugs)
Version: 1.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Allen Winter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-19 12:43 UTC by sts
Modified: 2006-03-19 15:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Debuginfo (4.71 KB, text/plain)
2006-03-19 12:44 UTC, sts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sts 2006-03-19 12:43:45 UTC
Version:           1.1 (using KDE 3.5.1 Level "a" , SUSE 10.1)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.16-rc6-git1-4-smp

Kontact is killing.. and I start Kontact again. -> crash

sometimes I can reproduce it with start kontact and kill kontact manually and start kontact again -> crash.

See attachment for debuginfo.
Comment 1 sts 2006-03-19 12:44:12 UTC
Created attachment 15195 [details]
Debuginfo
Comment 2 Allen Winter 2006-03-19 15:41:24 UTC
SVN commit 520225 by winterz:

A possible fix for a crash in the Kontact summary caused by newsticker.
BUGS: 123895


 M  +4 -4      summarywidget.cpp  


--- branches/KDE/3.5/kdepim/kontact/plugins/newsticker/summarywidget.cpp #520224:520225
@@ -140,8 +140,8 @@
     connectDCOPSignal( "rssservice", feedRef.obj(), "documentUpdated(DCOPRef)",
                        "documentUpdated(DCOPRef)", false );
 
-    qApp->processEvents( QEventLoop::ExcludeUserInput |
-                         QEventLoop::ExcludeSocketNotifiers );
+    qApp->eventLoop()->processEvents( QEventLoop::ExcludeUserInput |
+                                      QEventLoop::ExcludeSocketNotifiers );
   }
 
   updateDocuments();
@@ -167,8 +167,8 @@
     DCOPRef artRef = feedRef.call( "article(int)", i );
     QString title, url;
 
-    qApp->processEvents( QEventLoop::ExcludeUserInput |
-                         QEventLoop::ExcludeSocketNotifiers );
+    qApp->eventLoop()->processEvents( QEventLoop::ExcludeUserInput |
+                                      QEventLoop::ExcludeSocketNotifiers );
 
     artRef.call( "title()" ).get( title );
     artRef.call( "link()" ).get( url );
Comment 3 Allen Winter 2006-03-19 15:42:51 UTC
I just committed a possible fix for this crash.

It will be available in KDE 3.5.3, which is due a couple months from now.
Or, if you happen to know how to compile KDE yourself, you could give it a try now.