<?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>474311</bug_id>
          
          <creation_ts>2023-09-08 20:57:52 +0000</creation_ts>
          <short_desc>Crash after using 2nd monitor while laptop lid is closed &amp; opening laptop lid</short_desc>
          <delta_ts>2023-10-04 10:33:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konsole</product>
          <component>general</component>
          <version>23.08.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>473602</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="Logan">treacle</reporter>
          <assigned_to name="Konsole Bugs">konsole-bugs-null</assigned_to>
          <cc>nicolas.fella</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>2251843</commentid>
    <comment_count>0</comment_count>
    <who name="Logan">treacle</who>
    <bug_when>2023-09-08 20:57:52 +0000</bug_when>
    <thetext>Application: konsole (23.08.0)

Qt Version: 5.15.10
Frameworks Version: 5.109.0
Operating System: Linux 6.4.12-arch1-1 x86_64
Windowing System: X11
Distribution: XeroLinux
DrKonqi: 5.27.7 [KCrashBackend]

-- Information about the crash:
While laptop lid was closed, 2nd (smaller) display was behaving strangely with the latte-dock. All items took turns resizing. The Konsole window remained in tact. I opened laptop lid and the Konsole window that was shown on 2nd display, moved over to primary display, did not fully expand, and then Konsole crashed.
Latte-dock then was displayed at 50% verticle height after the Konsole crash, while I filled out the crash report until this moment in the process, where it has regained composure.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr&lt;char []&gt; = {get() = &lt;optimized out&gt;}
[KCrash Handler]
#6  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:220
#7  0x00007f64fab7438a in memmove (__len=262096, __src=0x7f6041f7d410, __dest=&lt;optimized out&gt;) at /usr/include/bits/string_fortified.h:36
#8  copy_unswapped (rect=&lt;synthetic pointer&gt;..., img=..., dstBytesPerLine=262096, dst=&lt;optimized out&gt;) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:547
#9  native_sub_image (swap=false, rect=&lt;synthetic pointer&gt;..., src=&lt;optimized out&gt;, dstStride=262096, buffer=&lt;optimized out&gt;) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:590
#10 QXcbBackingStoreImage::flushPixmap(QRegion const&amp;, bool) (this=this@entry=0x55c0ca4255a0, region=..., fullRegion=&lt;optimized out&gt;) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:669
#11 0x00007f64fab746d3 in QXcbBackingStoreImage::flushPixmap(QRegion const&amp;, bool) (fullRegion=&lt;optimized out&gt;, this=this@entry=0x55c0ca4255a0, region=..., fullRegion=fullRegion@entry=true) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:690
#12 0x00007f64fab74937 in QXcbBackingStoreImage::flushPixmap(QRegion const&amp;, bool) (fullRegion=false, region=..., this=0x55c0ca4255a0) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:627
#13 QXcbBackingStoreImage::put(unsigned int, QRegion const&amp;, QPoint const&amp;) (this=0x55c0ca4255a0, dst=136314893, region=..., offset=&lt;optimized out&gt;) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:741
#14 0x00007f64fab7528e in QXcbBackingStore::flush(QWindow*, QRegion const&amp;, QPoint const&amp;) (this=0x55c0c9fd3340, window=&lt;optimized out&gt;, region=&lt;optimized out&gt;, offset=...) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:877
#15 0x00007f65016ea9f7 in QBackingStore::flush(QRegion const&amp;, QWindow*, QPoint const&amp;) (this=this@entry=0x55c0c9fd3320, region=..., window=0x55c0c9fae390, offset=...) at painting/qbackingstore.cpp:263
#16 0x00007f6501d82ad1 in QWidgetRepaintManager::flush(QWidget*, QRegion const&amp;, QPlatformTextureList*) (this=this@entry=0x55c0ca50f3b0, widget=0x55c0c9fa65a0, region=..., widgetTextures=&lt;optimized out&gt;) at kernel/qwidgetrepaintmanager.cpp:1198
#17 0x00007f6501d83025 in QWidgetRepaintManager::flush() (this=this@entry=0x55c0ca50f3b0) at kernel/qwidgetrepaintmanager.cpp:1096
#18 0x00007f6501d8472d in QWidgetRepaintManager::paintAndFlush() (this=0x55c0ca50f3b0) at kernel/qwidgetrepaintmanager.cpp:1028
#19 0x00007f6501dd0a70 in QWidgetWindow::handleResizeEvent(QResizeEvent*) (event=0x7ffc5ccaf7a0, this=0x55c0c9fae390) at kernel/qwidgetwindow.cpp:842
#20 QWidgetWindow::event(QEvent*) (this=0x55c0c9fae390, event=0x7ffc5ccaf7a0) at kernel/qwidgetwindow.cpp:322
#21 0x00007f6501d7893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=&lt;optimized out&gt;, receiver=0x55c0c9fae390, e=0x7ffc5ccaf7a0) at kernel/qapplication.cpp:3640
#22 0x00007f650109c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55c0c9fae390, event=0x7ffc5ccaf7a0) at kernel/qcoreapplication.cpp:1064
#23 0x00007f650109c783 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=&lt;optimized out&gt;, event=&lt;optimized out&gt;) at kernel/qcoreapplication.cpp:1474
#24 0x00007f6501545986 in QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*) (e=&lt;optimized out&gt;) at kernel/qguiapplication.cpp:2610
#25 0x00007f650152a6c5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#26 0x00007f64fab7c3e0 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=&lt;optimized out&gt;) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#27 0x00007f64ff23da61 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#28 0x00007f64ff29ac29 in  () at /usr/lib/libglib-2.0.so.0
#29 0x00007f64ff23b112 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#30 0x00007f65010eb51c in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x55c0c9da94b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f650109b404 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7ffc5ccafa90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007f650109c8a3 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x000055c0c8f8eb15 in  ()
#34 0x00007f6500627cd0 in __libc_start_call_main (main=main@entry=0x55c0c8f8d020, argc=argc@entry=1, argv=argv@entry=0x7ffc5ccafda8) at ../sysdeps/nptl/libc_start_call_main.h:58
#35 0x00007f6500627d8a in __libc_start_main_impl (main=0x55c0c8f8d020, argc=1, argv=0x7ffc5ccafda8, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffc5ccafd98) at ../csu/libc-start.c:360
#36 0x000055c0c8f8f3a5 in  ()
[Inferior 1 (process 101409) detached]

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2256868</commentid>
    <comment_count>1</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2023-10-04 10:33:02 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>