Bug 250031

Summary: Kontact crash when resing icons in main toolbar or switching PIM application [QSortFilterProxyModelPrivate::proxy_to_source, QSortFilterProxyModel::mapToSource, invalid Kontact::Navigator::qt_metacall]
Product: [Applications] kontact Reporter: Paulo Novais <ap.novais.vale>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, geeson, raindogx, savolainen
Priority: NOR    
Version: 4.4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Paulo Novais 2010-09-03 16:01:14 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.35-19-generic x86_64
Distribution: Ubuntu maverick (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
resing icons in main toolbar of Kontact and remove the text for showing only icons.

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

Thread 2 (Thread 0x7f3f79074710 (LWP 2953)):
#0  0x00007f3f9bec53a5 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007f3f9bec57e8 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f3f9bec5dcc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f3fa38acbd6 in QEventDispatcherGlib::processEvents (this=0x35e9320, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f3fa387f3f2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f3fa387f7dc in QEventLoop::exec (this=0x7f3f79073d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f3fa378a1dd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f3fa385f198 in QInotifyFileSystemWatcherEngine::run (this=0x35e8380) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3fa378d15e in QThreadPrivate::start (arg=0x35e8380) at thread/qthread_unix.cpp:266
#9  0x00007f3f9e252971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f3fa317592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3fa6133780 (LWP 2818)):
[KCrash Handler]
#6  0x00007f3fa4817fbc in QSortFilterProxyModelPrivate::proxy_to_source (this=0x21482d0, proxy_index=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x00007f3fa48180dd in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#8  0x00007f3fa480eab5 in QSortFilterProxyModel::buddy (this=0x20d7310, index=...) at itemviews/qsortfilterproxymodel.cpp:1994
#9  0x00007f3fa4784b3b in QAbstractItemView::currentChanged (this=0x2136500, current=..., previous=...) at itemviews/qabstractitemview.cpp:3385
#10 0x00007f3fa4786ff3 in QAbstractItemView::qt_metacall (this=0x2136500, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffde90c3e0)
    at .moc/release-shared/moc_qabstractitemview.cpp:238
#11 0x00007f3fa4914e55 in QListView::qt_metacall (this=0x0, _c=34898640, _id=34899520, _a=0x0) at .moc/release-shared/moc_qlistview.cpp:111
#12 0x00007f3fa5d51140 in Kontact::Navigator::qt_metacall (this=0x0, _c=34898640, _id=34899520, _a=0x0) at ./iconsidepane.moc:76
#13 0x00007f3fa3898517 in QMetaObject::activate (sender=0x2114fb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#14 0x00007f3fa47d80da in QItemSelectionModel::currentChanged (this=0x0, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#15 0x00007f3fa47d8222 in QItemSelectionModel::setCurrentIndex (this=0x2114fb0, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1156
#16 0x00007f3fa4787c84 in QAbstractItemView::mousePressEvent (this=0x2136500, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1657
#17 0x00007f3fa428a2f5 in QWidget::event (this=0x2136500, event=0x7fffde90d330) at kernel/qwidget.cpp:8153
#18 0x00007f3fa46530f6 in QFrame::event (this=0x2136500, e=0x7fffde90d330) at widgets/qframe.cpp:557
#19 0x00007f3fa478c5cb in QAbstractItemView::viewportEvent (this=0x2136500, event=0x7fffde90d330) at itemviews/qabstractitemview.cpp:1619
#20 0x00007f3fa387fef7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1fc8e60, event=0x7fffde90d330) at kernel/qcoreapplication.cpp:847
#21 0x00007f3fa423465c in QApplicationPrivate::notify_helper (this=0x1fca420, receiver=0x1fc8e60, e=0x7fffde90d330) at kernel/qapplication.cpp:4385
#22 0x00007f3fa423a9be in QApplication::notify (this=0x7fffde90e040, receiver=0x1fc8e60, e=0x7fffde90d330) at kernel/qapplication.cpp:3952
#23 0x00007f3fa4f81f16 in KApplication::notify (this=0x7fffde90e040, receiver=0x1fc8e60, event=0x7fffde90d330) at ../../kdeui/kernel/kapplication.cpp:310
#24 0x00007f3fa38806cc in QCoreApplication::notifyInternal (this=0x7fffde90e040, receiver=0x1fc8e60, event=0x7fffde90d330) at kernel/qcoreapplication.cpp:732
#25 0x00007f3fa423946e in QCoreApplication::sendEvent (receiver=0x1fc8e60, event=0x7fffde90d330, alienWidget=0x1fc8e60, nativeWidget=0x20de770, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QApplicationPrivate::sendMouseEvent (receiver=0x1fc8e60, event=0x7fffde90d330, alienWidget=0x1fc8e60, nativeWidget=0x20de770, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3051
#27 0x00007f3fa42bc265 in QETWidget::translateMouseEvent (this=0x20de770, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#28 0x00007f3fa42bab7c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffde90dc50) at kernel/qapplication_x11.cpp:3536
#29 0x00007f3fa42e7022 in x11EventSourceDispatch (s=0x1fc6c50, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007f3f9bec1cb2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007f3f9bec5c18 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007f3f9bec5dcc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007f3fa38acb83 in QEventDispatcherGlib::processEvents (this=0x1f99fb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x00007f3fa42e698e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f3fa387f3f2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007f3fa387f7dc in QEventLoop::exec (this=0x7fffde90df80, flags=) at kernel/qeventloop.cpp:201
#37 0x00007f3fa38838ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#38 0x0000000000403b5e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-18 16:54:56 UTC
[Comment from a bug triager]
From bug 253533:
-- Information about the crash:
I was in my feeds and then I selected Summary from the icon list.  This is when
Kontact crashed.  I've noticed the same behavior when switching from Feeds to
Mail as well.
Comment 2 Dario Andres 2010-11-18 16:55:02 UTC
*** Bug 253533 has been marked as a duplicate of this bug. ***
Comment 3 Stefan Savolainen 2010-11-21 17:40:02 UTC
Created attachment 53613 [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

changing the left hand navigation bar to symbols only, click on summary, 
Kontact crashes.

-- Backtrace (Reduced):
#7  0x01fb0906 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x8774120, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x01fb0a73 in QSortFilterProxyModel::mapToSource (this=0x8768098, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x01fa6f70 in QSortFilterProxyModel::buddy (this=0x8768098, index=...) at itemviews/qsortfilterproxymodel.cpp:1994
#10 0x01f154cb in QAbstractItemView::currentChanged (this=0x8839310, current=..., previous=...) at itemviews/qabstractitemview.cpp:3385
#11 0x01f38ad1 in QListView::currentChanged (this=0x8839310, current=..., previous=...) at itemviews/qlistview.cpp:3101
Comment 4 geeson 2010-12-19 18:59:07 UTC
Created attachment 55079 [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: Using the icon resizing option. I repeated the process twice, each on a different icon, but both times Kontact crashed.

-- Backtrace (Reduced):
#7  QSortFilterProxyModelPrivate::proxy_to_source (this=0x8bd9740, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x06d44834 in QSortFilterProxyModel::mapToSource (this=0x8c842f8, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2499
#9  0x06d4344f in QSortFilterProxyModel::buddy (this=0x8c842f8, index=...) at itemviews/qsortfilterproxymodel.cpp:1994
#10 0x06cb736c in QAbstractItemView::currentChanged (this=0x8d71f48, current=..., previous=...) at itemviews/qabstractitemview.cpp:3387
#11 0x06cd9d22 in QListView::currentChanged (this=0x8d71f48, current=..., previous=...) at itemviews/qlistview.cpp:3101
Comment 5 Christophe Marin 2011-01-25 13:43:40 UTC

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