Bug 283408 - MSC crashes when ApplicationListView is destructed (cache reload or window close) [QModelIndex, QSortFilterProxyModel::parent, QTreeView::indexRowSizeHint]
Summary: MSC crashes when ApplicationListView is destructed (cache reload or window cl...
Status: RESOLVED UPSTREAM
Alias: None
Product: muon
Classification: Applications
Component: installer (show other bugs)
Version: 1.2.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Jonathan Thomas
URL:
Keywords:
: 284579 305964 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-05 18:13 UTC by gackthugo
Modified: 2019-03-08 15:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gackthugo 2011-10-05 18:13:42 UTC
Application: muon-installer (1.2.1 "Caustic Carrionite")
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Crashed after installing kubuntu restricted extras on kubuntu 11.10

-- Backtrace:
Application: Centro de Aplicações do Muon (muon-installer), signal: Segmentation fault
[Current thread is 1 (Thread 0xb774f930 (LWP 2806))]

Thread 2 (Thread 0xb5654b70 (LWP 2807)):
#0  0x0066cd10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x00c4b7d5 in do_gettime (frac=0xb5654020, sec=0xb5654018) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00d1e4b6 in QTimerInfoList::updateCurrentTime (this=0x9a591b4) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00d1e80a in QTimerInfoList::timerWait (this=0x9a591b4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00d1d053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb565412c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00d1d0ed in timerSourcePrepare (source=0x9a59180, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0293188c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x02932637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x02932c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x00d1db37 in QEventDispatcherGlib::processEvents (this=0x99d7f18, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00cee1dd in QEventLoop::processEvents (this=0xb56542b0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00cee421 in QEventLoop::exec (this=0xb56542b0, flags=...) at kernel/qeventloop.cpp:201
#13 0x00bf190b in QThread::exec (this=0x99d5460) at thread/qthread.cpp:498
#14 0x00ccee2d in QInotifyFileSystemWatcherEngine::run (this=0x99d5460) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00bf47b3 in QThreadPrivate::start (arg=0x99d5460) at thread/qthread_unix.cpp:331
#16 0x00b39d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x0039b0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb774f930 (LWP 2806)):
[KCrash Handler]
#7  QModelIndex (other=<optimized out>, this=0xbf846740) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0xa81f158, child=...) at itemviews/qsortfilterproxymodel.cpp:1657
#9  0x05110d45 in parent (this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#10 QTreeView::indexRowSizeHint (this=0xa8f71a8, index=...) at itemviews/qtreeview.cpp:2759
#11 0x05114d37 in itemHeight (item=2412, this=0xa882380) at itemviews/qtreeview.cpp:3232
#12 QTreeViewPrivate::itemHeight (this=0xa882380, item=2412) at itemviews/qtreeview.cpp:3221
#13 0x0511500b in QTreeViewPrivate::updateScrollBars (this=0xa882380) at itemviews/qtreeview.cpp:3457
#14 0x05115358 in QTreeView::updateGeometries (this=0xa8f71a8) at itemviews/qtreeview.cpp:2686
#15 0x050caad5 in QAbstractItemView::resizeEvent (this=0xa8f71a8, event=0xbf8470a4) at itemviews/qabstractitemview.cpp:2399
#16 0x04b94f7a in QWidget::event (this=0xa8f71a8, event=0xbf8470a4) at kernel/qwidget.cpp:8449
#17 0x04f9a235 in QFrame::event (this=0xa8f71a8, e=0xbf8470a4) at widgets/qframe.cpp:557
#18 0x0502c7d1 in QAbstractScrollArea::viewportEvent (this=0xa8f71a8, e=0xbf8470a4) at widgets/qabstractscrollarea.cpp:1043
#19 0x050ceb6c in QAbstractItemView::viewportEvent (this=0xa8f71a8, event=0xbf8470a4) at itemviews/qabstractitemview.cpp:1628
#20 0x05119326 in QTreeView::viewportEvent (this=0xa8f71a8, event=0xbf8470a4) at itemviews/qtreeview.cpp:1256
#21 0x0502eee6 in viewportEvent (this=<optimized out>, event=0xbf8470a4) at widgets/qabstractscrollarea_p.h:100
#22 eventFilter (e=0xbf8470a4, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#23 QAbstractScrollAreaFilter::eventFilter (this=0xa810ec8, o=0xa7efb28, e=0xbf8470a4) at widgets/qabstractscrollarea_p.h:115
#24 0x00cef336 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x98a9ce0, receiver=0xa7efb28, event=0xbf8470a4) at kernel/qcoreapplication.cpp:902
#25 0x04b3ad22 in notify_helper (e=0xbf8470a4, receiver=0xa7efb28, this=0x98a9ce0) at kernel/qapplication.cpp:4482
#26 QApplicationPrivate::notify_helper (this=0x98a9ce0, receiver=0xa7efb28, e=0xbf8470a4) at kernel/qapplication.cpp:4458
#27 0x04b401a8 in QApplication::notify (this=0x98a9ce0, receiver=0xa7efb28, e=0xbf8470a4) at kernel/qapplication.cpp:4451
#28 0x0119d721 in KApplication::notify (this=0xbf8486e0, receiver=0xa7efb28, event=0xbf8470a4) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00cef19e in QCoreApplication::notifyInternal (this=0xbf8486e0, receiver=0xa7efb28, event=0xbf8470a4) at kernel/qcoreapplication.cpp:787
#30 0x04b908b3 in sendEvent (event=0xbf8470a4, receiver=0xa7efb28) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0xa787010, recursive=false, disableUpdates=<optimized out>) at kernel/qwidget.cpp:7365
#32 0x04b995b8 in QWidgetPrivate::show_helper (this=0xa787010) at kernel/qwidget.cpp:7416
#33 0x04b993c4 in QWidgetPrivate::show_recursive (this=0xa787010) at kernel/qwidget.cpp:7346
#34 0x04b994c1 in QWidgetPrivate::showChildren (this=0xa882380, spontaneous=false) at kernel/qwidget.cpp:7783
#35 0x04b995e0 in QWidgetPrivate::show_helper (this=0xa882380) at kernel/qwidget.cpp:7422
#36 0x04b993c4 in QWidgetPrivate::show_recursive (this=0xa882380) at kernel/qwidget.cpp:7346
#37 0x04b994c1 in QWidgetPrivate::showChildren (this=0xa86cb30, spontaneous=false) at kernel/qwidget.cpp:7783
#38 0x04b995e0 in QWidgetPrivate::show_helper (this=0xa86cb30) at kernel/qwidget.cpp:7422
#39 0x04b993c4 in QWidgetPrivate::show_recursive (this=0xa86cb30) at kernel/qwidget.cpp:7346
#40 0x04b994c1 in QWidgetPrivate::showChildren (this=0xa82b1b8, spontaneous=false) at kernel/qwidget.cpp:7783
#41 0x04b995e0 in QWidgetPrivate::show_helper (this=0xa82b1b8) at kernel/qwidget.cpp:7422
#42 0x04b993c4 in QWidgetPrivate::show_recursive (this=0xa82b1b8) at kernel/qwidget.cpp:7346
#43 0x04b994c1 in QWidgetPrivate::showChildren (this=0xa755468, spontaneous=false) at kernel/qwidget.cpp:7783
#44 0x04b995e0 in QWidgetPrivate::show_helper (this=0xa755468) at kernel/qwidget.cpp:7422
#45 0x04b99a21 in QWidget::setVisible (this=0xa86fe80, visible=true) at kernel/qwidget.cpp:7697
#46 0x04b76d5d in show (this=0xa86fe80) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#47 QStackedLayout::setCurrentIndex (this=0x99f8f48, index=0) at kernel/qstackedlayout.cpp:311
#48 0x04b770aa in QStackedLayout::takeAt (this=0x99f8f48, index=0) at kernel/qstackedlayout.cpp:265
#49 0x04b68c4d in removeWidgetRecursively (li=<optimized out>, w=0xa7fa780) at kernel/qlayout.cpp:661
#50 0x04b3ad12 in notify_helper (e=0xbf84781c, receiver=0x99dfde8, this=0x98a9ce0) at kernel/qapplication.cpp:4477
#51 QApplicationPrivate::notify_helper (this=0x98a9ce0, receiver=0x99dfde8, e=0xbf84781c) at kernel/qapplication.cpp:4458
#52 0x04b401a8 in QApplication::notify (this=0x98a9ce0, receiver=0x99dfde8, e=0xbf84781c) at kernel/qapplication.cpp:4451
#53 0x0119d721 in KApplication::notify (this=0xbf8486e0, receiver=0x99dfde8, event=0xbf84781c) at ../../kdeui/kernel/kapplication.cpp:311
#54 0x00cef19e in QCoreApplication::notifyInternal (this=0xbf8486e0, receiver=0x99dfde8, event=0xbf84781c) at kernel/qcoreapplication.cpp:787
#55 0x00d05ff7 in sendEvent (event=0xbf84781c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#56 QObjectPrivate::setParent_helper (this=0xa894d90, o=0x0) at kernel/qobject.cpp:1981
#57 0x00d0846f in QObject::~QObject (this=0xa7fa780, __in_chrg=<optimized out>) at kernel/qobject.cpp:954
#58 0x04b9002f in QWidget::~QWidget (this=0xa7fa780, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1528
#59 0x04f9990f in QFrame::~QFrame (this=0xa7fa780, __in_chrg=<optimized out>) at widgets/qframe.cpp:240
#60 0x0126164f in KHBox::~KHBox (this=0xa7fa780, __in_chrg=<optimized out>) at ../../kdeui/widgets/khbox.cpp:49
#61 0x012bb6cf in KVBox::~KVBox (this=0xa7fa780, __in_chrg=<optimized out>) at ../../kdeui/widgets/kvbox.cpp:27
#62 0x0806fd70 in ApplicationListView::~ApplicationListView (this=0xa7fa780, __in_chrg=<optimized out>) at /build/buildd/muon-1.2.1/installer/ApplicationModel/ApplicationListView.cpp:59
#63 0x08065d9d in ApplicationWindow::clearViews (this=0x99da288) at /build/buildd/muon-1.2.1/installer/ApplicationWindow.cpp:173
#64 0x0806a0fc in ApplicationWindow::qt_metacall (this=0x99da288, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf847a74) at /build/buildd/muon-1.2.1/obj-i686-linux-gnu/installer/ApplicationWindow.moc:108
#65 0x00cf5b7d in metacall (argv=0xbf847a74, idx=81, cl=QMetaObject::InvokeMetaMethod, object=0x99da288) at kernel/qmetaobject.cpp:237
#66 QMetaObject::metacall (object=0x99da288, cl=QMetaObject::InvokeMetaMethod, idx=81, argv=0xbf847a74) at kernel/qmetaobject.cpp:232
#67 0x00d04a6a in QMetaObject::activate (sender=0x9a5b570, m=0x8085040, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3278
#68 0x0805de87 in ApplicationBackend::reloadStarted (this=0x9a5b570) at /build/buildd/muon-1.2.1/obj-i686-linux-gnu/installer/moc_ApplicationBackend.cpp:133
#69 0x08063043 in ApplicationBackend::reload (this=0x9a5b570) at /build/buildd/muon-1.2.1/installer/ApplicationBackend.cpp:113
#70 0x08063385 in ApplicationBackend::workerEvent (this=0x9a5b570, event=QApt::CommitChangesFinished) at /build/buildd/muon-1.2.1/installer/ApplicationBackend.cpp:179
#71 0x0805e23d in ApplicationBackend::qt_metacall (this=0x9a5b570, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf847c28) at /build/buildd/muon-1.2.1/obj-i686-linux-gnu/installer/moc_ApplicationBackend.cpp:113
#72 0x00cf5b7d in metacall (argv=0xbf847c28, idx=16, cl=QMetaObject::InvokeMetaMethod, object=0x9a5b570) at kernel/qmetaobject.cpp:237
#73 QMetaObject::metacall (object=0x9a5b570, cl=QMetaObject::InvokeMetaMethod, idx=16, argv=0xbf847c28) at kernel/qmetaobject.cpp:232
#74 0x00d04a6a in QMetaObject::activate (sender=0x992d9b8, m=0x150cb8, local_signal_index=4, argv=0xbf847c28) at kernel/qobject.cpp:3278
#75 0x00140c65 in QApt::Backend::workerEvent (this=0x992d9b8, _t1=QApt::CommitChangesFinished) at /build/buildd/qapt-1.2.1/obj-i686-linux-gnu/src/moc_backend.cxx:244
#76 0x0011d789 in QApt::Backend::emitWorkerEvent (this=0x992d9b8, event=6) at /build/buildd/qapt-1.2.1/src/backend.cpp:1323
#77 0x00140f6e in QApt::Backend::qt_metacall (this=0x992d9b8, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0xbf847d68) at /build/buildd/qapt-1.2.1/obj-i686-linux-gnu/src/moc_backend.cxx:204
#78 0x00cf5b7d in metacall (argv=0xbf847d68, idx=44, cl=QMetaObject::InvokeMetaMethod, object=0x992d9b8) at kernel/qmetaobject.cpp:237
#79 QMetaObject::metacall (object=0x992d9b8, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbf847d68) at kernel/qmetaobject.cpp:232
#80 0x00d04a6a in QMetaObject::activate (sender=0x99fcda8, m=0x150e38, local_signal_index=8, argv=0xbf847d68) at kernel/qobject.cpp:3278
#81 0x00141cb5 in OrgKubuntuQaptworkerInterface::workerEvent (this=0x99fcda8, _t1=6) at /build/buildd/qapt-1.2.1/obj-i686-linux-gnu/src/workerdbus.moc:228
#82 0x001421af in OrgKubuntuQaptworkerInterface::qt_metacall (this=0x99fcda8, _c=QMetaObject::InvokeMetaMethod, _id=-1081841612, _a=0xbf847fac) at /build/buildd/qapt-1.2.1/obj-i686-linux-gnu/src/workerdbus.moc:131
#83 0x00f03d87 in QDBusConnectionPrivate::deliverCall (this=0x9b0ff18, object=0x99fcda8, msg=..., metaTypes=..., slotIdx=-1081841612) at qdbusintegrator.cpp:942
#84 0x00f0dc26 in QDBusCallDeliveryEvent::placeMetaCall (this=0xa7ec490, object=0x99fcda8) at qdbusintegrator_p.h:103
#85 0x00d07b52 in QObject::event (this=0x99fcda8, e=0xa7ec490) at kernel/qobject.cpp:1217
#86 0x04b3ad54 in notify_helper (e=0xa7ec490, receiver=0x99fcda8, this=0x98a9ce0) at kernel/qapplication.cpp:4486
#87 QApplicationPrivate::notify_helper (this=0x98a9ce0, receiver=0x99fcda8, e=0xa7ec490) at kernel/qapplication.cpp:4458
#88 0x04b40103 in QApplication::notify (this=0xa7ec490, receiver=0x99fcda8, e=0xa7ec490) at kernel/qapplication.cpp:3886
#89 0x0119d721 in KApplication::notify (this=0xbf8486e0, receiver=0x99fcda8, event=0xa7ec490) at ../../kdeui/kernel/kapplication.cpp:311
#90 0x00cef19e in QCoreApplication::notifyInternal (this=0xbf8486e0, receiver=0x99fcda8, event=0xa7ec490) at kernel/qcoreapplication.cpp:787
#91 0x00cf2f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#92 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x988b300) at kernel/qcoreapplication.cpp:1428
#93 0x00cf30ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#94 0x00d1d6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#95 postEventSourceDispatch (s=0x98ac600) at kernel/qeventdispatcher_glib.cpp:277
#96 0x0293225f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#97 0x02932990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#98 0x02932c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#99 0x00d1dada in QEventDispatcherGlib::processEvents (this=0x988c238, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#100 0x04bf2e3a in QGuiEventDispatcherGlib::processEvents (this=0x988c238, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#101 0x00cee1dd in QEventLoop::processEvents (this=0xbf848644, flags=...) at kernel/qeventloop.cpp:149
#102 0x00cee421 in QEventLoop::exec (this=0xbf848644, flags=...) at kernel/qeventloop.cpp:201
#103 0x00cf319d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#104 0x04b388f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#105 0x0805db86 in main (argc=134764168, argv=0xa901df8) at /build/buildd/muon-1.2.1/installer/main.cpp:61

Possible duplicates by query: bug 274398, bug 272884, bug 272240, bug 267454, bug 261643.

Reported using DrKonqi
Comment 1 Jonathan Thomas 2011-10-22 23:20:26 UTC
*** Bug 284579 has been marked as a duplicate of this bug. ***
Comment 2 Jonathan Thomas 2012-02-25 22:25:29 UTC
Qt bug, fixed in Qt 4.7.4. https://bugreports.qt-project.org/browse/QTBUG-16292
Comment 3 Jonathan Thomas 2012-08-29 04:40:18 UTC
*** Bug 305964 has been marked as a duplicate of this bug. ***