https://bugs.kde.org/show_bug.cgi?id=505437

            Bug ID: 505437
           Summary: 9b7d7b00a4f23f79e62ca8de0c5789451c0aa1dd mysteriously
                    causes the app to crash in QSortFilterProxyModel when
                    switching Processes page to tree view
    Classification: Applications
           Product: plasma-systemmonitor
      Version First 6.4.80
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Keywords: regression
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: ksysguard-b...@kde.org
          Reporter: n...@kde.org
                CC: ahiems...@heimr.nl, plasma-b...@kde.org
  Target Milestone: ---

STEPS TO REPRODUCE
1. Go to Processes page
2. Click on tree view button


OBSERVED RESULT
App crashes 100% of the time:

#0  __pthread_kill_implementation
    (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at
pthread_kill.c:44
#1  0x00007fd9658811e3 in __pthread_kill_internal (threadid=<optimized out>,
signo=11)
    at pthread_kill.c:89
#2  0x00007fd965827afe in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007fd96914888a in KCrash::defaultCrashHandler (sig=11)
    at /home/nate/kde/src/kcrash/src/kcrash.cpp:605
#4  0x00007fd965827c30 in <signal handler called> () at /lib64/libc.so.6
#5  0x00007fd9661cecfa in
QHashPrivate::iterator<QHashPrivate::Node<QtPrivate::QModelIndexWrapper,
QSortFilterProxyModelPrivate::Mapping*> >::node (this=<synthetic pointer>)
    at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/tools/qhash.h:796
#6  QHash<QtPrivate::QModelIndexWrapper,
QSortFilterProxyModelPrivate::Mapping*>::const_iterator::key (this=<synthetic
pointer>)
    at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/tools/qhash.h:1189
#7  QSortFilterProxyModel::parent (this=0x11f6d290, child=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/itemmodels/qsortfilterproxymodel.cpp:2141
#8  0x00007fd968ffea94 in QModelIndex::parent (this=<optimized out>)
    at /usr/include/qt6/QtCore/qabstractitemmodel.h:506
#9  QQmlModelIndexValueType::parent (this=<optimized out>)
    at
/usr/src/debug/qt6-qtdeclarative-6.9.0-2.fc42.x86_64/src/qmlmodels/qqmlmodelindexvaluetype_p.h:50
#10 QQmlModelIndexValueType::qt_static_metacall
    (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>)
    at
/usr/src/debug/qt6-qtdeclarative-6.9.0-2.fc42.x86_64/redhat-linux-build/src/qmlmodels/QmlModels_autogen/include/moc_qqmlmodelindexvaluetype_p.cpp:135
#11 0x00007fd966de08c4 in QV4::doStaticReadCall
    (metaObject=<optimized out>, valueTypeWrapper=0x7fd91245ec00,
index=<optimized out>, args=0x7ffd321d7a60)
    at
/usr/src/debug/qt6-qtdeclarative-6.9.0-2.fc42.x86_64/src/qml/qml/qqmlvaluetypewrapper_p.h:58
#12 QV4::QQmlValueTypeWrapper::getGadgetProperty
    (engine=0x10827380, valueTypeWrapper=0x7fd91245ec00, metaType=...,
coreIndex=<optimized out>, isFunction=<optimized out>, isEnum=<optimized out>)
    at
/usr/src/debug/qt6-qtdeclarative-6.9.0-2.fc42.x86_64/src/qml/qml/qqmlvaluetypewrapper.cpp:406
#13 0x00007fd8f804e454 in ??? ()
#14 0x0000000010827380 in ??? ()
#15 0x0000000000000000 in ??? ()


EXPECTED RESULT
No crash


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.0
Kernel Version: 6.14.9-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon™ 780M Graphics
Memory: 16 GiB of RAM (14.9 GiB usable)
Graphics Processor: AMD Radeon 780M


ADDITIONAL INFORMATION
Reverting
https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/9b7d7b00a4f23f79e62ca8de0c5789451c0aa1dd
fixes the crash, but that makes no immediately apparent sense, since it's
unrelated code.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to