Bug 325619 - akonadi imap service crashed
Summary: akonadi imap service crashed
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.10
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-04 12:00 UTC by Suren Karapetyan
Modified: 2013-11-20 12:14 UTC (History)
3 users (show)

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 Suren Karapetyan 2013-10-04 12:00:29 UTC
Application: akonadi_imap_resource (4.10)
KDE Platform Version: 4.10.5
Qt Version: 4.8.5
Operating System: Linux 3.10.12-100.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
- What I was doing when the application crashed:
Was doing nothing special.
Kmail was opened in system tray and backgroud email check was active.
Might also be possible that I had a network connection problems at that moment.

The crash can be reproduced sometimes.

-- Backtrace:
Application: s.karapetyan@betconstruct.com of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7ff91c0ad880 (LWP 28506))]

Thread 3 (Thread 0x7ff90f7fe700 (LWP 31812)):
#0  0x0000003f32e0e12d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003f34e840df in read (__nbytes=16, __buf=0x7ff90f7fdaf0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7ff908001da0) at gwakeup.c:212
#3  0x0000003f34e478b4 in g_main_context_check (context=context@entry=0x7ff9000028e0, max_priority=2147483647, fds=fds@entry=0x7ff90000ef90, n_fds=n_fds@entry=1) at gmain.c:3129
#4  0x0000003f34e47cc2 in g_main_context_iterate (context=context@entry=0x7ff9000028e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3287
#5  0x0000003f34e47e44 in g_main_context_iteration (context=0x7ff9000028e0, may_block=1) at gmain.c:3351
#6  0x0000003423fa6696 in QEventDispatcherGlib::processEvents (this=0x7ff900002800, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#7  0x0000003423f769ff in QEventLoop::processEvents (this=this@entry=0x7ff90f7fdce0, flags=...) at kernel/qeventloop.cpp:149
#8  0x0000003423f76c88 in QEventLoop::exec (this=0x7ff90f7fdce0, flags=...) at kernel/qeventloop.cpp:204
#9  0x0000003423e789a0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#10 0x0000003df424017a in KIMAP::SessionThread::run (this=0x13e5090) at /usr/src/debug/kdepimlibs-4.10.5/kimap/sessionthread.cpp:188
#11 0x0000003423e7b97c in QThreadPrivate::start (arg=0x13e5090) at thread/qthread_unix.cpp:338
#12 0x0000003f32e07d15 in start_thread (arg=0x7ff90f7fe700) at pthread_create.c:308
#13 0x0000003f322f253d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7ff914ea4700 (LWP 32257)):
#0  g_main_context_query (context=context@entry=0x7ff910003fd0, max_priority=2147483647, timeout=timeout@entry=0x7ff914ea3b8c, fds=fds@entry=0x7ff9103381e0, n_fds=n_fds@entry=3) at gmain.c:3057
#1  0x0000003f34e47c99 in g_main_context_iterate (context=context@entry=0x7ff910003fd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3272
#2  0x0000003f34e47e44 in g_main_context_iteration (context=0x7ff910003fd0, may_block=1) at gmain.c:3351
#3  0x0000003423fa6696 in QEventDispatcherGlib::processEvents (this=0x7ff91036b410, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x0000003423f769ff in QEventLoop::processEvents (this=this@entry=0x7ff914ea3ce0, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003423f76c88 in QEventLoop::exec (this=0x7ff914ea3ce0, flags=...) at kernel/qeventloop.cpp:204
#6  0x0000003423e789a0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#7  0x0000003df424017a in KIMAP::SessionThread::run (this=0x14899f0) at /usr/src/debug/kdepimlibs-4.10.5/kimap/sessionthread.cpp:188
#8  0x0000003423e7b97c in QThreadPrivate::start (arg=0x14899f0) at thread/qthread_unix.cpp:338
#9  0x0000003f32e07d15 in start_thread (arg=0x7ff914ea4700) at pthread_create.c:308
#10 0x0000003f322f253d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7ff91c0ad880 (LWP 28506)):
[KCrash Handler]
#6  deref (this=0x27fbb0) at /usr/include/QtCore/qatomic_x86_64.h:133
#7  ~QHash (this=0x180ee68, __in_chrg=<optimized out>) at /usr/include/QtCore/qhash.h:283
#8  ~QSet (this=0x180ee68, __in_chrg=<optimized out>) at /usr/include/QtCore/qset.h:54
#9  ~ItemPrivate (this=0x180edd0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.10.5/akonadi/item_p.h:203
#10 Akonadi::ItemPrivate::~ItemPrivate (this=0x180edd0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.10.5/akonadi/item_p.h:204
#11 0x0000003dea1365ea in ~QHashNode (this=0x18b22b0, __in_chrg=<optimized out>) at /usr/include/QtCore/qhash.h:216
#12 QHash<QString, Akonadi::Item>::deleteNode2 (node=0x18b22b0) at /usr/include/QtCore/qhash.h:521
#13 0x0000003423e9758b in QHashData::free_helper (this=0x18a4c80, node_delete=0x3dea1365d0 <QHash<QString, Akonadi::Item>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:275
#14 0x0000003dea135c80 in freeData (this=0x148ed48, x=<optimized out>) at /usr/include/QtCore/qhash.h:570
#15 operator= (other=..., this=0x148ed48) at /usr/include/QtCore/qhash.h:597
#16 clear (this=0x148ed48) at /usr/include/QtCore/qhash.h:576
#17 Akonadi::ItemSync::Private::execute (this=0x148ed30) at /usr/src/debug/kdepimlibs-4.10.5/akonadi/itemsync.cpp:308
#18 0x000000000041cacd in ResourceState::itemsRetrievalDone() ()
#19 0x0000000000445591 in ResourceTask::itemsRetrievalDone() ()
#20 0x00000000004518d8 in RetrieveItemsTask::onFlagsFetchDone(KJob*) ()
#21 0x0000003423f8d31f in QMetaObject::activate (sender=0x144b0a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff6f055410) at kernel/qobject.cpp:3547
#22 0x0000003de6934b42 in KJob::result (this=this@entry=0x144b0a0, _t1=_t1@entry=0x144b0a0) at /usr/src/debug/kdelibs-4.10.5/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#23 0x0000003de6934b80 in KJob::emitResult (this=0x144b0a0) at /usr/src/debug/kdelibs-4.10.5/kdecore/jobs/kjob.cpp:318
#24 0x0000003df422432b in KIMAP::Job::handleErrorReplies (this=0x144b0a0, response=...) at /usr/src/debug/kdepimlibs-4.10.5/kimap/job.cpp:84
#25 0x0000003df4228ff5 in KIMAP::FetchJob::handleResponse (this=0x144b0a0, response=...) at /usr/src/debug/kdepimlibs-4.10.5/kimap/fetchjob.cpp:239
#26 0x0000003df423c64a in KIMAP::SessionPrivate::responseReceived (this=0x149a2a0, response=...) at /usr/src/debug/kdepimlibs-4.10.5/kimap/session.cpp:278
#27 0x0000003423f8c7fe in QObject::event (this=0x147c670, e=<optimized out>) at kernel/qobject.cpp:1194
#28 0x0000003c781ca68c in QApplicationPrivate::notify_helper (this=this@entry=0x11861a0, receiver=receiver@entry=0x147c670, e=e@entry=0x7ff9101f1990) at kernel/qapplication.cpp:4562
#29 0x0000003c781ceb0a in QApplication::notify (this=0x7fff6f056c70, receiver=0x147c670, e=0x7ff9101f1990) at kernel/qapplication.cpp:4423
#30 0x0000003de74455c6 in KApplication::notify (this=0x7fff6f056c70, receiver=0x147c670, event=0x7ff9101f1990) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#31 0x0000003423f77d4e in QCoreApplication::notifyInternal (this=0x7fff6f056c70, receiver=receiver@entry=0x147c670, event=event@entry=0x7ff9101f1990) at kernel/qcoreapplication.cpp:949
#32 0x0000003423f7b9a1 in sendEvent (event=0x7ff9101f1990, receiver=0x147c670) at kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x114f4f0) at kernel/qcoreapplication.cpp:1573
#34 0x0000003423fa64e3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=s@entry=0x117f220) at kernel/qeventdispatcher_glib.cpp:280
#36 0x0000003f34e47a55 in g_main_dispatch (context=0x1187a10) at gmain.c:2715
#37 g_main_context_dispatch (context=context@entry=0x1187a10) at gmain.c:3219
#38 0x0000003f34e47d88 in g_main_context_iterate (context=context@entry=0x1187a10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#39 0x0000003f34e47e44 in g_main_context_iteration (context=0x1187a10, may_block=1) at gmain.c:3351
#40 0x0000003423fa6676 in QEventDispatcherGlib::processEvents (this=0x1150d60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#41 0x0000003c7826a92e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#42 0x0000003423f769ff in QEventLoop::processEvents (this=this@entry=0x7fff6f056bf0, flags=...) at kernel/qeventloop.cpp:149
#43 0x0000003423f76c88 in QEventLoop::exec (this=0x7fff6f056bf0, flags=...) at kernel/qeventloop.cpp:204
#44 0x0000003423f7bcb8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#45 0x0000003dea152cd3 in Akonadi::ResourceBase::init (r=0x12d91a0) at /usr/src/debug/kdepimlibs-4.10.5/akonadi/resourcebase.cpp:451
#46 0x000000000041c323 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#47 0x0000003f32221a05 in __libc_start_main (main=0x415740 <main>, argc=3, ubp_av=0x7fff6f056d88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6f056d78) at libc-start.c:225
#48 0x00000000004158f5 in _start ()

Reported using DrKonqi
Comment 1 Kevin Ottens 2013-11-16 07:28:01 UTC
The IMAP resource has a new maintainer, reassigning to him.
Comment 2 Christian Mollekopf 2013-11-20 12:14:15 UTC
Crash backtraces of pre 4.11.3 versions are no longer useful. Please reopen if you can reproduce the issue with >= 4.11.3.