Bug 249249 - Kontact crashes when logging out of/shutting down KDE.
Summary: Kontact crashes when logging out of/shutting down KDE.
Status: RESOLVED DUPLICATE of bug 217348
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 19:06 UTC by lnxusr
Modified: 2010-10-02 18:03 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 lnxusr 2010-08-27 19:06:26 UTC
Version:           4.4.5 (using KDE 4.5.0) 
OS:                Linux

First, this is not a duplicate of Bug 199530, as everything runs fine up until logout/shutdown.  Nor is is a duplicate of Bug 225860, as Kontact shuts down normally from the menu (File-Quit).

This may be related to Bug 116482, but is not a duplicate as *I* am not invoking Akregator.  I am aware of this bug, so am not using Akregator until it is resolved (although Akregator is, temptingly, sitting in the sidebar).

What happens is, when I leave KDE either by shutting down or logging out, I notice in the system tray the Akregator icon appears for an instance, then disappears.  The screen clears as if a normal shutdown is happening then I get a message that Kontact has crashed.

After this happens, I get Bug 185544 upon startup, but if I quit Kontact via the menu before shutting down, I do not.

It seems to me that, for some reason, when KDE sends the shutdown signal to Kontact, it tries to read the Akregator feeds, where it does not when exited from the menu.

Reproducible: Always

Steps to Reproduce:
Leave Kontact running and log out of KDE or shutdown the system.

Actual Results:  
Kontact crashes.

Expected Results:  
Kontact does not crash.

I saved this backtrace on the last instance:

Application: kontact (4.4.5)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f9965617780 (LWP 3423))]

Thread 2 (Thread 0x7f993f81a710 (LWP 3445)):
#0  0x00007f9962612f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f995b33a4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f995b33a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f9962d69bd6 in QEventDispatcherGlib::processEvents (this=0x2eb6d10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f9962d3c7b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f9962d3cb9c in QEventLoop::exec (this=0x7f993f819d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f9962c4823d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f9962d1c6d8 in QInotifyFileSystemWatcherEngine::run (this=0x2eae850) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9962c4b1be in QThreadPrivate::start (arg=0x2eae850) at thread/qthread_unix.cpp:266
#9  0x00007f995d6c79ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f996261f6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9965617780 (LWP 3423)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f9939d476cb in c4_Column::CopyData (this=0x2e576f8, to_=<value optimized out>, from_=<value optimized out>, count_=3298)
    at ../../../../akregator/plugins/mk4storage/metakit/src/column.cpp:305
#8  0x00007f9939d4809f in c4_Column::Grow (this=0x2e576f8, off_=<value optimized out>, diff_=103) at ../../../../akregator/plugins/mk4storage/metakit/src/column.cpp:556
#9  0x00007f9939d52455 in c4_FormatB::SetOne (this=0x2e576e0, index_=126, xbuf_=<value optimized out>, ignoreMemos_=<value optimized out>)
    at ../../../../akregator/plugins/mk4storage/metakit/src/format.cpp:608
#10 0x00007f9939d525c8 in c4_FormatS::Set (this=0x416a550, index_=8, buf_=...) at ../../../../akregator/plugins/mk4storage/metakit/src/format.cpp:863
#11 0x00007f9939d61110 in c4_Sequence::Set (this=0x305ef50, index_=126, prop_=..., buf_=...) at ../../../../akregator/plugins/mk4storage/metakit/src/viewx.cpp:335
#12 0x00007f9939d59e58 in c4_HashViewer::SetItem (this=0x3206b10, row_=126, col_=6, buf_=...) at ../../../../akregator/plugins/mk4storage/metakit/src/remap.cpp:366
#13 0x00007f9939d61565 in c4_Sequence::SetAt (this=0x2eaca30, index_=126, newElem_=...) at ../../../../akregator/plugins/mk4storage/metakit/src/viewx.cpp:104
#14 0x00007f9939d629a5 in c4_View::SetAt (this=0x2f94df0, guid=<value optimized out>, link=...) at ../../../../akregator/plugins/mk4storage/metakit/include/mk4.inl:89
#15 Akregator::Backend::FeedStorageMK4Impl::setLink (this=0x2f94df0, guid=<value optimized out>, link=...) at ../../../../akregator/plugins/mk4storage/feedstoragemk4impl.cpp:451
#16 0x00007f993a68a233 in Private (this=0x40bb890, article=..., feed_=<value optimized out>, archive_=<value optimized out>) at ../../../akregator/src/article.cpp:182
#17 0x00007f993a68aff5 in Article (this=0x7fffb809cd80, article=..., feed=0x39a9260) at ../../../akregator/src/article.cpp:245
#18 0x00007f993a697580 in Akregator::Feed::appendArticles (this=0x39a9260, feed=<value optimized out>) at ../../../akregator/src/feed.cpp:481
#19 0x00007f993a6990ca in Akregator::Feed::fetchCompleted (this=0x39a9260, l=<value optimized out>, doc=) at ../../../akregator/src/feed.cpp:676
#20 0x00007f993a699808 in Akregator::Feed::qt_metacall (this=0x39a9260, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffb809d0e0) at ./feed.moc:112
#21 0x00007f9962d557a7 in QMetaObject::activate (sender=0x40669f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x19c) at kernel/qobject.cpp:3280
#22 0x00007f9939fffb82 in Syndication::Loader::loadingComplete (this=0x416a550, _t1=0x40669f0, _t2=<value optimized out>, _t3=Syndication::Success) at ./loader.moc:91
#23 0x00007f993a000c4d in Syndication::Loader::slotRetrieverDone (this=0x40669f0, data=..., success=<value optimized out>) at ../../syndication/loader.cpp:157
#24 0x00007f993a00109d in Syndication::Loader::qt_metacall (this=0x40669f0, _c=QMetaObject::InvokeMetaMethod, _id=-1, _a=0x7fffb809d2f0) at ./loader.moc:79
#25 0x00007f9962d557a7 in QMetaObject::activate (sender=0x4066de0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x19c) at kernel/qobject.cpp:3280
#26 0x00007f993a0032c3 in Syndication::DataRetriever::dataRetrieved (this=0x416a550, _t1=<value optimized out>, _t2=true) at ./dataretriever.moc:85
#27 0x00007f993a0040ef in Syndication::FileRetriever::slotResult (this=0x4066de0, job=0x40674e0) at ../../syndication/dataretriever.cpp:132
#28 0x00007f993a0041e3 in Syndication::FileRetriever::qt_metacall (this=0x4066de0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb809d470) at ./dataretriever.moc:213
#29 0x00007f9962d557a7 in QMetaObject::activate (sender=0x40674e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x19c) at kernel/qobject.cpp:3280
#30 0x00007f996319b812 in KJob::result (this=0x416a550, _t1=0x40674e0) at ./kjob.moc:194
#31 0x00007f996319bab0 in KJob::emitResult (this=0x40674e0) at ../../kdecore/jobs/kjob.cpp:312
#32 0x00007f996112d1e3 in KIO::SimpleJob::slotFinished (this=0x40674e0) at ../../kio/kio/job.cpp:522
#33 0x00007f996112dad7 in KIO::TransferJob::slotFinished (this=0x40674e0) at ../../kio/kio/job.cpp:1111
#34 0x00007f996112ba21 in KIO::TransferJob::qt_metacall (this=0x40674e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb809d870) at ./jobclasses.moc:367
#35 0x00007f9962d557a7 in QMetaObject::activate (sender=0x3df4350, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x19c) at kernel/qobject.cpp:3280
#36 0x00007f99611dcbbe in KIO::SlaveInterface::dispatch (this=0x3df4350, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#37 0x00007f99611d9bf3 in KIO::SlaveInterface::dispatch (this=0x3df4350) at ../../kio/kio/slaveinterface.cpp:91
#38 0x00007f99611cd7a6 in KIO::Slave::gotInput (this=0x3df4350) at ../../kio/kio/slave.cpp:344
#39 0x00007f99611cd98c in KIO::Slave::qt_metacall (this=0x3df4350, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb809dcb0) at ./slave.moc:82
#40 0x00007f9962d557a7 in QMetaObject::activate (sender=0x384aa10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x19c) at kernel/qobject.cpp:3280
#41 0x00007f99610f9df7 in KIO::ConnectionPrivate::dequeue (this=0x390d080) at ../../kio/kio/connection.cpp:82
#42 0x00007f99610f9f1d in KIO::Connection::qt_metacall (this=0x384aa10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x40c5860) at ./connection.moc:79
#43 0x00007f9962d4f87e in QObject::event (this=0x384aa10, e=0x416a550) at kernel/qobject.cpp:1219
#44 0x00007f996370ccdc in QApplicationPrivate::notify_helper (this=0x226c790, receiver=0x384aa10, e=0x405f650) at kernel/qapplication.cpp:4389
#45 0x00007f99637127cd in QApplication::notify (this=0x7fffb809e7c0, receiver=0x384aa10, e=0x405f650) at kernel/qapplication.cpp:4270
#46 0x00007f9964461eb6 in KApplication::notify (this=0x7fffb809e7c0, receiver=0x384aa10, event=0x405f650) at ../../kdeui/kernel/kapplication.cpp:310
#47 0x00007f9962d3da8c in QCoreApplication::notifyInternal (this=0x7fffb809e7c0, receiver=0x384aa10, event=0x405f650) at kernel/qcoreapplication.cpp:732
#48 0x00007f9962d409b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x2237a90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x2237a90) at kernel/qcoreapplication.cpp:1373
#50 0x00007f9962d6a043 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#51 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#52 0x00007f995b3368c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#53 0x00007f995b33a748 in ?? () from /lib/libglib-2.0.so.0
#54 0x00007f995b33a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#55 0x00007f9962d69b83 in QEventDispatcherGlib::processEvents (this=0x2237590, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#56 0x00007f99637be7ee in QGuiEventDispatcherGlib::processEvents (this=0x416a550, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007f9962d3c7b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#58 0x00007f9962d3cb9c in QEventLoop::exec (this=0x7fffb809e700, flags=) at kernel/qeventloop.cpp:201
#59 0x00007f9962d40c4b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#60 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224
Comment 1 Christophe Marin 2010-10-02 18:03:08 UTC

*** This bug has been marked as a duplicate of bug 217348 ***