<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>274182</bug_id>
          
          <creation_ts>2011-05-26 11:07:40 +0000</creation_ts>
          <short_desc>Muon crashed while unmarking a full upgrade</short_desc>
          <delta_ts>2011-08-16 13:34:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>muon</product>
          <component>installer</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jonathan Kolberg">j_kolberg11</reporter>
          <assigned_to name="Jonathan Thomas">echidnaman</assigned_to>
          <cc>dequire</cc>
    
    <cc>ipl2929</cc>
    
    <cc>mrl586</cc>
    
    <cc>williamba13</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1123271</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Kolberg">j_kolberg11</who>
    <bug_when>2011-05-26 11:07:40 +0000</bug_when>
    <thetext>Application: muon (1.1.80 &quot;Caustic Carrionite&quot;)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-9-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I hit the button full upgrade and while the indexing was done, I hit the unmark all button and muon (muon) crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Muon-Paketverwaltung (muon), signal: Segmentation fault
[KCrash Handler]
#6  QList (this=0x0) at /usr/include/qt4/QtCore/qlist.h:118
#7  PackageModel::packages (this=0x0) at /build/buildd/muon-1.1.80/libmuon/PackageModel/PackageModel.cpp:107
#8  0x00007f4fd8f27583 in PackageProxyModel::search (this=0xab4d90, searchText=...) at /build/buildd/muon-1.1.80/libmuon/PackageModel/PackageProxyModel.cpp:77
#9  0x00007f4fd8f2ab53 in PackageWidget::startSearch (this=0xbb83c0) at /build/buildd/muon-1.1.80/libmuon/PackageModel/PackageWidget.cpp:358
#10 0x000000000040dcac in MainWindow::workerEvent (this=0xbcdb80, event=QApt::XapianUpdateFinished) at /build/buildd/muon-1.1.80/muon/MainWindow.cpp:355
#11 0x000000000040da1b in MainWindow::qt_metacall (this=0xbcdb80, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x7fff94cfab70) at /build/buildd/muon-1.1.80/obj-x86_64-linux-gnu/muon/MainWindow.moc:122
#12 0x00007f4fd71cc5f8 in QMetaObject::activate (sender=0x10160b0, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x7fff94cfab70) at kernel/qobject.cpp:3287
#13 0x00007f4fd88356e1 in QApt::Backend::workerEvent(QApt::WorkerEvent) () from /usr/lib/libqapt.so.1
#14 0x00007f4fd883593c in QApt::Backend::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libqapt.so.1
#15 0x00007f4fd71cc5f8 in QMetaObject::activate (sender=0x104c9d0, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x7fff94cfac80) at kernel/qobject.cpp:3287
#16 0x00007f4fd8836301 in ?? () from /usr/lib/libqapt.so.1
#17 0x00007f4fd8836715 in ?? () from /usr/lib/libqapt.so.1
#18 0x00007f4fd750c9fa in QDBusConnectionPrivate::deliverCall (this=0x1058f90, object=0x104c9d0, msg=..., metaTypes=..., slotIdx=13) at qdbusintegrator.cpp:942
#19 0x00007f4fd7516e4f in QDBusCallDeliveryEvent::placeMetaCall (this=&lt;value optimized out&gt;, object=&lt;value optimized out&gt;) at qdbusintegrator_p.h:103
#20 0x00007f4fd71cb49a in QObject::event (this=0x104c9d0, e=&lt;value optimized out&gt;) at kernel/qobject.cpp:1226
#21 0x00007f4fd65789e4 in QApplicationPrivate::notify_helper (this=0xaa8440, receiver=0x104c9d0, e=0x1f21800) at kernel/qapplication.cpp:4462
#22 0x00007f4fd657d3aa in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0x104c9d0, e=0x1f21800) at kernel/qapplication.cpp:4341
#23 0x00007f4fd7e70196 in KApplication::notify (this=0x7fff94cfed30, receiver=0x104c9d0, event=0x1f21800) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f4fd71b749c in QCoreApplication::notifyInternal (this=0x7fff94cfed30, receiver=0x104c9d0, event=0x1f21800) at kernel/qcoreapplication.cpp:731
#25 0x00007f4fd71bac25 in sendEvent (receiver=0x0, event_type=0, data=0xa4fb60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa4fb60) at kernel/qcoreapplication.cpp:1372
#27 0x00007f4fd71e2253 in sendPostedEvents (s=0xaa3dc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0xaa3dc0) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f4fd1636bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f4fd16373a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f4fd1637639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f4fd71e23ef in QEventDispatcherGlib::processEvents (this=0xa4f340, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007f4fd661fdfe in QGuiEventDispatcherGlib::processEvents (this=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f4fd71bb03f in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:923
#35 0x00007f4fd881f203 in ?? () from /usr/lib/libqapt.so.1
#36 0x00007f4fd398f2cd in debStatusIndex::Merge(pkgCacheGenerator&amp;, OpProgress*) const () from /usr/lib/libapt-pkg.so.4.10
#37 0x00007f4fd393ac87 in ?? () from /usr/lib/libapt-pkg.so.4.10
#38 0x00007f4fd3940d0a in pkgCacheGenerator::MakeStatusCache(pkgSourceList&amp;, OpProgress*, MMap**, bool) () from /usr/lib/libapt-pkg.so.4.10
#39 0x00007f4fd39350f2 in pkgCacheFile::BuildCaches(OpProgress*, bool) () from /usr/lib/libapt-pkg.so.4.10
#40 0x00007f4fd3935514 in pkgCacheFile::Open(OpProgress*, bool) () from /usr/lib/libapt-pkg.so.4.10
#41 0x00007f4fd881f08a in QApt::Cache::open() () from /usr/lib/libqapt.so.1
#42 0x00007f4fd881ad91 in QApt::Backend::reloadCache() () from /usr/lib/libqapt.so.1
#43 0x00007f4fd8f2d81d in PackageWidget::reload (this=0xbb83c0) at /build/buildd/muon-1.1.80/libmuon/PackageModel/PackageWidget.cpp:254
#44 0x000000000040e429 in ManagerWidget::reload (this=0xbb83c0) at /build/buildd/muon-1.1.80/muon/ManagerWidget.cpp:61
#45 0x000000000040ba78 in MainWindow::reload (this=0xbcdb80) at /build/buildd/muon-1.1.80/muon/MainWindow.cpp:435
#46 0x000000000040b9b9 in MainWindow::revertChanges (this=0xbcdb80) at /build/buildd/muon-1.1.80/muon/MainWindow.cpp:544
#47 0x000000000040db15 in MainWindow::qt_metacall (this=0xbcdb80, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x7fff94cfd720) at /build/buildd/muon-1.1.80/obj-x86_64-linux-gnu/muon/MainWindow.moc:132
#48 0x00007f4fd71cc5f8 in QMetaObject::activate (sender=0xffda70, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x7fff94cfd720) at kernel/qobject.cpp:3287
#49 0x00007f4fd6572112 in QAction::triggered (this=&lt;value optimized out&gt;, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#50 0x00007f4fd65722ff in QAction::activate (this=0xffda70, event=&lt;value optimized out&gt;) at kernel/qaction.cpp:1257
#51 0x00007f4fd6938d7a in QAbstractButtonPrivate::click (this=0x10073f0) at widgets/qabstractbutton.cpp:528
#52 0x00007f4fd693902c in QAbstractButton::mouseReleaseEvent (this=0x1030910, e=0x7fff94cfe070) at widgets/qabstractbutton.cpp:1121
#53 0x00007f4fd69f52ca in QToolButton::mouseReleaseEvent (this=&lt;value optimized out&gt;, e=&lt;value optimized out&gt;) at widgets/qtoolbutton.cpp:721
#54 0x00007f4fd65c9cb8 in QWidget::event (this=0x1030910, event=0x7fff94cfe070) at kernel/qwidget.cpp:8259
#55 0x00007f4fd65789e4 in QApplicationPrivate::notify_helper (this=0xaa8440, receiver=0x1030910, e=0x7fff94cfe070) at kernel/qapplication.cpp:4462
#56 0x00007f4fd657ddb3 in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0x1030910, e=0x7fff94cfe070) at kernel/qapplication.cpp:4023
#57 0x00007f4fd7e70196 in KApplication::notify (this=0x7fff94cfed30, receiver=0x1030910, event=0x7fff94cfe070) at ../../kdeui/kernel/kapplication.cpp:311
#58 0x00007f4fd71b749c in QCoreApplication::notifyInternal (this=0x7fff94cfed30, receiver=0x1030910, event=0x7fff94cfe070) at kernel/qcoreapplication.cpp:731
#59 0x00007f4fd6579a0d in sendEvent (receiver=0x1030910, event=0x7fff94cfe070, alienWidget=0x1030910, nativeWidget=0xbcdb80, buttonDown=0x7f4fd7059218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QApplicationPrivate::sendMouseEvent (receiver=0x1030910, event=0x7fff94cfe070, alienWidget=0x1030910, nativeWidget=0xbcdb80, buttonDown=0x7f4fd7059218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#61 0x00007f4fd65f9600 in QETWidget::translateMouseEvent (this=0xbcdb80, event=&lt;value optimized out&gt;) at kernel/qapplication_x11.cpp:4556
#62 0x00007f4fd65f804a in QApplication::x11ProcessEvent (this=0x7fff94cfed30, event=0x7fff94cfe9c0) at kernel/qapplication_x11.cpp:3678
#63 0x00007f4fd6620162 in x11EventSourceDispatch (s=0xaa4af0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#64 0x00007f4fd1636bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007f4fd16373a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f4fd1637639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f4fd71e23ef in QEventDispatcherGlib::processEvents (this=0xa4f340, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#68 0x00007f4fd661fdfe in QGuiEventDispatcherGlib::processEvents (this=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#69 0x00007f4fd71b6882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#70 0x00007f4fd71b6abc in QEventLoop::exec (this=0x7fff94cfecc0, flags=...) at kernel/qeventloop.cpp:201
#71 0x00007f4fd71baecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#72 0x000000000040b01e in main (argc=5, argv=&lt;value optimized out&gt;) at /build/buildd/muon-1.1.80/muon/main.cpp:55

Possible duplicates by query: bug 274093.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1123345</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2011-05-26 14:52:58 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 274093 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1123434</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Thomas">echidnaman</who>
    <bug_when>2011-05-26 19:23:25 +0000</bug_when>
    <thetext>Git commit 17debc1d754f51a02254d5c3aabec9f756b6be1f by Jonathan Thomas.
Committed on 26/05/2011 at 19:21.
Pushed by jmthomas into branch &apos;master&apos;.

Do not search if we are in the middle of a cache reload, like when the &quot;Unmark All Changes&quot; button is pressed.
This prevents a crash that occurs when the proxy model&apos;s source model is null during reload.

BUG:274182

M  +3    -1    libmuon/PackageModel/PackageWidget.cpp     

http://commits.kde.org/muon/17debc1d754f51a02254d5c3aabec9f756b6be1f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1123437</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Thomas">echidnaman</who>
    <bug_when>2011-05-26 19:24:10 +0000</bug_when>
    <thetext>Git commit edbfff0576c6dc33b6238845131b27c097296dc0 by Jonathan Thomas.
Committed on 26/05/2011 at 19:21.
Pushed by jmthomas into branch &apos;1.1&apos;.

Do not search if we are in the middle of a cache reload, like when the &quot;Unmark All Changes&quot; button is pressed.
This prevents a crash that occurs when the proxy model&apos;s source model is null during reload.

BUG:274182

M  +3    -1    libmuon/PackageModel/PackageWidget.cpp     

http://commits.kde.org/muon/edbfff0576c6dc33b6238845131b27c097296dc0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1123440</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Thomas">echidnaman</who>
    <bug_when>2011-05-26 19:25:16 +0000</bug_when>
    <thetext>*** Bug 274093 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125664</commentid>
    <comment_count>5</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2011-05-31 12:37:59 +0000</bug_when>
    <thetext>*** Bug 274573 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1133580</commentid>
    <comment_count>6</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2011-06-21 12:45:53 +0000</bug_when>
    <thetext>*** Bug 276165 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154316</commentid>
    <comment_count>7</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2011-08-16 13:34:45 +0000</bug_when>
    <thetext>*** Bug 280159 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>