Bug 475720 - Spectacle crashing inPlatformKWinWayland::trackSource() after annotation when attempting to take a new screenshot
Summary: Spectacle crashing inPlatformKWinWayland::trackSource() after annotation when...
Status: RESOLVED DUPLICATE of bug 469919
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 23.08.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-10-16 23:05 UTC by Taylor
Modified: 2023-12-22 23:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Taylor 2023-10-16 23:05:35 UTC
Application: spectacle (23.08.1)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.6-200.fsync.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: Nobara Linux 38 (KDE Plasma)
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
When annotating a screenshot, I am not ceratin whether it is text or other graphics overlay on the image. However, after adding text annotating a screen shot, when clicking the button to select rectangular region to take a new screen shot, specacle crashes. Spectacle always crashes following annotating no matter if the spectacle app is in the floating mode or in the window mode. On my system it is 100% reproducable.

The crash can be reproduced every time.

-- Backtrace:
Application: Spectacle (spectacle), signal: Segmentation fault

[KCrash Handler]
#4  0x0000559799ad09ed in SelectedActionWrapper::setEditAction(EditAction*) ()
#5  0x0000559799ad256e in AnnotationDocument::clearAnnotations() ()
#6  0x0000559799abf7fe in QtPrivate::QFunctorSlotObject<SpectacleCore::SpectacleCore(QObject*)::{lambda(QVector<CanvasImage> const&)#1}, 1, QtPrivate::List<QVector<CanvasImage> const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.0] ()
#7  0x00007f57f26e8481 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x0000559799ae2dbc in QtPrivate::QFunctorSlotObject<PlatformKWinWayland::trackSource(ScreenShotSourceMeta2*)::{lambda(QVector<QImage> const&)#1}, 1, QtPrivate::List<QVector<QImage> const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
#9  0x00007f57f26e8481 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x0000559799ae3870 in ScreenShotSourceMeta2::handleSourceFinished() ()
#11 0x00007f57f26e8481 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#12 0x0000559799ae2906 in QtPrivate::QFunctorSlotObject<ScreenShotSource2::handleMetaDataReceived(QMap<QString, QVariant> const&)::{lambda()#8}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
#13 0x00007f57f26e8481 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#14 0x00007f57f24ffa45 in QFutureWatcherBase::event(QEvent*) () from /lib64/libQt5Core.so.5
#15 0x00007f57f3faeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007f57f26b41a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007f57f26b7655 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#18 0x00007f57f2706c5f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#19 0x00007f57f02434fc in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#20 0x00007f57f02a16b8 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#21 0x00007f57f0240b83 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#22 0x00007f57f2706749 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#23 0x00007f57f26b2b6b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#24 0x00007f57f26badfb in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#25 0x0000559799a9c933 in main ()
[Inferior 1 (process 114821) detached]

The reporter indicates this bug may be a duplicate of or related to bug 472011, bug 472313, bug 472401, bug 472862, bug 473072, bug 473114, bug 473165, bug 473166, bug 473293, bug 473517, bug 473931, bug 474112, bug 474556, bug 471830, bug 471346, bug 471129, bug 470217, bug 470027, bug 470009, bug 469952, bug 469919, bug 469897, bug 469527, bug 474976.

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-12-22 23:23:43 UTC

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