Bug 479801

Summary: KDE Screen recorder crashed after clicking finish recording
Product: [Applications] Spectacle Reporter: w0ie2m7jx
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: f.alexander.wilms, kde, nate
Priority: NOR Keywords: drkonqi
Version: 23.04.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description w0ie2m7jx 2024-01-14 14:19:05 UTC
Application: spectacle (23.08.4)

Qt Version: 5.15.11
Frameworks Version: 5.111.0
Operating System: Linux 6.6.9-200.fc39.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 39 (Budgie)
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
I was trying to report another bug in libre office writer by using the screen record feature. I clicked print screen and then went to the record screen part and recorded my workspace. After finishing I clicked print screen again and went to the screen recording section and clicked finish recording. I immediately got a crash notification and spectale is unresponsive.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007fb844b276e4 in QQuickView::rootObject() const () from /lib64/libQt5Quick.so.5
#5  0x000055ac69181a06 in ViewerWindow::showInlineMessage(QString const&, QMap<QString, QVariant> const&) ()
#6  0x000055ac691715ee in QtPrivate::QFunctorSlotObject<SpectacleCore::SpectacleCore(QObject*)::{lambda(QString const&)#1}, 1, QtPrivate::List<QString const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.0] ()
#7  0x00007fb8436e8871 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x000055ac691a0373 in QtPrivate::QFunctorSlotObject<VideoPlatformWayland::startRecording(QString const&, VideoPlatform::RecordingMode, std::variant<QScreen*, QRect, QString> const&, bool)::{lambda()#2}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
#9  0x00007fb8436e8871 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x00007fb8436df11b in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#11 0x00007fb844faeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#12 0x00007fb8436b4598 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#13 0x00007fb8436b7a45 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#14 0x00007fb843706fef in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#15 0x00007fb840711e5c in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#16 0x00007fb84076cf18 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#17 0x00007fb84070fad3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#18 0x00007fb843706ad9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#19 0x00007fb8436b2f5b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#20 0x00007fb8436bb1eb in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#21 0x000055ac6914e933 in main ()
[Inferior 1 (process 22017) detached]

Reported using DrKonqi
This report was filed against 'kde' because the product 'spectacle' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 Nate Graham 2024-02-15 21:29:39 UTC

*** This bug has been marked as a duplicate of bug 469336 ***
Comment 2 Alexander Wilms 2024-02-16 11:59:42 UTC
Created attachment 165855 [details]
New crash information added by DrKonqi

spectacle (23.08.4) using Qt 5.15.12

I was recoding a workspace, opened Spectacle again with the PrtSc key and clicked "Finish recording".

-- Backtrace (Reduced):
#4  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() const (this=0x8) at /usr/include/qt5/QtCore/qscopedpointer.h:116
[...]
#7  QQuickView::rootObject() const (this=0x0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.12+kde31/src/quick/items/qquickview.cpp:603
[...]
#10 0x00007fb538325be2 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe9237c880, r=0x7ffe9237ce80, this=0x5590546cedc0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false>(QObject*, int, void**) (sender=0x5590546388f0, signal_index=4, argv=0x7ffe9237c880) at kernel/qobject.cpp:3925
[...]
#13 0x00007fb538325be2 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe9237c940, r=0x5590546388f0, this=0x7fb50c001a20) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398