Bug 479522

Summary: Spectacle Recording Issues
Product: [Applications] Spectacle Reporter: Patrick Liniger <patrick.liniger>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, nate
Priority: NOR Keywords: drkonqi
Version: 23.08.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Liniger 2024-01-07 23:15:48 UTC
Application: spectacle (23.08.4)

Qt Version: 5.15.12
Frameworks Version: 5.113.0
Operating System: Linux 6.6.9-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
Each time I try to record my desktop Spectacles crashes in 2 situations:
	- During the recording (no user action)
	- When I Stop recording

A second Monitor is pluggged via HDMI (same results on this monitor which is a Samsung Smart TV).
It brings some weird behaviour like : Clic on an app launcher on screen1,  the widget appears on screen2

The crash can be reproduced every time.

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

[KCrash Handler]
#4  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=0x8) at /usr/include/qt5/QtCore/qscopedpointer.h:116
#5  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const> (ptr=...) at /usr/include/qt5/QtCore/qglobal.h:1151
#6  QQuickView::d_func (this=this@entry=0x0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.12+kde31/src/quick/items/qquickview.h:111
#7  QQuickView::rootObject (this=this@entry=0x0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.12+kde31/src/quick/items/qquickview.cpp:603
#8  0x000055eaa41f16dd in ViewerWindow::showInlineMessage (this=0x0, qmlFile=..., properties=...) at /usr/src/debug/spectacle-23.08.4/src/Gui/ViewerWindow.cpp:146
#9  0x000055eaa41e1985 in ViewerWindow::showSavedVideoMessage (messageArgument=..., this=0x0) at /usr/src/debug/spectacle-23.08.4/src/Gui/ViewerWindow.cpp:161
#10 operator() (path=..., __closure=0x55eaa498b610) at /usr/src/debug/spectacle-23.08.4/src/SpectacleCore.cpp:233
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<const QString&>, void, SpectacleCore::SpectacleCore(QObject*)::<lambda(const QString&)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#12 QtPrivate::Functor<SpectacleCore::SpectacleCore(QObject*)::<lambda(const QString&)>, 1>::call<QtPrivate::List<QString const&>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#13 QtPrivate::QFunctorSlotObject<SpectacleCore::SpectacleCore(QObject*)::<lambda(const QString&)>, 1, QtPrivate::List<const QString&>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55eaa498b600, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#14 0x00007ff0c8125be2 in QtPrivate::QSlotObjectBase::call (a=0x7fff775a9120, r=0x7fff775a9720, this=0x55eaa498b600) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x55eaa497f540, signal_index=4, argv=0x7fff775a9120) at kernel/qobject.cpp:3925
#16 0x00007ff0c811e84f in QMetaObject::activate (sender=sender@entry=0x55eaa497f540, m=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff775a9120) at kernel/qobject.cpp:3985
#17 0x000055eaa420ec7c in VideoPlatform::recordingSaved (_t1=..., this=0x55eaa497f540) at /usr/src/debug/spectacle-23.08.4/build/src/spectacle_autogen/include/moc_VideoPlatform.cpp:244
#18 operator() (__closure=0x55eaa50b5010) at /usr/src/debug/spectacle-23.08.4/src/Platforms/VideoPlatformWayland.cpp:54
#19 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, VideoPlatformWayland::startRecording(const QString&, VideoPlatform::RecordingMode, const VideoPlatform::RecordingOption&, bool)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#20 QtPrivate::Functor<VideoPlatformWayland::startRecording(const QString&, VideoPlatform::RecordingMode, const VideoPlatform::RecordingOption&, bool)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#21 QtPrivate::QFunctorSlotObject<VideoPlatformWayland::startRecording(const QString&, VideoPlatform::RecordingMode, const VideoPlatform::RecordingOption&, bool)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55eaa50b5000, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#22 0x00007ff0c8125be2 in QtPrivate::QSlotObjectBase::call (a=0x7fff775a91e0, r=0x55eaa497f540, this=0x55eaa50b5000) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x55eaa48e0a90, signal_index=8, argv=0x7fff775a91e0) at kernel/qobject.cpp:3925
#24 0x00007ff0c81196f0 in QObject::event (this=0x55eaa48e0a90, e=0x7ff00c0383a0) at kernel/qobject.cpp:1347
#25 0x00007ff0c99a51ae in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55eaa48e0a90, e=0x7ff00c0383a0) at kernel/qapplication.cpp:3640
#26 0x00007ff0c80ed938 in QCoreApplication::notifyInternal2 (receiver=0x55eaa48e0a90, event=0x7ff00c0383a0) at kernel/qcoreapplication.cpp:1064
#27 0x00007ff0c80edafe in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#28 0x00007ff0c80f0f31 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55eaa47c9550) at kernel/qcoreapplication.cpp:1821
#29 0x00007ff0c80f1478 in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#30 0x00007ff0c8147063 in postEventSourceDispatch (s=0x55eaa480fef0) at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007ff0c5055f30 in ?? () from /lib64/libglib-2.0.so.0
#32 0x00007ff0c5057b58 in ?? () from /lib64/libglib-2.0.so.0
#33 0x00007ff0c505820c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#34 0x00007ff0c8146876 in QEventDispatcherGlib::processEvents (this=0x55eaa47b4540, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#35 0x00007ff0c80ec3cb in QEventLoop::exec (this=this@entry=0x7fff775a95d0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#36 0x00007ff0c80f4860 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#37 0x000055eaa41bf9b6 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/spectacle-23.08.4/src/Main.cpp:127
[Inferior 1 (process 17214) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2024-02-15 22:34:03 UTC

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