Bug 280964 - "signal: Aborted" while removing and readding a dIMAP ressource
Summary: "signal: Aborted" while removing and readding a dIMAP ressource
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.7
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-08-29 00:15 UTC by konold
Modified: 2018-10-27 02:48 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 konold 2011-08-29 00:15:07 UTC
Version:           4.7 (using KDE 4.7.0) 
OS:                Linux

I have the problem that dIMAP ressources are not updated (INBOX works sometimes but subfolders especially shared folders are never synchronized).
I therefore tried to remove and readd one such account

Reproducible: Couldn't Reproduce

Steps to Reproduce:
could not reproduce

Actual Results:  
I could continue work with the readded dIMAP ressource. 
I noticed two changes:

1. shared folder namespace got recognized correctly (After the migration to Akonadi the shared folders where in the personal namespace with a "user/" 
prefix.

2. Syncronisation now seems to finally work. (I guess that the migration code has some issues)

Expected Results:  
do not crash 

Application: Akonadi Resource (akonadi_imap_resource), signal: Aborted
[Current thread is 1 (Thread 0xb4a02710 (LWP 5410))]

Thread 4 (Thread 0xb285eb70 (LWP 5487)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb589de53 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb58302fb in _L_lock_10372 () from /lib/libc.so.6
#3  0xb582ea66 in free () from /lib/libc.so.6
#4  0xb72e775b in qFree (ptr=0x81c8218) at global/qmalloc.cpp:60
#5  0xb73fc114 in QMetaCallEvent::~QMetaCallEvent (this=0x84a3370, __in_chrg=<value optimized out>) at kernel/qobject.cpp:523
#6  0xb73fc182 in QMetaCallEvent::~QMetaCallEvent (this=0x84a3370, __in_chrg=<value optimized out>) at kernel/qobject.cpp:529
#7  0xb73ee6a4 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8205420) at kernel/qcoreapplication.cpp:1388
#8  0xb73ee7ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#9  0xb7418f94 in sendPostedEvents (s=0x8453080) at kernel/qcoreapplication.h:220
#10 postEventSourceDispatch (s=0x8453080) at kernel/qeventdispatcher_glib.cpp:277
#11 0xb55d9509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0xb55d9d10 in ?? () from /lib/libglib-2.0.so.0
#13 0xb55d9fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#14 0xb741911b in QEventDispatcherGlib::processEvents (this=0x83ad6f8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#15 0xb73e9bed in QEventLoop::processEvents (this=0xb285e2d0, flags=...) at kernel/qeventloop.cpp:149
#16 0xb73e9e19 in QEventLoop::exec (this=0xb285e2d0, flags=...) at kernel/qeventloop.cpp:201
#17 0xb72eaec9 in QThread::exec (this=0x82117c0) at thread/qthread.cpp:492
#18 0xb66578b0 in KIMAP::SessionThread::run (this=0x82117c0) at /usr/src/debug/kdepimlibs-4.7.0/kimap/sessionthread.cpp:169
#19 0xb72edb13 in QThreadPrivate::start (arg=0x82117c0) at thread/qthread_unix.cpp:320
#20 0xb574ab05 in start_thread () from /lib/libpthread.so.0
#21 0xb588fd5e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb30a5b70 (LWP 5500)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb589de53 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb58302fb in _L_lock_10372 () from /lib/libc.so.6
#3  0xb582ea66 in free () from /lib/libc.so.6
#4  0xb59f8b0f in operator delete(void*) () from /usr/lib/libstdc++.so.6
#5  0xb7419562 in QEventDispatcherGlib::unregisterSocketNotifier (this=0x835e1d8, notifier=0x841b328) at kernel/qeventdispatcher_glib.cpp:503
#6  0xb7407358 in QSocketNotifier::setEnabled (this=0x841b328, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0xb7418b7e in socketNotifierSourceCheck (source=0x84a2400) at kernel/qeventdispatcher_glib.cpp:92
#8  0xb55d9180 in g_main_context_check () from /lib/libglib-2.0.so.0
#9  0xb55d9ac8 in ?? () from /lib/libglib-2.0.so.0
#10 0xb55d9fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0xb7419167 in QEventDispatcherGlib::processEvents (this=0x835e1d8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#12 0xb73e9bed in QEventLoop::processEvents (this=0xb30a52d0, flags=...) at kernel/qeventloop.cpp:149
#13 0xb73e9e19 in QEventLoop::exec (this=0xb30a52d0, flags=...) at kernel/qeventloop.cpp:201
#14 0xb72eaec9 in QThread::exec (this=0x8389630) at thread/qthread.cpp:492
#15 0xb66578b0 in KIMAP::SessionThread::run (this=0x8389630) at /usr/src/debug/kdepimlibs-4.7.0/kimap/sessionthread.cpp:169
#16 0xb72edb13 in QThreadPrivate::start (arg=0x8389630) at thread/qthread_unix.cpp:320
#17 0xb574ab05 in start_thread () from /lib/libpthread.so.0
#18 0xb588fd5e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb159cb70 (LWP 5501)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb589de53 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb58302fb in _L_lock_10372 () from /lib/libc.so.6
#3  0xb582ea66 in free () from /lib/libc.so.6
#4  0xb59f8b0f in operator delete(void*) () from /usr/lib/libstdc++.so.6
#5  0xb7419562 in QEventDispatcherGlib::unregisterSocketNotifier (this=0x85285e0, notifier=0x8325de0) at kernel/qeventdispatcher_glib.cpp:503
#6  0xb7407358 in QSocketNotifier::setEnabled (this=0x8325de0, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0xb7418b7e in socketNotifierSourceCheck (source=0x835be90) at kernel/qeventdispatcher_glib.cpp:92
#8  0xb55d9180 in g_main_context_check () from /lib/libglib-2.0.so.0
#9  0xb55d9ac8 in ?? () from /lib/libglib-2.0.so.0
#10 0xb55d9fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0xb7419167 in QEventDispatcherGlib::processEvents (this=0x85285e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#12 0xb73e9bed in QEventLoop::processEvents (this=0xb159c2d0, flags=...) at kernel/qeventloop.cpp:149
#13 0xb73e9e19 in QEventLoop::exec (this=0xb159c2d0, flags=...) at kernel/qeventloop.cpp:201
#14 0xb72eaec9 in QThread::exec (this=0x83f0cf0) at thread/qthread.cpp:492
#15 0xb66578b0 in KIMAP::SessionThread::run (this=0x83f0cf0) at /usr/src/debug/kdepimlibs-4.7.0/kimap/sessionthread.cpp:169
#16 0xb72edb13 in QThreadPrivate::start (arg=0x83f0cf0) at thread/qthread_unix.cpp:320
#17 0xb574ab05 in start_thread () from /lib/libpthread.so.0
#18 0xb588fd5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4a02710 (LWP 5410)):
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb57e78df in raise () from /lib/libc.so.6
#9  0xb57e9220 in abort () from /lib/libc.so.6
#10 0xb5823e07 in __libc_message () from /lib/libc.so.6
#11 0xb5829e2b in malloc_printerr () from /lib/libc.so.6
#12 0xb582abab in _int_free () from /lib/libc.so.6
#13 0xb582ea6d in free () from /lib/libc.so.6
#14 0xb59f8b0f in operator delete(void*) () from /usr/lib/libstdc++.so.6
#15 0x0809ade2 in ?? ()
#16 0x0809b027 in ?? ()
#17 0x0809c538 in ?? ()
#18 0xb73f11fd in QMetaObject::metacall (object=0x81c7de8, cl=QMetaObject::InvokeMetaMethod, idx=18, argv=0xbffbdc1c) at kernel/qmetaobject.cpp:237
#19 0xb740066c in QMetaObject::activate (sender=0x85a3ff0, m=0x80c1ca0, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3287
#20 0xb665cc35 in KIMAP::Session::connectionLost (this=0x85a3ff0) at /usr/src/debug/kdepimlibs-4.7.0/build/kimap/session.moc:135
#21 0xb666f703 in KIMAP::SessionPrivate::socketDisconnected (this=0x8213580) at /usr/src/debug/kdepimlibs-4.7.0/kimap/session.cpp:362
#22 0xb6676837 in KIMAP::Session::qt_metacall (this=0x85a3ff0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x8473b90) at /usr/src/debug/kdepimlibs-4.7.0/build/kimap/session.moc:115
#23 0xb73f11fd in QMetaObject::metacall (object=0x85a3ff0, cl=QMetaObject::InvokeMetaMethod, idx=13, argv=0x8473b90) at kernel/qmetaobject.cpp:237
#24 0xb73fbce5 in QMetaCallEvent::placeMetaCall (this=0x8448ad0, object=0x85a3ff0) at kernel/qobject.cpp:535
#25 0xb73fff5f in QObject::event (this=0x85a3ff0, e=0x8448ad0) at kernel/qobject.cpp:1226
#26 0xb690cc74 in QApplicationPrivate::notify_helper (this=0x80e3f58, receiver=0x85a3ff0, e=0x8448ad0) at kernel/qapplication.cpp:4462
#27 0xb6915a17 in QApplication::notify (this=0xbffbf3c0, receiver=0x85a3ff0, e=0x8448ad0) at kernel/qapplication.cpp:3862
#28 0xb5f05b01 in KApplication::notify (this=0xbffbf3c0, receiver=0x85a3ff0, event=0x8448ad0) at /usr/src/debug/kdelibs-4.7.0/kdeui/kernel/kapplication.cpp:311
#29 0xb73ea90e in QCoreApplication::notifyInternal (this=0xbffbf3c0, receiver=0x85a3ff0, event=0x8448ad0) at kernel/qcoreapplication.cpp:731
#30 0xb73ee69c in sendEvent (receiver=0x0, event_type=0, data=0x80ca548) at kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80ca548) at kernel/qcoreapplication.cpp:1372
#32 0xb73ee7ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#33 0xb7418f94 in sendPostedEvents (s=0x80e6100) at kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x80e6100) at kernel/qeventdispatcher_glib.cpp:277
#35 0xb55d9509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0xb55d9d10 in ?? () from /lib/libglib-2.0.so.0
#37 0xb55d9fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0xb741911b in QEventDispatcherGlib::processEvents (this=0x80ca2b0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#39 0xb69c3a3a in QGuiEventDispatcherGlib::processEvents (this=0x80ca2b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0xb73e9bed in QEventLoop::processEvents (this=0xbffbe440, flags=...) at kernel/qeventloop.cpp:149
#41 0xb73e9e19 in QEventLoop::exec (this=0xbffbe440, flags=...) at kernel/qeventloop.cpp:201
#42 0xb6e4fdad in QDialog::exec (this=0x8521cb8) at dialogs/qdialog.cpp:552
#43 0xb5e5f0fc in KMessageBox::createKMessageBox (dialog=0x8521cb8, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0xbffbe7ef, options=..., details=..., notifyType=QMessageBox::Warning) at /usr/src/debug/kdelibs-4.7.0/kdeui/dialogs/kmessagebox.cpp:344
#44 0xb5e5fab5 in KMessageBox::createKMessageBox (dialog=0x8521cb8, icon=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0xbffbe7ef, options=..., details=...) at /usr/src/debug/kdelibs-4.7.0/kdeui/dialogs/kmessagebox.cpp:159
#45 0xb5e60f47 in KMessageBox::warningYesNoCancelListWId (parent_id=0, text=..., strlist=..., caption=..., buttonYes_=..., buttonNo_=..., buttonCancel_=..., dontAskAgainName=..., options=...) at /usr/src/debug/kdelibs-4.7.0/kdeui/dialogs/kmessagebox.cpp:802
#46 0xb5e61193 in KMessageBox::warningYesNoCancelList (parent=0x0, text=..., strlist=..., caption=..., buttonYes=..., buttonNo=..., buttonCancel=..., dontAskAgainName=..., options=...) at /usr/src/debug/kdelibs-4.7.0/kdeui/dialogs/kmessagebox.cpp:760
#47 0xb5e61220 in KMessageBox::warningYesNoCancel (parent=0x0, text=..., caption=..., buttonYes=..., buttonNo=..., buttonCancel=..., dontAskAgainName=..., options=...) at /usr/src/debug/kdelibs-4.7.0/kdeui/dialogs/kmessagebox.cpp:735
#48 0xb6551854 in KIO::SslUi::askIgnoreSslErrors (uiData=..., storedRules=KIO::SslUi::RecallAndStoreRules) at /usr/src/debug/kdelibs-4.7.0/kio/kssl/sslui.cpp:82
#49 0xb665c684 in KIMAP::SessionPrivate::handleSslError (this=0x8213580, errorData=...) at /usr/src/debug/kdepimlibs-4.7.0/kimap/session.cpp:118
#50 0xb66766d6 in KIMAP::Session::qt_metacall (this=0x85a3ff0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x8521c58) at /usr/src/debug/kdepimlibs-4.7.0/build/kimap/session.moc:117
#51 0xb73f11fd in QMetaObject::metacall (object=0x85a3ff0, cl=QMetaObject::InvokeMetaMethod, idx=15, argv=0x8521c58) at kernel/qmetaobject.cpp:237
#52 0xb73fbce5 in QMetaCallEvent::placeMetaCall (this=0x8526948, object=0x85a3ff0) at kernel/qobject.cpp:535
#53 0xb73fff5f in QObject::event (this=0x85a3ff0, e=0x8526948) at kernel/qobject.cpp:1226
#54 0xb690cc74 in QApplicationPrivate::notify_helper (this=0x80e3f58, receiver=0x85a3ff0, e=0x8526948) at kernel/qapplication.cpp:4462
#55 0xb6915a17 in QApplication::notify (this=0xbffbf3c0, receiver=0x85a3ff0, e=0x8526948) at kernel/qapplication.cpp:3862
#56 0xb5f05b01 in KApplication::notify (this=0xbffbf3c0, receiver=0x85a3ff0, event=0x8526948) at /usr/src/debug/kdelibs-4.7.0/kdeui/kernel/kapplication.cpp:311
#57 0xb73ea90e in QCoreApplication::notifyInternal (this=0xbffbf3c0, receiver=0x85a3ff0, event=0x8526948) at kernel/qcoreapplication.cpp:731
#58 0xb73ee69c in sendEvent (receiver=0x0, event_type=0, data=0x80ca548) at kernel/qcoreapplication.h:215
#59 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80ca548) at kernel/qcoreapplication.cpp:1372
#60 0xb73ee7ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#61 0xb7418f94 in sendPostedEvents (s=0x80e6100) at kernel/qcoreapplication.h:220
#62 postEventSourceDispatch (s=0x80e6100) at kernel/qeventdispatcher_glib.cpp:277
#63 0xb55d9509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#64 0xb55d9d10 in ?? () from /lib/libglib-2.0.so.0
#65 0xb55d9fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#66 0xb741911b in QEventDispatcherGlib::processEvents (this=0x80ca2b0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#67 0xb69c3a3a in QGuiEventDispatcherGlib::processEvents (this=0x80ca2b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#68 0xb73e9bed in QEventLoop::processEvents (this=0xbffbf324, flags=...) at kernel/qeventloop.cpp:149
#69 0xb73e9e19 in QEventLoop::exec (this=0xbffbf324, flags=...) at kernel/qeventloop.cpp:201
#70 0xb73ee8c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#71 0xb690a9c4 in QApplication::exec () at kernel/qapplication.cpp:3736
#72 0xb760fedf in Akonadi::ResourceBase::init (r=0x81af488) at /usr/src/debug/kdepimlibs-4.7.0/akonadi/resourcebase.cpp:393
#73 0x0805c903 in _start ()
Comment 1 Kevin Ottens 2011-09-17 17:10:33 UTC
I will need more information for that one, namely:
 * the rought amount of mail
 * the mail server used
 * was there any network connectivity issue
 * is the database a fresh one, or it got through failed migration attempts

Also to debug that kind of cases efficiently, I'd need to be provided with some idea of the IMAP traffic which created the issue. That can be done by setting the KIMAP_LOGFILE environment variable and restarting the akonadiserver.

For instance:
export KIMAP_LOGFILE=imaplog
akonadictl restart

Look at the pid of the imap resource you should then have a couple of imaplog.pid.* files. Wait for the crash, and then provide me what happened before the crash. It's the best way for me to create a test case that I can reproduce here. Only caveat though is that some private data is likely in the log (except the authentication phase, after that it logs everything) so you'd have to trust me with your data and send it privately.
Comment 2 Kevin Ottens 2013-11-16 07:33:12 UTC
The IMAP resource has a new maintainer, reassigning to him.
Comment 3 Andrew Crouthamel 2018-09-25 03:40:44 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 02:48:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!