<?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>436698</bug_id>
          
          <creation_ts>2021-05-06 18:10:34 +0000</creation_ts>
          <short_desc>System Settings Segfaults When I Log In and Remove Desktops</short_desc>
          <delta_ts>2021-05-07 19:57:21 +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>general</component>
          <version>unspecified</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>414834</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>wangrichard521</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>2030534</commentid>
    <comment_count>0</comment_count>
    <who name="">wangrichard521</who>
    <bug_when>2021-05-06 18:10:34 +0000</bug_when>
    <thetext>Application: systemsettings5 (5.21.5)

Qt Version: 5.15.2
Frameworks Version: 5.81.0
Operating System: Linux 5.12.1-arch1-1 x86_64
Windowing System: Wayland
Drkonqi Version: 5.21.5
Distribution: Arch Linux

-- Information about the crash:
- What I was doing when the application crashed:
I reduced the number of desktops from 4 to 1 right after logging in using &quot;startplasma-wayland&quot;
- Custom settings of the application:
OpenGL 3.1 rendering, force lowest latency, vsync only when cheap,  never keep windows thumbnails, slide desktop switching animation, desktops wrap around, didn&apos;t change new desktop names. (Should work with other settings too IIRC)

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f962ba92d50 in QWaylandClientExtensionPrivate::handleRegistryGlobal(void*, wl_registry*, unsigned int, QString const&amp;, unsigned int) () at /usr/lib/libQt5WaylandClient.so.5
#5  0x00007f962ba7ab02 in QtWaylandClient::QWaylandDisplay::registry_global(unsigned int, QString const&amp;, unsigned int) () at /usr/lib/libQt5WaylandClient.so.5
#6  0x00007f962ba9c4be in QtWayland::wl_registry::handle_global(void*, wl_registry*, unsigned int, char const*, unsigned int) () at /usr/lib/libQt5WaylandClient.so.5
#7  0x00007f9629539acd in  () at /usr/lib/libffi.so.7
#8  0x00007f962953903a in  () at /usr/lib/libffi.so.7
#9  0x00007f962ba00fe4 in  () at /usr/lib/libwayland-client.so.0
#10 0x00007f962b9fd563 in  () at /usr/lib/libwayland-client.so.0
#11 0x00007f962b9fecac in wl_display_dispatch_queue_pending () at /usr/lib/libwayland-client.so.0
#12 0x00007f962ba7a41d in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
#13 0x00007f962df14bb0 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007f962df18100 in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#15 0x00007f962df1890d in QSocketNotifier::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#16 0x00007f962eaa2762 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f962dedd81a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007f962df36f36 in  () at /usr/lib/libQt5Core.so.5
#19 0x00007f962bb8f02c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#20 0x00007f962bbe2b59 in  () at /usr/lib/libglib-2.0.so.0
#21 0x00007f962bb8c781 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#22 0x00007f962df36321 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#23 0x00007f962dedc17c in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/libQt5Core.so.5
#24 0x00007f962dee4634 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#25 0x000055b1d8141960 in  ()
#26 0x00007f962d75fb25 in __libc_start_main () at /usr/lib/libc.so.6
#27 0x000055b1d814247e in _start ()
[Inferior 1 (process 5921) detached]

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2030816</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-05-07 19:57:21 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 414834 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>