Bug 241689

Summary: Kontact crash while trying to change icon appearance.
Product: [Applications] kontact Reporter: Alejandro Nova <alejandronova>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: 1funby, alinm.elena, andresbajotierra, batyiev, bugs+kde, f_bresson, gabin8, kevin.kofler, mad.f3ka, mfraz74+kde, rdieter, rupert, smiejek, the.crazy.zorro
Priority: NOR    
Version: 4.4.3   
Target Milestone: ---   
Platform: Fedora 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
New crash information added by DrKonqi

Description Alejandro Nova 2010-06-14 01:36:01 UTC
Application: kontact (4.4.3)
KDE Platform Version: 4.4.85 (KDE 4.4.85 (KDE 4.5 Beta2))
Qt Version: 4.7.0
Operating System: Linux 2.6.33.5-112.fc13.x86_64 x86_64
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
I was trying to configure the icon appearance (right click on sidebar, select either "Big icon, Medium icon, Small icon" or "Icons only, Icons and Text, Text only"). when Kontact crashed. Tested on KDE 4.5 beta 2.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f3a18591820 (LWP 6958))]

Thread 3 (Thread 0x7f3a0941a710 (LWP 6959)):
#0  0x00000038694da033 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003c3053677d in QProcessManager::run (this=0x3c30882520) at io/qprocess_unix.cpp:245
#2  0x0000003c30472afe in QThreadPrivate::start (arg=0x3c30882520) at thread/qthread_unix.cpp:266
#3  0x000000386a007761 in start_thread (arg=0x7f3a0941a710) at pthread_create.c:301
#4  0x00000038694e14dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f3a06376710 (LWP 6985)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x0000003c30473582 in wait (this=<value optimized out>, mutex=0x252ea30, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x252ea30, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003c30468fca in QThreadPoolThread::run (this=0x253ba70) at concurrent/qthreadpool.cpp:140
#4  0x0000003c30472afe in QThreadPrivate::start (arg=0x253ba70) at thread/qthread_unix.cpp:266
#5  0x000000386a007761 in start_thread (arg=0x7f3a06376710) at pthread_create.c:301
#6  0x00000038694e14dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f3a18591820 (LWP 6958)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x21b5be0, proxy_index=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x0000003c31d3490d in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:2491
#8  0x0000003c31d2b746 in QSortFilterProxyModel::data (this=<value optimized out>, index=..., role=13) at itemviews/qsortfilterproxymodel.cpp:1712
#9  0x0000003c31d4ff3f in data (this=0x21b5520, option=..., index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:398
#10 QStyledItemDelegate::sizeHint (this=0x21b5520, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
#11 0x0000003c37a24bff in ?? () from /usr/lib64/libkontactprivate.so.4
#12 0x0000003c31ccc523 in QListViewPrivate::itemSize (this=0x2357ee0, option=..., index=...) at itemviews/qlistview.cpp:1788
#13 0x0000003c31cce51b in itemSize (this=0x21b8c60, index=...) at ../../src/gui/itemviews/qlistview_p.h:473
#14 QListModeViewBase::indexToListViewItem (this=0x21b8c60, index=...) at itemviews/qlistview.cpp:2215
#15 0x0000003c31cc8675 in QListViewPrivate::indexToListViewItem (this=0x2357ee0, index=...) at itemviews/qlistview.cpp:1733
#16 0x0000003c31cc8fb9 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 0x0000003c31cc907e in QListView::visualRect (this=<value optimized out>, index=<value optimized out>) at itemviews/qlistview.cpp:561
#19 0x0000003c31ca1770 in QAbstractItemView::update (this=<value optimized out>, index=<value optimized out>) at itemviews/qabstractitemview.cpp:3126
#20 0x0000003c31ca1c7e in QAbstractItemViewPrivate::setHoverIndex (this=0x2357ee0, index=...) at itemviews/qabstractitemview.cpp:150
#21 0x0000003c31caf087 in QAbstractItemView::viewportEvent (this=0x236a8d0, event=0x7fff57d58f90) at itemviews/qabstractitemview.cpp:1568
#22 0x0000003c305576c7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x21b8ba0, event=0x7fff57d58f90) at kernel/qcoreapplication.cpp:841
#23 0x0000003c317b15cc in QApplicationPrivate::notify_helper (this=0x21b7ac0, receiver=0x21b8ba0, e=0x7fff57d58f90) at kernel/qapplication.cpp:4341
#24 0x0000003c317b591f in QApplicationPrivate::dispatchEnterLeave (enter=0x21b8ba0, leave=<value optimized out>) at kernel/qapplication.cpp:2678
#25 0x0000003c318294f9 in QApplication::x11ProcessEvent (this=0x7fff57d59ac0, event=0x7fff57d596d0) at kernel/qapplication_x11.cpp:3532
#26 0x0000003c318526f2 in x11EventSourceDispatch (s=0x21bf2b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x000000386ac3bd02 in g_main_dispatch (context=0x21be120) at gmain.c:1960
#28 IA__g_main_context_dispatch (context=0x21be120) at gmain.c:2513
#29 0x000000386ac3fae8 in g_main_context_iterate (context=0x21be120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#30 0x000000386ac3fc9c in IA__g_main_context_iteration (context=0x21be120, may_block=1) at gmain.c:2654
#31 0x0000003c3057fa23 in QEventDispatcherGlib::processEvents (this=0x21877e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#32 0x0000003c3185227e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x0000003c30556cf2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x0000003c30556fbc in QEventLoop::exec (this=0x7fff57d59a00, flags=...) at kernel/qeventloop.cpp:201
#35 0x0000003c3055aedb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#36 0x0000000000403cae in _start ()

Reported using DrKonqi
Comment 1 Christophe Marin 2010-06-14 09:20:45 UTC
I can't reproduce with a stable Qt version. Please install the debug package for kontact and try to get a better backtrace.


>#11 0x0000003c37a24bff in ?? () from /usr/lib64/libkontactprivate.so.4
Comment 2 Alejandro Nova 2010-06-14 14:37:42 UTC
You'll right, I'm testing with Qt 4.7.0. I'll post a better backtrace ASAP.
Comment 3 Alejandro Nova 2010-06-14 15:50:41 UTC
Backtrace with requested debug info packages installed.


Application: Kontact (kontact), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fdc4186c820 (LWP 29371))]

Thread 2 (Thread 0x7fdc2b8a8710 (LWP 29421)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x0000003c30473582 in wait (this=<value optimized out>, mutex=0x1363860, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1363860, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003c30468fca in QThreadPoolThread::run (this=0x138e650) at concurrent/qthreadpool.cpp:140
#4  0x0000003c30472afe in QThreadPrivate::start (arg=0x138e650) at thread/qthread_unix.cpp:266
#5  0x000000386a007761 in start_thread (arg=0x7fdc2b8a8710) at pthread_create.c:301
#6  0x00000038694e14dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fdc4186c820 (LWP 29371)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0xbebe50, proxy_index=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x0000003c31d3490d in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:2491
#8  0x0000003c31d2b746 in QSortFilterProxyModel::data (this=<value optimized out>, index=..., role=13) at itemviews/qsortfilterproxymodel.cpp:1712
#9  0x0000003c31d4ff3f in data (this=0xb08c20, option=..., index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:398
#10 QStyledItemDelegate::sizeHint (this=0xb08c20, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
#11 0x0000003c37a24bff in Kontact::Delegate::sizeHint (this=0xb08c20, option=..., index=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/kontact/src/iconsidepane.cpp:225
#12 0x0000003c31ccc523 in QListViewPrivate::itemSize (this=0xbccf90, option=..., index=...) at itemviews/qlistview.cpp:1788
#13 0x0000003c31cce51b in itemSize (this=0xb14090, index=...) at ../../src/gui/itemviews/qlistview_p.h:473
#14 QListModeViewBase::indexToListViewItem (this=0xb14090, index=...) at itemviews/qlistview.cpp:2215
#15 0x0000003c31cc8675 in QListViewPrivate::indexToListViewItem (this=0xbccf90, index=...) at itemviews/qlistview.cpp:1733
#16 0x0000003c31cc8fb9 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 0x0000003c31cc907e in QListView::visualRect (this=<value optimized out>, index=<value optimized out>) at itemviews/qlistview.cpp:561
#19 0x0000003c31ca1770 in QAbstractItemView::update (this=<value optimized out>, index=<value optimized out>) at itemviews/qabstractitemview.cpp:3126
#20 0x0000003c31ca1c7e in QAbstractItemViewPrivate::setHoverIndex (this=0xbccf90, index=...) at itemviews/qabstractitemview.cpp:150
#21 0x0000003c31caf087 in QAbstractItemView::viewportEvent (this=0xb75ec0, event=0x7ffface09e70) at itemviews/qabstractitemview.cpp:1568
#22 0x0000003c305576c7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xb13fd0, event=0x7ffface09e70) at kernel/qcoreapplication.cpp:841
#23 0x0000003c317b15cc in QApplicationPrivate::notify_helper (this=0xa43ea0, receiver=0xb13fd0, e=0x7ffface09e70) at kernel/qapplication.cpp:4341
#24 0x0000003c317b591f in QApplicationPrivate::dispatchEnterLeave (enter=0xb13fd0, leave=<value optimized out>) at kernel/qapplication.cpp:2678
#25 0x0000003c318294f9 in QApplication::x11ProcessEvent (this=0x7ffface0a9a0, event=0x7ffface0a5b0) at kernel/qapplication_x11.cpp:3532
#26 0x0000003c318526f2 in x11EventSourceDispatch (s=0xa3fd90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x000000386ac3bd02 in g_main_dispatch (context=0xa3ed20) at gmain.c:1960
#28 IA__g_main_context_dispatch (context=0xa3ed20) at gmain.c:2513
#29 0x000000386ac3fae8 in g_main_context_iterate (context=0xa3ed20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#30 0x000000386ac3fc9c in IA__g_main_context_iteration (context=0xa3ed20, may_block=1) at gmain.c:2654
#31 0x0000003c3057fa23 in QEventDispatcherGlib::processEvents (this=0xa0f7e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#32 0x0000003c3185227e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x0000003c30556cf2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x0000003c30556fbc in QEventLoop::exec (this=0x7ffface0a8e0, flags=...) at kernel/qeventloop.cpp:201
#35 0x0000003c3055aedb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#36 0x0000000000403cae in main (argc=1, argv=0x7ffface0af88) at /usr/src/debug/kdepim-4.4.4/kontact/src/main.cpp:224
Comment 4 Alejandro Nova 2010-07-06 03:09:41 UTC
I can reproduce this with KDEPIM 4.5 / KMail 2. It isn't really an issue to have a crash with Qt 4.7 and an outdated KDE PIM stack, but I know now consider this bug to be a serious one.
Comment 5 Nicolas L. 2010-08-12 17:26:00 UTC
*** Bug 245012 has been marked as a duplicate of this bug. ***
Comment 6 Nicolas L. 2010-08-12 17:30:55 UTC
*** Bug 247403 has been marked as a duplicate of this bug. ***
Comment 7 wojciech 2010-10-02 09:35:06 UTC
Application: kontact (4.4.6)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-25-generic i686
Distribution: Ubuntu 10.04.1 LTS

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

Thread 9 (Thread 0xb14b9b70 (LWP 6901)):
#0  0x082e9e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x04cfc48b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x04dd2965 in QTimerInfoList::updateCurrentTime (this=0xab7f574) at kernel/qeventdispatcher_unix.cpp:339
#4  0x04dd29aa in QTimerInfoList::timerWait (this=0xab7f574, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x04dd0a38 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb14b909c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x04dd0ac5 in timerSourcePrepare (source=0x0, timeout=0x82edff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x08a4daca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x08a4dee9 in ?? () from /lib/libglib-2.0.so.0
#9  0x08a4e4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x04dd082f in QEventDispatcherGlib::processEvents (this=0xab7f2d0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x04da0a99 in QEventLoop::processEvents (this=0xb14b9270, flags=) at kernel/qeventloop.cpp:149
#12 0x04da0f1a in QEventLoop::exec (this=0xb14b9270, flags=...) at kernel/qeventloop.cpp:201
#13 0x04c9dc5e in QThread::exec (this=0xa35aa08) at thread/qthread.cpp:490
#14 0x04d7f9ab in QInotifyFileSystemWatcherEngine::run (this=0xa35aa08) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x04ca0f39 in QThreadPrivate::start (arg=0xa35aa08) at thread/qthread_unix.cpp:266
#16 0x046a096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0x077aba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xae531b70 (LWP 6919)):
#0  0x005a4422 in __kernel_vsyscall ()
#1  0x046a5015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x077b89dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xaf23f6ad in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xaf23f791 in ?? () from /usr/lib/libQtWebKit.so.4
#5  0x046a096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x077aba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xac2d8b70 (LWP 6924)):
#0  0x005a4422 in __kernel_vsyscall ()
#1  0x046a5015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x077b89dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x04383128 in queue_processor(void*) () from /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so
#4  0x046a096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x077aba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xabad7b70 (LWP 6925)):
#0  0x005a4422 in __kernel_vsyscall ()
#1  0x046a5015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x077b89dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x04383128 in queue_processor(void*) () from /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so
#4  0x046a096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x077aba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xab2d6b70 (LWP 6926)):
#0  0x005a4422 in __kernel_vsyscall ()
#1  0x046a5015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x077b89dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x04383128 in queue_processor(void*) () from /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so
#4  0x046a096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x077aba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xaa28eb70 (LWP 6942)):
#0  0x005a4422 in __kernel_vsyscall ()
#1  0x046a5342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x077b8a34 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x04881ce7 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xa54edb70 (LWP 8922)):
#0  0x005a4422 in __kernel_vsyscall ()
#1  0x046a5342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x077b8a34 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x04ca1a8f in QWaitConditionPrivate::wait (this=0xa768a7c, mutex=0xa768a78, time=30000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa768a7c, mutex=0xa768a78, time=30000) at thread/qwaitcondition_unix.cpp:160
#5  0x04c95693 in QThreadPoolThread::run (this=0xa01bdf0) at concurrent/qthreadpool.cpp:140
#6  0x04ca0f39 in QThreadPrivate::start (arg=0xa01bdf0) at thread/qthread_unix.cpp:266
#7  0x046a096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x077aba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa447fb70 (LWP 8933)):
#0  0x005a4422 in __kernel_vsyscall ()
#1  0x046a5342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x077b8a34 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x04ca1a8f in QWaitConditionPrivate::wait (this=0xa768a7c, mutex=0xa768a78, time=30000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa768a7c, mutex=0xa768a78, time=30000) at thread/qwaitcondition_unix.cpp:160
#5  0x04c95693 in QThreadPoolThread::run (this=0xa89cce0) at concurrent/qthreadpool.cpp:140
#6  0x04ca0f39 in QThreadPrivate::start (arg=0xa89cce0) at thread/qthread_unix.cpp:266
#7  0x046a096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x077aba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7822730 (LWP 6885)):
[KCrash Handler]
#7  QModelIndex (this=0xa137cb8, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0xa137cb8, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#9  0x04d9453d in QModelIndex::parent (this=0xaf3ee9c) at kernel/qabstractitemmodel.h:389
#10 QPersistentModelIndex::parent (this=0xaf3ee9c) at kernel/qabstractitemmodel.cpp:347
#11 0x015fdd5a in QItemSelectionRange::isValid (this=0xa165c58, index=...) at itemviews/qitemselectionmodel.h:108
#12 QItemSelectionModel::isSelected (this=0xa165c58, index=...) at itemviews/qitemselectionmodel.cpp:1187
#13 0x015cafe0 in QListView::paintEvent (this=0xa134718, e=0xbfdd8c54) at itemviews/qlistview.cpp:984
#14 0x010324e6 in QWidget::event (this=0xa134718, event=0xbfdd8c54) at kernel/qwidget.cpp:8333
#15 0x014521a3 in QFrame::event (this=0xa134718, e=0xbfdd8c54) at widgets/qframe.cpp:557
#16 0x014eefd2 in QAbstractScrollArea::viewportEvent (this=0xa11b848, e=0xa137cb8) at widgets/qabstractscrollarea.cpp:1043
#17 0x015aaab7 in QAbstractItemView::viewportEvent (this=0xa134718, event=0xbfdd8c54) at itemviews/qabstractitemview.cpp:1619
#18 0x014f1a15 in QAbstractScrollAreaPrivate::viewportEvent (this=0xa135540, o=0xa024df8, e=0xbfdd8c54) at widgets/qabstractscrollarea_p.h:100
#19 QAbstractScrollAreaFilter::eventFilter (this=0xa135540, o=0xa024df8, e=0xbfdd8c54) at widgets/qabstractscrollarea_p.h:116
#20 0x04da174a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0xa029e38, receiver=0xa024df8, event=0xbfdd8c54) at kernel/qcoreapplication.cpp:847
#21 0x00fd4709 in QApplicationPrivate::notify_helper (this=0xa029e38, receiver=0xa024df8, e=0xbfdd8c54) at kernel/qapplication.cpp:4392
#22 0x00fda819 in QApplication::notify (this=0xbfddab54, receiver=0xa024df8, e=0xbfdd8c54) at kernel/qapplication.cpp:4361
#23 0x00ae8cea in KApplication::notify (this=0xbfddab54, receiver=0xa024df8, event=0xbfdd8c54) at ../../kdeui/kernel/kapplication.cpp:310
#24 0x04da1feb in QCoreApplication::notifyInternal (this=0xbfddab54, receiver=0xa024df8, event=0xbfdd8c54) at kernel/qcoreapplication.cpp:732
#25 0x01039716 in QCoreApplication::sendSpontaneousEvent (this=0xa01eaf8, pdev=0xa2a8a5c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa0dbca0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#26 QWidgetPrivate::drawWidget (this=0xa01eaf8, pdev=0xa2a8a5c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa0dbca0) at kernel/qwidget.cpp:5420
#27 0x0103a555 in QWidgetPrivate::paintSiblingsRecursive (this=0xa1a2e00, pdev=0xa2a8a5c, siblings=..., index=16, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0dbca0)
    at kernel/qwidget.cpp:5627
#28 0x01039465 in QWidgetPrivate::drawWidget (this=0xa1a2e00, pdev=0xa2a8a5c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa0dbca0) at kernel/qwidget.cpp:5473
#29 0x0103a555 in QWidgetPrivate::paintSiblingsRecursive (this=0xa024830, pdev=0xa2a8a5c, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0dbca0)
    at kernel/qwidget.cpp:5627
#30 0x01039465 in QWidgetPrivate::drawWidget (this=0xa024830, pdev=0xa2a8a5c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa0dbca0) at kernel/qwidget.cpp:5473
#31 0x0103a555 in QWidgetPrivate::paintSiblingsRecursive (this=0xa02d370, pdev=0xa2a8a5c, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0dbca0)
    at kernel/qwidget.cpp:5627
#32 0x0103a38e in QWidgetPrivate::paintSiblingsRecursive (this=0xa02d370, pdev=0xa2a8a5c, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0dbca0)
    at kernel/qwidget.cpp:5614
#33 0x01039465 in QWidgetPrivate::drawWidget (this=0xa02d370, pdev=0xa2a8a5c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa0dbca0) at kernel/qwidget.cpp:5473
#34 0x0103a555 in QWidgetPrivate::paintSiblingsRecursive (this=0xa119ab8, pdev=0xa2a8a5c, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0dbca0)
    at kernel/qwidget.cpp:5627
#35 0x01039465 in QWidgetPrivate::drawWidget (this=0xa119ab8, pdev=0xa2a8a5c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa0dbca0) at kernel/qwidget.cpp:5473
#36 0x0103a555 in QWidgetPrivate::paintSiblingsRecursive (this=0xa10fba0, pdev=0xa2a8a5c, siblings=..., index=6, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0dbca0)
    at kernel/qwidget.cpp:5627
#37 0x0103a38e in QWidgetPrivate::paintSiblingsRecursive (this=0xa10fba0, pdev=0xa2a8a5c, siblings=..., index=45, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0dbca0)
    at kernel/qwidget.cpp:5614
#38 0x01039465 in QWidgetPrivate::drawWidget (this=0xa10fba0, pdev=0xa2a8a5c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa0dbca0) at kernel/qwidget.cpp:5473
#39 0x0122c0f0 in QWidgetBackingStore::sync (this=0xa0dbca0) at painting/qbackingstore.cpp:1328
#40 0x0102ba83 in QWidgetPrivate::syncBackingStore (this=0xa10fba0) at kernel/qwidget.cpp:1805
#41 0x01032c86 in QWidget::event (this=0xa11da20, event=0xb0f70d8) at kernel/qwidget.cpp:8480
#42 0x014711d7 in QMainWindow::event (this=0xa11da20, event=0xb0f70d8) at widgets/qmainwindow.cpp:1417
#43 0x00bdf174 in KMainWindow::event (this=0xa11da20, ev=0xb0f70d8) at ../../kdeui/widgets/kmainwindow.cpp:1100
#44 0x00c27c2f in KXmlGuiWindow::event (this=0xa11da20, ev=0xb0f70d8) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:130
#45 0x00fd472c in QApplicationPrivate::notify_helper (this=0xa029e38, receiver=0xa11da20, e=0xb0f70d8) at kernel/qapplication.cpp:4396
#46 0x00fda819 in QApplication::notify (this=0xbfddab54, receiver=0xa11da20, e=0xb0f70d8) at kernel/qapplication.cpp:4361
#47 0x00ae8cea in KApplication::notify (this=0xbfddab54, receiver=0xa11da20, event=0xb0f70d8) at ../../kdeui/kernel/kapplication.cpp:310
#48 0x04da1feb in QCoreApplication::notifyInternal (this=0xbfddab54, receiver=0xa11da20, event=0xb0f70d8) at kernel/qcoreapplication.cpp:732
#49 0x04da524b in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9ffec38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#50 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ffec38) at kernel/qcoreapplication.cpp:1373
#51 0x04da540d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#52 0x04dd0d04 in QCoreApplication::sendPostedEvents (s=0xa020f90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#53 postEventSourceDispatch (s=0xa020f90) at kernel/qeventdispatcher_glib.cpp:277
#54 0x08a4a5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#55 0x08a4e2d8 in ?? () from /lib/libglib-2.0.so.0
#56 0x08a4e4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#57 0x04dd07f5 in QEventDispatcherGlib::processEvents (this=0x9ffe918, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#58 0x01095f85 in QGuiEventDispatcherGlib::processEvents (this=0x9ffe918, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x04da0a99 in QEventLoop::processEvents (this=0xbfddaab4, flags=) at kernel/qeventloop.cpp:149
#60 0x04da0f1a in QEventLoop::exec (this=0xbfddaab4, flags=...) at kernel/qeventloop.cpp:201
#61 0x04da54cf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#62 0x00fd3557 in QApplication::exec () at kernel/qapplication.cpp:3672
#63 0x0804b472 in _start ()
Comment 8 1funby 2010-10-07 19:55:35 UTC
Created attachment 52320 [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:

Right click on the sidebar
Select Icons only
Select Small Icons

-- Backtrace (Reduced):
#10 0xb67e2549 in QListView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#11 0xb62713ba in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0xb66862c5 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0xb67177a1 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb67bd754 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
Comment 9 Tristan Alder 2010-10-09 23:13:20 UTC
Created attachment 52379 [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:

Run Kontact
Change Left Icons to small
CRAAAASH

-- Backtrace (Reduced):
#7  0x0171e906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x9000380, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x0171ea73 in QSortFilterProxyModel::mapToSource (this=0x9000370, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x01714abc in QSortFilterProxyModel::data (this=0x9000370, index=..., role=13) at itemviews/qsortfilterproxymodel.cpp:1712
#10 0x0173eba3 in data (this=0x8ffff80, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#11 QStyledItemDelegate::sizeHint (this=0x8ffff80, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
Comment 10 f_bresson 2010-10-16 22:15:49 UTC
Created attachment 52577 [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

- I tried to change the size of the icons and to remove the text below these icons on the right side panel. At each try, Kontact crashes

-- Backtrace (Reduced):
#6  0x00007eff1764b4fc in QSortFilterProxyModelPrivate::proxy_to_source (this=0x1016f40, proxy_index=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x00007eff1764b61d in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#8  0x00007eff17641b96 in QSortFilterProxyModel::data (this=0x1016f40, index=..., role=0) at itemviews/qsortfilterproxymodel.cpp:1712
#9  0x00007eff17669d8f in data (this=0x10045e0, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#10 QStyledItemDelegate::sizeHint (this=0x10045e0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
Comment 11 Andrey Batyiev 2010-10-19 23:29:59 UTC
Created attachment 52691 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

I have changed icon size on the left bar in main kontact window (bar with mail, address book and other stuff) from small to big. Icons correctly changed their size. However when I move mouse pointer over icons kontact crashes. Moving mouse pointer only on scrollbar near icons and scrolling on it works just fine and correctly.

-- Backtrace (Reduced):
#19 0xb6cb9a31 in QAbstractItemView::update(QModelIndex const&) () from /usr/lib/qt4/libQtGui.so.4
#20 0xb6cbde48 in QAbstractItemViewPrivate::setHoverIndex(QPersistentModelIndex const&) () from /usr/lib/qt4/libQtGui.so.4
#21 0xb6cbe8a4 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#22 0xb6c4386e in QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#23 0xb6670180 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/qt4/libQtCore.so.4
Comment 12 Robert Michael Telonis 2010-10-22 03:28:26 UTC
Running kontact in maverick gnome produces same error

Sent from my iPad

On 10/10/2010, at 8:13 AM, Tristan Alder <smiejek@poczta.onet.pl> wrote:

> https://bugs.kde.org/show_bug.cgi?id=241689
> 
> 
> 
> 
> 
> --- Comment #9 from Tristan Alder <smiejek poczta onet pl>  2010-10-09 23:13:20 ---
> Created an attachment (id=52379)
> --> (http://bugs.kde.org/attachment.cgi?id=52379)
> 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:
> 
> Run Kontact
> Change Left Icons to small
> CRAAAASH
> 
> -- Backtrace (Reduced):
> #7  0x0171e906 in QSortFilterProxyModelPrivate::proxy_to_source
> (this=0x9000380, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
> #8  0x0171ea73 in QSortFilterProxyModel::mapToSource (this=0x9000370,
> proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
> #9  0x01714abc in QSortFilterProxyModel::data (this=0x9000370, index=...,
> role=13) at itemviews/qsortfilterproxymodel.cpp:1712
> #10 0x0173eba3 in data (this=0x8ffff80, option=..., index=...) at
> ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
> #11 QStyledItemDelegate::sizeHint (this=0x8ffff80, option=..., index=...) at
> itemviews/qstyleditemdelegate.cpp:440
> 
> -- 
> 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 13 Nikolay Rysev 2010-11-01 14:32:32 UTC
Created attachment 53039 [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

I can also confirm this. Maybe my stacktrace will be useful.

- What I was doing when the application crashed:

Change appearance of leftside buttons to «big».

-- Backtrace (Reduced):
#10 0xb6d7cf27 in QListView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#11 0xb683827e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0xb6c2ae13 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0xb6cb9f22 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb6d5aa1f in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
Comment 14 Sascha Heberger 2010-11-01 20:15:31 UTC
Created attachment 53046 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

I changed the style of the sidebar to "icons only".

-- Backtrace (Reduced):
#7  0x01718906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x8bc5528, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x01718a73 in QSortFilterProxyModel::mapToSource (this=0x8bc5518, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x0170eabc in QSortFilterProxyModel::data (this=0x8bc5518, index=..., role=13) at itemviews/qsortfilterproxymodel.cpp:1712
#10 0x01738ba3 in data (this=0x8bc51f0, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#11 QStyledItemDelegate::sizeHint (this=0x8bc51f0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
Comment 15 Alin M Elena 2010-11-04 23:49:24 UTC
Created attachment 53149 [details]
New crash information added by DrKonqi

kontact (4.6 pre) on KDE Platform 4.5.74 (4.6 >= 20101027) "release 5" using Qt 4.7.0

got the crash changing to small icons... kde 4.6 trunk

-- Backtrace (Reduced):
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x650110, proxy_index=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x00007f7d5a29fe4d in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:2491
#8  0x00007f7d5a29eb36 in QSortFilterProxyModel::data (this=<value optimized out>, index=..., role=13) at itemviews/qsortfilterproxymodel.cpp:1712
#9  0x00007f7d5a2c16ff in data (this=0x64f960, option=..., index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:398
#10 QStyledItemDelegate::sizeHint (this=0x64f960, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
Comment 16 Alejandro Nova 2010-11-19 15:44:18 UTC
Qt 4.7.1 doesn't solve this, but comes close. Can anyone review this for KMail 4.4.8? Is this bug present in Kontact 4.5.7x?
Comment 17 Dario Andres 2010-11-19 22:10:27 UTC
[Comment from a bug triager]
Bug 250138 seems related to this. It seems to be related to Qt 4.7.x; as there are several comments confirming this doesn't happen with Qt 4.6.x
Comment 18 Andrew 2010-11-22 15:22:24 UTC
Created attachment 53631 [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:
Changing icon appearance in Kontact and the application crashes

-- Backtrace (Reduced):
#7  0x0441e906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x98a0220, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x0441ea73 in QSortFilterProxyModel::mapToSource (this=0x98a0210, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x04414abc in QSortFilterProxyModel::data (this=0x98a0210, index=..., role=13) at itemviews/qsortfilterproxymodel.cpp:1712
#10 0x0443eba3 in data (this=0x989ef70, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#11 QStyledItemDelegate::sizeHint (this=0x989ef70, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:440
Comment 19 Alejandro Nova 2010-11-22 15:27:58 UTC
Can you merge this with bug 250138 ? It's essentially the same thing, but bug 250138 seems to have more activity.
Comment 20 Dario Andres 2010-11-30 21:01:56 UTC
[Comment from a bug triager]
Merging with bug 250138. Regards

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