<?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>449953</bug_id>
          
          <creation_ts>2022-02-10 17:04:53 +0000</creation_ts>
          <short_desc>Display configuaration crashes in KScreen::Config::clone() when configuring second monitor</short_desc>
          <delta_ts>2022-02-11 18:20:39 +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>kcm_kscreen</component>
          <version>5.24.0</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>447199</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi, regression</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>stephen.wetzel</reporter>
          <assigned_to name="kscreen-bugs-null@kde.org">kscreen-bugs-null</assigned_to>
          <cc>nate</cc>
    
    <cc>notmart</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>xaver.hugl</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>2102962</commentid>
    <comment_count>0</comment_count>
    <who name="">stephen.wetzel</who>
    <bug_when>2022-02-10 17:04:53 +0000</bug_when>
    <thetext>Application: systemsettings (5.24.0)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.16.5-1-default x86_64
Windowing System: X11
Distribution: &quot;openSUSE Tumbleweed&quot;
DrKonqi: 5.24.0 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Since upgrading to OpenSUSE Tumbleweed snapshot 20220207, I&apos;ve had issues with my second monitor in KDE.  When I boot, it never detects the second monitor, and then when I open the display configuration it struggles to enable the other monitor.  The second monitor disapear and appears in the list rapidly.  This time when I enabled the second monitor the dialog crashed, and that&apos;s what this crash report is.

The crash can be reproduced sometimes.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr&lt;char []&gt; = {get() = &lt;optimized out&gt;}
[KCrash Handler]
#6  QSharedPointer&lt;KScreen::Screen&gt;::data (this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:301
#7  QSharedPointer&lt;KScreen::Screen&gt;::operator-&gt; (this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:307
#8  KScreen::Config::clone (this=0x0) at /usr/src/debug/libkscreen2-5.24.0-1.1.x86_64/src/config.cpp:205
#9  0x00007f35e56802af in ConfigHandler::updateInitialData (this=0x55c326273fb0) at /usr/src/debug/kscreen5-5.24.0-1.1.x86_64/kcm/config_handler.cpp:94
#10 0x00007f35e56803ef in operator() (__closure=0x55c3273d7d20) at /usr/src/debug/kscreen5-5.24.0-1.1.x86_64/kcm/kcm.cpp:173
#11 QtPrivate::FunctorCall&lt;QtPrivate::IndexesList&lt;&gt;, QtPrivate::List&lt;&gt;, void, KCMKScreen::doSave(bool)::&lt;lambda()&gt; &gt;::call (arg=&lt;optimized out&gt;, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#12 QtPrivate::Functor&lt;KCMKScreen::doSave(bool)::&lt;lambda()&gt;, 0&gt;::call&lt;QtPrivate::List&lt;&gt;, void&gt; (arg=&lt;optimized out&gt;, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#13 QtPrivate::QFunctorSlotObject&lt;KCMKScreen::doSave(bool)::&lt;lambda()&gt;, 0, QtPrivate::List&lt;&gt;, void&gt;::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=&lt;optimized out&gt;, this_=0x55c3273d7d10, r=&lt;optimized out&gt;, a=&lt;optimized out&gt;, ret=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#14 0x00007f3660b83442 in QtPrivate::QSlotObjectBase::call (a=0x7ffc3bfa7b40, r=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 QSingleShotTimer::timerEvent (this=0x55c326014730) at kernel/qtimer.cpp:320
#16 0x00007f3660b753bf in QObject::event (this=0x55c326014730, e=0x7ffc3bfa7cb0) at kernel/qobject.cpp:1336
#17 0x00007f36617fba7f in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x55c326014730, e=0x7ffc3bfa7cb0) at kernel/qapplication.cpp:3632
#18 0x00007f3660b48e2a in QCoreApplication::notifyInternal2 (receiver=0x55c326014730, event=0x7ffc3bfa7cb0) at kernel/qcoreapplication.cpp:1064
#19 0x00007f3660b9f70b in QTimerInfoList::activateTimers (this=0x55c3257fe2f0) at kernel/qtimerinfo_unix.cpp:643
#20 0x00007f3660b9ffdc in timerSourceDispatch (source=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:183
#21 idleTimerSourceDispatch (source=source@entry=0x55c3257f0080) at kernel/qeventdispatcher_glib.cpp:230
#22 0x00007f365e66ad5f in g_main_dispatch (context=0x7f3654005000) at ../glib/gmain.c:3381
#23 g_main_context_dispatch (context=0x7f3654005000) at ../glib/gmain.c:4099
#24 0x00007f365e66b0e8 in g_main_context_iterate (context=context@entry=0x7f3654005000, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../glib/gmain.c:4175
#25 0x00007f365e66b19f in g_main_context_iteration (context=0x7f3654005000, may_block=1) at ../glib/gmain.c:4240
#26 0x00007f3660ba0364 in QEventDispatcherGlib::processEvents (this=0x55c3257fe340, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007f3660b4782b in QEventLoop::exec (this=this@entry=0x7ffc3bfa7ef0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#28 0x00007f3660b4fb00 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#29 0x00007f366109d25c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#30 0x00007f36617fb9f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#31 0x000055c323d9feb0 in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/systemsettings5-5.24.0-1.1.x86_64/app/main.cpp:183
[Inferior 1 (process 2241) detached]

The reporter indicates this bug may be a duplicate of or related to bug 449869.

Possible duplicates by query: bug 449931, bug 449869, bug 447199.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2102966</commentid>
    <comment_count>1</comment_count>
    <who name="">stephen.wetzel</who>
    <bug_when>2022-02-10 17:13:00 +0000</bug_when>
    <thetext>I just confirmed rolling back to snapshot 20220205, which uses 5.23.5 fixes my issues.  Another piece of info that might be relevant is that I use a HDMI and a DP for my two monitors, and only the DP one was working properly in 5.24.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103503</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-02-11 18:20:39 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>