Bug 255406

Summary: Kontact crashes when selecting Show Icons Only in sidebar
Product: [Applications] kontact Reporter: Dave Griffiths <dave.griffiths62>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, chri, kde-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Dave Griffiths 2010-10-27 15:15:03 UTC
Application: kontact (4.4.7)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.34.7-0.5-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- 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.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  QModelIndex (this=0x7911a0, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x7911a0, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007fc710f92ad3 in parent (this=<value optimized out>) at kernel/qabstractitemmodel.h:389
#9  QPersistentModelIndex::parent (this=<value optimized out>) at kernel/qabstractitemmodel.cpp:347
#10 0x00007fc7108c40d0 in isValid (this=<value optimized out>, index=...) at itemviews/qitemselectionmodel.h:107
#11 QItemSelectionModel::isSelected (this=<value optimized out>, index=...) at itemviews/qitemselectionmodel.cpp:1187
#12 0x00007fc710891162 in QListView::paintEvent (this=0x70a760, e=<value optimized out>) at itemviews/qlistview.cpp:984
#13 0x00007fc7103b562a in QWidget::event (this=0x70a760, event=0x7fff07960a50) at kernel/qwidget.cpp:8333
#14 0x00007fc71075d546 in QFrame::event (this=0x70a760, e=0x7fff07960a50) at widgets/qframe.cpp:557
#15 0x00007fc71086f483 in QAbstractItemView::viewportEvent (this=0x70a760, event=0x7fff07960a50) at itemviews/qabstractitemview.cpp:1619
#16 0x00007fc710fa0b67 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x6faff0, event=0x7fff07960a50) at kernel/qcoreapplication.cpp:847
#17 0x00007fc710363f01 in QApplicationPrivate::notify_helper (this=0x641c40, receiver=0x6faff0, e=0x7fff07960a50) at kernel/qapplication.cpp:4392
#18 0x00007fc71036c35a in QApplication::notify (this=<value optimized out>, receiver=0x6faff0, e=0x7fff07960a50) at kernel/qapplication.cpp:4277
#19 0x00007fc7118ec846 in KApplication::notify (this=0x7fff07963270, receiver=0x6faff0, event=0x7fff07960a50) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310
#20 0x00007fc710fa09dc in QCoreApplication::notifyInternal (this=0x7fff07963270, receiver=0x6faff0, event=0x7fff07960a50) at kernel/qcoreapplication.cpp:732
#21 0x00007fc7103b24f2 in sendSpontaneousEvent (this=0x7adee0, pdev=0x90a5f8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9bf000)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#22 QWidgetPrivate::drawWidget (this=0x7adee0, pdev=0x90a5f8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9bf000) at kernel/qwidget.cpp:5420
#23 0x00007fc7103b30bf in QWidgetPrivate::paintSiblingsRecursive (this=0x70a7e0, pdev=0x90a5f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9bf000) at kernel/qwidget.cpp:5627
#24 0x00007fc7103b225a in QWidgetPrivate::drawWidget (this=0x70a7e0, pdev=0x90a5f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9bf000)
    at kernel/qwidget.cpp:5473
#25 0x00007fc7103b30bf in QWidgetPrivate::paintSiblingsRecursive (this=0x644650, pdev=0x90a5f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9bf000) at kernel/qwidget.cpp:5627
#26 0x00007fc7103b225a in QWidgetPrivate::drawWidget (this=0x644650, pdev=0x90a5f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9bf000)
    at kernel/qwidget.cpp:5473
#27 0x00007fc7103b30bf in QWidgetPrivate::paintSiblingsRecursive (this=0x644310, pdev=0x90a5f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9bf000) at kernel/qwidget.cpp:5627
#28 0x00007fc7103b2f7c in QWidgetPrivate::paintSiblingsRecursive (this=0x644310, pdev=0x90a5f8, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9bf000)
    at kernel/qwidget.cpp:5614
#29 0x00007fc7103b225a in QWidgetPrivate::drawWidget (this=0x644310, pdev=0x90a5f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9bf000)
    at kernel/qwidget.cpp:5473
#30 0x00007fc7103b30bf in QWidgetPrivate::paintSiblingsRecursive (this=0x643ec0, pdev=0x90a5f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9bf000) at kernel/qwidget.cpp:5627
#31 0x00007fc7103b225a in QWidgetPrivate::drawWidget (this=0x643ec0, pdev=0x90a5f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9bf000)
    at kernel/qwidget.cpp:5473
#32 0x00007fc7103b30bf in QWidgetPrivate::paintSiblingsRecursive (this=0x777890, pdev=0x90a5f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9bf000) at kernel/qwidget.cpp:5627
#33 0x00007fc7103b225a in QWidgetPrivate::drawWidget (this=0x777890, pdev=0x90a5f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9bf000)
    at kernel/qwidget.cpp:5473
#34 0x00007fc710573051 in QWidgetBackingStore::sync (this=0x9bf000) at painting/qbackingstore.cpp:1328
#35 0x00007fc7103a71e0 in QWidgetPrivate::syncBackingStore (this=0x777890) at kernel/qwidget.cpp:1805
#36 0x00007fc7103b5b32 in QWidget::event (this=0x777670, event=0x1101310) at kernel/qwidget.cpp:8480
#37 0x00007fc710776f7b in QMainWindow::event (this=0x777670, event=0x1101310) at widgets/qmainwindow.cpp:1417
#38 0x00007fc7119936e3 in KXmlGuiWindow::event (this=0x777670, ev=0x1101310) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguiwindow.cpp:132
#39 0x00007fc710363f34 in QApplicationPrivate::notify_helper (this=0x641c40, receiver=0x777670, e=0x1101310) at kernel/qapplication.cpp:4396
#40 0x00007fc71036c35a in QApplication::notify (this=<value optimized out>, receiver=0x777670, e=0x1101310) at kernel/qapplication.cpp:4277
#41 0x00007fc7118ec846 in KApplication::notify (this=0x7fff07963270, receiver=0x777670, event=0x1101310) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310
#42 0x00007fc710fa09dc in QCoreApplication::notifyInternal (this=0x7fff07963270, receiver=0x777670, event=0x1101310) at kernel/qcoreapplication.cpp:732
#43 0x00007fc710fa4185 in sendEvent (receiver=0x0, event_type=0, data=0x60d840) at kernel/qcoreapplication.h:215
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60d840) at kernel/qcoreapplication.cpp:1373
#45 0x00007fc710fcb463 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#47 0x00007fc708669a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#48 0x00007fc70866a270 in ?? () from /usr/lib64/libglib-2.0.so.0
#49 0x00007fc70866a510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#50 0x00007fc710fcb5ff in QEventDispatcherGlib::processEvents (this=0x6132c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#51 0x00007fc710407eee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007fc710f9fe12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#53 0x00007fc710fa0025 in QEventLoop::exec (this=0x7fff079631c0, flags=...) at kernel/qeventloop.cpp:201
#54 0x00007fc710fa443b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#55 0x000000000040417e in _start ()

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

Possible duplicates by query: bug 254762, bug 254554, bug 250138, bug 250075, bug 248473.

Reported using DrKonqi
Comment 1 Ritesh Raj Sarraf 2010-10-28 08:34:50 UTC
Created attachment 52932 [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:

Right click on Icons to select "Show Icons only" and kontact crashed.

-- Backtrace (Reduced):
#6  QModelIndex (this=0xaae3e0, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xaae3e0, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007facc36cceb3 in parent (this=<value optimized out>) at kernel/qabstractitemmodel.h:389
#9  QPersistentModelIndex::parent (this=<value optimized out>) at kernel/qabstractitemmodel.cpp:347
#10 0x00007facc2fdd12f in parent (this=0xaaf840, index=...) at itemviews/qitemselectionmodel.h:78
Comment 2 Galeffi Christian 2010-10-28 12:45:20 UTC
Created attachment 52936 [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 selected "Big Icons" in the pop-up menu on the bar

-- Backtrace (Reduced):
#6  QModelIndex (this=0x7ce440, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x7ce440, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007fc1590a3c1d 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 3 Dave Griffiths 2010-11-08 13:36:35 UTC
Changed from KDE Factory to Stable repos in OpenSUSE 11.3. This has pulled in QT 4.6.3 and this issue is now resolved.
Comment 4 Dario Andres 2010-11-19 22:07:31 UTC
[Comment from a bug triager]
This issue is being tracked at bug 250138. Merging. Thanks

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