Bug 289892

Summary: kmail 4.7.95 crash on startup
Product: [Applications] kmail2 Reporter: Balcaen John <balcaen.john>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Balcaen John 2011-12-27 00:21:51 UTC
Application: kmail (4.8 rc1)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-desktop-0.rc7.1.mga2 x86_64
Distribution: "Mageia Cauldron"

-- Information about the crash:
- What I was doing when the application crashed:
i simply start kmail and notice the crash.
It seems to crash when it start to pull imap folders.
Thoses crashes were not present in 4.7.90

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7fffd74a7700 (LWP 27784)):
#0  0x00007ffff3432594 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fffea04aa7c in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fffea04aba9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007ffff342eb99 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff53d10cd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffd6ba6700 (LWP 27785)):
#0  0x00007ffff53c40dd in read () from /lib64/libc.so.6
#1  0x00007fffee120baf in read (__nbytes=16, __buf=0x7fffd6ba5ca0, __fd=<optimized out>) at /usr/include/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0x66f5c0) at gwakeup.c:212
#3  0x00007fffee0e618d in g_main_context_check (context=0xa9e440, max_priority=2147483647, fds=0xc1e730, n_fds=1) at gmain.c:2955
#4  0x00007fffee0e6666 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0xa9e440, self=<optimized out>) at gmain.c:3118
#5  g_main_context_iterate (context=0xa9e440, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3058
#6  0x00007fffee0e67f4 in g_main_context_iteration (context=0xa9e440, may_block=1) at gmain.c:3182
#7  0x00007ffff5d1eee6 in QEventDispatcherGlib::processEvents (this=0xc25440, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007ffff5cf3412 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007ffff5cf360f in QEventLoop::exec (this=0x7fffd6ba5e20, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007ffff5c0af9f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#11 0x00007ffff5c0d9e5 in QThreadPrivate::start (arg=0xbffc90) at thread/qthread_unix.cpp:331
#12 0x00007ffff342eb99 in start_thread () from /lib64/libpthread.so.0
#13 0x00007ffff53d10cd in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7f98760 (LWP 27780)):
[KCrash Handler]
#6  Akonadi::CollectionStatisticsDelegate::paint (this=<optimized out>, painter=0x7fffffff9790, option=..., index=...) at /usr/src/debug/kdepimlibs-4.7.95/akonadi/collectionstatisticsdelegate.cpp:223
#7  0x00007ffff670996b in QListView::paintEvent (this=0xd149e0, e=<optimized out>) at itemviews/qlistview.cpp:1044
#8  0x00007ffff62320e8 in QWidget::event (this=0xd149e0, event=0x7fffffffa470) at kernel/qwidget.cpp:8441
#9  0x00007ffff65d6716 in QFrame::event (this=0xd149e0, e=0x7fffffffa470) at widgets/qframe.cpp:557
#10 0x00007ffff66e690b in QAbstractItemView::viewportEvent (this=0xd149e0, event=0x7fffffffa470) at itemviews/qabstractitemview.cpp:1628
#11 0x00007ffff5cf4398 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0xcec870, event=0x7fffffffa470) at kernel/qcoreapplication.cpp:902
#12 0x00007ffff61e1a2f in notify_helper (e=0x7fffffffa470, receiver=0xcec870, this=0x66dfd0) at kernel/qapplication.cpp:4477
#13 QApplicationPrivate::notify_helper (this=0x66dfd0, receiver=0xcec870, e=0x7fffffffa470) at kernel/qapplication.cpp:4453
#14 0x00007ffff61e68f1 in QApplication::notify (this=0x7fffffffd690, receiver=0xcec870, e=0x7fffffffa470) at kernel/qapplication.cpp:4360
#15 0x00007ffff7927b46 in KApplication::notify (this=0x7fffffffd690, receiver=0xcec870, event=0x7fffffffa470) at /usr/src/debug/kdelibs-4.7.95/kdeui/kernel/kapplication.cpp:311
#16 0x00007ffff5cf420c in QCoreApplication::notifyInternal (this=0x7fffffffd690, receiver=0xcec870, event=0x7fffffffa470) at kernel/qcoreapplication.cpp:787
#17 0x00007ffff622eff6 in sendSpontaneousEvent (event=0x7fffffffa470, receiver=0xcec870) at ../../src/corelib/kernel/qcoreapplication.h:218
#18 QWidgetPrivate::drawWidget (this=0xd02390, pdev=0xb89c08, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5528
#19 0x00007ffff622fbd0 in QWidgetPrivate::paintSiblingsRecursive (this=0xd0d850, pdev=0xb89c08, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5735
#20 0x00007ffff622fab0 in QWidgetPrivate::paintSiblingsRecursive (this=0xd0d850, pdev=0xb89c08, siblings=..., index=8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5722
#21 0x00007ffff622fab0 in QWidgetPrivate::paintSiblingsRecursive (this=0xd0d850, pdev=0xb89c08, siblings=..., index=9, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5722
#22 0x00007ffff622fab0 in QWidgetPrivate::paintSiblingsRecursive (this=0xd0d850, pdev=0xb89c08, siblings=..., index=10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5722
#23 0x00007ffff622fab0 in QWidgetPrivate::paintSiblingsRecursive (this=0xd0d850, pdev=0xb89c08, siblings=..., index=11, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5722
#24 0x00007ffff622ed2c in QWidgetPrivate::drawWidget (this=0xd0d850, pdev=0xb89c08, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5581
#25 0x00007ffff622fbd0 in QWidgetPrivate::paintSiblingsRecursive (this=0x9d7be0, pdev=0xb89c08, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5735
#26 0x00007ffff622fab0 in QWidgetPrivate::paintSiblingsRecursive (this=0x9d7be0, pdev=0xb89c08, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5722
#27 0x00007ffff622ed2c in QWidgetPrivate::drawWidget (this=0x9d7be0, pdev=0xb89c08, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5581
#28 0x00007ffff622fbd0 in QWidgetPrivate::paintSiblingsRecursive (this=0x9d72b0, pdev=0xb89c08, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5735
#29 0x00007ffff622fab0 in QWidgetPrivate::paintSiblingsRecursive (this=0x9d72b0, pdev=0xb89c08, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5722
#30 0x00007ffff622fab0 in QWidgetPrivate::paintSiblingsRecursive (this=0x9d72b0, pdev=0xb89c08, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5722
#31 0x00007ffff622ed2c in QWidgetPrivate::drawWidget (this=0x9d72b0, pdev=0xb89c08, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5581
#32 0x00007ffff622fbd0 in QWidgetPrivate::paintSiblingsRecursive (this=0x6f11a0, pdev=0xb89c08, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5735
#33 0x00007ffff622ed2c in QWidgetPrivate::drawWidget (this=0x6f11a0, pdev=0xb89c08, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5581
#34 0x00007ffff622fbd0 in QWidgetPrivate::paintSiblingsRecursive (this=0x6dceb0, pdev=0xb89c08, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5735
#35 0x00007ffff622ed2c in QWidgetPrivate::drawWidget (this=0x6dceb0, pdev=0xb89c08, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xb50f30) at kernel/qwidget.cpp:5581
#36 0x00007ffff63ee0c8 in QWidgetBackingStore::sync (this=0xb50f30) at painting/qbackingstore.cpp:1338
#37 0x00007ffff6225840 in QWidgetPrivate::syncBackingStore (this=0x6dceb0) at kernel/qwidget.cpp:1862
#38 0x00007ffff62325fc in QWidget::event (this=0xb3c1a0, event=0x1182110) at kernel/qwidget.cpp:8588
#39 0x00007ffff65eff0b in QMainWindow::event (this=0xb3c1a0, event=0x1182110) at widgets/qmainwindow.cpp:1478
#40 0x00007ffff7a01238 in KXmlGuiWindow::event (this=0xb3c1a0, ev=0x1182110) at /usr/src/debug/kdelibs-4.7.95/kdeui/xmlgui/kxmlguiwindow.cpp:126
#41 0x00007ffff61e1a64 in notify_helper (e=0x1182110, receiver=0xb3c1a0, this=0x66dfd0) at kernel/qapplication.cpp:4481
#42 QApplicationPrivate::notify_helper (this=0x66dfd0, receiver=0xb3c1a0, e=0x1182110) at kernel/qapplication.cpp:4453
#43 0x00007ffff61e68f1 in QApplication::notify (this=0x7fffffffd690, receiver=0xb3c1a0, e=0x1182110) at kernel/qapplication.cpp:4360
#44 0x00007ffff7927b46 in KApplication::notify (this=0x7fffffffd690, receiver=0xb3c1a0, event=0x1182110) at /usr/src/debug/kdelibs-4.7.95/kdeui/kernel/kapplication.cpp:311
#45 0x00007ffff5cf420c in QCoreApplication::notifyInternal (this=0x7fffffffd690, receiver=0xb3c1a0, event=0x1182110) at kernel/qcoreapplication.cpp:787
#46 0x00007ffff5cf75e8 in sendEvent (event=0x1182110, receiver=0xb3c1a0) at kernel/qcoreapplication.h:215
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x606480) at kernel/qcoreapplication.cpp:1428
#48 0x00007ffff5d1ea23 in sendPostedEvents () at kernel/qcoreapplication.h:220
#49 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#50 0x00007fffee0e636a in g_main_dispatch (context=0x65af90) at gmain.c:2513
#51 g_main_context_dispatch (context=0x65af90) at gmain.c:3050
#52 0x00007fffee0e6730 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x65af90, self=<optimized out>) at gmain.c:3121
#53 g_main_context_iterate (context=0x65af90, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3058
#54 0x00007fffee0e67f4 in g_main_context_iteration (context=0x65af90, may_block=1) at gmain.c:3182
#55 0x00007ffff5d1ee7f in QEventDispatcherGlib::processEvents (this=0x608090, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#56 0x00007ffff6284f8e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007ffff5cf3412 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007ffff5cf360f in QEventLoop::exec (this=0x7fffffffd570, flags=...) at kernel/qeventloop.cpp:201
#59 0x00007ffff5cf77d7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#60 0x0000000000402c43 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.7.95/kmail/main.cpp:145

Possible duplicates by query: bug 282037, bug 279928, bug 277256, bug 271393, bug 271139.

Reported using DrKonqi
Comment 1 Balcaen John 2011-12-27 00:22:59 UTC
Not sure if it's related but i also noticed once a crash of the maildispatcher agent
Comment 2 Balcaen John 2011-12-27 00:26:04 UTC
oups, i click too fast :/
I also noticed from the command line this : 

kmail2(28019)/kdepimlibs (mailtransport): Could not access Outbox.
Comment 3 Christophe Marin 2012-01-06 22:14:31 UTC

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