Bug 265530

Summary: kontact crashed when i switched to kmail by hitting ctrl+2
Product: [Applications] kontact Reporter: Serge Ratke <wuseldusel>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: antonis+kdebugs
Priority: NOR    
Version: 4.6 beta4   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Serge Ratke 2011-02-05 17:14:16 UTC
Application: kontact (4.6 beta4)
KDE Platform Version: 4.6.00 (4.6.0) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-gentoo x86_64
Distribution (Platform): Gentoo Packages

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

started kontact initially in akregator. hit ctrl+2 to switch to mails, and then ... bam ... kontact crashed.

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

Thread 2 (Thread 0x7f2c4e5da700 (LWP 2852)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2c5e5818ed in WTF::TCMalloc_PageHeap::scavengerThread (this=<value optimized out>) at wtf/FastMalloc.cpp:2378
#2  0x00007f2c5e5819f9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f2c5ed35f34) at wtf/FastMalloc.cpp:1497
#3  0x00007f2c59f60d4c in start_thread (arg=0x7f2c4e5da700) at pthread_create.c:301
#4  0x00007f2c5f0722ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f2c61aa6760 (LWP 2850)):
[KCrash Handler]
#6  QModelIndex (this=0xbc3c80, child=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xbc3c80, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007f2c6067c8f1 in parent (this=0x118a1c0, index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0x118a1c0, index=...) at itemviews/qtreeview.cpp:2758
#10 0x00007f2c60680b54 in QTreeViewPrivate::itemHeight (this=0x1193fc0, item=23) at itemviews/qtreeview.cpp:3229
#11 0x00007f2c60680de5 in QTreeViewPrivate::updateScrollBars (this=0x1193fc0) at itemviews/qtreeview.cpp:3452
#12 0x00007f2c6068118d in QTreeView::updateGeometries (this=0x118a1c0) at itemviews/qtreeview.cpp:2686
#13 0x00007f2c601a5cf5 in QWidget::event (this=0x118a1c0, event=0x7fff371beba0) at kernel/qwidget.cpp:8354
#14 0x00007f2c6052fa86 in QFrame::event (this=0x118a1c0, e=0x7fff371beba0) at widgets/qframe.cpp:557
#15 0x00007f2c6063fc73 in QAbstractItemView::viewportEvent (this=0x118a1c0, event=0x7fff371beba0) at itemviews/qabstractitemview.cpp:1619
#16 0x00007f2c60684795 in QTreeView::viewportEvent (this=0x118a1c0, event=0x7fff371beba0) at itemviews/qtreeview.cpp:1256
#17 0x00007f2c5f780e36 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x117e120, event=0x7fff371beba0) at kernel/qcoreapplication.cpp:847
#18 0x00007f2c60154701 in QApplicationPrivate::notify_helper (this=0x9e4350, receiver=0x117e120, e=0x7fff371beba0) at kernel/qapplication.cpp:4441
#19 0x00007f2c6015921a in QApplication::notify (this=<value optimized out>, receiver=0x117e120, e=0x7fff371beba0) at kernel/qapplication.cpp:4324
#20 0x00007f2c60e59056 in KApplication::notify (this=0x7fff371c1df0, receiver=0x117e120, event=0x7fff371beba0) at /var/tmp/portage/kde-base/kdelibs-4.6.0-r1/work/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#21 0x00007f2c5f7815eb in QCoreApplication::notifyInternal (this=0x7fff371c1df0, receiver=0x117e120, event=0x7fff371beba0) at kernel/qcoreapplication.cpp:732
#22 0x00007f2c601a181d in sendEvent (this=0x1178bf0, recursive=false, disableUpdates=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x1178bf0, recursive=false, disableUpdates=<value optimized out>) at kernel/qwidget.cpp:7270
#24 0x00007f2c601a9503 in QWidgetPrivate::show_helper (this=0x1178bf0) at kernel/qwidget.cpp:7321
#25 0x00007f2c601a995a in QWidget::setVisible (this=0x117e120, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#26 0x00007f2c601a94b6 in show (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#27 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#28 0x00007f2c601a951f in QWidgetPrivate::show_helper (this=0x1193fc0) at kernel/qwidget.cpp:7327
#29 0x00007f2c601a995a in QWidget::setVisible (this=0x118a1c0, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#30 0x00007f2c601a94b6 in show (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#31 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#32 0x00007f2c601a951f in QWidgetPrivate::show_helper (this=0x117d540) at kernel/qwidget.cpp:7327
#33 0x00007f2c601a995a in QWidget::setVisible (this=0x118b130, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#34 0x00007f2c601a94b6 in show (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#35 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#36 0x00007f2c601a951f in QWidgetPrivate::show_helper (this=0x1288bd0) at kernel/qwidget.cpp:7327
#37 0x00007f2c601a995a in QWidget::setVisible (this=0x1284470, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#38 0x00007f2c601a94b6 in show (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#39 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#40 0x00007f2c601a951f in QWidgetPrivate::show_helper (this=0xfadab0) at kernel/qwidget.cpp:7327
#41 0x00007f2c601a995a in QWidget::setVisible (this=0xf7a260, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#42 0x00007f2c601a94b6 in show (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#43 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#44 0x00007f2c601a951f in QWidgetPrivate::show_helper (this=0xfad860) at kernel/qwidget.cpp:7327
#45 0x00007f2c601a995a in QWidget::setVisible (this=0x1013e50, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#46 0x00007f2c601a94b6 in show (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#47 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#48 0x00007f2c601a951f in QWidgetPrivate::show_helper (this=0x1172a90) at kernel/qwidget.cpp:7327
#49 0x00007f2c601a995a in QWidget::setVisible (this=0x11889a0, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#50 0x00007f2c601a94b6 in show (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#51 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7690
#52 0x00007f2c601a951f in QWidgetPrivate::show_helper (this=0x11679b0) at kernel/qwidget.cpp:7327
#53 0x00007f2c601a995a in QWidget::setVisible (this=0x1167400, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#54 0x00007f2c6018a359 in show (this=0x9ee920, index=1) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#55 QStackedLayout::setCurrentIndex (this=0x9ee920, index=1) at kernel/qstackedlayout.cpp:311
#56 0x00007f2c616c5da2 in Kontact::MainWindow::selectPlugin (this=0xabd510, plugin=0xd246e0) at /var/tmp/portage/kde-base/kontact-4.5.94.1/work/kontact-4.5.94.1/kontact/src/mainwindow.cpp:816
#57 0x00007f2c616c945a in Kontact::MainWindow::qt_metacall (this=0xabd510, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff371bfbb0) at /var/tmp/portage/kde-base/kontact-4.5.94.1/work/kontact-4.5.94.1_build/kontact/src/mainwindow.moc:115
#58 0x00007f2c5f79924f in QMetaObject::activate (sender=0xb03a90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x11979a0) at kernel/qobject.cpp:3272
#59 0x00007f2c616cb8ff in Kontact::SidePaneBase::pluginSelected (this=<value optimized out>, _t1=0xd246e0) at /var/tmp/portage/kde-base/kontact-4.5.94.1/work/kontact-4.5.94.1_build/kontact/src/sidepanebase.moc:90
#60 0x00007f2c616cb950 in Kontact::SidePaneBase::qt_metacall (this=0xb03a90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff371bfd20) at /var/tmp/portage/kde-base/kontact-4.5.94.1/work/kontact-4.5.94.1_build/kontact/src/sidepanebase.moc:77
#61 0x00007f2c616cb9f8 in Kontact::IconSidePane::qt_metacall (this=0xb03a90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /var/tmp/portage/kde-base/kontact-4.5.94.1/work/kontact-4.5.94.1_build/kontact/src/iconsidepane.moc:145
#62 0x00007f2c5f79924f in QMetaObject::activate (sender=0xb05810, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x11979a0) at kernel/qobject.cpp:3272
#63 0x00007f2c616cc31f in Kontact::Navigator::pluginActivated (this=<value optimized out>, _t1=0xd246e0) at /var/tmp/portage/kde-base/kontact-4.5.94.1/work/kontact-4.5.94.1_build/kontact/src/iconsidepane.moc:96
#64 0x00007f2c616cc3b0 in Kontact::Navigator::slotCurrentChanged (this=0xb05810, current=...) at /var/tmp/portage/kde-base/kontact-4.5.94.1/work/kontact-4.5.94.1/kontact/src/iconsidepane.cpp:475
#65 0x00007f2c616cc461 in Kontact::Navigator::qt_metacall (this=0xb05810, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff371bfea0) at /var/tmp/portage/kde-base/kontact-4.5.94.1/work/kontact-4.5.94.1_build/kontact/src/iconsidepane.moc:82
#66 0x00007f2c5f79924f in QMetaObject::activate (sender=0xb14d90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x11979a0) at kernel/qobject.cpp:3272
#67 0x00007f2c60694eda in QItemSelectionModel::currentChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#68 0x00007f2c60694fd2 in QItemSelectionModel::setCurrentIndex (this=0xb14d90, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1156
#69 0x00007f2c616cc06e in Kontact::Navigator::setCurrentPlugin (this=0xb05810, plugin=...) at /var/tmp/portage/kde-base/kontact-4.5.94.1/work/kontact-4.5.94.1/kontact/src/iconsidepane.cpp:380
#70 0x00007f2c616c4862 in Kontact::MainWindow::slotActionTriggered (this=0xabd510) at /var/tmp/portage/kde-base/kontact-4.5.94.1/work/kontact-4.5.94.1/kontact/src/mainwindow.cpp:905
#71 0x00007f2c616c9488 in Kontact::MainWindow::qt_metacall (this=0xabd510, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff371c0210) at /var/tmp/portage/kde-base/kontact-4.5.94.1/work/kontact-4.5.94.1_build/kontact/src/mainwindow.moc:117
#72 0x00007f2c5f79924f in QMetaObject::activate (sender=0xdbc1d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x11979a0) at kernel/qobject.cpp:3272
#73 0x00007f2c6014e0b2 in QAction::triggered (this=<value optimized out>, _t1=true) at .moc/release-shared/moc_qaction.cpp:263
#74 0x00007f2c6014e2aa in QAction::activate (this=0xdbc1d0, event=<value optimized out>) at kernel/qaction.cpp:1257
#75 0x00007f2c6014e427 in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1183
#76 0x00007f2c60d7712d in KAction::event (this=<value optimized out>, event=0x7fff371c08a0) at /var/tmp/portage/kde-base/kdelibs-4.6.0-r1/work/kdelibs-4.6.0/kdeui/actions/kaction.cpp:131
#77 0x00007f2c60154734 in QApplicationPrivate::notify_helper (this=0x9e4350, receiver=0xdbc1d0, e=0x7fff371c08a0) at kernel/qapplication.cpp:4445
#78 0x00007f2c6015921a in QApplication::notify (this=<value optimized out>, receiver=0xdbc1d0, e=0x7fff371c08a0) at kernel/qapplication.cpp:4324
#79 0x00007f2c60e59056 in KApplication::notify (this=0x7fff371c1df0, receiver=0xdbc1d0, event=0x7fff371c08a0) at /var/tmp/portage/kde-base/kdelibs-4.6.0-r1/work/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#80 0x00007f2c5f7815eb in QCoreApplication::notifyInternal (this=0x7fff371c1df0, receiver=0xdbc1d0, event=0x7fff371c08a0) at kernel/qcoreapplication.cpp:732
#81 0x00007f2c60186c8b in sendEvent (this=<value optimized out>, e=0x7fff371c0e90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#82 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff371c0e90) at kernel/qshortcutmap.cpp:879
#83 0x00007f2c60188196 in QShortcutMap::tryShortcutEvent (this=0x9e4478, o=<value optimized out>, e=0x7fff371c0e90) at kernel/qshortcutmap.cpp:364
#84 0x00007f2c6015ac18 in QApplication::notify (this=0x7fff371c1df0, receiver=0x14dbd00, e=0x7fff371c0e90) at kernel/qapplication.cpp:3887
#85 0x00007f2c60e59056 in KApplication::notify (this=0x7fff371c1df0, receiver=0x14dbd00, event=0x7fff371c0e90) at /var/tmp/portage/kde-base/kdelibs-4.6.0-r1/work/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#86 0x00007f2c5f7815eb in QCoreApplication::notifyInternal (this=0x7fff371c1df0, receiver=0x14dbd00, event=0x7fff371c0e90) at kernel/qcoreapplication.cpp:732
#87 0x00007f2c601f4d3b in QKeyMapper::sendKeyEvent (keyWidget=0x14dbd00, grab=<value optimized out>, type=QEvent::KeyPress, code=50, modifiers=<value optimized out>, text=..., autorepeat=false, count=1, nativeScanCode=11, nativeVirtualKey=50, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1867
#88 0x00007f2c601f518f in QKeyMapperPrivate::translateKeyEvent (this=<value optimized out>, keyWidget=0x14dbd00, event=<value optimized out>, grab=false) at kernel/qkeymapper_x11.cpp:1837
#89 0x00007f2c601d1d63 in QApplication::x11ProcessEvent (this=0x7fff371c1df0, event=0x7fff371c1a40) at kernel/qapplication_x11.cpp:3457
#90 0x00007f2c601f9222 in x11EventSourceDispatch (s=0x9e7cf0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#91 0x00007f2c59a13322 in g_main_dispatch (context=0x9e6d20) at gmain.c:2149
#92 g_main_context_dispatch (context=0x9e6d20) at gmain.c:2702
#93 0x00007f2c59a13b00 in g_main_context_iterate (context=0x9e6d20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#94 0x00007f2c59a13d9d in g_main_context_iteration (context=0x9e6d20, may_block=1) at gmain.c:2843
#95 0x00007f2c5f7ad653 in QEventDispatcherGlib::processEvents (this=0x9b9e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#96 0x00007f2c601f8ece in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#97 0x00007f2c5f780342 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#98 0x00007f2c5f780724 in QEventLoop::exec (this=0x7fff371c1d40, flags=) at kernel/qeventloop.cpp:201
#99 0x00007f2c5f78479b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#100 0x000000000040427f in main (argc=3, argv=0x7fff371c2418) at /var/tmp/portage/kde-base/kontact-4.5.94.1/work/kontact-4.5.94.1/kontact/src/main.cpp:218

Possible duplicates by query: bug 265035, bug 264532, bug 264095, bug 262636, bug 262434.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-02-06 13:57:15 UTC

*** This bug has been marked as a duplicate of bug 219964 ***
Comment 2 Antonis Kanouras 2011-06-02 16:26:32 UTC
Created attachment 60557 [details]
New crash information added by DrKonqi

kontact (4.7 pre) on KDE Platform 4.6.80 (4.7 Beta1) "release 6" using Qt 4.7.3

- What I was doing when the application crashed:

Opened Kontact with Akregator as the initial application, waited for it to settle, and then clicked on the KMail button.

-- Backtrace (Reduced):
#6  QModelIndex (this=0xc68510, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xc68510, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007f7c2c9a55d4 in parent (this=0xc391b0, index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0xc391b0, index=...) at itemviews/qtreeview.cpp:2759
#10 0x00007f7c2c9a5cbc in QTreeViewPrivate::itemHeight (this=0xc39210, item=<value optimized out>) at itemviews/qtreeview.cpp:3232