https://bugs.kde.org/show_bug.cgi?id=473166

            Bug ID: 473166
           Summary: Crashed when trying to capture a screenshot again
    Classification: Applications
           Product: Spectacle
           Version: 23.04.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: noaha...@gmail.com
          Reporter: ddascalescu+...@gmail.com
                CC: k...@david-redondo.de
  Target Milestone: ---

Application: spectacle (23.04.3)

Qt Version: 5.15.10
Frameworks Version: 5.108.0
Operating System: Linux 6.4.7-200.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 38 (KDE Plasma)
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
Captured a screenshot, added some annotations, copied to clipboard. Pressed
Print Screen again -> crash

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x000055b1b08b462d in SelectedActionWrapper::setEditAction(EditAction*) ()
#5  0x000055b1b08bc3ee in AnnotationDocument::clearAnnotations() ()
#6  0x000055b1b08ab29e 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  0x00007f8a0d6e8461 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#8  0x000055b1b08cfefc in
QtPrivate::QFunctorSlotObject<PlatformKWinWayland2::trackSource(ScreenShotSourceMeta2*)::{lambda(QVector<QImage>
const&)#1}, 1, QtPrivate::List<QVector<QImage> const&>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.0] ()
#9  0x00007f8a0d6e8461 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#10 0x000055b1b08c43a0 in ScreenShotSourceMeta2::handleSourceFinished() ()
#11 0x00007f8a0d6e8461 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#12 0x000055b1b08cc226 in
QtPrivate::QFunctorSlotObject<ScreenShotSource2::handleMetaDataReceived(QMap<QString,
QVariant> const&)::{lambda()#8}, 0, QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.0] ()
#13 0x00007f8a0d6e8461 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#14 0x00007f8a0d4ffa25 in QFutureWatcherBase::event(QEvent*) () from
/lib64/libQt5Core.so.5
#15 0x00007f8a0efaeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#16 0x00007f8a0d6b4188 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#17 0x00007f8a0d6b7635 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /lib64/libQt5Core.so.5
#18 0x00007f8a0d706c3f in postEventSourceDispatch(_GSource*, int (*)(void*),
void*) () from /lib64/libQt5Core.so.5
#19 0x00007f8a0b11348c in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#20 0x00007f8a0b171648 in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#21 0x00007f8a0b110b13 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#22 0x00007f8a0d706729 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#23 0x00007f8a0d6b2b4b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#24 0x00007f8a0d6baddb in QCoreApplication::exec() () from
/lib64/libQt5Core.so.5
#25 0x000055b1b087c952 in main ()
[Inferior 1 (process 171323) detached]

The reporter indicates this bug may be a duplicate of or related to bug 470217,
bug 472401.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to