Bug 292582 - Kmail startup crash, after upgrade to KDE 4.8
Summary: Kmail startup crash, after upgrade to KDE 4.8
Status: RESOLVED DUPLICATE of bug 280630
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-27 13:01 UTC by Sascha
Modified: 2012-01-30 22:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
strace kmail --nofork session (132.37 KB, application/x-bzip)
2012-01-27 13:13 UTC, Sascha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha 2012-01-27 13:01:48 UTC
Application: kontact (4.8.0)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

Upgraded the kubuntu KDE packages, and since then kmail alwasy crashes some seconds after the window appeared. I did some runs under "strace kmail --nofork", and it appeared as if the process is running out of file descriptors. Increased the ulimit, and voila, still a crash, but a little later. Will add some more information in a moment.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7ff5f52a27a0 (LWP 8964))]

Thread 4 (Thread 0x7ff5dac43700 (LWP 8965)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5f1afac2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007ff5f1afad59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007ff5ed2ddefc in start_thread (arg=0x7ff5dac43700) at pthread_create.c:304
#4  0x00007ff5f280889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff5da332700 (LWP 8966)):
#0  0x00007ff5f27fc773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff5ece0bf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff5ece0c429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff5f2f64f3e in QEventDispatcherGlib::processEvents (this=0x14fa3e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff5f2f38cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff5f2f38ef7 in QEventLoop::exec (this=0x7ff5da331de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff5f2e5027f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007ff5f2e52d05 in QThreadPrivate::start (arg=0x14f8f10) at thread/qthread_unix.cpp:331
#8  0x00007ff5ed2ddefc in start_thread (arg=0x7ff5da332700) at pthread_create.c:304
#9  0x00007ff5f280889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff58d044700 (LWP 8970)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ff5f27a59df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ff5f27a3d71 in __GI___libc_free (mem=0x7ff5d4000020) at malloc.c:3736
#3  0x00007ff5ece074e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff5f2f64c37 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x21505b0, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#5  0x00007ff5f2f64e49 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x21505b0, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00007ff5f2e51e34 in QThreadPrivate::finish (arg=0x2150c10) at thread/qthread_unix.cpp:367
#7  0x00007ff5f2e52d0d in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#8  ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:824
#9  QThreadPrivate::start (arg=0x2150c10) at thread/qthread_unix.cpp:290
#10 0x00007ff5ed2ddefc in start_thread (arg=0x7ff58d044700) at pthread_create.c:304
#11 0x00007ff5f280889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff5f52a27a0 (LWP 8964)):
[KCrash Handler]
#6  0x00007ff5f275d3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007ff5f2760b0b in __GI_abort () at abort.c:92
#8  0x00007ff5f2795113 in __libc_message (do_abort=2, fmt=0x7ff5f28860d8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007ff5f279fa96 in malloc_printerr (action=3, str=0x7ff5f2886210 "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007ff5f27a3d7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x00007ff5ef5cb868 in Akonadi::EntityTreeModelPrivate::removeItems (this=<optimized out>, it=..., end=<optimized out>, pos=0x7fffa123cf3c, collection=...) at ../../akonadi/entitytreemodel_p.cpp:1535
#12 0x00007ff5ef5cb9b5 in Akonadi::EntityTreeModelPrivate::purgeItems (this=0x1f0cf40, id=477) at ../../akonadi/entitytreemodel_p.cpp:1555
#13 0x00007ff5ef5c6470 in Akonadi::EntityTreeModel::setData (this=0x1baf3d0, index=..., value=..., role=53) at ../../akonadi/entitytreemodel.cpp:735
#14 0x00007ff5f3ec8fdd in QSortFilterProxyModel::setData (this=<optimized out>, index=..., value=..., role=53) at itemviews/qsortfilterproxymodel.cpp:1728
#15 0x00007ff5f3ec8fdd in QSortFilterProxyModel::setData (this=<optimized out>, index=..., value=..., role=53) at itemviews/qsortfilterproxymodel.cpp:1728
#16 0x00007ff5f3ec8019 in QAbstractProxyModel::setData (this=<optimized out>, index=<optimized out>, value=..., role=53) at itemviews/qabstractproxymodel.cpp:267
#17 0x00007ff5f3ec8019 in QAbstractProxyModel::setData (this=<optimized out>, index=<optimized out>, value=..., role=53) at itemviews/qabstractproxymodel.cpp:267
#18 0x00007ff5f3ec8fdd in QSortFilterProxyModel::setData (this=<optimized out>, index=..., value=..., role=53) at itemviews/qsortfilterproxymodel.cpp:1728
#19 0x00007ff5f3ec8fdd in QSortFilterProxyModel::setData (this=<optimized out>, index=..., value=..., role=53) at itemviews/qsortfilterproxymodel.cpp:1728
#20 0x00007ff5ef633a64 in rootIndexAboutToBeRemoved (removedRootIndex=..., this=<optimized out>) at ../../akonadi/selectionproxymodel.cpp:59
#21 Akonadi::SelectionProxyModel::qt_metacall (this=0x2121130, _c=<optimized out>, _id=1, _a=0x7fffa123d450) at ./selectionproxymodel.moc:76
#22 0x00007ff5ef5df4fa in Akonadi::FavoriteCollectionsModel::qt_metacall (this=0x2121130, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa123d450) at ./favoritecollectionsmodel.moc:81
#23 0x00007ff5f2f4ceba in QMetaObject::activate (sender=0x2121130, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa123d450) at kernel/qobject.cpp:3278
#24 0x00007ff5f46337e2 in KSelectionProxyModel::rootIndexAboutToBeRemoved (this=<optimized out>, _t1=<optimized out>) at ./moc_kselectionproxymodel.cpp:147
#25 0x00007ff5f463643a in KSelectionProxyModelPrivate::sourceLayoutAboutToBeChanged (this=0x211d130) at ../../kdeui/itemviews/kselectionproxymodel.cpp:726
#26 0x00007ff5f464022e in KSelectionProxyModel::qt_metacall (this=0x2121130, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa123d730) at ./moc_kselectionproxymodel.cpp:131
#27 0x00007ff5ef633975 in Akonadi::SelectionProxyModel::qt_metacall (this=0x2121130, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa123d730) at ./selectionproxymodel.moc:70
#28 0x00007ff5ef5df4fa in Akonadi::FavoriteCollectionsModel::qt_metacall (this=0x2121130, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa123d730) at ./favoritecollectionsmodel.moc:81
#29 0x00007ff5f2f4ceba in QMetaObject::activate (sender=0x2006890, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#30 0x00007ff5f3ed014a in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x2007490, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1157
#31 0x00007ff5f3ed165b in QSortFilterProxyModel::qt_metacall (this=0x2006890, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffa123da40) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:130
#32 0x00007ff591be5548 in MailCommon::EntityCollectionOrderProxyModel::qt_metacall (this=0x2006890, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at ./entitycollectionorderproxymodel.moc:70
#33 0x00007ff5f2f4ceba in QMetaObject::activate (sender=0x2005ca0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa123da40) at kernel/qobject.cpp:3278
#34 0x00007ff5f2f95797 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#35 0x00007ff5f3ecfcdf in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x2006370, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1191
#36 0x00007ff5f3ed165b in QSortFilterProxyModel::qt_metacall (this=0x2005ca0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffa123dd20) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:130
#37 0x00007ff5f46103a0 in KRecursiveFilterProxyModel::qt_metacall (this=0x2005ca0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa123dd20) at ./krecursivefilterproxymodel.moc:78
#38 0x00007ff5f2f414ae in QMetaMethod::invoke (this=0x7fffa123df00, object=0x2005ca0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1597
#39 0x00007ff5f2f43690 in QMetaObject::invokeMethod (obj=0x2005ca0, member=<optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#40 0x00007ff5f460f6ab in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7ff5f47c22f3 "_q_sourceDataChanged", obj=0x2005ca0) at /usr/include/qt4/QtCore/qobjectdefs.h:410
#41 invokeDataChanged (bottomRight=..., topLeft=..., this=<optimized out>) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:55
#42 KRecursiveFilterProxyModelPrivate::sourceDataChanged (this=0x1d123b0, source_top_left=..., source_bottom_right=...) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:131
#43 0x00007ff5f4610496 in KRecursiveFilterProxyModel::qt_metacall (this=0x2005ca0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa123e410) at ./krecursivefilterproxymodel.moc:83
#44 0x00007ff5f2f4ceba in QMetaObject::activate (sender=0x20058e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa123e410) at kernel/qobject.cpp:3278
#45 0x00007ff5f2f95797 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#46 0x00007ff5f460d1b7 in KIdentityProxyModelPrivate::_k_sourceDataChanged (this=<optimized out>, topLeft=..., bottomRight=<optimized out>) at ../../kdeui/itemviews/kidentityproxymodel.cpp:572
#47 0x00007ff5f460e486 in KIdentityProxyModel::qt_metacall (this=0x20058e0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa123e5b0) at ./kidentityproxymodel.moc:128
#48 0x00007ff5f00d1700 in KPIM::StatisticsProxyModel::qt_metacall (this=0x20058e0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa123e5b0) at ./statisticsproxymodel.moc:72
#49 0x00007ff5f2f4ceba in QMetaObject::activate (sender=0x16f8cd0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa123e5b0) at kernel/qobject.cpp:3278
#50 0x00007ff5f2f95797 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#51 0x00007ff5f460d1b7 in KIdentityProxyModelPrivate::_k_sourceDataChanged (this=<optimized out>, topLeft=..., bottomRight=<optimized out>) at ../../kdeui/itemviews/kidentityproxymodel.cpp:572
#52 0x00007ff5f460e486 in KIdentityProxyModel::qt_metacall (this=0x16f8cd0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa123e720) at ./kidentityproxymodel.moc:128
#53 0x00007ff5f2f4ceba in QMetaObject::activate (sender=0x1fec870, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa123e720) at kernel/qobject.cpp:3278
#54 0x00007ff5f2f95797 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#55 0x00007ff5f3ecfcdf in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x2004300, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1191
#56 0x00007ff5f3ed165b in QSortFilterProxyModel::qt_metacall (this=0x1fec870, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffa123ea00) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:130
#57 0x00007ff5f46103a0 in KRecursiveFilterProxyModel::qt_metacall (this=0x1fec870, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa123ea00) at ./krecursivefilterproxymodel.moc:78
#58 0x00007ff5f2f414ae in QMetaMethod::invoke (this=0x7fffa123ebe0, object=0x1fec870, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1597
#59 0x00007ff5f2f43690 in QMetaObject::invokeMethod (obj=0x1fec870, member=<optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#60 0x00007ff5f460f6ab in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7ff5f47c22f3 "_q_sourceDataChanged", obj=0x1fec870) at /usr/include/qt4/QtCore/qobjectdefs.h:410
#61 invokeDataChanged (bottomRight=..., topLeft=..., this=<optimized out>) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:55
#62 KRecursiveFilterProxyModelPrivate::sourceDataChanged (this=0x1cf09e0, source_top_left=..., source_bottom_right=...) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:131
#63 0x00007ff5f4610496 in KRecursiveFilterProxyModel::qt_metacall (this=0x1fec870, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa123f0f0) at ./krecursivefilterproxymodel.moc:83
#64 0x00007ff5f2f4ceba in QMetaObject::activate (sender=0x1ca1720, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa123f0f0) at kernel/qobject.cpp:3278
#65 0x00007ff5f2f95797 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#66 0x00007ff5f3ecfcdf in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x1f13a80, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1191
#67 0x00007ff5f3ed165b in QSortFilterProxyModel::qt_metacall (this=0x1ca1720, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffa123f390) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:130
#68 0x00007ff5f2f4ceba in QMetaObject::activate (sender=0x1baf3d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa123f390) at kernel/qobject.cpp:3278
#69 0x00007ff5f2f95797 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#70 0x00007ff5ef5c9fb2 in Akonadi::EntityTreeModelPrivate::dataChanged (this=<optimized out>, top=..., bottom=...) at ../../akonadi/entitytreemodel_p.cpp:1574
#71 0x00007ff5ef5cf98c in Akonadi::EntityTreeModelPrivate::fetchJobDone (this=0x1f0cf40, job=<optimized out>) at ../../akonadi/entitytreemodel_p.cpp:1246
#72 0x00007ff5ef5c140b in Akonadi::EntityTreeModel::qt_metacall (this=0x1baf3d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa123f6d0) at ./entitytreemodel.moc:145
#73 0x00007ff5f2f4ceba in QMetaObject::activate (sender=0x274c180, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa123f6d0) at kernel/qobject.cpp:3278
#74 0x00007ff5f339f9d2 in KJob::result (this=<optimized out>, _t1=0x274c180) at ./kjob.moc:194
#75 0x00007ff5f339fa10 in KJob::emitResult (this=0x274c180) at ../../kdecore/jobs/kjob.cpp:318
#76 0x00007ff5ef608ced in Akonadi::Job::qt_metacall (this=0x274c180, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x5233ad0) at ./job.moc:91
#77 0x00007ff5ef5f5b25 in Akonadi::ItemFetchJob::qt_metacall (this=0x274c180, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x5233ad0) at ./itemfetchjob.moc:73
#78 0x00007ff5f2f50a5e in QObject::event (this=0x274c180, e=<optimized out>) at kernel/qobject.cpp:1217
#79 0x00007ff5f393b474 in notify_helper (e=0x590f070, receiver=0x274c180, this=0x14e8270) at kernel/qapplication.cpp:4486
#80 QApplicationPrivate::notify_helper (this=0x14e8270, receiver=0x274c180, e=0x590f070) at kernel/qapplication.cpp:4458
#81 0x00007ff5f39402e1 in QApplication::notify (this=0x7fffa123ff50, receiver=0x274c180, e=0x590f070) at kernel/qapplication.cpp:4365
#82 0x00007ff5f4650ae6 in KApplication::notify (this=0x7fffa123ff50, receiver=0x274c180, event=0x590f070) at ../../kdeui/kernel/kapplication.cpp:311
#83 0x00007ff5f2f39afc in QCoreApplication::notifyInternal (this=0x7fffa123ff50, receiver=0x274c180, event=0x590f070) at kernel/qcoreapplication.cpp:787
#84 0x00007ff5f2f3d51f in sendEvent (event=0x590f070, receiver=0x274c180) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#85 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14b86b0) at kernel/qcoreapplication.cpp:1428
#86 0x00007ff5f2f64a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#87 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#88 0x00007ff5ece0ba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#89 0x00007ff5ece0c258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#90 0x00007ff5ece0c429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#91 0x00007ff5f2f64ed6 in QEventDispatcherGlib::processEvents (this=0x14ba170, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#92 0x00007ff5f39e310e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#93 0x00007ff5f2f38cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#94 0x00007ff5f2f38ef7 in QEventLoop::exec (this=0x7fffa123fee0, flags=...) at kernel/qeventloop.cpp:201
#95 0x00007ff5f2f3d789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#96 0x0000000000403629 in main (argc=1, argv=0x7fffa1240578) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 292022, bug 290830, bug 290682, bug 290537, bug 290162.

Reported using DrKonqi
Comment 1 Sascha 2012-01-27 13:13:47 UTC
Created attachment 68237 [details]
strace kmail --nofork session

--- SIGABRT (Aborted) @ 0 (0) ---
rt_sigaction(SIGALRM, {SIG_DFL, [ALRM], SA_RESTORER|SA_RESTART, 0x7f90bc52a420}, {SIG_DFL, [], 0}, 8) = 0
alarm(3)                                = 0
write(2, "*** KMail got signal 6 (Exiting)"..., 33*** KMail got signal 6 (Exiting)
) = 33
write(2, "*** Dead letters dumped.\n", 25*** Dead letters dumped.
) = 25
sendmsg(3, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1 \0\0\0\307\10\0\0\230\0\0\0\1\1o\0\r\0\0\0/AgentMa"..., 168}, {"\27\0\0\0akonadi_pop3_resource_0\0\0\0\0\0", 32}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 200
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=16*1024}) = 0
close(3)                                = 0
close(4)                                = 0
close(5)                                = 0
[...]
close(1021)                             = -1 EBADF (Bad file descriptor)
close(1022)                             = -1 EBADF (Bad file descriptor)
close(1023)                             = -1 EBADF (Bad file descriptor)
write(2, "KCrash: Application 'kmail' cras"..., 40KCrash: Application 'kmail' crashing...
) = 40
write(2, "KCrash: Attempting to start /usr"..., 71KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
) = 71

apparently, all file descriptors have been consumed. I increased the limit to 16384, and then the crash would look similar, with the last line reading

close(16384)                             = -1 EBADF (Bad file descriptor)

May be related, the trace is full of messages like

recvmsg(3, 0x7ffffd5c88b0, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)

maybe that's the reason it's running out of descriptors?

Of course, it's very annoying not being able to start my main mailer :-(
Comment 2 Christophe Marin 2012-01-30 22:21:36 UTC

*** This bug has been marked as a duplicate of bug 280630 ***