Bug 296334 - working with my main imap account after having started kontact crash after a few minutes
Summary: working with my main imap account after having started kontact crash after a ...
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.8
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-19 10:08 UTC by Bruno Friedmann
Modified: 2013-11-19 20:29 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Friedmann 2012-03-19 10:08:08 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.1 (4.8.1) "release 483"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: I've launched kontact and start to work (read,move,delete) mails on my main imap account.
Suddently the crash dialog box was opened. But I was able to continue to work in mail.
Switching to agenda, show that kontact loose it's toolbar.

Actually nepomuk/virtuoso-t process is running at 100% cpu (one core) and need to be killed by kill -9

-- Backtrace:
Application: 01_bruno of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f486a004760 (LWP 4160))]

Thread 3 (Thread 0x7f4851cd8700 (LWP 8921)):
#0  0x00007f4865a13ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4864364a98 in g_main_context_poll (n_fds=1, fds=0x7f4848004d30, timeout=-1, context=0x7f48480009a0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7f48480009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007f4864364f59 in g_main_context_iteration (context=0x7f48480009a0, may_block=1) at gmain.c:3136
#4  0x00007f4869491956 in QEventDispatcherGlib::processEvents (this=0x7f48480008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f4869461682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f48694618d7 in QEventLoop::exec (this=0x7f4851cd7e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f4869362537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f486807c119 in KIMAP::SessionThread::run (this=0x904cb0) at /usr/src/debug/kdepimlibs-4.8.1/kimap/sessionthread.cpp:181
#9  0x00007f486936555b in QThreadPrivate::start (arg=0x904cb0) at thread/qthread_unix.cpp:298
#10 0x00007f48652cff05 in start_thread (arg=0x7f4851cd8700) at pthread_create.c:301
#11 0x00007f4865a1d10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f4859050700 (LWP 8941)):
#0  0x00007f4865a13ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4864364a98 in g_main_context_poll (n_fds=1, fds=0x7f4854016f40, timeout=-1, context=0x7f485402dfe0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7f485402dfe0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007f4864364f59 in g_main_context_iteration (context=0x7f485402dfe0, may_block=1) at gmain.c:3136
#4  0x00007f4869491956 in QEventDispatcherGlib::processEvents (this=0x7f48540cb860, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f4869461682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f48694618d7 in QEventLoop::exec (this=0x7f485904fe00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f4869362537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f486807c119 in KIMAP::SessionThread::run (this=0xa6db80) at /usr/src/debug/kdepimlibs-4.8.1/kimap/sessionthread.cpp:181
#9  0x00007f486936555b in QThreadPrivate::start (arg=0xa6db80) at thread/qthread_unix.cpp:298
#10 0x00007f48652cff05 in start_thread (arg=0x7f4859050700) at pthread_create.c:301
#11 0x00007f4865a1d10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f486a004760 (LWP 4160)):
[KCrash Handler]
#6  QHashData::free_helper (this=0x2830f10, node_delete=0x7f4869b74150 <QHash<long long, Akonadi::Item>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:274
#7  0x00007f4869b5c800 in freeData (x=<optimized out>, this=<optimized out>) at /usr/include/QtCore/qhash.h:570
#8  operator= (other=..., this=0xef0b20) at /usr/include/QtCore/qhash.h:597
#9  clear (this=0xef0b20) at /usr/include/QtCore/qhash.h:576
#10 Akonadi::ItemSync::Private::execute (this=0xef0b10) at /usr/src/debug/kdepimlibs-4.8.1/akonadi/itemsync.cpp:307
#11 0x0000000000445eb1 in ResourceTask::itemsRetrievalDone (this=0xc8d550) at /usr/src/debug/kdepim-runtime-4.8.1/resources/imap/resourcetask.cpp:254
#12 0x00000000004521f8 in RetrieveItemsTask::onFlagsFetchDone (this=0xc8d550, job=0x27a84b0) at /usr/src/debug/kdepim-runtime-4.8.1/resources/imap/retrieveitemstask.cpp:424
#13 0x00007f4869476761 in QMetaObject::activate (sender=0x27a84b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd53753f0) at kernel/qobject.cpp:3556
#14 0x00007f486632f522 in KJob::result (this=<optimized out>, _t1=0x27a84b0) at /usr/src/debug/kdelibs-4.8.1/build/kdecore/kjob.moc:208
#15 0x00007f486632f560 in KJob::emitResult (this=0x27a84b0) at /usr/src/debug/kdelibs-4.8.1/kdecore/jobs/kjob.cpp:318
#16 0x00007f4868094bd7 in KIMAP::Job::handleErrorReplies (this=0x27a84b0, response=...) at /usr/src/debug/kdepimlibs-4.8.1/kimap/job.cpp:86
#17 0x00007f4868098044 in KIMAP::FetchJob::handleResponse (this=0x27a84b0, response=...) at /usr/src/debug/kdepimlibs-4.8.1/kimap/fetchjob.cpp:239
#18 0x00007f4868099ad5 in KIMAP::SessionPrivate::responseReceived (this=0xa506f0, response=...) at /usr/src/debug/kdepimlibs-4.8.1/kimap/session.cpp:271
#19 0x00007f486947b926 in QObject::event (this=0xa39470, e=<optimized out>) at kernel/qobject.cpp:1204
#20 0x00007f48687e7e84 in notify_helper (e=0x7f48480e29d0, receiver=0xa39470, this=0x6a9f60) at kernel/qapplication.cpp:4550
#21 QApplicationPrivate::notify_helper (this=0x6a9f60, receiver=0xa39470, e=0x7f48480e29d0) at kernel/qapplication.cpp:4522
#22 0x00007f48687ecd03 in QApplication::notify (this=0x7fffd53761f0, receiver=0xa39470, e=0x7f48480e29d0) at kernel/qapplication.cpp:4411
#23 0x00007f4866919656 in KApplication::notify (this=0x7fffd53761f0, receiver=0xa39470, event=0x7f48480e29d0) at /usr/src/debug/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#24 0x00007f486946289c in QCoreApplication::notifyInternal (this=0x7fffd53761f0, receiver=0xa39470, event=0x7f48480e29d0) at kernel/qcoreapplication.cpp:876
#25 0x00007f486946613a in sendEvent (event=0x7f48480e29d0, receiver=0xa39470) at kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x687920) at kernel/qcoreapplication.cpp:1500
#27 0x00007f48694914c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#29 0x00007f486436458d in g_main_dispatch (context=0x6ac4e0) at gmain.c:2425
#30 g_main_context_dispatch (context=0x6ac4e0) at gmain.c:2995
#31 0x00007f4864364d88 in g_main_context_iterate (context=0x6ac4e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#32 0x00007f4864364f59 in g_main_context_iteration (context=0x6ac4e0, may_block=1) at gmain.c:3136
#33 0x00007f48694918ef in QEventDispatcherGlib::processEvents (this=0x6871e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007f486888b2de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f4869461682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f48694618d7 in QEventLoop::exec (this=0x7fffd5376170, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f4869466435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#38 0x00007f4869acbf67 in Akonadi::ResourceBase::init (r=0x8822f0) at /usr/src/debug/kdepimlibs-4.8.1/akonadi/resourcebase.cpp:412
#39 0x000000000041bea6 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#40 0x00007f486596323d in __libc_start_main (main=0x4166d0 <main(int, char**)>, argc=3, ubp_av=0x7fffd5376308, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd53762f8) at libc-start.c:226
#41 0x0000000000416885 in _start () at ../sysdeps/x86_64/elf/start.S:113

Possible duplicates by query: bug 290830, bug 290682, bug 288597.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-03-31 13:54:24 UTC
Looks similar to 288268. Check if you're still able to reproduce this crash with 4.8.2
Comment 2 Kevin Ottens 2013-11-16 07:32:27 UTC
The IMAP resource has a new maintainer, reassigning to him.
Comment 3 Christian Mollekopf 2013-11-19 16:39:56 UTC
Does this still apply to >=4.11.3?
Comment 4 Bruno Friedmann 2013-11-19 20:29:37 UTC
Seems fixed with 4.11.3