Bug 109174 - KOntact crashes when akregator loads
Summary: KOntact crashes when akregator loads
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: kontact plugin (show other bugs)
Version: 1.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-16 15:29 UTC by illogic-al
Modified: 2005-07-29 12:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description illogic-al 2005-07-16 15:29:16 UTC
Version:           1.1 (using KDE 3.4.89 (>= 20050615), compiled sources)
Compiler:          gcc version 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)
OS:                Linux (i686) release 2.6.8.1-12mdk

Whenever Akregator is started from inside kontact or by itself it crashes. 
Steps to reproduce:
1. Start akregator OR
1. start kontact
2. click on akregator's feed button.
3. the app goes down in flames 

backtrace:
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1110225024 (LWP 11596)]
[KCrash handler]
#7  0x4186f778 in QTimer::stop (this=0x72006b) at kernel/qtimer.cpp:203
#8  0x430d931a in Akregator::View::slotNodeSelected (this=0x87aa748, node=0x0)
    at akregator_view.cpp:743
#9  0x430d8d85 in Akregator::View::slotCombinedView (this=0x87aa748)
    at akregator_view.cpp:635
#10 0x430d7af8 in View (this=0x87aa748, part=0x8756010, parent=0x811b300, 
    actionManager=0x87a6de8, name=0x430f3ad7 "akregator_view")
    at akregator_view.cpp:316
#11 0x430cf644 in Part (this=0x8756010, parentWidget=0x811b300, 
    parent=0x811b300, name=0x401a6b42 "kontact") at akregator_part.cpp:136
#12 0x430d611d in KDEPrivate::ConcreteFactory<Akregator::Part, QObject>::create (parentWidget=0x811b300, widgetName=0x0, parent=0x811b300, 
    name=0x401a6b42 "kontact", args=@0xbfffea70) at kgenericfactory.tcc:146
#13 0x430d609f in KDEPrivate::ConcreteFactory<Akregator::Part, QObject>::create (parentWidget=0x811b300, widgetName=0x0, parent=0x811b300, 
    name=0x401a6b42 "kontact", className=0x40af7de2 "KParts::ReadOnlyPart", 
    args=@0xbfffea70) at kgenericfactory.tcc:132
#14 0x430d5f6b in KParts::GenericFactory<Akregator::Part>::createPartObject (
    this=0x8779598, parentWidget=0x811b300, widgetName=0x0, parent=0x811b300, 
    name=0x401a6b42 "kontact", className=0x40af7de2 "KParts::ReadOnlyPart", 
    args=@0xbfffea70) at genericfactory.h:105
#15 0x40af0685 in KParts::Factory::createPart (this=0x8779598, 
    parentWidget=0x811b300, widgetName=0x0, parent=0x811b300, 
    name=0x401a6b42 "kontact", classname=0x40af7de2 "KParts::ReadOnlyPart", 
    args=@0xbfffea70) at factory.cpp:44
#16 0x401a19ff in createPartInstanceFromFactory<KParts::ReadOnlyPart> (
    factory=0x8779598, parentWidget=0x811b300, widgetName=0x0, 
    parent=0x811b300, name=0x401a6b42 "kontact", args=@0xbfffea70)
    at componentfactory.h:99
#17 0x401a1982 in createPartInstanceFromLibrary<KParts::ReadOnlyPart> (
    libraryName=0x8222708 "libakregatorpart", parentWidget=0x811b300, 
    widgetName=0x0, parent=0x811b300, name=0x401a6b42 "kontact", 
    args=@0xbfffea70, error=0xbfffea3c) at componentfactory.h:186
#18 0x401a10db in Kontact::Core::createPart (this=0x811b300, 
    libname=0x8222708 "libakregatorpart") at core.cpp:66
#19 0x401a3c8f in Kontact::Plugin::loadPart (this=0x8220588) at plugin.cpp:122
#20 0x426a72a6 in Akregator::Plugin::createPart (this=0x8220588)
    at akregator_plugin.cpp:90
#21 0x401a3dfb in Kontact::Plugin::part (this=0x8220588) at plugin.cpp:144
#22 0x426a7512 in Akregator::UniqueAppHandler::newInstance (this=0x8221b48)
    at akregator_plugin.cpp:126
#23 0x401a5928 in Kontact::UniqueAppHandler::process (this=0x8221b48, 
    fun=@0xbfffedb0, data=@0xbfffedc0, replyType=@0xbfffed70, 
    replyData=@0xbfffed60) at uniqueapphandler.cpp:104
#24 0x414a149e in DCOPClient::receive (this=0x8221b18, objId=@0xbfffeda0, 
    fun=@0xbfffedb0, data=@0xbfffedc0, replyType=@0xbfffed70, 
    replyData=@0xbfffed60) at dcopclient.cpp:1640
#25 0x4149b7c8 in DCOPProcessInternal (d=0x8221ba8, opcode=2, key=2, 
    dataReceived=@0xbfffeec0, canPost=true) at dcopclient.cpp:518
#26 0x4149b12f in DCOPProcessMessage (iceConn=0x8221cf0, 
    clientObject=0x8221ba8, opcode=2, length=169, replyWait=0x0, 
    replyWaitRet=0xbfffef3c) at dcopclient.cpp:430
#27 0x414ae4f5 in KDE_IceProcessMessages (iceConn=0x8221cf0, replyWait=0x0, 
    replyReadyRet=0x0) at process.c:326
#28 0x414a2892 in DCOPClient::processSocketData (this=0x8221b18, fd=12)
    at dcopclient.cpp:2009
#29 0x414a3f27 in DCOPClient::qt_invoke (this=0x8221b18, _id=2, _o=0xbffff0b0)
    at dcopclient.moc:176
#30 0x41849bf7 in QObject::activate_signal (this=0x82219b8, clist=0x8222628, 
    o=0xbffff0b0) at kernel/qobject.cpp:2355
#31 0x41849f50 in QObject::activate_signal (this=0x82219b8, signal=2, 
    param=12) at kernel/qobject.cpp:2448
#32 0x41baf459 in QSocketNotifier::activated (this=0x82219b8, t0=12)
    at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:85
#33 0x4186a9d4 in QSocketNotifier::event (this=0x82219b8, e=0xbffff320)
    at kernel/qsocketnotifier.cpp:258
#34 0x417e5391 in QApplication::internalNotify (this=0xbffff5a0, 
    receiver=0x82219b8, e=0xbffff320) at kernel/qapplication.cpp:2635
#35 0x417e4855 in QApplication::notify (this=0xbffff5a0, receiver=0x82219b8, 
    e=0xbffff320) at kernel/qapplication.cpp:2358
#36 0x412f4663 in KApplication::notify (this=0xbffff5a0, receiver=0x82219b8, 
    event=0xbffff320) at kapplication.cpp:549
#37 0x4060b877 in QApplication::sendEvent (receiver=0x82219b8, 
    event=0xbffff320) at qapplication.h:491
#38 0x417d32ed in QEventLoop::activateSocketNotifiers (this=0x80aaca0)
    at kernel/qeventloop_unix.cpp:578
#39 0x4178b968 in QEventLoop::processEvents (this=0x80aaca0, flags=4)
    at kernel/qeventloop_x11.cpp:383
#40 0x417fa338 in QEventLoop::enterLoop (this=0x80aaca0)
    at kernel/qeventloop.cpp:198
#41 0x417fa256 in QEventLoop::exec (this=0x80aaca0)
    at kernel/qeventloop.cpp:145
#42 0x417e5511 in QApplication::exec (this=0xbffff5a0)
    at kernel/qapplication.cpp:2758
#43 0x0805cb71 in main (argc=1, argv=0xbffff774) at main.cpp:177
Comment 1 illogic-al 2005-07-16 15:34:27 UTC
athlon 64 4000+
mdk 10.1 non 640bit version. 
qt-copy from svn as of yesterday but it was happening w/ 3.3.2 as wel so i doubt that's it.
Comment 2 illogic-al 2005-07-16 21:12:10 UTC
http://bugs.kde.org/show_bug.cgi?id=91294 maybe related
I have those buttons (Spam and Not Spam) but they show up blank (even though they work). 
Comment 3 illogic-al 2005-07-16 21:13:02 UTC
by "blank" I mean the icon is the one used for stuff that doesn't have an icon (little white paper looking thing in crystalsvg)
Comment 4 Frank Osterfeld 2005-07-29 12:34:01 UTC
SVN commit 439938 by osterfeld:

fix crash on startup in combined view mode
BUG: 109174


 M  +2 -1      actionmanagerimpl.cpp  
 M  +12 -13    akregator_view.cpp  


--- branches/KDE/3.5/kdepim/akregator/src/actionmanagerimpl.cpp #439937:439938
@@ -216,7 +216,8 @@
 
 void ActionManagerImpl::slotNodeSelected(TreeNode* node)
 {
-    d->nodeSelectVisitor->visit(node);
+    if (node != 0)
+        d->nodeSelectVisitor->visit(node);
 }
 
 ActionManagerImpl::ActionManagerImpl(Part* part, QObject* parent, const char* name) : ActionManager(parent, name), d(new ActionManagerImplPrivate)
--- branches/KDE/3.5/kdepim/akregator/src/akregator_view.cpp #439937:439938
@@ -312,18 +312,6 @@
     m_feedSplitter->setSizes( Settings::splitter1Sizes() );
     m_articleSplitter->setSizes( Settings::splitter2Sizes() );
 
-    switch (Settings::viewMode())
-    {
-        case CombinedView:
-            slotCombinedView();
-            break;
-        case WidescreenView:
-            slotWidescreenView();
-            break;
-        default:
-            slotNormalView();
-    }
-
     KConfig *conf = Settings::self()->config();
     conf->setGroup("General");
     if(!conf->readBoolEntry("Disable Introduction", false))
@@ -348,8 +336,19 @@
     m_markReadTimer = new QTimer(this);
     connect(m_markReadTimer, SIGNAL(timeout()), this, SLOT(slotSetCurrentArticleReadDelayed()) );
 
-    QTimer::singleShot(1000, this, SLOT(slotDeleteExpiredArticles()) );
+    switch (Settings::viewMode())
+    {
+        case CombinedView:
+            slotCombinedView();
+            break;
+        case WidescreenView:
+            slotWidescreenView();
+            break;
+        default:
+            slotNormalView();
+    }
 
+    QTimer::singleShot(1000, this, SLOT(slotDeleteExpiredArticles()) );
     QTimer::singleShot(0, this, SLOT(delayedInit()));
 }