Bug 453813 - Pressing Switch to Sidebar view in Display configuration makes it crash
Summary: Pressing Switch to Sidebar view in Display configuration makes it crash
Status: RESOLVED DUPLICATE of bug 444599
Alias: None
Product: systemsettings
Classification: Applications
Component: iconview (show other bugs)
Version: 5.24.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-15 07:58 UTC by Aleksa Savic
Modified: 2022-05-17 16:34 UTC (History)
1 user (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 Aleksa Savic 2022-05-15 07:58:30 UTC
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 "Switch to Sidebar View". 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<QObject>::internalData (this=0x563476be56e0) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:696
#5  QPointer<QObject>::data (this=0x563476be56e0) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:77
#6  QPointer<QObject>::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=<optimized out>, 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=<optimized out>, argv=<optimized out>) 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
Comment 1 Nate Graham 2022-05-16 16:42:45 UTC
How did you press the "Switch to sidebar view" button when you were viewing the Display & Monitor page? The button only appears when you're on the home screen.
Comment 2 Aleksa Savic 2022-05-16 19:33:54 UTC
Hi Nate, sorry if I wasn't clear. I'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<int>::operator-- (this=0x55fc56d230c0) at /usr/include/c++/12/bits/atomic_base.h:392
#5  QAtomicOps<int>::deref<int> (_q_value=<error reading variable: Cannot access memory at address 0x55fc56d230c0>) at /usr/include/qt5/QtCore/qatomic_cxx11.h:289
#6  QBasicAtomicInteger<int>::deref (this=0x55fc56d230c0) at /usr/include/qt5/QtCore/qbasicatomic.h:119
#7  QWeakPointer<QObject>::~QWeakPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:566
#8  QPointer<Breeze::Animation>::~QPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qpointer.h:53
#9  Breeze::GenericData::~GenericData (this=<optimized out>, this=<optimized out>) 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=<optimized out>, this=<optimized out>) 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=<optimized out>, this=<optimized out>) 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=<optimized out>, this=<optimized out>) 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=<optimized out>, 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=<optimized out>, argv=<optimized out>) at /usr/src/debug/systemsettings5-5.24.5-1.2.x86_64/app/main.cpp:183
[Inferior 1 (process 2297) detached]
Comment 4 Nate Graham 2022-05-17 14:18:50 UTC
Got it, thanks. Can reproduce that way of showing the button. However it doesn'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 ***
Comment 5 Aleksa Savic 2022-05-17 16:34:53 UTC
 Thanks Nate!