Bug 257336

Summary: Kontact crashes when switching from calendar to mail
Product: [Applications] kontact Reporter: Chris Tanner <christopher.tanner>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: alassane.maiga, andresbajotierra, annma, arichardson.kde, coolmojo, cyrille.dunant, darryl, dev+kde, faure, hobbyblobby, javier, marian.trenkwalder, michal.vyskocil, robby.engelmann
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Chris Tanner 2010-11-19 17:13:37 UTC
Application: kontact (4.6 pre)
KDE Platform Version: 4.5.76 (4.6 >= 20101111)
Qt Version: 4.7.1
Operating System: Linux 2.6.36-desktop-2mnb x86_64
Distribution: "Mandriva Linux 2011.0"

-- Information about the crash:
- What I was doing when the application crashed: I opened Kontact and calendar appeared. When I tried to switch to mail, if something crashed. Kontact is still running.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f79b4b5a720 (LWP 17565))]

Thread 2 (Thread 0x7f799cb98710 (LWP 17566)):
#0  0x00007f79ad07023c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79b1578964 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f79ad06bd25 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f79b20f4efd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f79b4b5a720 (LWP 17565)):
[KCrash Handler]
#6  QModelIndex (this=0x1b1f2d0, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x1b1f2d0, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007f79b36fcef1 in parent (this=0x1b0e450, index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0x1b0e450, index=...) at itemviews/qtreeview.cpp:2758
#10 0x00007f79b37010f4 in QTreeViewPrivate::itemHeight (this=0x1b1e560, item=6) at itemviews/qtreeview.cpp:3229
#11 0x00007f79b370138f in QTreeViewPrivate::updateScrollBars (this=0x1b1e560) at itemviews/qtreeview.cpp:3452
#12 0x00007f79b370175d in QTreeView::updateGeometries (this=0x1b0e450) at itemviews/qtreeview.cpp:2686
#13 0x00007f79b3204a7e in QWidget::event (this=0x1b0e450, event=0x7fff9de272a0) at kernel/qwidget.cpp:8354
#14 0x00007f79b35af666 in QFrame::event (this=0x1b0e450, e=0x7fff9de272a0) at widgets/qframe.cpp:557
#15 0x00007f79b36c0103 in QAbstractItemView::viewportEvent (this=0x1b0e450, event=0x7fff9de272a0) at itemviews/qabstractitemview.cpp:1619
#16 0x00007f79b3704d95 in QTreeView::viewportEvent (this=0x1b0e450, event=0x7fff9de272a0) at itemviews/qtreeview.cpp:1256
#17 0x00007f79b27f08d7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1b0c4b0, event=0x7fff9de272a0) at kernel/qcoreapplication.cpp:847
#18 0x00007f79b31b3381 in QApplicationPrivate::notify_helper (this=0x130a200, receiver=0x1b0c4b0, e=0x7fff9de272a0) at kernel/qapplication.cpp:4441
#19 0x00007f79b31b7eca in QApplication::notify (this=<value optimized out>, receiver=0x1b0c4b0, e=0x7fff9de272a0) at kernel/qapplication.cpp:4324
#20 0x00007f79b3ebca16 in KApplication::notify (this=0x7fff9de2a150, receiver=0x1b0c4b0, event=0x7fff9de272a0) at /usr/src/debug/kdelibs-4.5.76svn1197335/kdeui/kernel/kapplication.cpp:311
#21 0x00007f79b27f074c in QCoreApplication::notifyInternal (this=0x7fff9de2a150, receiver=0x1b0c4b0, event=0x7fff9de272a0) at kernel/qcoreapplication.cpp:732
#22 0x00007f79b32005af in sendEvent (this=0x1b097e0, recursive=false, disableUpdates=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#23 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x1b097e0, recursive=false, disableUpdates=<value optimized out>) at kernel/qwidget.cpp:7270
#24 0x00007f79b32082b3 in QWidgetPrivate::show_helper (this=<value optimized out>) at kernel/qwidget.cpp:7321
#25 0x00007f79b320870a in QWidget::setVisible (this=0x1b0c4b0, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#26 0x00007f79b3208266 in show (this=<value optimized out>, spontaneous=false) at ../../src/gui/kernel/qwidget.h:487
#27 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#28 0x00007f79b32082cf in QWidgetPrivate::show_helper (this=<value optimized out>) at kernel/qwidget.cpp:7327
#29 0x00007f79b320870a in QWidget::setVisible (this=0x1b0e450, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#30 0x00007f79b3208266 in show (this=<value optimized out>, spontaneous=false) at ../../src/gui/kernel/qwidget.h:487
#31 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#32 0x00007f79b32082cf in QWidgetPrivate::show_helper (this=<value optimized out>) at kernel/qwidget.cpp:7327
#33 0x00007f79b320870a in QWidget::setVisible (this=0x1b006e0, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#34 0x00007f79b3208266 in show (this=<value optimized out>, spontaneous=false) at ../../src/gui/kernel/qwidget.h:487
#35 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#36 0x00007f79b32082cf in QWidgetPrivate::show_helper (this=<value optimized out>) at kernel/qwidget.cpp:7327
#37 0x00007f79b320870a in QWidget::setVisible (this=0x1bbf690, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#38 0x00007f79b3208266 in show (this=<value optimized out>, spontaneous=false) at ../../src/gui/kernel/qwidget.h:487
#39 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#40 0x00007f79b32082cf in QWidgetPrivate::show_helper (this=<value optimized out>) at kernel/qwidget.cpp:7327
#41 0x00007f79b320870a in QWidget::setVisible (this=0x1a3d900, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#42 0x00007f79b3208266 in show (this=<value optimized out>, spontaneous=false) at ../../src/gui/kernel/qwidget.h:487
#43 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#44 0x00007f79b32082cf in QWidgetPrivate::show_helper (this=<value optimized out>) at kernel/qwidget.cpp:7327
#45 0x00007f79b320870a in QWidget::setVisible (this=0x1a3d730, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#46 0x00007f79b3208266 in show (this=<value optimized out>, spontaneous=false) at ../../src/gui/kernel/qwidget.h:487
#47 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#48 0x00007f79b32082cf in QWidgetPrivate::show_helper (this=<value optimized out>) at kernel/qwidget.cpp:7327
#49 0x00007f79b320870a in QWidget::setVisible (this=0x1afbf60, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#50 0x00007f79b3208266 in show (this=<value optimized out>, spontaneous=false) at ../../src/gui/kernel/qwidget.h:487
#51 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#52 0x00007f79b32082cf in QWidgetPrivate::show_helper (this=<value optimized out>) at kernel/qwidget.cpp:7327
#53 0x00007f79b320870a in QWidget::setVisible (this=0x1af92a0, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#54 0x00007f79b31e9129 in show (this=0x14314c0, index=1) at ../../src/gui/kernel/qwidget.h:487
#55 QStackedLayout::setCurrentIndex (this=0x14314c0, index=1) at kernel/qstackedlayout.cpp:311
#56 0x00007f79b47872ab in Kontact::MainWindow::selectPlugin (this=0x1443570, plugin=0x15011d0) at /usr/src/debug/kdepim-4.5.76svn1196728/kontact/src/mainwindow.cpp:816
#57 0x00007f79b4786025 in Kontact::MainWindow::qt_metacall (this=0x1443570, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9de281f0)
    at /usr/src/debug/kdepim-4.5.76svn1196728/build/kontact/src/mainwindow.moc:115
#58 0x00007f79b2804fef in QMetaObject::activate (sender=0x142a500, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff9de281f0) at kernel/qobject.cpp:3272
#59 0x00007f79b478bc3f in Kontact::SidePaneBase::pluginSelected (this=<value optimized out>, _t1=0x15011d0) at /usr/src/debug/kdepim-4.5.76svn1196728/build/kontact/src/sidepanebase.moc:90
#60 0x00007f79b478bc9c in Kontact::SidePaneBase::qt_metacall (this=0x142a500, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9de28340)
    at /usr/src/debug/kdepim-4.5.76svn1196728/build/kontact/src/sidepanebase.moc:77
#61 0x00007f79b478bd18 in Kontact::IconSidePane::qt_metacall (this=0x142a500, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/kdepim-4.5.76svn1196728/build/kontact/src/iconsidepane.moc:145
#62 0x00007f79b2804fef in QMetaObject::activate (sender=0x1437ac0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff9de28340) at kernel/qobject.cpp:3272
#63 0x00007f79b478c36f in Kontact::Navigator::pluginActivated (this=<value optimized out>, _t1=0x15011d0) at /usr/src/debug/kdepim-4.5.76svn1196728/build/kontact/src/iconsidepane.moc:96
#64 0x00007f79b478c961 in Kontact::Navigator::slotCurrentChanged (this=0x1437ac0, current=...) at /usr/src/debug/kdepim-4.5.76svn1196728/kontact/src/iconsidepane.cpp:475
#65 0x00007f79b478ca19 in Kontact::Navigator::qt_metacall (this=0x1437ac0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9de284c0)
    at /usr/src/debug/kdepim-4.5.76svn1196728/build/kontact/src/iconsidepane.moc:82
#66 0x00007f79b2804fef in QMetaObject::activate (sender=0x1433690, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff9de284c0) at kernel/qobject.cpp:3272
#67 0x00007f79b37154da in QItemSelectionModel::currentChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#68 0x00007f79b37155d2 in QItemSelectionModel::setCurrentIndex (this=0x1433690, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1156
#69 0x00007f79b36c2caa in QAbstractItemView::mousePressEvent (this=0x1437ac0, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1657
#70 0x00007f79b3204d89 in QWidget::event (this=0x1437ac0, event=0x7fff9de29460) at kernel/qwidget.cpp:8196
#71 0x00007f79b35af666 in QFrame::event (this=0x1437ac0, e=0x7fff9de29460) at widgets/qframe.cpp:557
#72 0x00007f79b36c0103 in QAbstractItemView::viewportEvent (this=0x1437ac0, event=0x7fff9de29460) at itemviews/qabstractitemview.cpp:1619
#73 0x00007f79b27f08d7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1311530, event=0x7fff9de29460) at kernel/qcoreapplication.cpp:847
#74 0x00007f79b31b3381 in QApplicationPrivate::notify_helper (this=0x130a200, receiver=0x1311530, e=0x7fff9de29460) at kernel/qapplication.cpp:4441
#75 0x00007f79b31b874a in QApplication::notify (this=<value optimized out>, receiver=0x1311530, e=0x7fff9de29460) at kernel/qapplication.cpp:4006
#76 0x00007f79b3ebca16 in KApplication::notify (this=0x7fff9de2a150, receiver=0x1311530, event=0x7fff9de29460) at /usr/src/debug/kdelibs-4.5.76svn1197335/kdeui/kernel/kapplication.cpp:311
#77 0x00007f79b27f074c in QCoreApplication::notifyInternal (this=0x7fff9de2a150, receiver=0x1311530, event=0x7fff9de29460) at kernel/qcoreapplication.cpp:732
#78 0x00007f79b31b43b5 in sendEvent (receiver=0x1311530, event=0x7fff9de29460, alienWidget=0x1311530, nativeWidget=0x1443ae0, buttonDown=0x7f79b3c8c158, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#79 QApplicationPrivate::sendMouseEvent (receiver=0x1311530, event=0x7fff9de29460, alienWidget=0x1311530, nativeWidget=0x1443ae0, buttonDown=0x7f79b3c8c158, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3105
#80 0x00007f79b3232af8 in QETWidget::translateMouseEvent (this=0x1443ae0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4438
#81 0x00007f79b32311d9 in QApplication::x11ProcessEvent (this=0x7fff9de2a150, event=0x7fff9de29db0) at kernel/qapplication_x11.cpp:3564
#82 0x00007f79b3258aa2 in x11EventSourceDispatch (s=0x1317730, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#83 0x00007f79acb3c1e3 in g_main_dispatch (context=0x130dd00) at gmain.c:2149
#84 g_main_context_dispatch (context=0x130dd00) at gmain.c:2702
#85 0x00007f79acb3c9c0 in g_main_context_iterate (context=0x130dd00, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#86 0x00007f79acb3cc5d in g_main_context_iteration (context=0x130dd00, may_block=1) at gmain.c:2843
#87 0x00007f79b281b87f in QEventDispatcherGlib::processEvents (this=0x12dfe60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#88 0x00007f79b325873e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#89 0x00007f79b27efae2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#90 0x00007f79b27efd2c in QEventLoop::exec (this=0x7fff9de2a0c0, flags=...) at kernel/qeventloop.cpp:201
#91 0x00007f79b27f41eb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#92 0x0000000000403d72 in main (argc=1, argv=0x7fff9de2a678) at /usr/src/debug/kdepim-4.5.76svn1196728/kontact/src/main.cpp:217

Possible duplicates by query: bug 257334, bug 255994, bug 255893, bug 255406, bug 254762.

Reported using DrKonqi
Comment 1 Michal Vyskocil 2010-11-24 14:19:05 UTC
Created attachment 53689 [details]
New crash information added by DrKonqi

kontact (4.6 pre) on KDE Platform 4.5.80 (4.6 Beta1) using Qt 4.7.1

- What I was doing when the application crashed:

I got a conflict dialog in kmail about conflicting messages - however the diff was only in time entry. Anyway I clicked on use left and then kontact crashed. After that every run of kontact shows calendar and click on mail tab ends up with a crash.

- Unusual behavior I noticed:

Kontact crashed.

- Custom settings of the application:

Just IMAP respirce

-- Backtrace (Reduced):
#6  QModelIndex (this=0xbe5380, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xbe5380, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007f242c510be1 in parent (this=0xc04b60, index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0xc04b60, index=...) at itemviews/qtreeview.cpp:2758
#10 0x00007f242c511314 in QTreeViewPrivate::itemHeight (this=0xc0b8f0, item=<value optimized out>) at itemviews/qtreeview.cpp:3229
Comment 2 Michal Vyskocil 2010-11-24 14:20:41 UTC
Run of kmail works well, just switch from calendar causes this error.
Comment 3 Javier Llorente 2010-11-27 17:46:56 UTC
If I run kontact --module korganizer and switch to kmail, it doesn't crash.

openSUSE 11.4 Milestone 4, Qt 4.7.1, KDE 4.5.80 (4.6 Beta1)
Comment 4 Javier Llorente 2010-11-27 17:49:26 UTC
I forgot to mention that I didn't get a dialog in kmail about conflicting messages.
Comment 5 Felix Lemke 2010-11-29 12:17:50 UTC
Created attachment 53851 [details]
New crash information added by DrKonqi

kontact (4.6 pre) on KDE Platform 4.5.80 (4.6 Beta1) using Qt 4.7.1

- What I was doing when the application crashed: I start kontact and the akregator module is opened. When I switch to kmail kontact crash.

Starting kmail without kontact works.

-- Backtrace (Reduced):
#6  QModelIndex (this=0xf2b680, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xf2b680, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007f0c7c0f27e1 in parent (this=0xf03700, index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0xf03700, index=...) at itemviews/qtreeview.cpp:2758
#10 0x00007f0c7c0f2f14 in QTreeViewPrivate::itemHeight (this=0xf290c0, item=19) at itemviews/qtreeview.cpp:3229
Comment 6 Anne-Marie Mahfouf 2010-11-29 20:48:59 UTC
 BugsQuad: seems indeed a duplicate of 254762
Comment 7 Darryl Kirby 2010-12-03 15:19:47 UTC
Created attachment 54036 [details]
New crash information added by DrKonqi

kontact (4.6 pre) on KDE Platform 4.5.80 (4.6 Beta1) using Qt 4.7.1

- What I was doing when the application crashed:
Switching from contacts to kmail in Kontact - crashes kontact every time!

-- Backtrace (Reduced):
#6  QModelIndex (other=<value optimized out>, this=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (other=<value optimized out>, this=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007f8925e6a56f in parent (this=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=<value optimized out>) at itemviews/qtreeview.cpp:2758
#10 0x00007f8925e6accc in QTreeViewPrivate::itemHeight (this=0x1755480, item=11) at itemviews/qtreeview.cpp:3229
Comment 8 Dario Andres 2010-12-07 01:27:13 UTC
[Comment from a bug triager]
Note: this seems related to the crash at bug 250138 (changing Kontact sidebar options), similar backtrace, and it only seems to affect installations with Qt 4.7 (users with Qt 4.6 have reported this doesn't happen)
Those two crashes may be related
Comment 9 Dario Andres 2010-12-07 01:27:37 UTC
*** Bug 259015 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2010-12-13 11:12:47 UTC
*** Bug 259683 has been marked as a duplicate of this bug. ***
Comment 11 Christophe Marin 2010-12-13 11:16:11 UTC
*** Bug 259668 has been marked as a duplicate of this bug. ***
Comment 12 gpe 2010-12-17 14:10:34 UTC
Created attachment 54861 [details]
New crash information added by DrKonqi

kontact (4.6 beta2) on KDE Platform 4.5.86 (4.6 >= 20101210) "release 9" using Qt 4.7.1

- What I was doing when the application crashed:

I was switching to KMail in Kontact using the button on the sidebar. Using Qt Version 4.7.1

-- Backtrace (Reduced):
#6  QModelIndex (this=0xb56c60, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xb56c60, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007fe9a550f361 in parent (this=0xb3ede0, index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0xb3ede0, index=...) at itemviews/qtreeview.cpp:2758
#10 0x00007fe9a550fa94 in QTreeViewPrivate::itemHeight (this=0xb3da00, item=<value optimized out>) at itemviews/qtreeview.cpp:3229
Comment 13 Alex Richardson 2010-12-17 17:12:15 UTC
Created attachment 54868 [details]
New crash information added by DrKonqi

kontact (4.6 beta2) on KDE Platform 4.5.86 (4.6 >= 20101210) "release 9" using Qt 4.7.1

I got a dialog about conflicting messages, there I selescted keep both, then the message was duplicated and this dialog kept appearing. There I always clicked keep right, but the dialog with exactly the same diff kept appearing, so I exited Kontact. When I then tried to start it again everytime KMail is started I get this crash. I tried synching the collection with akonadiconsole, moving all messages from my inbox to a backup folder (since it was a message in my inbox causing this dialog to appear), deleting kmail2rc (this seemed to work for one start, but now the error is back).
I really don't know what to do, this is a really big issue for me since I now can't read my e-mails anymore. I can put up with the number of messages not being shown in the tray icon or similar small issues, but this problem is almost forcing me to switch to kmail 1.

-- Backtrace (Reduced):
#6  QModelIndex (this=0xcb65d0, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xcb65d0, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007f34e22c1b71 in parent (this=0xc9c0b0, index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0xc9c0b0, index=...) at itemviews/qtreeview.cpp:2758
#10 0x00007f34e22c22a4 in QTreeViewPrivate::itemHeight (this=0xcc54c0, item=32) at itemviews/qtreeview.cpp:3229
Comment 14 Alex Richardson 2010-12-17 17:25:05 UTC
having deleted kmail2rc seems to have fixed the problem for now. However it now constantly shows me 7 unread messages in my inbox. How do I fix this issue?
Comment 15 gpe 2010-12-17 17:38:45 UTC
(In reply to comment #14)
> having deleted kmail2rc seems to have fixed the problem for now. However it now
> constantly shows me 7 unread messages in my inbox. How do I fix this issue?

try to remove the account from the Akonadi resources configuration then recreate it.
Comment 16 gpe 2010-12-21 13:43:33 UTC
Created attachment 55127 [details]
New crash information added by DrKonqi

kontact (4.6 beta3) on KDE Platform 4.5.86 (4.6 >= 20101210) "release 2" using Qt 4.7.1

- What I was doing when the application crashed:

I was starting up kontact, then clicked on  KMail button from the side panel. KMail is at svn1207757.

-- Backtrace (Reduced):
#6  QModelIndex (this=0xb3a6b0, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xb3a6b0, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007f86e907b361 in parent (this=0xb23500, index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0xb23500, index=...) at itemviews/qtreeview.cpp:2758
#10 0x00007f86e907ba94 in QTreeViewPrivate::itemHeight (this=0xb1add0, item=<value optimized out>) at itemviews/qtreeview.cpp:3229
Comment 17 Dario Andres 2010-12-25 16:57:02 UTC
[Comment from a bug triager]
As described in bug 219964 comment 13, this may be a Qt issue which should be fixed soon.
Regards
Comment 18 Frank Steinmetzger 2011-01-07 04:57:54 UTC
Created attachment 55669 [details]
New crash information added by DrKonqi

kontact (4.6 beta3) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.1

- What I was doing when the application crashed:

I tried to confirm another mail bug for which I needed Kontact/KMail closed. So I quit Kontact and waited a while. Then I restarted Kontact which was last open on the Notes page. Switching to the mail component causes the crash. I have no popup about conflicting messages though.

-- Backtrace (Reduced):
#7  QModelIndex (this=0x9481838, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x9481838, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#9  0xb6ff4037 in parent (this=0x9484058, index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#10 QTreeView::indexRowSizeHint (this=0x9484058, index=...) at itemviews/qtreeview.cpp:2758
#11 0xb6ff4753 in QTreeViewPrivate::itemHeight (this=0x947e308, item=32) at itemviews/qtreeview.cpp:3229
Comment 19 Frank Steinmetzger 2011-01-07 05:02:29 UTC
Addendum to the previous comment:
now that the bug report window is closed, I could start KMail normally (before that it complained about Kontact still running). And after this run of KMail, I can also access the mail component in Kontact normally again.
Comment 20 Christophe Marin 2011-01-10 12:39:41 UTC
*** Bug 262636 has been marked as a duplicate of this bug. ***
Comment 21 David Faure 2011-01-11 21:40:31 UTC
Same QTreeview crash as in bug 219964

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