<?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>453813</bug_id>
          
          <creation_ts>2022-05-15 07:58:30 +0000</creation_ts>
          <short_desc>Pressing Switch to Sidebar view in Display configuration makes it crash</short_desc>
          <delta_ts>2022-05-17 16:34:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>iconview</component>
          <version>5.24.5</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>444599</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Aleksa Savic">savicaleksa83</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>nate</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>2123470</commentid>
    <comment_count>0</comment_count>
    <who name="Aleksa Savic">savicaleksa83</who>
    <bug_when>2022-05-15 07:58:30 +0000</bug_when>
    <thetext>Application: systemsettings (5.24.5)

Qt Version: 5.15.2
Frameworks Version: 5.93.0
Operating System: Linux 5.17.5-1-default x86_64
Windowing System: Wayland
Distribution: openSUSE Tumbleweed
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I opened the Display Configuration (in System Settings) and pressed on &quot;Switch to Sidebar View&quot;. The app immediately crashes. Wayland session, openSUSE Tumbleweed in a VM, fresh install.

Tried it twice, it crashed. Tried the third time, it worked normally.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  QWeakPointer&lt;QObject&gt;::internalData (this=0x563476be56e0) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:696
#5  QPointer&lt;QObject&gt;::data (this=0x563476be56e0) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:77
#6  QPointer&lt;QObject&gt;::operator QObject* (this=0x563476be56e0) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:83
#7  QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x563776ac2e30, event=event@entry=0x563779157a70) at kernel/qcoreapplication.cpp:1183
#8  0x00007fe38672336e in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x563776ac2e30, e=0x563779157a70) at kernel/qapplication.cpp:3626
#9  0x00007fe385a6e988 in QCoreApplication::notifyInternal2 (receiver=0x563776ac2e30, event=0x563779157a70) at kernel/qcoreapplication.cpp:1064
#10 0x00007fe385a71921 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5637766bd480) at kernel/qcoreapplication.cpp:1821
#11 0x00007fe385ac6ec3 in postEventSourceDispatch (s=0x56377671cdc0) at kernel/qeventdispatcher_glib.cpp:277
#12 0x00007fe383548da0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#13 0x00007fe383549158 in ?? () from /lib64/libglib-2.0.so.0
#14 0x00007fe3835491ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#15 0x00007fe385ac65a6 in QEventDispatcherGlib::processEvents (this=0x56377671ec00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#16 0x00007fe385a6d3fb in QEventLoop::exec (this=this@entry=0x7ffde2734280, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#17 0x00007fe385a75566 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#18 0x0000563775d7be7d in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/systemsettings5-5.24.5-1.2.x86_64/app/main.cpp:183
[Inferior 1 (process 5637) detached]

Possible duplicates by query: bug 453635, bug 453547, bug 453241, bug 452945, bug 452827.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123834</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-05-16 16:42:45 +0000</bug_when>
    <thetext>How did you press the &quot;Switch to sidebar view&quot; button when you were viewing the Display &amp; Monitor page? The button only appears when you&apos;re on the home screen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123945</commentid>
    <comment_count>2</comment_count>
    <who name="Aleksa Savic">savicaleksa83</who>
    <bug_when>2022-05-16 19:33:54 +0000</bug_when>
    <thetext>Hi Nate, sorry if I wasn&apos;t clear. I&apos;ll upload a short video showing how I accessed it.

I tried it a few more times and got an another crash:

Application: System Settings (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  std::__atomic_base&lt;int&gt;::operator-- (this=0x55fc56d230c0) at /usr/include/c++/12/bits/atomic_base.h:392
#5  QAtomicOps&lt;int&gt;::deref&lt;int&gt; (_q_value=&lt;error reading variable: Cannot access memory at address 0x55fc56d230c0&gt;) at /usr/include/qt5/QtCore/qatomic_cxx11.h:289
#6  QBasicAtomicInteger&lt;int&gt;::deref (this=0x55fc56d230c0) at /usr/include/qt5/QtCore/qbasicatomic.h:119
#7  QWeakPointer&lt;QObject&gt;::~QWeakPointer (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:566
#8  QPointer&lt;Breeze::Animation&gt;::~QPointer (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qpointer.h:53
#9  Breeze::GenericData::~GenericData (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/breeze-5.24.5-1.2.x86_64/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezegenericdata.h:20
#10 Breeze::WidgetStateData::~WidgetStateData (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/breeze-5.24.5-1.2.x86_64/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezewidgetstatedata.h:32
#11 Breeze::EnableData::~EnableData (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/breeze-5.24.5-1.2.x86_64/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezeenabledata.h:16
#12 Breeze::EnableData::~EnableData (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/breeze-5.24.5-1.2.x86_64/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezeenabledata.h:16
#13 0x00007f951918d42f in QObject::event (this=0x55ff5721c700, e=0x55ff5755c690) at kernel/qobject.cpp:1301
#14 0x00007f9519e1637e in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x55ff5721c700, e=0x55ff5755c690) at kernel/qapplication.cpp:3632
#15 0x00007f9519161988 in QCoreApplication::notifyInternal2 (receiver=0x55ff5721c700, event=0x55ff5755c690) at kernel/qcoreapplication.cpp:1064
#16 0x00007f9519164921 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55ff56a44480) at kernel/qcoreapplication.cpp:1821
#17 0x00007f95191b9ec3 in postEventSourceDispatch (s=0x55ff56b611c0) at kernel/qeventdispatcher_glib.cpp:277
#18 0x00007f9516c3bda0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#19 0x00007f9516c3c158 in ?? () from /lib64/libglib-2.0.so.0
#20 0x00007f9516c3c1ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#21 0x00007f95191b95a6 in QEventDispatcherGlib::processEvents (this=0x55ff56b61d40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007f95191603fb in QEventLoop::exec (this=this@entry=0x7ffc62df3ab0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#23 0x00007f9519168566 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#24 0x000055ff558d6e7d in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/systemsettings5-5.24.5-1.2.x86_64/app/main.cpp:183
[Inferior 1 (process 2297) detached]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123950</commentid>
    <comment_count>3</comment_count>
    <who name="Aleksa Savic">savicaleksa83</who>
    <bug_when>2022-05-16 19:39:07 +0000</bug_when>
    <thetext>Here is the video: https://drive.google.com/file/d/19LMFl2Xdhu-GshFKl9e7nK4XB2DZVO6u/view?usp=sharing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2124140</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-05-17 14:18:50 +0000</bug_when>
    <thetext>Got it, thanks. Can reproduce that way of showing the button. However it doesn&apos;t crash for me. Backtrace is the same as Bug 444599; marking as a duplicate and re-opening it.

*** This bug has been marked as a duplicate of bug 444599 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2124196</commentid>
    <comment_count>5</comment_count>
    <who name="Aleksa Savic">savicaleksa83</who>
    <bug_when>2022-05-17 16:34:53 +0000</bug_when>
    <thetext> Thanks Nate!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>