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

            Bug ID: 475720
           Summary: spectacle crashing after annotation when attempting to
                    take a new screenshot
    Classification: Applications
           Product: Spectacle
           Version: 23.08.1
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: noaha...@gmail.com
          Reporter: taylorausti...@pm.me
                CC: k...@david-redondo.de
  Target Milestone: ---

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

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

Reply via email to