Bug 201710 - kmail crash after switch to another imap account
Summary: kmail crash after switch to another imap account
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-27 23:54 UTC by Christian Herzberg
Modified: 2009-10-07 18:33 UTC (History)
1 user (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 Christian Herzberg 2009-07-27 23:54:20 UTC
Application that crashed: kmail
Version of the application: 1.12.0
KDE Version: 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-13-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I'm reading imap mail on a gmail account. Switching some folder and go to another imap account from another mail provider. kmail crashes.
This crash accurred after another crash only minutes before. I reported it in Bug 201707. May be they belong together.

Regards,

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0xb61b8f15 in QPainterState (this=0x96e71a8) at painting/qpainter.cpp:7711
#7  0xb622563b in QRasterPaintEngineState (this=0x96e71a8) at painting/qpaintengine_raster.cpp:650
#8  0xb6233116 in QRasterPaintEngine::createState (this=0x96dacc8, orig=0x0) at painting/qpaintengine_raster.cpp:712
#9  0xb61b9bee in QPainter::begin (this=0xbfbb4b2c, pd=0xbfbb4b14) at painting/qpainter.cpp:1677
#10 0xb61baba8 in QPainter (this=0xbfbb4b2c, pd=0xbfbb4b14) at painting/qpainter.cpp:1402
#11 0xb61bf0b0 in QPainterPrivate::draw_helper (this=0x96e5910, originalPath=@0xbfbb4c04, op=<value optimized out>) at painting/qpainter.cpp:434
#12 0xb61c1958 in QPainter::drawRects (this=0xbfbb7028, rects=0xbfbb6804, rectCount=1) at painting/qpainter.cpp:3421
#13 0xb61c1adf in QPainter::fillRect (this=0xbfbb7028, r=@0xbfbb6804, brush=@0xbfbb639c) at ../../include/QtGui/../../src/gui/painting/qpainter.h:615
#14 0xb39b5ca6 in OxygenStyle::drawKStylePrimitive (this=0x87351b8, widgetType=KStyle::WT_Tree, primitive=3, opt=0xbfbb6a0c, r=@0xbfbb6804, pal=@0xbfbb686c, flags={i = -1078236940}, p=0xbfbb7028, 
    widget=0x89a43f0, kOpt=0x0) at /build/buildd/kdebase-runtime-4.2.98/kstyles/oxygen/oxygen.cpp:1736
#15 0xb7de4282 in KStyle::drawPrimitive (this=0x87351b8, elem=QStyle::PE_IndicatorBranch, option=0xbfbb6a0c, painter=0xbfbb7028, widget=0x89a43f0)
    at /build/buildd/kde4libs-4.2.98a/kdeui/kernel/kstyle.cpp:1043
#16 0xb663fbd3 in QTreeView::drawBranches (this=0x89a43f0, painter=0xbfbb7028, rect=@0xbfbb6d64, index=@0x94f9460) at itemviews/qtreeview.cpp:1732
#17 0xb66422fc in QTreeView::drawRow (this=0x89a43f0, painter=0xbfbb7028, option=@0xbfbb6ed4, index=@0x94f9460) at itemviews/qtreeview.cpp:1614
#18 0xb6649f67 in QTreeView::drawTree (this=0x89a43f0, painter=0xbfbb7028, region=@0xbfbb78d0) at itemviews/qtreeview.cpp:1394
#19 0xb664a864 in QTreeView::paintEvent (this=0x89a43f0, event=0xbfbb78b4) at itemviews/qtreeview.cpp:1272
#20 0xb7358ba6 in KMail::FolderView::paintEvent (this=0x89a43f0, e=0xbfbb78b4) at /build/buildd/kdepim-4.2.98/kmail/folderview.cpp:2133
#21 0xb60e291e in QWidget::event (this=0x89a43f0, event=0xbfbb78b4) at kernel/qwidget.cpp:7654
#22 0xb64bc993 in QFrame::event (this=0x89a43f0, e=0xbfbb78b4) at widgets/qframe.cpp:559
#23 0xb655c94f in QAbstractScrollArea::viewportEvent (this=0x89a43f0, e=0x96e7101) at widgets/qabstractscrollarea.cpp:962
#24 0xb660e647 in QAbstractItemView::viewportEvent (this=0x89a43f0, event=0xbfbb78b4) at itemviews/qabstractitemview.cpp:1466
#25 0xb66490c4 in QTreeView::viewportEvent (this=0x89a43f0, event=0xbfbb78b4) at itemviews/qtreeview.cpp:1257
#26 0xb655ef55 in QAbstractScrollAreaFilter::eventFilter (this=0x8b020c0, o=0x8b01f28, e=0xbfbb78b4) at widgets/qabstractscrollarea_p.h:100
#27 0xb5dddc5a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x869f9c0, receiver=0x8b01f28, event=0xbfbb78b4) at kernel/qcoreapplication.cpp:718
#28 0xb608be7a in QApplicationPrivate::notify_helper (this=0x869f9c0, receiver=0x8b01f28, e=0xbfbb78b4) at kernel/qapplication.cpp:4080
#29 0xb6094282 in QApplication::notify (this=0xbfbb8478, receiver=0x8b01f28, e=0xbfbb78b4) at kernel/qapplication.cpp:4049
#30 0xb7dca5cd in KApplication::notify (this=0xbfbb8478, receiver=0x8b01f28, event=0xbfbb78b4) at /build/buildd/kde4libs-4.2.98a/kdeui/kernel/kapplication.cpp:302
#31 0xb5ddea3b in QCoreApplication::notifyInternal (this=0xbfbb8478, receiver=0x8b01f28, event=0xbfbb78b4) at kernel/qcoreapplication.cpp:602
#32 0xb6096fee in QCoreApplication::sendSpontaneousEvent (receiver=0x8b01f28, event=0x96e7101) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#33 0xb60ea719 in QWidgetPrivate::drawWidget (this=0x89a4750, pdev=0x8902ecc, rgn=@0xbfbb7ae0, offset=@0xbfbb7ab0, flags=4, sharedPainter=0x0, backingStore=0x869a228) at kernel/qwidget.cpp:5046
#34 0xb62a6fc5 in QWidgetBackingStore::sync (this=0x869a228) at painting/qbackingstore.cpp:1258
#35 0xb60dabb6 in QWidgetPrivate::syncBackingStore (this=0x88e8850) at kernel/qwidget.cpp:1603
#36 0xb60e2d85 in QWidget::event (this=0x8924560, event=0x9342be0) at kernel/qwidget.cpp:7794
#37 0xb64da0d7 in QMainWindow::event (this=0x8924560, event=0x9342be0) at widgets/qmainwindow.cpp:1396
#38 0xb7eaeec7 in KMainWindow::event (this=0x8924560, ev=0x9342be0) at /build/buildd/kde4libs-4.2.98a/kdeui/widgets/kmainwindow.cpp:1094
#39 0xb7ef484c in KXmlGuiWindow::event (this=0x8924560, ev=0x9342be0) at /build/buildd/kde4libs-4.2.98a/kdeui/xmlgui/kxmlguiwindow.cpp:131
#40 0xb608be9c in QApplicationPrivate::notify_helper (this=0x869f9c0, receiver=0x8924560, e=0x9342be0) at kernel/qapplication.cpp:4084
#41 0xb6094282 in QApplication::notify (this=0xbfbb8478, receiver=0x8924560, e=0x9342be0) at kernel/qapplication.cpp:4049
#42 0xb7dca5cd in KApplication::notify (this=0xbfbb8478, receiver=0x8924560, event=0x9342be0) at /build/buildd/kde4libs-4.2.98a/kdeui/kernel/kapplication.cpp:302
#43 0xb5ddea3b in QCoreApplication::notifyInternal (this=0xbfbb8478, receiver=0x8924560, event=0x9342be0) at kernel/qcoreapplication.cpp:602
#44 0xb5ddf695 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x86791f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#45 0xb5ddf88d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#46 0xb5e0a7ef in postEventSourceDispatch (s=0x8715fd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#47 0xb41c9b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0xb41cd0eb in ?? () from /usr/lib/libglib-2.0.so.0
#49 0xb41cd268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#50 0xb5e0a438 in QEventDispatcherGlib::processEvents (this=0x86793c8, flags={i = -1078230312}) at kernel/qeventdispatcher_glib.cpp:323
#51 0xb612d365 in QGuiEventDispatcherGlib::processEvents (this=0x86793c8, flags={i = -1078230264}) at kernel/qguieventdispatcher_glib.cpp:202
#52 0xb5ddd06a in QEventLoop::processEvents (this=0xbfbb8380, flags={i = -1078230200}) at kernel/qeventloop.cpp:149
#53 0xb5ddd4aa in QEventLoop::exec (this=0xbfbb8380, flags={i = -1078230136}) at kernel/qeventloop.cpp:200
#54 0xb5ddf959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#55 0xb608bd17 in QApplication::exec () at kernel/qapplication.cpp:3553
#56 0x0804a7d0 in main (argc=10367944, argv=0xb6a9a578) at /build/buildd/kdepim-4.2.98/kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Christian Herzberg 2009-07-28 00:04:55 UTC
I forget that I entered the folder and try to move a spam mail in another folder. But before I reach the bottom of the folder view to scroll to the right folder, kmail crash. 

Good Night ;-)
Comment 2 Dario Andres 2009-07-28 14:53:22 UTC
Looks like a Qt RasterEngine related crash. (which could be fixed on Qt4.5.2+)
It is not related to bug 201707.

If you can reproduce this crash at will, could you try to:
- Close Kontact/KMail
- Run Konsole
- Type "kmail -graphicssystem native" and press Return
KMail should start
- Reproduce the crash situation
- Check if it crashes.

Thanks
Comment 3 Christian Herzberg 2009-07-30 04:40:38 UTC
I believe, I had some hardware issues here. After a lot of unusual crashes (kwin, plasma, kdm, firefox, virtualbox) I reinstalled the os. I'm not on kde4.3 rc3 now, and some crashes and timeouts happen again. It's possible a dying harddisk. May be this bug should be closed without any investigation.
Comment 4 Christophe Marin 2009-07-31 21:47:36 UTC
ok, let's change the status. You may reopen this report if you experience this issue again (which may already be fixed in Qt 4.5.2)
Comment 5 Christian Herzberg 2009-10-07 18:33:26 UTC
I work with kde 4.3.1 and qt 4.5.2 for a while and can't reproduce this kind of error. I close this bug now.