Bug 474311

Summary: Crash after using 2nd monitor while laptop lid is closed & opening laptop lid
Product: [Applications] konsole Reporter: Logan <treacle>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 23.08.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Logan 2023-09-08 20:57:52 UTC
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<char []> = {get() = <optimized out>}
[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=<optimized out>) at /usr/include/bits/string_fortified.h:36
#8  copy_unswapped (rect=<synthetic pointer>..., img=..., dstBytesPerLine=262096, dst=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:547
#9  native_sub_image (swap=false, rect=<synthetic pointer>..., src=<optimized out>, dstStride=262096, buffer=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:590
#10 QXcbBackingStoreImage::flushPixmap(QRegion const&, bool) (this=this@entry=0x55c0ca4255a0, region=..., fullRegion=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:669
#11 0x00007f64fab746d3 in QXcbBackingStoreImage::flushPixmap(QRegion const&, bool) (fullRegion=<optimized out>, 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&, 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&, QPoint const&) (this=0x55c0ca4255a0, dst=136314893, region=..., offset=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:741
#14 0x00007f64fab7528e in QXcbBackingStore::flush(QWindow*, QRegion const&, QPoint const&) (this=0x55c0c9fd3340, window=<optimized out>, region=<optimized out>, offset=...) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:877
#15 0x00007f65016ea9f7 in QBackingStore::flush(QRegion const&, QWindow*, QPoint const&) (this=this@entry=0x55c0c9fd3320, region=..., window=0x55c0c9fae390, offset=...) at painting/qbackingstore.cpp:263
#16 0x00007f6501d82ad1 in QWidgetRepaintManager::flush(QWidget*, QRegion const&, QPlatformTextureList*) (this=this@entry=0x55c0ca50f3b0, widget=0x55c0c9fa65a0, region=..., widgetTextures=<optimized out>) 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=<optimized out>, 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=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#24 0x00007f6501545986 in QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*) (e=<optimized out>) at kernel/qguiapplication.cpp:2610
#25 0x00007f650152a6c5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#26 0x00007f64fab7c3e0 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) 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<QEventLoop::ProcessEventsFlag>) (this=0x55c0c9da94b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f650109b404 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (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=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc5ccafd98) at ../csu/libc-start.c:360
#36 0x000055c0c8f8f3a5 in  ()
[Inferior 1 (process 101409) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-10-04 10:33:02 UTC

*** This bug has been marked as a duplicate of bug 473602 ***