Bug 331692

Summary: akonadi imap ressource crash for any reason
Product: [Frameworks and Libraries] Akonadi Reporter: Bruno Friedmann <bruno>
Component: IMAP resourceAssignee: Christian Mollekopf <chrigi_1>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR Keywords: drkonqi
Version: 4.12   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bruno Friedmann 2014-03-03 09:08:53 UTC
Application: akonadi_imap_resource (4.12)
KDE Platform Version: 4.12.2
Qt Version: 4.8.5
Operating System: Linux 3.13.5-1.g4e9ddcc-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: I'm using imap offline account with a central postgresql server.
One of the account retrieve the email and crash. 

About the duplicate, this is kde 4.12.2

The crash can be reproduced sometimes.

-- Backtrace:
Application: 05_abuse of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f53ea372880 (LWP 2048))]

Thread 3 (Thread 0x7f53cf09a700 (LWP 15444)):
#0  0x00007f53e4a8dffa in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f53e4a8e2b9 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f53e4a4e5f9 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f53e4a4e70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f53e978dd76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f53e975fd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f53e9760005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f53e965efef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f53e966168f in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f53e55b70db in start_thread () from /lib64/libpthread.so.0
#10 0x00007f53e5d2490d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f53d5e88700 (LWP 6547)):
#0  0x00007f53e4a4bb04 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f53e4a4dc4b in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f53e4a4e523 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f53e4a4e70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f53e978dd76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f53e975fd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f53e9760005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f53e965efef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f53e966168f in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f53e55b70db in start_thread () from /lib64/libpthread.so.0
#10 0x00007f53e5d2490d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f53ea372880 (LWP 2048)):
[KCrash Handler]
#6  0x00007f53e967c930 in QHashData::free_helper(void (*)(QHashData::Node*)) () from /usr/lib64/libQtCore.so.4
#7  0x00007f53e9e682f8 in freeData (this=<optimized out>, x=<optimized out>) at /usr/include/QtCore/qhash.h:570
#8  ~QHash (this=0x2892198, __in_chrg=<optimized out>) at /usr/include/QtCore/qhash.h:283
#9  ~QSet (this=0x2892198, __in_chrg=<optimized out>) at /usr/include/QtCore/qset.h:54
#10 ~ItemPrivate (this=0x2892130, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.12.2/akonadi/item_p.h:202
#11 Akonadi::ItemPrivate::~ItemPrivate (this=0x2892130, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.12.2/akonadi/item_p.h:203
#12 0x00007f53e9dc5bdc in node_destruct (this=<optimized out>, to=0x243beb0, from=0x2421cc8) at /usr/include/QtCore/qlist.h:431
#13 QList<Akonadi::Item>::free (data=0x2421cb0, this=<optimized out>) at /usr/include/QtCore/qlist.h:757
#14 0x00007f53e9e6f77a in ~ItemFetchJobPrivate (this=0x1099fa0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.12.2/akonadi/itemfetchjob.cpp:52
#15 Akonadi::ItemFetchJobPrivate::~ItemFetchJobPrivate (this=0x1099fa0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.12.2/akonadi/itemfetchjob.cpp:54
#16 0x00007f53e9e81251 in Akonadi::Job::~Job (this=0x12b0690, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.12.2/akonadi/job.cpp:265
#17 0x00007f53e9e6e019 in Akonadi::ItemFetchJob::~ItemFetchJob (this=0x12b0690, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.12.2/akonadi/itemfetchjob.cpp:180
#18 0x00007f53e9779158 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#19 0x00007f53e8afe8ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007f53e8b04e70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007f53e6c0a38a in KApplication::notify (this=0x7fffa2a4e2e0, receiver=0x12b0690, event=0x22f9a60) at /usr/src/debug/kdelibs-4.12.2/kdeui/kernel/kapplication.cpp:311
#22 0x00007f53e97610ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#23 0x00007f53e97640ff in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#24 0x00007f53e978e493 in ?? () from /usr/lib64/libQtCore.so.4
#25 0x00007f53e4a4e316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f53e4a4e668 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f53e4a4e70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f53e978dd55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#29 0x00007f53e8b9b936 in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00007f53e975fd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#31 0x00007f53e9760005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#32 0x00007f53e976513b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#33 0x00007f53e9ea1c83 in Akonadi::ResourceBase::init (r=0x1083680) at /usr/src/debug/kdepimlibs-4.12.2/akonadi/resourcebase.cpp:504
#34 0x00000000004210e3 in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 327864.

Possible duplicates by query: bug 327864, bug 325619.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 20:39:03 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:52:15 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.