[kmail2] [Bug 331915] New: kmail2 4.12.3 imap online suddently crash

Bruno Friedmann brunofr at ioda.net
Sun Mar 9 14:26:13 GMT 2014


https://bugs.kde.org/show_bug.cgi?id=331915

            Bug ID: 331915
           Summary: kmail2 4.12.3 imap online suddently crash
    Classification: Unclassified
           Product: kmail2
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: brunofr at ioda.net

Application: kmail (4.12.3)
KDE Platform Version: 4.12.3
Qt Version: 4.8.5
Operating System: Linux 3.13.5-2.gbb654e2-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: between 5 to 20 sec after
sending a reply and clicking on a new unread message (in another folder) kmail
has crashed.

Akonadi is using a central postgresql server, and in xsession-error log I found
several time this type of error. I've no clue if they are related
Application '/usr/bin/akonadi_archivemail_agent' exited normally...
ProcessControl: Application /usr/bin/akonadi_imap_resource stopped unexpectedly
( "Process crashed" )
Application '/usr/bin/akonadi_imap_resource' crashed. No restart!
ProcessControl: Application /usr/bin/akonadi_imap_resource stopped unexpectedly
( "Process crashed" )
Application '/usr/bin/akonadi_imap_resource' crashed. No restart!
ProcessControl: Application /usr/bin/akonadi_imap_resource stopped unexpectedly
( "Process crashed" )
Application '/usr/bin/akonadi_imap_resource' crashed. No restart!
ProcessControl: Application /usr/bin/akonadi_imap_resource stopped unexpectedly
( "Process crashed" )
Application '/usr/bin/akonadi_imap_resource' crashed. No restart!
ProcessControl: Application /usr/bin/akonadi_imap_resource stopped unexpectedly
( "Process crashed" )
Application '/usr/bin/akonadi_imap_resource' crashed. No restart!
Application '/usr/bin/akonadi_maildispatcher_agent' exited normally...
ProcessControl: Application /usr/bin/akonadi_imap_resource stopped unexpectedly
( "Process crashed" )
Application '/usr/bin/akonadi_imap_resource' crashed. No restart!
Application '/usr/bin/akonadi_migration_agent' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_folderarchive_agent' exited normally...
Application '/usr/bin/akonadi_mailfilter_agent' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
"[
0: akonadiserver(_Z11akBacktracev+0x37) [0x459f57]
1: akonadiserver() [0x45a1b2]
2: /lib64/libc.so.6(+0x358d0) [0x7fc69b9ce8d0]
3: /usr/lib64/libpq.so.5(+0x11080) [0x7fc697b01080]
4: /usr/lib64/libpq.so.5(PQgetResult+0x28) [0x7fc697b03788]
5: /usr/lib64/libpq.so.5(+0x13a0f) [0x7fc697b03a0f]
6: /usr/lib64/libpq.so.5(PQexec+0x11) [0x7fc697b03bc1]
7: /usr/lib64/qt4/plugins/sqldrivers/libqsqlpsql.so(+0xa6b5) [0x7fc697d296b5]
8: /usr/lib64/qt4/plugins/sqldrivers/libqsqlpsql.so(+0xabc4) [0x7fc697d29bc4]
9: /usr/lib64/qt4/plugins/sqldrivers/libqsqlpsql.so(+0xacee) [0x7fc697d29cee]
10: /usr/lib64/qt4/plugins/sqldrivers/libqsqlpsql.so(+0xb0d7) [0x7fc697d2a0d7]
11: /usr/lib64/qt4/plugins/sqldrivers/libqsqlpsql.so(+0xb139) [0x7fc697d2a139]
12: /usr/lib64/libQtSql.so.4(_ZN9QSqlQueryD1Ev+0x1e) [0x7fc69cefa19e]
13:
akonadiserver(_ZN5QHashI7QString9QSqlQueryE11deleteNode2EPN9QHashData4NodeE+0xd)
[0x50641d]
14: /usr/lib64/libQtCore.so.4(_ZN9QHashData11free_helperEPFvPNS_4NodeEE+0x49)
[0x7fc69d509939]
15: akonadiserver(_ZN5CacheD0Ev+0x31) [0x506521]
16: /usr/lib64/libQtCore.so.4(_ZN18QThreadStorageData6finishEPPv+0x16a)
[0x7fc69d4ec84a]
17: /usr/lib64/libQtCore.so.4(_ZN23QCoreApplicationPrivateD1Ev+0x31)
[0x7fc69d5f0d01]
18: /usr/lib64/libQtCore.so.4(_ZN23QCoreApplicationPrivateD0Ev+0x9)
[0x7fc69d5f0ef9]
19: /usr/lib64/libQtCore.so.4(_ZN7QObjectD2Ev+0x685) [0x7fc69d606c35]
20: /usr/lib64/libQtCore.so.4(_ZN16QCoreApplicationD0Ev+0x9) [0x7fc69d5efc29]
21: akonadiserver(_ZN13AkApplicationD1Ev+0x27f) [0x45596f]
22: akonadiserver(main+0x1ec) [0x453a9c]
23: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fc69b9babe5]
24: akonadiserver() [0x4540c9]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255
(Unknown error)
Those backtrace were there before I've all the debuginfo loaded (sorry)

The installation of kdepim stack was completely redone from scratch 24 hours
ago.

Other noticeable things : I'm using ipv6 full working with my imap serveur.
I've seen akonadi (ss -tanp | grep :143) being connected sometimes full ipv6,
sometime full ipv4, and sometimes mixed ipv4 & ipv6.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f710b8b88c0 (LWP 31015))]

Thread 5 (Thread 0x7f70dfc99700 (LWP 31126)):
#0  0x00007f71069fc0af in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f70fb9aff76 in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f70fc4785a0 <WTF::pageheap_memory>) at
/usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571
#2  0x00007f70fb9affa9 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
/usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767
#3  0x00007f71069f80db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7108bfb90d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f70de407700 (LWP 31133)):
#0  0x00007f71069fc0af in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f70fb7222cd in JSC::BlockAllocator::blockFreeingThreadMain
(this=0x7f70e41b7398) at
/usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128
#2  0x00007f70fb9d7ad6 in WTF::wtfThreadEntryPoint (param=0x1229390) at
/usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#3  0x00007f71069f80db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7108bfb90d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f70dcdf5700 (LWP 31157)):
#0  0x00007f71007d0ffa in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f71007d1289 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7100790cb9 in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f7100791523 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f710079170c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#5  0x00007f710958fd76 in QEventDispatcherGlib::processEvents
(this=0x7f70800008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f7109561d0f in QEventLoop::processEvents
(this=this at entry=0x7f70dcdf4d20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7109562005 in QEventLoop::exec (this=this at entry=0x7f70dcdf4d20,
flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f7109460fef in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:536
#9  0x00007f710946368f in QThreadPrivate::start (arg=0x18a6e10) at
thread/qthread_unix.cpp:338
#10 0x00007f71069f80db in start_thread () from /lib64/libpthread.so.0
#11 0x00007f7108bfb90d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f707ffff700 (LWP 31163)):
#0  0x00007f71069fb560 in __pthread_mutex_unlock_usercnt () from
/lib64/libpthread.so.0
#1  0x00007f71007d12c1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7100790ca0 in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f7100791523 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f710079170c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#5  0x00007f710958fd76 in QEventDispatcherGlib::processEvents
(this=0x7f70780008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f7109561d0f in QEventLoop::processEvents
(this=this at entry=0x7f707fffece0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7109562005 in QEventLoop::exec (this=this at entry=0x7f707fffece0,
flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f7109460fef in QThread::exec (this=this at entry=0x1ac1fe0) at
thread/qthread.cpp:536
#9  0x00007f7109543513 in QInotifyFileSystemWatcherEngine::run (this=0x1ac1fe0)
at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f710946368f in QThreadPrivate::start (arg=0x1ac1fe0) at
thread/qthread_unix.cpp:338
#11 0x00007f71069f80db in start_thread () from /lib64/libpthread.so.0
#12 0x00007f7108bfb90d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f710b8b88c0 (LWP 31015)):
[KCrash Handler]
#6  KMime::Headers::Base::is (this=this at entry=0x33bf4c0,
t=t at entry=0x7f710577bae9 "From") at
/usr/src/debug/kdepimlibs-4.12.3/kmime/kmime_headers.cpp:209
#7  0x00007f710575f58d in KMime::Content::headerByType (this=<optimized out>,
type=0x7f710577bae9 "From") at
/usr/src/debug/kdepimlibs-4.12.3/kmime/kmime_content.cpp:702
#8  0x00007f7105776d8e in header<KMime::Headers::From> (create=true,
this=0x33cc8d0) at /usr/src/debug/kdepimlibs-4.12.3/kmime/kmime_content.h:837
#9  KMime::Message::from (this=0x33cc8d0, create=<optimized out>) at
/usr/src/debug/kdepimlibs-4.12.3/kmime/kmime_message.cpp:157
#10 0x00007f710488e2ac in MessageList::StorageModel::initializeMessageItem
(this=0x9937720, mi=0x9e95350, row=3906, bUseReceiver=<optimized out>) at
/usr/src/debug/kdepim-4.12.3/messagelist/storagemodel.cpp:251
#11 0x00007f710484b255 in
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill
(this=0x17d62b0, job=0x29554d0, tStart=...) at
/usr/src/debug/kdepim-4.12.3/messagelist/core/model.cpp:2690
#12 0x00007f710484bcbd in
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob
(this=this at entry=0x17d62b0, job=job at entry=0x29554d0, tStart=...) at
/usr/src/debug/kdepim-4.12.3/messagelist/core/model.cpp:3347
#13 0x00007f710484c2fd in
MessageList::Core::ModelPrivate::viewItemJobStepInternal
(this=this at entry=0x17d62b0) at
/usr/src/debug/kdepim-4.12.3/messagelist/core/model.cpp:3734
#14 0x00007f710484cc6f in MessageList::Core::ModelPrivate::viewItemJobStep
(this=0x17d62b0) at
/usr/src/debug/kdepim-4.12.3/messagelist/core/model.cpp:3920
#15 0x00007f710484d66e in MessageList::Core::Model::setStorageModel
(this=0x18ac3e0, storageModel=storageModel at entry=0x9937720,
preSelectionMode=preSelectionMode at entry=MessageList::Core::PreSelectLastSelected)
at /usr/src/debug/kdepim-4.12.3/messagelist/core/model.cpp:868
#16 0x00007f71048679d5 in MessageList::Core::View::setStorageModel
(this=0x1840930, storageModel=storageModel at entry=0x9937720,
preSelectionMode=preSelectionMode at entry=MessageList::Core::PreSelectLastSelected)
at /usr/src/debug/kdepim-4.12.3/messagelist/core/view.cpp:277
#17 0x00007f7104874d5a in MessageList::Core::Widget::setStorageModel
(this=this at entry=0x13c7550, storageModel=0x9937720,
preSelectionMode=preSelectionMode at entry=MessageList::Core::PreSelectLastSelected)
at /usr/src/debug/kdepim-4.12.3/messagelist/core/widgetbase.cpp:437
#18 0x00007f7104887648 in MessageList::Pane::setCurrentFolder (this=0x17c5c30,
collection=...,
preSelectionMode=preSelectionMode at entry=MessageList::Core::PreSelectLastSelected,
overrideLabel=...) at /usr/src/debug/kdepim-4.12.3/messagelist/pane.cpp:687
#19 0x00007f710a6af530 in KMMainWidget::slotShowSelectedFolderInPane
(this=0x16e57d0) at /usr/src/debug/kdepim-4.12.3/kmail/kmmainwidget.cpp:531
#20 0x00007f710a6d44ca in KMMainWidget::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/kdepim-4.12.3/build/kmail/kmmainwidget.moc:427
#21 0x00007f710957b11e in QObject::event (this=this at entry=0x16e57d0,
e=e at entry=0xa17aad0) at kernel/qobject.cpp:1203
#22 0x00007f7109af6e4b in QWidget::event (this=0x16e57d0, event=0xa17aad0) at
kernel/qwidget.cpp:8846
#23 0x00007f7109aa78ac in QApplicationPrivate::notify_helper
(this=this at entry=0xfeb330, receiver=receiver at entry=0x16e57d0,
e=e at entry=0xa17aad0) at kernel/qapplication.cpp:4562
#24 0x00007f7109aade70 in QApplication::notify (this=this at entry=0x7ffff67780c0,
receiver=receiver at entry=0x16e57d0, e=e at entry=0xa17aad0) at
kernel/qapplication.cpp:4348
#25 0x00007f710b2fe47a in KApplication::notify (this=0x7ffff67780c0,
receiver=0x16e57d0, event=0xa17aad0) at
/usr/src/debug/kdelibs-4.12.3/kdeui/kernel/kapplication.cpp:311
#26 0x00007f71095630ad in QCoreApplication::notifyInternal
(this=0x7ffff67780c0, receiver=receiver at entry=0x16e57d0,
event=event at entry=0xa17aad0) at kernel/qcoreapplication.cpp:949
#27 0x00007f71095660ff in sendEvent (event=0xa17aad0, receiver=0x16e57d0) at
kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0xf121f0) at
kernel/qcoreapplication.cpp:1573
#29 0x00007f71095665a3 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1466
#30 0x00007f7109590493 in sendPostedEvents () at kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=0xfd6200) at
kernel/qeventdispatcher_glib.cpp:280
#32 0x00007f7100791316 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#33 0x00007f7100791668 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f710079170c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#35 0x00007f710958fd55 in QEventDispatcherGlib::processEvents (this=0xf17a70,
flags=...) at kernel/qeventdispatcher_glib.cpp:425
#36 0x00007f7109b44936 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f7109561d0f in QEventLoop::processEvents
(this=this at entry=0x7ffff6777d10, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f7109562005 in QEventLoop::exec (this=this at entry=0x7ffff6777d10,
flags=...) at kernel/qeventloop.cpp:204
#39 0x00007f710956713b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1221
#40 0x00007f7109aa606c in QApplication::exec () at kernel/qapplication.cpp:3823
#41 0x0000000000402f4a in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kdepim-4.12.3/kmail/main.cpp:146

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list