Bug 250138

Summary: Kontact crashed when switching sidebar options (small to large icons, or, show icons only) (Qt 4.7) [QModelIndex, QSortFilterProxyModel::parent, QPersistentModelIndex::parent]
Product: [Applications] kontact Reporter: bugs.crash
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: aifesteves, zory.marin
Priority: NOR    
Version: 4.4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.4.10
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
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
Kontact crash (4.5.80, Qt 4.7.1)
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
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
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 bugs.crash 2010-09-04 06:42:17 UTC
Application: kontact (4.4.5)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

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

I had just switched from "Icons and Text" to "Icons" (which worked fine) and then tried to switch from the default icon size to large icons. At that point it crashed.

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

Thread 2 (Thread 0xb2295b70 (LWP 19849)):
#0  0x022ede16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x007a148b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x00877965 in QTimerInfoList::updateCurrentTime (this=0x9bbae4c) at kernel/qeventdispatcher_unix.cpp:339
#4  0x008779aa in QTimerInfoList::timerWait (this=0x9bbae4c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00875a38 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb229509c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00875ac5 in timerSourcePrepare (source=0x0, timeout=0x22f1ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x063e2aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x063e2ee9 in ?? () from /lib/libglib-2.0.so.0
#9  0x063e34b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0087582f in QEventDispatcherGlib::processEvents (this=0x9ea4900, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x00845a99 in QEventLoop::processEvents (this=0xb2295270, flags=) at kernel/qeventloop.cpp:149
#12 0x00845f1a in QEventLoop::exec (this=0xb2295270, flags=...) at kernel/qeventloop.cpp:201
#13 0x00742c5e in QThread::exec (this=0x9ff2208) at thread/qthread.cpp:490
#14 0x008249ab in QInotifyFileSystemWatcherEngine::run (this=0x9ff2208) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00745f39 in QThreadPrivate::start (arg=0x9ff2208) at thread/qthread_unix.cpp:266
#16 0x023a496e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0x00cd6a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7710730 (LWP 19791)):
[KCrash Handler]
#7  QModelIndex (this=0x97683a0, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x97683a0, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#9  0x0083953d in QModelIndex::parent (this=0x9f4b7d4) at kernel/qabstractitemmodel.h:389
#10 QPersistentModelIndex::parent (this=0x9f4b7d4) at kernel/qabstractitemmodel.cpp:347
#11 0x08fa7b8a in QItemSelectionRange::isValid (this=0x9643ff0, index=...) at itemviews/qitemselectionmodel.h:108
#12 QItemSelectionModel::isSelected (this=0x9643ff0, index=...) at itemviews/qitemselectionmodel.cpp:1187
#13 0x08f74e30 in QListView::paintEvent (this=0x96f8050, e=0xbfd976f4) at itemviews/qlistview.cpp:984
#14 0x089dc1c6 in QWidget::event (this=0x96f8050, event=0xbfd976f4) at kernel/qwidget.cpp:8304
#15 0x08dfbfb3 in QFrame::event (this=0x96f8050, e=0xbfd976f4) at widgets/qframe.cpp:557
#16 0x08e98e42 in QAbstractScrollArea::viewportEvent (this=0x97683b0, e=0x97683a0) at widgets/qabstractscrollarea.cpp:1043
#17 0x08f54957 in QAbstractItemView::viewportEvent (this=0x96f8050, event=0xbfd976f4) at itemviews/qabstractitemview.cpp:1619
#18 0x08e9b885 in QAbstractScrollAreaPrivate::viewportEvent (this=0x96487a0, o=0x9640f88, e=0xbfd976f4) at widgets/qabstractscrollarea_p.h:100
#19 QAbstractScrollAreaFilter::eventFilter (this=0x96487a0, o=0x9640f88, e=0xbfd976f4) at widgets/qabstractscrollarea_p.h:116
#20 0x0084674a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x963bac8, receiver=0x9640f88, event=0xbfd976f4) at kernel/qcoreapplication.cpp:847
#21 0x0897e759 in QApplicationPrivate::notify_helper (this=0x963bac8, receiver=0x9640f88, e=0xbfd976f4) at kernel/qapplication.cpp:4392
#22 0x08984869 in QApplication::notify (this=0xbfd99b74, receiver=0x9640f88, e=0xbfd976f4) at kernel/qapplication.cpp:4361
#23 0x0105aa9a in KApplication::notify (this=0xbfd99b74, receiver=0x9640f88, event=0xbfd976f4) at ../../kdeui/kernel/kapplication.cpp:310
#24 0x00846feb in QCoreApplication::notifyInternal (this=0xbfd99b74, receiver=0x9640f88, event=0xbfd976f4) at kernel/qcoreapplication.cpp:732
#25 0x089e3516 in QCoreApplication::sendSpontaneousEvent (this=0x9641460, pdev=0x9873ffc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9873fc8)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#26 QWidgetPrivate::drawWidget (this=0x9641460, pdev=0x9873ffc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9873fc8) at kernel/qwidget.cpp:5391
#27 0x089e4355 in QWidgetPrivate::paintSiblingsRecursive (this=0x963f940, pdev=0x9873ffc, siblings=..., index=15, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9873fc8)
    at kernel/qwidget.cpp:5598
#28 0x089e418e in QWidgetPrivate::paintSiblingsRecursive (this=0x963f940, pdev=0x9873ffc, siblings=..., index=16, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9873fc8)
    at kernel/qwidget.cpp:5585
#29 0x089e418e in QWidgetPrivate::paintSiblingsRecursive (this=0x963f940, pdev=0x9873ffc, siblings=..., index=17, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9873fc8)
    at kernel/qwidget.cpp:5585
#30 0x089e418e in QWidgetPrivate::paintSiblingsRecursive (this=0x963f940, pdev=0x9873ffc, siblings=..., index=18, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9873fc8)
    at kernel/qwidget.cpp:5585
#31 0x089e418e in QWidgetPrivate::paintSiblingsRecursive (this=0x963f940, pdev=0x9873ffc, siblings=..., index=20, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9873fc8)
    at kernel/qwidget.cpp:5585
#32 0x089e3265 in QWidgetPrivate::drawWidget (this=0x963f940, pdev=0x9873ffc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9873fc8) at kernel/qwidget.cpp:5444
#33 0x089e4355 in QWidgetPrivate::paintSiblingsRecursive (this=0x964b6c0, pdev=0x9873ffc, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9873fc8)
    at kernel/qwidget.cpp:5598
#34 0x089e3265 in QWidgetPrivate::drawWidget (this=0x964b6c0, pdev=0x9873ffc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9873fc8) at kernel/qwidget.cpp:5444
#35 0x089e4355 in QWidgetPrivate::paintSiblingsRecursive (this=0x964b4e0, pdev=0x9873ffc, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9873fc8)
    at kernel/qwidget.cpp:5598
#36 0x089e418e in QWidgetPrivate::paintSiblingsRecursive (this=0x964b4e0, pdev=0x9873ffc, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9873fc8)
    at kernel/qwidget.cpp:5585
#37 0x089e3265 in QWidgetPrivate::drawWidget (this=0x964b4e0, pdev=0x9873ffc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9873fc8) at kernel/qwidget.cpp:5444
#38 0x089e4355 in QWidgetPrivate::paintSiblingsRecursive (this=0x964b250, pdev=0x9873ffc, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9873fc8)
    at kernel/qwidget.cpp:5598
#39 0x089e3265 in QWidgetPrivate::drawWidget (this=0x964b250, pdev=0x9873ffc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9873fc8) at kernel/qwidget.cpp:5444
#40 0x089e4355 in QWidgetPrivate::paintSiblingsRecursive (this=0x964ba98, pdev=0x9873ffc, siblings=..., index=6, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9873fc8)
    at kernel/qwidget.cpp:5598
#41 0x089e418e in QWidgetPrivate::paintSiblingsRecursive (this=0x964ba98, pdev=0x9873ffc, siblings=..., index=58, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9873fc8)
    at kernel/qwidget.cpp:5585
#42 0x089e3265 in QWidgetPrivate::drawWidget (this=0x964ba98, pdev=0x9873ffc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9873fc8) at kernel/qwidget.cpp:5444
#43 0x08bd5f90 in QWidgetBackingStore::sync (this=0x9873fc8) at painting/qbackingstore.cpp:1328
#44 0x089d5773 in QWidgetPrivate::syncBackingStore (this=0x964ba98) at kernel/qwidget.cpp:1776
#45 0x089dc966 in QWidget::event (this=0x9761c70, event=0x9df7bf8) at kernel/qwidget.cpp:8451
#46 0x08e1afd7 in QMainWindow::event (this=0x9761c70, event=0x9df7bf8) at widgets/qmainwindow.cpp:1417
#47 0x01150f24 in KMainWindow::event (this=0x9761c70, ev=0x9df7bf8) at ../../kdeui/widgets/kmainwindow.cpp:1100
#48 0x011999df in KXmlGuiWindow::event (this=0x9761c70, ev=0x9df7bf8) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:130
#49 0x0897e77c in QApplicationPrivate::notify_helper (this=0x963bac8, receiver=0x9761c70, e=0x9df7bf8) at kernel/qapplication.cpp:4396
#50 0x08984869 in QApplication::notify (this=0xbfd99b74, receiver=0x9761c70, e=0x9df7bf8) at kernel/qapplication.cpp:4361
#51 0x0105aa9a in KApplication::notify (this=0xbfd99b74, receiver=0x9761c70, event=0x9df7bf8) at ../../kdeui/kernel/kapplication.cpp:310
#52 0x00846feb in QCoreApplication::notifyInternal (this=0xbfd99b74, receiver=0x9761c70, event=0x9df7bf8) at kernel/qcoreapplication.cpp:732
#53 0x0084a24b in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x961b218) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x961b218) at kernel/qcoreapplication.cpp:1373
#55 0x0084a40d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#56 0x00875d04 in QCoreApplication::sendPostedEvents (s=0x963ed78) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#57 postEventSourceDispatch (s=0x963ed78) at kernel/qeventdispatcher_glib.cpp:277
#58 0x063df5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#59 0x063e32d8 in ?? () from /lib/libglib-2.0.so.0
#60 0x063e34b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#61 0x008757f5 in QEventDispatcherGlib::processEvents (this=0x961b3f8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#62 0x08a3fde5 in QGuiEventDispatcherGlib::processEvents (this=0x961b3f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00845a99 in QEventLoop::processEvents (this=0xbfd99ad4, flags=) at kernel/qeventloop.cpp:149
#64 0x00845f1a in QEventLoop::exec (this=0xbfd99ad4, flags=...) at kernel/qeventloop.cpp:201
#65 0x0084a4cf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#66 0x0897d5a7 in QApplication::exec () at kernel/qapplication.cpp:3672
#67 0x0804b472 in _start ()

This bug may be a duplicate of or related to bug 239027.

Possible duplicates by query: bug 250075, bug 239027, bug 212757.

Reported using DrKonqi
Comment 1 bugs.crash 2010-09-04 06:48:21 UTC
Was able to reproduce it. This time I left the sidebar setting at the default "Show Icons & Text". Kontact opens with KMail selected in the sidebar, so I clicked "Popup Notes" (which shows nothing in my case, as I have none). Then I right-clicked in the sidebar to select "Big Icons" (which worked), and then tried to switch back to "Normal Icons" (which crashed).
Comment 2 Ian Levenfus 2010-09-09 21:55:51 UTC
Created attachment 51489 [details]
New crash information added by DrKonqi

kontact (4.4.5) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

Just wanted to change icon style of the sidebar, no matter whether from small to large or from middle to small or vice versa, wanted also the icons to be shown without the text but the app crashed when I changed the value in the pop-up menu.

-- Backtrace (Reduced):
#9  0x00007fd65d613c72 in QListView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007fd65d0f6d4e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007fd65d4bdba6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007fd65d5f585b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007fd65c6d08d7 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
Comment 3 Martin 2010-09-11 07:25:36 UTC
Created attachment 51539 [details]
New crash information added by DrKonqi

kontact (4.4.5) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
I switched from "Icons and Text" to "Icons" in Kontact left bar

-- Backtrace (Reduced):
#9  0x00007fb25864fc72 in QListView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007fb258132d4e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007fb2584f9ba6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007fb25863185b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007fb25770c8d7 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
Comment 4 Colin J Thomson 2010-09-15 21:36:24 UTC
Also seeing this on F13/KDE-4.5.1, Kontact 4.4.6, QT 4.7.0 (rc1)
Comment 5 Derek Linz 2010-09-16 13:17:00 UTC
Created attachment 51715 [details]
New crash information added by DrKonqi

kontact (4.5 beta1) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

Any modification whatsoever to the left hand side navigation pane layout causes instant crash, even with an empty user account.

-- Backtrace (Reduced):
#6  QModelIndex (this=0xe6f1c0, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xe6f1c0, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007f3718284883 in parent (this=<value optimized out>) at kernel/qabstractitemmodel.h:389
#9  QPersistentModelIndex::parent (this=<value optimized out>) at kernel/qabstractitemmodel.cpp:347
#10 0x00007f37179a10a7 in parent (this=0xd5f1a0, index=...) at itemviews/qitemselectionmodel.h:78
Comment 6 Christophe Marin 2010-09-19 12:25:13 UTC
*** Bug 239027 has been marked as a duplicate of this bug. ***
Comment 7 Daniel Wrana 2010-09-20 00:36:08 UTC
Created attachment 51813 [details]
New crash information added by DrKonqi

kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

I changed the icons on Kontact app-bar from big to small.

-- Backtrace (Reduced):
#7  QModelIndex (this=0x9420c18, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x9420c18, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#9  0x024aa03d in parent (this=0x989471c) at kernel/qabstractitemmodel.h:389
#10 QPersistentModelIndex::parent (this=0x989471c) at kernel/qabstractitemmodel.cpp:347
#11 0x0142200a in isValid (this=0x9421760, index=...) at itemviews/qitemselectionmodel.h:108
Comment 8 mms 2010-10-13 10:32:32 UTC
Created attachment 52477 [details]
New crash information added by DrKonqi

kontact (4.4.6) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.7.0

- What I was doing when the application crashed:

Change to large Icons on the left-handed panel

-- Backtrace (Reduced):
#9  0x00007fb6638e8042 in QListView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007fb6633c4c2e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007fb6637905e6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007fb6638c9a8b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007fb6629b8507 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
Comment 9 Helder Meneses 2010-10-14 17:49:32 UTC
Created attachment 52515 [details]
New crash information added by DrKonqi

kontact (4.4.6) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.7.0

Kmail crashed while changing icons from large to small on left side panel

-- Backtrace (Reduced):
#7  QModelIndex (this=0x8b6d6a0, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x8b6d6a0, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#9  0x0755c03d in parent (this=0x8b2efec) at kernel/qabstractitemmodel.h:389
#10 QPersistentModelIndex::parent (this=0x8b2efec) at kernel/qabstractitemmodel.cpp:347
#11 0x016ac2da in isValid (this=0x8b6e1b8, index=...) at itemviews/qitemselectionmodel.h:108
Comment 10 Daniel Andre Eikeland 2010-10-27 08:43:54 UTC
Created attachment 52897 [details]
New crash information added by DrKonqi

kontact (4.4.7) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.7.0

- What I was doing when the application crashed:

I started Kontact after a fresh installation of Kubuntu, and right-clicked the left bar with icons, selected "Big icons", and then "Icons only", at which point kontact crashed with the attached backtrace. I can reproduce this 100% every time.

-- Backtrace (Reduced):
#7  QModelIndex (this=0x992ade0, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x992ade0, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#9  0x03e0c03d in parent (this=0x989860c) at kernel/qabstractitemmodel.h:389
#10 QPersistentModelIndex::parent (this=0x989860c) at kernel/qabstractitemmodel.cpp:347
#11 0x0155d2da in isValid (this=0x990a5a8, index=...) at itemviews/qitemselectionmodel.h:108
Comment 11 Daniel Andre Eikeland 2010-10-27 08:46:47 UTC
Created attachment 52898 [details]
New crash information added by DrKonqi

kontact (4.4.7) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.7.0

- What I was doing when the application crashed:

Actually, this seems to happen every time you try and change the icon appearance - it will crash the second time you change it. Right-click in the left-hand icon area and change from small to big icons, and then back creates a crash. Right-click and select "icons only" and then change to "icons & text" creates a crash. Seems like changing any setting in that right-click menu twice causes a crash.

-- Backtrace (Reduced):
#7  QModelIndex (this=0x85f6e28, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x85f6e28, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#9  0x06f5f03d in parent (this=0x8a1ce64) at kernel/qabstractitemmodel.h:389
#10 QPersistentModelIndex::parent (this=0x8a1ce64) at kernel/qabstractitemmodel.cpp:347
#11 0x015022da in isValid (this=0x85f5768, index=...) at itemviews/qitemselectionmodel.h:108
Comment 12 Wonko 2010-11-08 10:42:58 UTC
I also have kontact crashing when selecting small icons. This is Gentoo Linux @ amd64, kontact 4.4.7, KDE 4.5.3, Qt 4.7.0-r1. I _think_ this worked in kontact 4.4.6 with KDE 4.5.2 and Qt 4.6.3, but I am not 100% sure.

Workaround: I modified the icon size manually by changing the value for SidePaneIconSize from 48 to 32 in ~/.kde4/share/config/kontactrc.
Comment 13 Dario Andres 2010-11-19 22:06:05 UTC
[Comment from a bug triager]
According to several comments like bug 255406 comment 3 and bug 255893 comment 2; this issue doesn't happen with Qt 4.6.x but with Qt 4.7.x (so it could be an upstream issue)
Comment 14 Dario Andres 2010-11-19 22:07:22 UTC
[Comment from a bug triager]
From bug 255406:
-- Information about the crash:
I attempt to select any of the right click menu options within the sidebar, i.e
Show Icons Only or Big Icons etc, Kontact crashes every time and produces the
attached backtrace.

From bug 255893:
- What I was doing when the application crashed:
I tried it while looking at Akregator and while looking at KMail. If you right
click in the left panel and select "show only icons" it changes for a second
and then Kontact crashes.
Comment 15 Dario Andres 2010-11-19 22:07:31 UTC
*** Bug 255406 has been marked as a duplicate of this bug. ***
Comment 16 Dario Andres 2010-11-19 22:07:36 UTC
*** Bug 255893 has been marked as a duplicate of this bug. ***
Comment 17 Dario Andres 2010-11-19 22:07:39 UTC
*** Bug 255994 has been marked as a duplicate of this bug. ***
Comment 18 Dario Andres 2010-11-19 22:24:31 UTC
*** Bug 257341 has been marked as a duplicate of this bug. ***
Comment 19 bugzilla_kde 2010-11-20 15:54:25 UTC
Created attachment 53577 [details]
New crash information added by DrKonqi

kontact (4.4.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:
Tried to switch form "Normal Icons" to "Smal Icons" in side pane.

-- Backtrace (Reduced):
#6  QModelIndex (this=0x1ac0af0, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x1ac0af0, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x000000343db4d933 in parent (this=<value optimized out>) at kernel/qabstractitemmodel.h:389
#9  QPersistentModelIndex::parent (this=<value optimized out>) at kernel/qabstractitemmodel.cpp:347
#10 0x0000003aaad0f2f7 in parent (this=0x1872470, index=...) at itemviews/qitemselectionmodel.h:78
Comment 20 Alejandro Nova 2010-11-22 15:30:50 UTC
I can confirm. As I reported in bug 241689 , this bug was there since SC 4.5 beta 2 and Qt 4.7.0. This bug doesn't manifest with Qt 4.6.x. See comment 1.

I suggest to merge bug 241689 and this.
Comment 21 Alejandro Nova 2010-11-22 15:33:00 UTC
Meh, see this comment #1: https://bugs.kde.org/show_bug.cgi?id=241689#c1
Comment 22 Aitor 2010-11-22 20:37:38 UTC
Created attachment 53638 [details]
New crash information added by DrKonqi

kontact (4.4.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.1

- What I was doing when the application crashed:

It happens at anytime while using Kontact. If I try to change left panel's prefs it crash.

-- Backtrace (Reduced):
#9  0x00007f5f3fa98822 in QListView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007f5f3f5bd92a in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007f5f3f967a76 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007f5f3fa78523 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007f5f3ebca047 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
Comment 23 Javier Llorente 2010-11-27 19:22:33 UTC
Created attachment 53805 [details]
Kontact crash (4.5.80, Qt 4.7.1)
Comment 24 Javier Llorente 2010-11-27 19:35:51 UTC
I forgot to say that if I click "show icons only" on Kontact, it crashes. So, it seems that it affects Kontact 4.5.80 as well.
System info: openSUSE 11.4 Milestone 4, KDE 4.5.80, Qt 4.7.1
Comment 25 Dario Andres 2010-11-30 21:00:32 UTC
*** Bug 258396 has been marked as a duplicate of this bug. ***
Comment 26 Dario Andres 2010-11-30 21:01:38 UTC
[Comment from a bug triager]
Note: bug 241689 contains several duplicates and other information and cases.
Comment 27 Dario Andres 2010-11-30 21:01:56 UTC
*** Bug 241689 has been marked as a duplicate of this bug. ***
Comment 28 Charles Opondo 2010-12-06 14:39:27 UTC
Created attachment 54209 [details]
New crash information added by DrKonqi

kontact (4.4.7) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.0

- What I was doing when the application crashed: changing icon size in Mail - Kontact. This crash is reproducible.

-- Backtrace (Reduced):
#7  0x01705906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x81d5098, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x01705a73 in QSortFilterProxyModel::mapToSource (this=0x81d5088, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x016fbabc in QSortFilterProxyModel::data (this=0x81d5088, index=..., role=13) at itemviews/qsortfilterproxymodel.cpp:1712
#10 0x01725ba3 in data (this=0x81d4d10, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#11 QStyledItemDelegate::sizeHint (this=0x81d4d10, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
Comment 29 Christophe Marin 2010-12-08 12:22:46 UTC
(In reply to comment #21)
> Meh, see this comment #1: https://bugs.kde.org/show_bug.cgi?id=241689#c1

Just a comment about this:

When I posted this (2010-06-14), Qt 4.6.x was the stable version.
Comment 30 Derek Linz 2010-12-09 06:08:13 UTC
This appears to have been resolved either by Qt 4.7.1 or KDE 4.5.85. I'm no longer seeing any sign of it with:


kdebase-4.5.85-1.fc15.x86_64
qt-4.7.1-5.fc15.x86_64
kdepim-4.5.85-2.fc15.x86_64
Comment 31 Andrew Manson 2010-12-09 15:12:22 UTC
Created attachment 54360 [details]
New crash information added by DrKonqi

kontact (4.4.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.1

- What I was doing when the application crashed:

Right clicked the left panel and selected "Large Icons"

-- Backtrace (Reduced):
#6  QModelIndex (this=0x21a1250, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x21a1250, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x0000003328f4d8b3 in parent (this=<value optimized out>) at kernel/qabstractitemmodel.h:389
#9  QPersistentModelIndex::parent (this=<value optimized out>) at kernel/qabstractitemmodel.cpp:347
#10 0x000000332ab18d70 in isValid (this=<value optimized out>, index=...) at itemviews/qitemselectionmodel.h:107
Comment 32 Andrew Manson 2010-12-09 16:31:06 UTC
Created attachment 54361 [details]
New crash information added by DrKonqi

kontact (4.4.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.1

- What I was doing when the application crashed:

Right clicked the left panel and selected "Large Icons"

-- Backtrace (Reduced):
#6  QModelIndex (this=0x21a1250, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x21a1250, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x0000003328f4d8b3 in parent (this=<value optimized out>) at kernel/qabstractitemmodel.h:389
#9  QPersistentModelIndex::parent (this=<value optimized out>) at kernel/qabstractitemmodel.cpp:347
#10 0x000000332ab18d70 in isValid (this=<value optimized out>, index=...) at itemviews/qitemselectionmodel.h:107
Comment 33 Andrew Manson 2010-12-09 16:31:06 UTC
Created attachment 54362 [details]
New crash information added by DrKonqi

kontact (4.4.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.1

- What I was doing when the application crashed:

Right clicked the left panel and selected "Large Icons"

-- Backtrace (Reduced):
#6  QModelIndex (this=0x21a1250, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x21a1250, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x0000003328f4d8b3 in parent (this=<value optimized out>) at kernel/qabstractitemmodel.h:389
#9  QPersistentModelIndex::parent (this=<value optimized out>) at kernel/qabstractitemmodel.cpp:347
#10 0x000000332ab18d70 in isValid (this=<value optimized out>, index=...) at itemviews/qitemselectionmodel.h:107
Comment 34 Dario Andres 2010-12-12 20:33:52 UTC
*** Bug 255463 has been marked as a duplicate of this bug. ***
Comment 35 MartinG 2010-12-13 23:35:26 UTC
Created attachment 54523 [details]
New crash information added by DrKonqi

kontact (4.4.8) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.1

- What I was doing when the application crashed:

Pressed "show only icons" on the sidebar in Kontact. I right-clicked on the KMail icon. I use IMAP. kdepim-4.4.8-1.fc14.x86_64

-- Backtrace (Reduced):
#6  QModelIndex (this=0xcc58a0, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xcc58a0, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x0000003e1b4e65dd in parent (this=<value optimized out>, index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:389
#9  rectForIndex (this=<value optimized out>, index=...) at ../../src/gui/itemviews/qlistview_p.h:342
#10 QListView::rectForIndex (this=<value optimized out>, index=...) at itemviews/qlistview.cpp:1226
Comment 36 Franco Pellegrini 2010-12-16 00:50:23 UTC
Created attachment 54814 [details]
New crash information added by DrKonqi

kontact (4.4.7) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.0

- What I was doing when the application crashed:
Right click in the left sidebar, choose "Show only icons" and application crashed

-- Backtrace (Reduced):
#7  0x01637906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x93ac7c8, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x01637a73 in QSortFilterProxyModel::mapToSource (this=0x93ac2f8, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x0162dabc in QSortFilterProxyModel::data (this=0x93ac2f8, index=..., role=13) at itemviews/qsortfilterproxymodel.cpp:1712
#10 0x01657ba3 in data (this=0x9338870, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#11 QStyledItemDelegate::sizeHint (this=0x9338870, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
Comment 37 Christophe Marin 2010-12-20 22:29:07 UTC
*** Bug 260827 has been marked as a duplicate of this bug. ***
Comment 38 Christophe Marin 2010-12-21 14:51:35 UTC
I can't reproduce with Qt 4.7.1 and a recent kontact.

Are there cases where changing the sidebar settings don't make Kontact crash ?
Does it happen regardless of the active plugin ?
Where do you right click to change the options ? on an icon or an empty area ?
Comment 39 Sam Azer 2010-12-23 06:06:16 UTC
Created attachment 55178 [details]
New crash information added by DrKonqi

kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

as above - try to change the sidebar settings and kontact crashes. ie: select small icons. Note, though, that I was able to reproduce the bug on the first try - but not the second. On the third try Kontact crashed immediately - before starting. will attach that report to this one.

-- Backtrace (Reduced):
#6  0x00007fead7eca4fc in QSortFilterProxyModelPrivate::proxy_to_source (this=0x8b8ef0, proxy_index=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x00007fead7eca61d in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#8  0x00007fead7ec0b96 in QSortFilterProxyModel::data (this=0x8b8ef0, index=..., role=0) at itemviews/qsortfilterproxymodel.cpp:1712
#9  0x00007fead7ee8d8f in data (this=0x89d3b0, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#10 QStyledItemDelegate::sizeHint (this=0x89d3b0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
Comment 40 Sam Azer 2010-12-23 06:08:29 UTC
Created attachment 55179 [details]
New crash information added by DrKonqi

kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

(This was the third try of Kontact. It had crashed once before after trying to switch to smaller icons in the sidebar. Then it worked fine - then I tried this third time and it crashed before starting.)

-- Backtrace (Reduced):
#6  0x00007f851b8ac4fc in QSortFilterProxyModelPrivate::proxy_to_source (this=0x207d9b0, proxy_index=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x00007f851b8ac61d in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#8  0x00007f851b8a2ff5 in QSortFilterProxyModel::buddy (this=0x204dbe0, index=...) at itemviews/qsortfilterproxymodel.cpp:1994
#9  0x00007f851b818ffb in QAbstractItemView::currentChanged (this=0x1f3fac0, current=..., previous=...) at itemviews/qabstractitemview.cpp:3385
#10 0x00007f851b81b4b3 in QAbstractItemView::qt_metacall (this=0x1f3fac0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff80be21a0) at .moc/release-shared/moc_qabstractitemview.cpp:238
Comment 41 Christophe Marin 2010-12-23 23:07:01 UTC
*** Bug 261100 has been marked as a duplicate of this bug. ***
Comment 42 Christophe Marin 2010-12-26 23:14:25 UTC
*** Bug 261320 has been marked as a duplicate of this bug. ***
Comment 43 Dominic Lyons 2011-01-02 20:56:07 UTC
Created attachment 55483 [details]
New crash information added by DrKonqi

kontact (4.4.9) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.0

- What I was doing when the application crashed:

Changed size of the icons in the bar on the left side.

-- Backtrace (Reduced):
#6  QModelIndex (this=0xe07ed0, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xe07ed0, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007f89c70fb133 in parent (this=<value optimized out>) at kernel/qabstractitemmodel.h:389
#9  QPersistentModelIndex::parent (this=<value optimized out>) at kernel/qabstractitemmodel.cpp:347
#10 0x00007f89c80671af in parent (this=0xe09390, index=...) at itemviews/qitemselectionmodel.h:78
Comment 44 Christophe Marin 2011-01-05 20:56:29 UTC
*** Bug 262230 has been marked as a duplicate of this bug. ***
Comment 45 Brian Beck 2011-01-05 22:35:20 UTC
After upgrading to 4:4.4.9-0ubuntu1~maverick2~ppa1 (Ubuntu package) Kontact no longer crashes for me when changing the icon appearance.
Comment 46 Christoph Feck 2011-01-05 23:35:53 UTC
Are you sure you did not update anything else? I see nothing in svn log for KDEPIM 4.4.9 that could have fixed it. But its good to know that it is fixed elsewhere.
Comment 47 Bernhard Jungk 2011-01-05 23:50:43 UTC
It still crashes here with 4.4.9 but not always.
Comment 48 Ajay Ramaswamy 2011-01-08 06:47:14 UTC
Created attachment 55724 [details]
New crash information added by DrKonqi

kontact (4.4.9) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.1

- What I was doing when the application crashed:

It still happens with Qt 4.7.1-7 and kdepim 4.4.9 kdelibs 4.5.5 all this on Fedora 14.x86_64

-- Backtrace (Reduced):
#9  0x00000034268e4e32 in QListView::paintEvent(QPaintEvent*) () from /usr/lib64/libQtGui.so.4
#10 0x0000003426408f9a in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#11 0x00000034267b38e6 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#12 0x00000034268c43e3 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x000000342515b937 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
Comment 49 Christophe Marin 2011-01-08 12:24:25 UTC
*** Bug 262434 has been marked as a duplicate of this bug. ***
Comment 50 Yörn Jünger 2011-01-12 22:29:21 UTC
In my sidebar i have small icons and no text displayed. I'm running kontact-4.4.9 on gentoo. I experience crashes when:

- changing icon's size or display text w/o icons, then exit kontact. Changes are saved.
- changing icon's size or display text w/o icons, then again

Also sidebar's area isn't displayed properly with text and icons larger than small, regardless of QT 4.6 or 4.7. I still can't remember when this bug has been appeared for the first time.
Comment 51 Christophe Marin 2011-01-15 18:49:58 UTC
I tried everything that may come to my mind but still no way to reproduce.

Just to confirm something, were your kdepim packages built with the Qt installed on your system ?
Comment 52 Zolin 2011-01-15 21:39:24 UTC
Hello,
No, I didn't build from source, I installed from the ppa backport
repository for kubuntu 10.04 I'll forward you the complete path once
I'm back to my pc.
Thanks!

On 1/15/11, Christophe Giboudeaux <cgiboudeaux@gmail.com> wrote:
> https://bugs.kde.org/show_bug.cgi?id=250138
>
>
>
>
>
> --- Comment #51 from Christophe Giboudeaux <cgiboudeaux gmail com>
> 2011-01-15 18:49:58 ---
> I tried everything that may come to my mind but still no way to reproduce.
>
> Just to confirm something, were your kdepim packages built with the Qt
> installed on your system ?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
Comment 53 MartinG 2011-01-16 01:34:09 UTC
I reproduce the bug with:
kdepim-runtime-libs-4.4.8-1.fc14.x86_64
kdepimlibs-debuginfo-4.5.5-1.fc14.x86_64
kdepimlibs-4.5.5-1.fc14.x86_64
kdepim-libs-4.4.8-1.fc14.x86_64
kdepim-debuginfo-4.4.8-1.fc14.x86_64
kdepim-runtime-4.4.8-1.fc14.x86_64
kdepimlibs-akonadi-4.5.5-1.fc14.x86_64
kdepim-4.4.8-1.fc14.x86_64 

I made kontact crash when I tried to change from icons+text to only icons on the sidebar (right-click and choose from the menu)

I have set up my system to give core dumps, and a backtrace on the dump gives:

$ gdb core.kontact.2984 
...

Program terminated with signal 11, Segmentation fault.
#0  0x000000387b00f29b in raise () from /lib64/libpthread-2.12.90.so
(gdb) bt
#0  0x000000387b00f29b in raise () from /lib64/libpthread-2.12.90.so
#1  0x00007fcf46bd82ee in KCrash::defaultCrashHandler (sig=11)
    at /usr/src/debug/kdelibs-4.5.5/kdeui/util/kcrash.cpp:307
#2  <signal handler called>
#3  QModelIndex (this=0x21f7930, child=<value optimized out>)
    at ../../src/corelib/kernel/qabstractitemmodel.h:65
#4  QSortFilterProxyModel::parent (this=0x21f7930, child=<value optimized out>)
    at itemviews/qsortfilterproxymodel.cpp:1656
#5  0x000000315c4e65dd in parent (this=<value optimized out>, index=...)
    at ../../src/corelib/kernel/qabstractitemmodel.h:389
#6  rectForIndex (this=<value optimized out>, index=...) at ../../src/gui/itemviews/qlistview_p.h:342
#7  QListView::rectForIndex (this=<value optimized out>, index=...) at itemviews/qlistview.cpp:1226
#8  0x000000315c4e67be in QListView::visualRect (this=<value optimized out>, index=<value optimized out>)
    at itemviews/qlistview.cpp:561
#9  0x000000315c4c263e in QAbstractItemView::update (this=<value optimized out>, index=<value optimized out>)
    at itemviews/qabstractitemview.cpp:3135
#10 0x000000315c4c271e in QAbstractItemViewPrivate::setHoverIndex (this=<value optimized out>, index=...)
    at itemviews/qabstractitemview.cpp:150
#11 0x000000315c4c427a in QAbstractItemView::viewportEvent (this=0x2203d10, event=0x7ffff1b2ecc0)
    at itemviews/qabstractitemview.cpp:1572
#12 0x000000315a75b937 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, 
    receiver=0x23b1b80, event=0x7ffff1b2ecc0) at kernel/qcoreapplication.cpp:847
#13 0x000000315bfb7891 in QApplicationPrivate::notify_helper (this=0x21f0200, receiver=0x23b1b80, e=
    0x7ffff1b2ecc0) at kernel/qapplication.cpp:4441
#14 0x000000315bfb826f in QApplicationPrivate::dispatchEnterLeave (enter=0x23b1b80, leave=<value optimized out>)
    at kernel/qapplication.cpp:2773
#15 0x000000315c034f11 in QApplication::x11ProcessEvent (this=0x7ffff1b2f7c0, event=0x7ffff1b2f400)
    at kernel/qapplication_x11.cpp:3560
#16 0x000000315c05c896 in x11EventSourceDispatch (s=0x21f3c30, callback=0, user_data=0x0)
    at kernel/qguieventdispatcher_glib.cpp:148
#17 0x000000387c841e33 in g_main_dispatch (context=0x21f2d20) at gmain.c:2149
#18 g_main_context_dispatch (context=0x21f2d20) at gmain.c:2702
#19 0x000000387c842610 in g_main_context_iterate (context=0x21f2d20, block=1, dispatch=1, 
    self=<value optimized out>) at gmain.c:2780
#20 0x000000387c8428ad in g_main_context_iteration (context=0x21f2d20, may_block=1) at gmain.c:2843
#21 0x000000315a7868bf in QEventDispatcherGlib::processEvents (this=0x21c1e80, flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:415
#22 0x000000315c05c59e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, 
    flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#23 0x000000315a75ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...)
    at kernel/qeventloop.cpp:149
#24 0x000000315a75ad8c in QEventLoop::exec (this=0x7ffff1b2f710, flags=...) at kernel/qeventloop.cpp:201
#25 0x000000315a75f24b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#26 0x000000000040408e in main (argc=1, argv=0x7ffff1b2fda8)
    at /usr/src/debug/kdepim-4.4.8/kontact/src/main.cpp:224


I see the values are optimized out, maybe it would be an idea to provide non-optimized version in a -testing repo?
Comment 54 Will Stephenson 2011-01-17 11:39:35 UTC
Same here, switch from Icons & Text/Normal Icons to Icons Only.

openSUSE Factory, KDE 4.6, KDEPIM 4.4.9, system libqt4-4.7.1

Thread 1 (Thread 0x7f2feee4e760 (LWP 12469)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x6f8150, proxy_index=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x00007f2fecc1155d in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:2499
#8  0x00007f2fecc10246 in QSortFilterProxyModel::data (this=<value optimized out>, index=..., role=13) at itemviews/qsortfilterproxymodel.cpp:1712
#9  0x00007f2fecc32d8f in data (this=0x700ca0, option=..., index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:398
#10 QStyledItemDelegate::sizeHint (this=0x700ca0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
#11 0x00007f2feea77adf in Kontact::Delegate::sizeHint (this=0x700ca0, option=..., index=<value optimized out>) at /usr/src/debug/kdepim-4.4.9/kontact/src/iconsidepane.cpp:225
#12 0x00007f2fecba9acb in QListViewPrivate::itemSize (this=0x806d10, option=..., index=...) at itemviews/qlistview.cpp:1788
#13 0x00007f2fecbaa00b in itemSize (this=0x708380, index=...) at ../../src/gui/itemviews/qlistview_p.h:473
#14 QListModeViewBase::indexToListViewItem (this=0x708380, index=...) at itemviews/qlistview.cpp:2215
#15 0x00007f2fecbabd73 in QListViewPrivate::indexToListViewItem (this=0x806d10, index=...) at itemviews/qlistview.cpp:1733
#16 0x00007f2fecbac451 in rectForIndex (this=<value optimized out>, index=...) at ../../src/gui/itemviews/qlistview_p.h:345
#17 QListView::rectForIndex (this=<value optimized out>, index=...) at itemviews/qlistview.cpp:1226
#18 0x00007f2fecbac5ce in QListView::visualRect (this=<value optimized out>, index=<value optimized out>) at itemviews/qlistview.cpp:561
#19 0x00007f2fecb89e8e in QAbstractItemView::update (this=<value optimized out>, index=<value optimized out>) at itemviews/qabstractitemview.cpp:3135
#20 0x00007f2fecb89f6e in QAbstractItemViewPrivate::setHoverIndex (this=0x806d10, index=...) at itemviews/qabstractitemview.cpp:150
#21 0x00007f2fecb8baca in QAbstractItemView::viewportEvent (this=0x73fec0, event=0x7fffd42951a0) at itemviews/qabstractitemview.cpp:1572
#22 0x00007f2fed2b9dc7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x7082c0, event=0x7fffd42951a0) at kernel/qcoreapplication.cpp:847
#23 0x00007f2fec685d11 in QApplicationPrivate::notify_helper (this=0x640560, receiver=0x7082c0, e=0x7fffd42951a0) at kernel/qapplication.cpp:4441
#24 0x00007f2fec6866ef in QApplicationPrivate::dispatchEnterLeave (enter=0x7082c0, leave=<value optimized out>) at kernel/qapplication.cpp:2773
#25 0x00007f2fec686faf in QApplicationPrivate::sendMouseEvent (receiver=0x7082c0, event=0x7fffd4295430, alienWidget=0x7082c0, nativeWidget=0x80bbd0, buttonDown=0x7f2fed155178, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3085
#26 0x00007f2fec704e28 in QETWidget::translateMouseEvent (this=0x80bbd0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4438
#27 0x00007f2fec7034e9 in QApplication::x11ProcessEvent (this=0x7fffd4296160, event=0x7fffd4295d90) at kernel/qapplication_x11.cpp:3564
#28 0x00007f2fec72b102 in x11EventSourceDispatch (s=0x644110, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007f2fe46aca43 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#30 0x00007f2fe46ad220 in ?? () from /lib64/libglib-2.0.so.0
#31 0x00007f2fe46ad4c0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#32 0x00007f2fed2e496f in QEventDispatcherGlib::processEvents (this=0x613c10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007f2fec72ad9e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f2fed2b9092 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f2fed2b92a5 in QEventLoop::exec (this=0x7fffd42960b0, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007f2fed2bd6eb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#37 0x000000000040417e in main (argc=1, argv=0x7fffd4296748) at /usr/src/debug/kdepim-4.4.9/kontact/src/main.cpp:224
Comment 55 Christophe Marin 2011-01-17 12:22:02 UTC
*** Bug 263401 has been marked as a duplicate of this bug. ***
Comment 56 Christophe Marin 2011-01-17 12:56:24 UTC
SVN commit 1215046 by cgiboudeaux:

Backport commit eb37385 from master to 4.4:
Don't crash when changing the icon or text size or visibility.
BUG: 250138
FIXED-IN: 4.4.10


 M  +3 -3      iconsidepane.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1215046
Comment 57 Till Adam 2011-01-17 12:59:54 UTC
commit f142cd203cecfc7195b5e5e115c4a66093454e16
branch 4.4
Author: Till Adam <adam@kde.org>
Date:   Sun Nov 28 19:59:54 2010 +0000

    Backport commit eb37385 from master to 4.4:
    Don't crash when changing the icon or text size or visibility.
    CCBUG: 250138
    FIXED-IN: 4.4.10

diff --git a/kontact/src/iconsidepane.cpp b/kontact/src/iconsidepane.cpp
index 1b71290..c83b95b 100644
--- a/kontact/src/iconsidepane.cpp
+++ b/kontact/src/iconsidepane.cpp
@@ -90,9 +90,9 @@ class Model : public QStringListModel
     {
     }
 
-    void emitLayoutChanged()
+    void emitReset()
     {
-        emit layoutChanged();
+        emit reset();
     }
 
     void setPluginList( const QList<KontactInterface::Plugin*> &list ) {
@@ -500,7 +500,7 @@ void Navigator::slotActionTriggered( bool checked )
   Prefs::self()->setSidePaneShowIcons( mShowIcons );
   Prefs::self()->setSidePaneShowText( mShowText );
 
-  mModel->emitLayoutChanged();
+  mModel->emitReset();
 
   QTimer::singleShot( 0, this, SLOT(updateNavigatorSize()) );
 }
Comment 58 Helder Meneses 2011-01-19 18:37:15 UTC
Created attachment 56198 [details]
New crash information added by DrKonqi

kontact (4.4.9) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.0

kontanct crashed when choosing small icons on left toolbar

-- Backtrace (Reduced):
#10 0x05efb4af in QListView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#11 0x0595fcc6 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x05d81763 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x05e1ea82 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x05edb0f7 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
Comment 59 Christophe Marin 2011-01-23 18:07:27 UTC
*** Bug 264095 has been marked as a duplicate of this bug. ***
Comment 60 Christophe Marin 2011-01-25 13:43:40 UTC
*** Bug 250031 has been marked as a duplicate of this bug. ***
Comment 61 Helder Meneses 2011-01-27 12:31:03 UTC
Created attachment 56490 [details]
New crash information added by DrKonqi

kontact (4.4.9) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

this problem occurs always

-- Backtrace (Reduced):
#7  0xb6ca4a21 in QSortFilterProxyModel::parent(QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#8  0xb612c03d in QPersistentModelIndex::parent() const () from /usr/lib/libQtCore.so.4
#9  0xb6c6e2da in QItemSelectionModel::isSelected(QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#10 0xb6c3b4af in QListView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#11 0xb669fcc6 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
Comment 62 Roman N. Krivov 2011-01-27 21:28:03 UTC
Created attachment 56532 [details]
New crash information added by DrKonqi

kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

I switch "Icon and text" to "Icon Only" on kontact left bar

-- Backtrace (Reduced):
#7  0x01778906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x926e740, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x01778a73 in QSortFilterProxyModel::mapToSource (this=0x926e730, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x0176eabc in QSortFilterProxyModel::data (this=0x926e730, index=..., role=13) at itemviews/qsortfilterproxymodel.cpp:1712
#10 0x01798ba3 in data (this=0x9274dd0, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#11 QStyledItemDelegate::sizeHint (this=0x9274dd0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
Comment 63 Roman N. Krivov 2011-01-27 21:33:41 UTC
Created attachment 56533 [details]
New crash information added by DrKonqi

kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

I change icon size on left bar: from Normal to Big size

-- Backtrace (Reduced):
#7  0x02d68906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x99c9cb8, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x02d68a73 in QSortFilterProxyModel::mapToSource (this=0x99d3a38, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x02d5eabc in QSortFilterProxyModel::data (this=0x99d3a38, index=..., role=13) at itemviews/qsortfilterproxymodel.cpp:1712
#10 0x02d88ba3 in data (this=0x9999818, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#11 QStyledItemDelegate::sizeHint (this=0x9999818, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
Comment 64 Christophe Marin 2011-01-27 21:58:24 UTC
*** Bug 264532 has been marked as a duplicate of this bug. ***
Comment 65 Roman N. Krivov 2011-01-29 18:35:27 UTC
Created attachment 56627 [details]
New crash information added by DrKonqi

kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

Kontact crashed when I switch to KMail and change view mode to Icon only on slidebar (left bar)

-- Backtrace (Reduced):
#7  0x0164c906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x882c5e0, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x0164ca73 in QSortFilterProxyModel::mapToSource (this=0x882aa80, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x01645d37 in QSortFilterProxyModelPrivate::store_persistent_indexes (this=0x882c5e0) at itemviews/qsortfilterproxymodel.cpp:994
#10 0x01647f49 in QSortFilterProxyModelPrivate::clear_mapping (this=0x882c5e0) at itemviews/qsortfilterproxymodel.cpp:299
#11 0x01641a74 in QAbstractProxyModel::qt_metacall (this=0x882aa80, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0xbfd0cc68) at .moc/release-shared/moc_qabstractproxymodel.cpp:72
Comment 66 Christophe Marin 2011-01-29 19:31:48 UTC
(In reply to comment #65)
> 
> kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0
> 

That's the 4th time you report the same crash.

There's no need to, the issue is fixed in kdepim 4.4.10.
Comment 67 Christophe Marin 2011-01-30 00:02:30 UTC
*** Bug 264540 has been marked as a duplicate of this bug. ***
Comment 68 Martin Karing 2011-01-30 18:01:29 UTC
Created attachment 56672 [details]
New crash information added by DrKonqi

kontact (4.4.9) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

- What I was doing when the application crashed:
Switching the Kontact applications from summery to KMail.

-- Backtrace (Reduced):
#7  0xb6d76906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x99ee5f8, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0xb6d76a73 in QSortFilterProxyModel::mapToSource (this=0x99ee5e8, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0xb6d6cf70 in QSortFilterProxyModel::buddy (this=0x99ee5e8, index=...) at itemviews/qsortfilterproxymodel.cpp:1994
#10 0xb6cdb4cb in QAbstractItemView::currentChanged (this=0x99c4d80, current=..., previous=...) at itemviews/qabstractitemview.cpp:3385
#11 0xb6cfead1 in QListView::currentChanged (this=0x99c4d80, current=..., previous=...) at itemviews/qlistview.cpp:3101
Comment 69 Roman N. Krivov 2011-02-05 11:48:03 UTC
Created attachment 56885 [details]
New crash information added by DrKonqi

kontact (4.4.9) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

- What I was doing when the application crashed:

Kontact crashe when I change view mode on left bar (slidebar) to Icon Only

-- Backtrace (Reduced):
#7  0x087ee906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x94dae90, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x087eea73 in QSortFilterProxyModel::mapToSource (this=0x948f128, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x087e4abc in QSortFilterProxyModel::data (this=0x948f128, index=..., role=13) at itemviews/qsortfilterproxymodel.cpp:1712
#10 0x0880eba3 in data (this=0x94a3968, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#11 QStyledItemDelegate::sizeHint (this=0x94a3968, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
Comment 70 Christophe Marin 2011-02-15 03:06:04 UTC
*** Bug 266347 has been marked as a duplicate of this bug. ***
Comment 71 Christophe Marin 2011-02-20 01:55:43 UTC
*** Bug 266705 has been marked as a duplicate of this bug. ***
Comment 72 Christophe Marin 2011-02-20 13:49:35 UTC
*** Bug 266724 has been marked as a duplicate of this bug. ***
Comment 73 Christophe Marin 2011-03-09 11:50:21 UTC
*** Bug 268025 has been marked as a duplicate of this bug. ***
Comment 74 lonewolf88 2011-03-13 21:14:10 UTC
Created attachment 57936 [details]
New crash information added by DrKonqi

Changing size of icons in side bar - previous report stated fixed, but can reproduce here.
Comment 75 Christoph Feck 2011-03-13 21:24:25 UTC
It is fixed in Kontact 4.4.10.
Comment 76 Roman N. Krivov 2011-03-15 22:26:14 UTC
Created attachment 58054 [details]
New crash information added by DrKonqi

kontact (4.4.9) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.0

- What I was doing when the application crashed:

Kontact crashed when I change view  mode to Icon Only and switch to kmail

-- Backtrace (Reduced):
#7  0x03e9f906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0xa029808, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x03e9fa73 in QSortFilterProxyModel::mapToSource (this=0xa113d60, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x03e95f70 in QSortFilterProxyModel::buddy (this=0xa113d60, index=...) at itemviews/qsortfilterproxymodel.cpp:1994
#10 0x03e044cb in QAbstractItemView::currentChanged (this=0xa0e2140, current=..., previous=...) at itemviews/qabstractitemview.cpp:3385
#11 0x03e27ad1 in QListView::currentChanged (this=0xa0e2140, current=..., previous=...) at itemviews/qlistview.cpp:3101
Comment 77 Christophe Marin 2011-03-15 23:10:49 UTC
removing CC'ed people. There's no need to receive emails about this bug anymore (it's fixed in 4.4.10)
Comment 78 André Esteves 2011-04-12 04:34:42 UTC
Created attachment 58817 [details]
New crash information added by DrKonqi

kontact (4.4.9) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.0

- What I was doing when the application crashed:

Changed icon size on the left menu and then selected post-it icon with right mouse button (crashed).

-- Backtrace (Reduced):
#7  0xb6bf6906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x818a020, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0xb6bf6a73 in QSortFilterProxyModel::mapToSource (this=0x818a010, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0xb6becf70 in QSortFilterProxyModel::buddy (this=0x818a010, index=...) at itemviews/qsortfilterproxymodel.cpp:1994
#10 0xb6b5b4cb in QAbstractItemView::currentChanged (this=0x8170960, current=..., previous=...) at itemviews/qabstractitemview.cpp:3385
#11 0xb6b7ead1 in QListView::currentChanged (this=0x8170960, current=..., previous=...) at itemviews/qlistview.cpp:3101
Comment 79 Christophe Marin 2011-04-17 12:27:31 UTC
*** Bug 271144 has been marked as a duplicate of this bug. ***