https://bugs.kde.org/show_bug.cgi?id=495679
Bug ID: 495679 Summary: Select 'Active Window' and spectacle just crashes Classification: Applications Product: Spectacle Version: 23.08.5 Platform: Other OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: General Assignee: noaha...@gmail.com Reporter: les...@lsces.co.uk CC: k...@david-redondo.de Target Milestone: --- Application: spectacle (23.08.5) Qt Version: 5.15.12 Frameworks Version: 5.115.0 Operating System: Linux 6.4.0-150600.23.25-default x86_64 Windowing System: X11 Distribution: openSUSE Leap 15.6 DrKonqi: 5.27.11 [KCrashBackend] -- Information about the crash: I have a somewhat contorted display area with a very high res center screen, and 1920x1080 screens on either side. I am trying to capture the window in the center screen and have done this many times, but today getting captures are just giving crashes. Not sure what has changed, but I DO have completed captures perhaps 1 in 5 times. The crash can be reproduced sometimes. -- Backtrace: Application: Spectacle (spectacle), signal: Segmentation fault [KCrash Handler] #4 PlatformXcb::getWindowImage(unsigned int, bool) (this=this@entry=0x5576c56e8f90, window=window@entry=0, blendPointer=blendPointer@entry=false) at /usr/src/debug/spectacle-23.08.5-bp156.1.2.x86_64/src/Platforms/PlatformXcb.cpp:438 #5 0x00005576c3dac10d in PlatformXcb::grabApplicationWindow(unsigned int, bool, bool) (this=this@entry=0x5576c56e8f90, window=window@entry=0, includePointer=includePointer@entry=false, includeDecorations=includeDecorations@entry=false) at /usr/src/debug/spectacle-23.08.5-bp156.1.2.x86_64/src/Platforms/PlatformXcb.cpp:519 #6 0x00005576c3dacbe4 in PlatformXcb::grabActiveWindow(bool, bool) (this=this@entry=0x5576c56e8f90, includePointer=includePointer@entry=false, includeDecorations=includeDecorations@entry=false) at /usr/src/debug/spectacle-23.08.5-bp156.1.2.x86_64/src/Platforms/PlatformXcb.cpp:573 #7 0x00005576c3dade78 in PlatformXcb::doGrabNow(Platform::GrabMode, bool, bool) (this=0x5576c56e8f90, grabMode=Platform::ActiveWindow, includePointer=<optimized out>, includeDecorations=<optimized out>) at /usr/src/debug/spectacle-23.08.5-bp156.1.2.x86_64/src/Platforms/PlatformXcb.cpp:720 #8 0x00007f8064d19e24 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffee7b120e0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #9 QSingleShotTimer::timerEvent(QTimerEvent*) (this=0x5576c65ab730) at kernel/qtimer.cpp:322 #10 0x00007f8064d0bb73 in QObject::event(QEvent*) (this=0x5576c65ab730, e=0x7ffee7b123f0) at kernel/qobject.cpp:1369 #11 0x00007f806659f87c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5576c54e5080, receiver=receiver@entry=0x5576c65ab730, e=e@entry=0x7ffee7b123f0) at kernel/qapplication.cpp:3640 #12 0x00007f80665a663f in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x5576c65ab730, e=0x7ffee7b123f0) at kernel/qapplication.cpp:3164 #13 0x00007f8064cd7d53 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5576c65ab730, event=0x7ffee7b123f0) at kernel/qcoreapplication.cpp:1064 #14 0x00007f8064d39609 in QTimerInfoList::activateTimers() (this=0x5576c5695a20) at kernel/qtimerinfo_unix.cpp:643 #15 0x00007f8064d39e09 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183 #16 idleTimerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230 #17 0x00007f8062314fac in () at /usr/lib64/libglib-2.0.so.0 #18 0x00007f8062316bd0 in () at /usr/lib64/libglib-2.0.so.0 #19 0x00007f80623171cc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #20 0x00007f8064d3a17c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5576c5695de0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #21 0x00007f8064cd65ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffee7b12640, flags=..., flags@entry=...) at kernel/qeventloop.cpp:235 #22 0x00007f8064cdfdf7 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1375 #23 0x00005576c3d42666 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/spectacle-23.08.5-bp156.1.2.x86_64/src/Main.cpp:127 [Inferior 1 (process 5037) detached] The reporter indicates this bug may be a duplicate of or related to bug 479959. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.