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

            Bug ID: 443518
           Summary: System settings crashes after removing virtual
                    desktops
           Product: systemsettings
           Version: 5.22.4
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_kwin_virtualdesktops
          Assignee: kwin-bugs-n...@kde.org
          Reporter: szots...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

Application: systemsettings5 (5.22.5)

Qt Version: 5.15.2
Frameworks Version: 5.86.0
Operating System: Linux 5.14.6-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

1. Open System settings and go to virtual desktops page
2. My setup is currently:
   1st row: one desktop
   2nd row: one desktop (interestingly, now both are named "2nd desktop")
3. Decrease row count below from two to one
4. Remove the bottom desktop with the trash icon
5. Click Apply -> crash

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Rendszerbeállítások (systemsettings5), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fe543741980
(LWP 13489))]
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed,
this=<optimized out>) at /usr/include/c++/11/bits/atomic_base.h:479
#7  QAtomicOps<int>::loadRelaxed<int> (_q_value=...) at
/usr/include/qt5/QtCore/qatomic_cxx11.h:239
#8  QBasicAtomicInteger<int>::loadRelaxed (this=<optimized out>) at
/usr/include/qt5/QtCore/qbasicatomic.h:107
#9  QtPrivate::RefCount::ref (this=<optimized out>) at
/usr/include/qt5/QtCore/qrefcount.h:55
#10 QString::QString (other=..., this=0x7ffd9eb91af0) at
/usr/include/qt5/QtCore/qstring.h:1094
#11 KWin::DesktopsModel::syncWithServer (this=0x55ee249e0290) at
/usr/src/debug/kwin5-5.22.5-1.2.x86_64/src/kcmkwin/kwindesktop/desktopsmodel.cpp:305
#12 0x00007fe52d29f2bb in KWin::VirtualDesktops::save (this=0x55ee249df760) at
/usr/src/debug/kwin5-5.22.5-1.2.x86_64/src/kcmkwin/kwindesktop/virtualdesktops.cpp:80
#13 0x00007fe548249862 in KCModuleQml::save (this=0x55ee24ad4990) at
/usr/src/debug/kcmutils-5.86.0-1.3.x86_64/src/kcmoduleqml.cpp:290
#14 0x00007fe54825baa7 in KCModuleProxy::save (this=<optimized out>) at
/usr/src/debug/kcmutils-5.86.0-1.3.x86_64/src/kcmoduleproxy.cpp:259
#15 0x00007fe54828da21 in ModuleView::moduleSave (this=0x55ee22f361b0,
module=<optimized out>) at
/usr/src/debug/systemsettings5-5.22.5-1.2.x86_64/core/ModuleView.cpp:383
#16 0x00007fe54828dd5e in ModuleView::moduleSave (this=<optimized out>) at
/usr/src/debug/systemsettings5-5.22.5-1.2.x86_64/core/ModuleView.cpp:374
#17 0x00007fe54828fe66 in ModuleView::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=0x7ffd9eb91d70) at
/usr/src/debug/systemsettings5-5.22.5-1.2.x86_64/build/core/systemsettingsview_autogen/EWIEGA46WW/moc_ModuleView.cpp:133
#18 0x00007fe546b9f048 in doActivate<false> (sender=0x55ee22f6a8a0,
signal_index=9, argv=0x7ffd9eb91d70) at kernel/qobject.cpp:3898
#19 0x00007fe546b984df in QMetaObject::activate
(sender=sender@entry=0x55ee22f6a8a0, m=m@entry=0x7fe547d354e0
<QAbstractButton::staticMetaObject>,
local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd9eb91d70)
at kernel/qobject.cpp:3946
#20 0x00007fe54790a9f2 in QAbstractButton::clicked
(this=this@entry=0x55ee22f6a8a0, _t1=<optimized out>) at
.moc/moc_qabstractbutton.cpp:308
#21 0x00007fe54790ac6a in QAbstractButtonPrivate::emitClicked
(this=0x55ee22d33800) at widgets/qabstractbutton.cpp:415
#22 0x00007fe54790c830 in QAbstractButtonPrivate::click (this=0x55ee22d33800)
at widgets/qabstractbutton.cpp:408
#23 0x00007fe54790ca53 in QAbstractButton::mouseReleaseEvent
(this=0x55ee22f6a8a0, e=0x7ffd9eb92310) at widgets/qabstractbutton.cpp:1044
#24 0x00007fe54785976e in QWidget::event (this=0x55ee22f6a8a0,
event=0x7ffd9eb92310) at kernel/qwidget.cpp:9020
#25 0x00007fe547817a7f in QApplicationPrivate::notify_helper
(this=this@entry=0x55ee22c53cf0, receiver=receiver@entry=0x55ee22f6a8a0,
e=e@entry=0x7ffd9eb92310) at kernel/qapplication.cpp:3632
#26 0x00007fe54781f584 in QApplication::notify (this=0x7ffd9eb92030,
receiver=0x55ee22f6a8a0, e=0x7ffd9eb92310) at kernel/qapplication.cpp:3076
#27 0x00007fe546b689ca in QCoreApplication::notifyInternal2
(receiver=0x55ee22f6a8a0, event=0x7ffd9eb92310) at
kernel/qcoreapplication.cpp:1064
#28 0x00007fe54781e093 in QApplicationPrivate::sendMouseEvent
(receiver=receiver@entry=0x55ee22f6a8a0, event=event@entry=0x7ffd9eb92310,
alienWidget=alienWidget@entry=0x55ee22f6a8a0, nativeWidget=0x55ee22d783a0,
buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true,
onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#29 0x00007fe54787283c in QWidgetWindow::handleMouseEvent (this=0x55ee231ad990,
event=0x7ffd9eb925e0) at kernel/qwidgetwindow.cpp:683
#30 0x00007fe547875c55 in QWidgetWindow::event (this=0x55ee231ad990,
event=0x7ffd9eb925e0) at kernel/qwidgetwindow.cpp:300
#31 0x00007fe547817a7f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55ee231ad990, e=0x7ffd9eb925e0) at
kernel/qapplication.cpp:3632
#32 0x00007fe546b689ca in QCoreApplication::notifyInternal2
(receiver=0x55ee231ad990, event=0x7ffd9eb925e0) at
kernel/qcoreapplication.cpp:1064
#33 0x00007fe5470c55d7 in QGuiApplicationPrivate::processMouseEvent
(e=0x55ee2591c600) at kernel/qguiapplication.cpp:2282
#34 0x00007fe54709b79c in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#35 0x00007fe54180ed0a in xcbSourceDispatch
(source=source@entry=0x55ee22d29080) at qxcbeventdispatcher.cpp:105
#36 0x00007fe54470cd5f in g_main_dispatch (context=0x7fe53c005000) at
../glib/gmain.c:3381
#37 g_main_context_dispatch (context=0x7fe53c005000) at ../glib/gmain.c:4099
#38 0x00007fe54470d0e8 in g_main_context_iterate
(context=context@entry=0x7fe53c005000, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#39 0x00007fe54470d19f in g_main_context_iteration (context=0x7fe53c005000,
may_block=1) at ../glib/gmain.c:4240
#40 0x00007fe546bbfea4 in QEventDispatcherGlib::processEvents
(this=0x55ee22d32bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#41 0x00007fe546b673cb in QEventLoop::exec (this=this@entry=0x7ffd9eb92910,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#42 0x00007fe546b6f6b0 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#43 0x00007fe5470b919c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1867
#44 0x00007fe5478179f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#45 0x000055ee21caf0cb in main (argc=<optimized out>, argv=0x7ffd9eb92a30) at
/usr/src/debug/systemsettings5-5.22.5-1.2.x86_64/app/main.cpp:208
[Inferior 1 (process 13489) detached]

Possible duplicates by query: bug 440840, bug 435992, bug 434725, bug 434205,
bug 433252.

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

Reply via email to