Bug#1025997: libqt5core5a: Qt applications sometimes crashing at display configuration changes or power savings

2022-12-24 Thread Bernhard Übelacker

On Tue, 13 Dec 2022 01:28:39 +0100 =?UTF-8?Q?Bernhard_=c3=9cbelacker?= 
 wrote:


Dear Maintainer,
I experienced since about a month ago sometimes crashes in applications
running in fullscreen, when doing display configuration changes
or lately when waking up the screen from power saving.
(See below for an example backtrace.)

I opened these upstream bug reports, where the
Qt bug received a patch hopefully fixing this issue:

   https://bugs.kde.org/show_bug.cgi?id=461723
   https://bugreports.qt.io/browse/QTBUG-109226
   
https://code.qt.io/cgit/qt/qtbase.git/commit/?id=6a3627b6c5aa5109a80024f3d7b0f938504f7ffe
   (Unfortunately it looks like the qt-5.15 cerry-pick is not publicly visible.)

I create this bug also to ask how chances are that this
commit reaches Qt before or during the freeze period?

Kind regards,
Bernhard


I forgot to mention, this might also be related to a dual monitor setup.
With "power savings" is meant just the monitors turning off.

Short after opening this bug the Qt "Gerrit Bot" added the information
the fixed upstream version seems to be 5.15.12.

And reading up release plans [1] I think 5.15.12 is way out of reach,
therefore the next option might be picking the patch into the
packaged by Debian version 5.15.7, depending if there arrive other
reports about this issue.

[1] https://bugs.debian.org/1025715

Kind regards,
Bernhard



Bug#1025997: libqt5core5a: Qt applications sometimes crashing at display configuration changes or power savings

2022-12-12 Thread Bernhard Übelacker

Package: libqt5core5a
Version: 5.15.6+dfsg-2
Severity: wishlist
X-Debbugs-Cc: bernha...@mailbox.org


Dear Maintainer,
I experienced since about a month ago sometimes crashes in applications
running in fullscreen, when doing display configuration changes
or lately when waking up the screen from power saving.
(See below for an example backtrace.)

I opened these upstream bug reports, where the
Qt bug received a patch hopefully fixing this issue:

  https://bugs.kde.org/show_bug.cgi?id=461723
  https://bugreports.qt.io/browse/QTBUG-109226
  
https://code.qt.io/cgit/qt/qtbase.git/commit/?id=6a3627b6c5aa5109a80024f3d7b0f938504f7ffe
  (Unfortunately it looks like the qt-5.15 cerry-pick is not publicly visible.)

I create this bug also to ask how chances are that this
commit reaches Qt before or during the freeze period?

Kind regards,
Bernhard


(gdb) bt
#3  
#4  __memcpy_avx_unaligned () at 
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:228
#5  0x7f00962f142a in memmove (__len=262112, __src=0x7efb8bbe8810, 
__dest=) at 
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:36
#6  copy_unswapped (rect=..., img=..., dstBytesPerLine=262112, 
dst=) at ./src/plugins/platforms/xcb/qxcbbackingstore.cpp:547
#7  native_sub_image (swap=false, rect=..., src=..., 
dstStride=262112, buffer=0x5557a9af9130) at 
./src/plugins/platforms/xcb/qxcbbackingstore.cpp:590
#8  QXcbBackingStoreImage::flushPixmap (this=0x5557a9af90b0, region=..., 
fullRegion=) at 
./src/plugins/platforms/xcb/qxcbbackingstore.cpp:669
#9  0x7f00962f1a29 in QXcbBackingStoreImage::flushPixmap (fullRegion=false, 
region=..., this=0x5557a9af90b0) at 
./src/plugins/platforms/xcb/qxcbbackingstore.cpp:627
#10 QXcbBackingStoreImage::put (this=0x5557a9af90b0, dst=85983245, region=..., 
offset=...) at ./src/plugins/platforms/xcb/qxcbbackingstore.cpp:741
#11 0x7f00962f2369 in QXcbBackingStore::flush 
(this=this@entry=0x5557a9a3b4d0, window=window@entry=0x5557a98d7c10, 
region=..., offset=...) at ./src/plugins/platforms/xcb/qxcbwindow.h:128
#12 0x7f009cd017b2 in QBackingStore::flush (this=this@entry=0x5557a9a4f510, 
region=..., window=0x5557a98d7c10, offset=...) at painting/qbackingstore.cpp:252
#13 0x7f009d37059f in QWidgetRepaintManager::flush 
(this=this@entry=0x5557a9d8fad0, widget=0x5557a98df320, region=..., 
widgetTextures=) at kernel/qwidgetrepaintmanager.cpp:1184
#14 0x7f009d372129 in QWidgetRepaintManager::flush (this=0x5557a9d8fad0) at 
kernel/qwidgetrepaintmanager.cpp:1082
#15 0x7f009d374270 in QWidgetRepaintManager::paintAndFlush 
(this=0x5557a9d8fad0) at kernel/qwidgetrepaintmanager.cpp:1014
#16 0x7f009d3bd341 in QWidgetWindow::handleResizeEvent 
(this=0x5557a98d7c10, event=0x7ffc26bba560) at kernel/qwidgetwindow.cpp:841
#17 0x7f009d3c10db in QWidgetWindow::event (this=0x5557a98d7c10, 
event=0x7ffc26bba560) at kernel/qwidgetwindow.cpp:322
#18 0x7f009d362f5e in QApplicationPrivate::notify_helper (this=, receiver=0x5557a98d7c10, e=0x7ffc26bba560) at kernel/qapplication.cpp:3637
#19 0x7f009c6b1718 in QCoreApplication::notifyInternal2(QObject*, QEvent*) 
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x7f009cb39bac in QGuiApplicationPrivate::processGeometryChangeEvent 
(e=) at kernel/qguiapplication.cpp:2610
...


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386