Bug 267647

Summary: KPackageKit Crashed when clicking twice
Product: [Unmaintained] kpackagekit Reporter: Anizman <anizman09+kde>
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, dantti12, devnull, micha, omnicrox, rdieter
Priority: NOR    
Version: unspecified   
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

Description Anizman 2011-03-04 19:11:58 UTC
Application: kpackagekit (0.6.3.3)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.11-83.fc14.i686 i686
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
- What I was doing when the application crashed:
I opened the KPackageKit application and tried to navigate to the 'Applications / Graphics' category. As the icons are in the same position, I usually just click twice without moving the mouse. When I did this, KPackageKit crashed. Navigating to the same category works fine if I move the mouse between one click and another. I can reproduce the error with other categories, as long as the first level icon and the second level icon are in the same position.

-- Backtrace:
Application: KPackageKit (kpackagekit), signal: Segmentation fault
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0x02be7c87 in parent (this=0x87d16b0, index=...) at /usr/include/QtCore/qabstractitemmodel.h:389
#9  KCategorizedView::Private::categoryForIndex (this=0x87d16b0, index=...) at /usr/src/debug/kdelibs-4.5.5/kdeui/itemviews/kcategorizedview.cpp:396
#10 0x02becf6f in KCategorizedView::visualRect (this=0x87ce220, index=...) at /usr/src/debug/kdelibs-4.5.5/kdeui/itemviews/kcategorizedview.cpp:556
#11 0x02bea47b in KCategorizedView::leaveEvent (this=0x87ce220, event=0xbfa0ab6c) at /usr/src/debug/kdelibs-4.5.5/kdeui/itemviews/kcategorizedview.cpp:1047
#12 0x03f4a964 in QWidget::event (this=0x87ce220, event=0xbfa0ab6c) at kernel/qwidget.cpp:8334
#13 0x043481e4 in QFrame::event (this=0x87ce220, e=0xbfa0ab6c) at widgets/qframe.cpp:557
#14 0x043d9e5f in QAbstractScrollArea::event (this=0x87ce220, e=0xbfa0ab6c) at widgets/qabstractscrollarea.cpp:996
#15 0x0447bbec in QAbstractItemView::event (this=0x87ce220, event=0xbfa0ab6c) at itemviews/qabstractitemview.cpp:1555
#16 0x04498d95 in QListView::event (this=0x87ce220, e=0xbfa0ab6c) at itemviews/qlistview.cpp:1632
#17 0x03ef126c in QApplicationPrivate::notify_helper (this=0x85ec530, receiver=0x87ce220, e=0xbfa0ab6c) at kernel/qapplication.cpp:4445
#18 0x03ef5f7f in QApplication::notify (this=0xbfa0c550, receiver=0x87ce220, e=0xbfa0ab6c) at kernel/qapplication.cpp:4410
#19 0x02c18f7b in KApplication::notify (this=0xbfa0c550, receiver=0x87ce220, event=0xbfa0ab6c) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#20 0x022b23b3 in QCoreApplication::notifyInternal (this=0xbfa0c550, receiver=0x87ce220, event=0xbfa0ab6c) at kernel/qcoreapplication.cpp:732
#21 0x03ef185a in sendEvent (enter=0x87cdad8, leave=0x87ce598) at ../../src/corelib/kernel/qcoreapplication.h:215
#22 QApplicationPrivate::dispatchEnterLeave (enter=0x87cdad8, leave=0x87ce598) at kernel/qapplication.cpp:2755
#23 0x03ef2440 in QApplicationPrivate::sendMouseEvent (receiver=0x87cdad8, event=0xbfa0ac90, alienWidget=0x87cdad8, nativeWidget=0x865eae8, buttonDown=0x484fc80, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3085
#24 0x03ef276c in QApplicationPrivate::sendSyntheticEnterLeave (this=0x85ec530, widget=0x87ce598) at kernel/qapplication.cpp:3191
#25 0x03f45ab8 in QWidgetPrivate::hideChildren (this=0x87ce240, spontaneous=false) at kernel/qwidget.cpp:7737
#26 0x03f45a6b in QWidgetPrivate::hideChildren (this=0x87cde00, spontaneous=false) at kernel/qwidget.cpp:7723
#27 0x03f45ca5 in QWidgetPrivate::hide_helper (this=0x87cde00) at kernel/qwidget.cpp:7467
#28 0x03f4efc0 in QWidget::setVisible (this=0x87cdde8, visible=false) at kernel/qwidget.cpp:7639
#29 0x03f2c56b in hide (this=0x87ca1c8, index=1) at ../../src/gui/kernel/qwidget.h:491
#30 QStackedLayout::setCurrentIndex (this=0x87ca1c8, index=1) at kernel/qstackedlayout.cpp:306
#31 0x03f2c64e in QStackedLayout::setCurrentWidget (this=0x87ca1c8, widget=0x87d3cf8) at kernel/qstackedlayout.cpp:365
#32 0x043ad89d in QStackedWidget::setCurrentWidget (this=0x87cdad8, widget=0x87d3cf8) at widgets/qstackedwidget.cpp:250
#33 0x03b90ffc in AddRmKCM::search (this=0x87ca7d0) at /usr/src/debug/kpackagekit-0.6.3.3/AddRm/AddRmKCM.cpp:503
#34 0x03b9178e in AddRmKCM::on_homeView_clicked (this=0x87ca7d0, index=...) at /usr/src/debug/kpackagekit-0.6.3.3/AddRm/AddRmKCM.cpp:367
#35 0x03b92f25 in AddRmKCM::qt_metacall (this=0x87ca7d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfa0b188) at /usr/src/debug/kpackagekit-0.6.3.3/i686-redhat-linux-gnu/AddRm/AddRmKCM.moc:110
#36 0x022b8beb in QMetaObject::metacall (object=0x87ca7d0, cl=QMetaObject::InvokeMetaMethod, idx=46, argv=0xbfa0b188) at kernel/qmetaobject.cpp:237
#37 0x022c80c7 in QMetaObject::activate (sender=0x87ce220, m=0x48402a4, local_signal_index=1, argv=0xbfa0b188) at kernel/qobject.cpp:3272
#38 0x0447c854 in QAbstractItemView::clicked (this=0x87ce220, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:331
#39 0x0447cca0 in QAbstractItemView::mouseReleaseEvent (this=0x87ce220, event=0xbfa0bca4) at itemviews/qabstractitemview.cpp:1789
#40 0x04499640 in QListView::mouseReleaseEvent (this=0x87ce220, e=0xbfa0bca4) at itemviews/qlistview.cpp:796
#41 0x02be9f3e in KCategorizedView::mouseReleaseEvent (this=0x87ce220, event=0xbfa0bca4) at /usr/src/debug/kdelibs-4.5.5/kdeui/itemviews/kcategorizedview.cpp:1034
#42 0x03f4a85b in QWidget::event (this=0x87ce220, event=0xbfa0bca4) at kernel/qwidget.cpp:8200
#43 0x043481e4 in QFrame::event (this=0x87ce220, e=0xbfa0bca4) at widgets/qframe.cpp:557
#44 0x043d80a3 in QAbstractScrollArea::viewportEvent (this=0x87ce220, e=0xbfa0bca4) at widgets/qabstractscrollarea.cpp:1043
#45 0x04479b2f in QAbstractItemView::viewportEvent (this=0x87ce220, event=0xbfa0bca4) at itemviews/qabstractitemview.cpp:1619
#46 0x043daa15 in viewportEvent (this=0x87cf540, o=0x87ce598, e=0xbfa0bca4) at widgets/qabstractscrollarea_p.h:100
#47 QAbstractScrollAreaFilter::eventFilter (this=0x87cf540, o=0x87ce598, e=0xbfa0bca4) at widgets/qabstractscrollarea_p.h:116
#48 0x022b256a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x85ec530, receiver=0x87ce598, event=0xbfa0bca4) at kernel/qcoreapplication.cpp:847
#49 0x03ef1241 in QApplicationPrivate::notify_helper (this=0x85ec530, receiver=0x87ce598, e=0xbfa0bca4) at kernel/qapplication.cpp:4441
#50 0x03ef688d in QApplication::notify (this=0xbfa0c550, receiver=0x87ce598, e=0xbfa0bca4) at kernel/qapplication.cpp:4006
#51 0x02c18f7b in KApplication::notify (this=0xbfa0c550, receiver=0x87ce598, event=0xbfa0bca4) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#52 0x022b23b3 in QCoreApplication::notifyInternal (this=0xbfa0c550, receiver=0x87ce598, event=0xbfa0bca4) at kernel/qcoreapplication.cpp:732
#53 0x03ef21f8 in sendSpontaneousEvent (receiver=0x87ce598, event=0xbfa0bca4, alienWidget=0x87ce598, nativeWidget=0x87c41b0, buttonDown=0x484fc80, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:218
#54 QApplicationPrivate::sendMouseEvent (receiver=0x87ce598, event=0xbfa0bca4, alienWidget=0x87ce598, nativeWidget=0x87c41b0, buttonDown=0x484fc80, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3103
#55 0x03f7b524 in QETWidget::translateMouseEvent (this=0x87c41b0, event=0xbfa0c1dc) at kernel/qapplication_x11.cpp:4438
#56 0x03f79957 in QApplication::x11ProcessEvent (this=0xbfa0c550, event=0xbfa0c1dc) at kernel/qapplication_x11.cpp:3564
#57 0x03fa4790 in x11EventSourceDispatch (s=0x85f16a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#58 0x0067a192 in g_main_dispatch (context=0x85f0890) at gmain.c:2149
#59 g_main_context_dispatch (context=0x85f0890) at gmain.c:2702
#60 0x0067a978 in g_main_context_iterate (context=0x85f0890, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#61 0x0067ac35 in g_main_context_iteration (context=0x85f0890, may_block=1) at gmain.c:2843
#62 0x022e00ad in QEventDispatcherGlib::processEvents (this=0x85ce358, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#63 0x03fa4406 in QGuiEventDispatcherGlib::processEvents (this=0x85ce358, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#64 0x022b154a in QEventLoop::processEvents (this=0xbfa0c4b4, flags=...) at kernel/qeventloop.cpp:149
#65 0x022b17fa in QEventLoop::exec (this=0xbfa0c4b4, flags=...) at kernel/qeventloop.cpp:201
#66 0x022b63a7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#67 0x03eef078 in QApplication::exec () at kernel/qapplication.cpp:3719
#68 0x08052967 in main (argc=-1079991528, argv=0x0) at /usr/src/debug/kpackagekit-0.6.3.3/KPackageKit/main.cpp:67

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

Possible duplicates by query: bug 265394, bug 263821, bug 262473, bug 238819.

Reported using DrKonqi
Comment 1 Rex Dieter 2011-03-04 19:45:36 UTC
rpm -q qt 
please?

There were some crashers fixed in a recent qt update, see
https://admin.fedoraproject.org/updates/qt-4.7.1-17.fc14
Comment 2 Anizman 2011-03-04 20:14:33 UTC
[user@fedora ~]$ rpm -q qt
qt-4.7.1-17.fc14.i686
[user@fedora ~]$

I checked again, and the system is fully up-to-date with Fedora repositories.
Comment 3 Micha Kersloot 2011-03-26 10:18:10 UTC
Created attachment 58348 [details]
New crash information added by DrKonqi

kpackagekit (0.6.3.3) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.1

- What I was doing when the application crashed:

Click on 'Applications' and then on 'Graphics'

-- Backtrace (Reduced):
#7  0x00007f9d960d1842 in KCategorizedView::Private::categoryForIndex(QModelIndex const&) const () from /usr/lib64/libkdeui.so.5
#8  0x00007f9d960d6393 in KCategorizedView::visualRect(QModelIndex const&) const () from /usr/lib64/libkdeui.so.5
#9  0x00007f9d960d3c42 in KCategorizedView::leaveEvent(QEvent*) () from /usr/lib64/libkdeui.so.5
#10 0x0000003a6ac08f80 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#11 0x0000003a6afb3906 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
Comment 4 Jörg Klemenz 2011-08-16 15:01:12 UTC
Created attachment 62871 [details]
New crash information added by DrKonqi

kpackagekit (0.6.3.3) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

- What I was doing when the application crashed:

Click ony any icon in "category" area and very quickly on a new icon in the list which comes up. Crashes 100% of time.

Wait for 3 sec before second click -> no crash.

-- Backtrace (Reduced):
#8  0x4cef3514 in KCategorizedView::Private::categoryForIndex(QModelIndex const&) const () from /usr/lib/libkdeui.so.5
#9  0x4cef8941 in KCategorizedView::visualRect(QModelIndex const&) const () from /usr/lib/libkdeui.so.5
#10 0x4cef76f5 in KCategorizedView::leaveEvent(QEvent*) () from /usr/lib/libkdeui.so.5
#11 0x47fad22d in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x483ade06 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
Comment 5 Rex Dieter 2011-08-16 15:03:45 UTC
for me, this is only (still) reproducible for me if going through systemsettings module, if launching kpackagekit standalone, I can't.
Comment 6 Ruben van Os 2011-09-04 09:20:09 UTC
Created attachment 63366 [details]
New crash information added by DrKonqi

kpackagekit (0.6.3.3) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

- What I was doing when the application crashed:
I clicked twice without moving my mouse, first on a categorie and then on an application on the same location. This caused a Segmentation fault (11). It can be reproduced at any time, by just clicking twice without moving your mouse when in the start page of the "Get and Remove Software" part of the KPackageKit application.

-- Backtrace (Reduced):
#8  0x4fa75514 in parent (this=0x8f58724) at /usr/include/QtCore/qabstractitemmodel.h:389
#9  KCategorizedView::Private::categoryForIndex (this=0x8f58700, index=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/itemviews/kcategorizedview.cpp:396
#10 0x4fa7a941 in visualRect (index=..., this=0x8f6ada8) at /usr/src/debug/kdelibs-4.6.5/kdeui/itemviews/kcategorizedview.cpp:574
#11 KCategorizedView::visualRect (this=0x8f6ada8, index=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/itemviews/kcategorizedview.cpp:564
#12 0x4fa796f5 in KCategorizedView::leaveEvent (this=0x8f6ada8, event=0xbfc9d9b0) at /usr/src/debug/kdelibs-4.6.5/kdeui/itemviews/kcategorizedview.cpp:1073
Comment 7 Dario Andres 2011-10-09 22:28:06 UTC
[Comment from a bug report cleaner]
Bug 270456 now contains some duplicates with the same trace.
Comment 8 Jekyll Wu 2013-11-10 09:17:05 UTC

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