Bug 236986 - akonadi_resource crashed when restarting akonadi-server
Summary: akonadi_resource crashed when restarting akonadi-server
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-09 15:35 UTC by Alexey Shvetsov
Modified: 2011-09-17 08:31 UTC (History)
2 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 Alexey Shvetsov 2010-05-09 15:35:43 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.4.75 (KDE 4.4.75 (KDE 4.5 >= 20100505)) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.1"

-- Information about the crash:
- What I was doing when the application crashed:
akonadi_resource crashed when restarting akonadi-server

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.0/libstdc++.so.6.0.14-gdb.py", line 59, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Current thread is 1 (Thread 0x2b719b519140 (LWP 2899))]

Thread 3 (Thread 0x2b719e6d7710 (LWP 2970)):
#0  0x00002b7196179603 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00002b7196ecd79c in g_main_context_poll (context=0x21cada0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x21cada0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x00002b7196ecdae0 in IA__g_main_context_iteration (context=0x21cada0, may_block=1) at gmain.c:2654
#4  0x00000032a6d8fa06 in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00000032a6d64f32 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#6  0x00000032a6d65304 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201
#7  0x00000032a6c70829 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00002b7193baa631 in KIMAP::SessionThread::run (this=0x214e570) at /var/tmp/portage/kde-base/kdepimlibs-4.4.75/work/kdepimlibs-4.4.75/kimap/sessionthread.cpp:160
#9  0x00000032a6c73235 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:248
#10 0x00002b719662d8da in start_thread (arg=0x2b719e6d7710) at pthread_create.c:297
#11 0x00002b719618154d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x2b719e8d8710 (LWP 2973)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00000032a6c74171 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00000032a6c69648 in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:140
#4  0x00000032a6c73235 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:248
#5  0x00002b719662d8da in start_thread (arg=0x2b719e8d8710) at pthread_create.c:297
#6  0x00002b719618154d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x2b719b519140 (LWP 2899)):
[KCrash Handler]
#6  Private (this=<value optimized out>, p=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qvariant.h:352
#7  QVariant (this=<value optimized out>, p=<value optimized out>) at kernel/qvariant.cpp:1391
#8  0x00000032a7e5b257 in QDBusPendingReplyData::argumentAt (this=<value optimized out>, index=<value optimized out>) at qdbuspendingreply.cpp:268
#9  0x00002b7192ba338b in argumentAt<0> (this=0x210c800, identifier=...) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:174
#10 QDBusPendingReply<int, void, void, void, void, void, void, void>::operator int (this=0x210c800, identifier=...) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:184
#11 Akonadi::AgentManagerPrivate::fillAgentInstance (this=0x210c800, identifier=...) at /var/tmp/portage/kde-base/kdepimlibs-4.4.75/work/kdepimlibs-4.4.75/akonadi/agentmanager.cpp:246
#12 0x00002b7192ba4816 in Akonadi::AgentManagerPrivate::agentInstanceAdded (this=0x210c800, identifier=...)
    at /var/tmp/portage/kde-base/kdepimlibs-4.4.75/work/kdepimlibs-4.4.75/akonadi/agentmanager.cpp:87
#13 0x00002b7192ba743e in Akonadi::AgentManager::qt_metacall (this=0x210b950, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8c77adb0)
    at /var/tmp/portage/kde-base/kdepimlibs-4.4.75/work/kdepimlibs-4.4.75_build/akonadi/agentmanager.moc:129
#14 0x00000032a6d792bf in QMetaObject::activate (sender=<value optimized out>, m=<value optimized out>, local_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3285
#15 0x00002b7192c9d592 in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceAdded (this=<value optimized out>, _t1=<value optimized out>)
    at /var/tmp/portage/kde-base/kdepimlibs-4.4.75/work/kdepimlibs-4.4.75_build/akonadi/agentmanagerinterface.moc:227
#16 0x00002b7192c9dafa in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x20d3260, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff8c77b5d0)
    at /var/tmp/portage/kde-base/kdepimlibs-4.4.75/work/kdepimlibs-4.4.75_build/akonadi/agentmanagerinterface.moc:154
#17 0x00000032a7e23681 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=<value optimized out>, 
    slotIdx=<value optimized out>) at qdbusintegrator.cpp:904
#18 0x00000032a7e2db5f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:101
#19 0x00000032a6d76219 in QObject::event (this=<value optimized out>, e=<value optimized out>) at kernel/qobject.cpp:1240
#20 0x00002b71930c0034 in QApplicationPrivate::notify_helper (this=0x2071d60, receiver=0x20d3260, e=0x211e800) at kernel/qapplication.cpp:4300
#21 0x00002b71930c40ba in QApplication::notify (this=<value optimized out>, receiver=0x20d3260, e=0x211e800) at kernel/qapplication.cpp:4183
#22 0x00002b71952b8f86 in KApplication::notify (this=0x7fff8c77c240, receiver=0x20d3260, event=0x211e800)
    at /var/tmp/portage/kde-base/kdelibs-4.4.75/work/kdelibs-4.4.75/kdeui/kernel/kapplication.cpp:302
#23 0x00000032a6d665db in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:704
#24 0x00000032a6d68d26 in QCoreApplication::sendEvent (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#26 0x00000032a6d8fe73 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#27 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#28 0x00002b7196ec9ffd in g_main_dispatch (context=0x2074220) at gmain.c:1960
#29 IA__g_main_context_dispatch (context=0x2074220) at gmain.c:2513
#30 0x00002b7196ecd9b8 in g_main_context_iterate (context=0x2074220, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#31 0x00002b7196ecdae0 in IA__g_main_context_iteration (context=0x2074220, may_block=1) at gmain.c:2654
#32 0x00000032a6d8f9b3 in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00002b719315f27e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00000032a6d64f32 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#35 0x00000032a6d65304 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201
#36 0x00000032a6d68feb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#37 0x00002b7192c57072 in Akonadi::ResourceBase::init (r=0x2178c80) at /var/tmp/portage/kde-base/kdepimlibs-4.4.75/work/kdepimlibs-4.4.75/akonadi/resourcebase.cpp:228
#38 0x0000000000426608 in Akonadi::ResourceBase::init<ImapResource> (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/akonadi/resourcebase.h:186
#39 main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.4.75/work/kdepim-runtime-4.4.75/resources/imap/imapresource.cpp:1955

Possible duplicates by query: bug 228841, bug 227798, bug 214921.

Reported using DrKonqi
Comment 1 Kevin Ottens 2011-09-17 08:31:19 UTC
Is it still happening for you with 4.7.x? I've been unable to reproduce that one, it just works for me.

In case you still experience this please feel free to reopen. In such a case, we would need much more information like the actual IMAP server used, how you actually restarted the server and so on.