Bug 471830 - Spectacle crashes when recording Firefox
Summary: Spectacle crashes when recording Firefox
Status: RESOLVED DUPLICATE of bug 469336
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 23.04.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-07-01 13:12 UTC by wish.rirf
Modified: 2023-09-18 21:55 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (5.83 KB, text/plain)
2023-09-18 21:55 UTC, Andrei Rybak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wish.rirf 2023-07-01 13:12:35 UTC
Application: spectacle (23.04.2)

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

-- Information about the crash:
Spectacle will always crash after a couple minutes of recording. Sometimes it crashes when clicking the finish button like other reports suggested, and sometimes it just crashes mid-recording, and freeze my entire system(twice)

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f2a60f27b34 in QQuickView::rootObject() const () at /lib64/libQt5Quick.so.5
#5  0x000055e82b33b646 in ViewerWindow::showInlineMessage(QString const&, QMap<QString, QVariant> const&) ()
#6  0x000055e82b33308e 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  0x00007f2a5fae8461 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#8  0x000055e82b357b83 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  0x00007f2a5fae8461 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#10 0x00007f2a5faded0b in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#11 0x00007f2a613aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#12 0x00007f2a5fab4188 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#13 0x00007f2a5fab7635 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#14 0x00007f2a5fb06c3f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#15 0x00007f2a5d64339c in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#16 0x00007f2a5d6a1438 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#17 0x00007f2a5d640a23 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#18 0x00007f2a5fb06729 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#19 0x00007f2a5fab2b4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#20 0x00007f2a5fabaddb in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#21 0x000055e82b304952 in main ()
[Inferior 1 (process 36518) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-07-01 14:53:50 UTC

*** This bug has been marked as a duplicate of bug 469336 ***
Comment 2 Andrei Rybak 2023-09-18 21:55:20 UTC
Created attachment 161708 [details]
New crash information added by DrKonqi

spectacle (23.04.3) using Qt 5.15.10

I'm trying out Wayland. I've recorded several seconds of Firefox. Spectacle crashed immediately upon clicking "Finish recording".

-- Backtrace (Reduced):
#4  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=0x8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:116
[...]
#7  QQuickView::rootObject (this=this@entry=0x0) at items/qquickview.cpp:603
#8  0x0000558c9e0c9a72 in ViewerWindow::showInlineMessage (this=0x0, qmlFile=..., properties=...) at ./src/Gui/ViewerWindow.cpp:146
#9  0x0000558c9e0c0fe6 in ViewerWindow::showSavedVideoMessage (messageArgument=..., this=0x0) at ./src/Gui/ViewerWindow.cpp:161
#10 operator() (path=..., __closure=0x558c9edb3490) at ./src/SpectacleCore.cpp:225