Bug 498505 - Spectacle is not operatioal at all
Summary: Spectacle is not operatioal at all
Status: RESOLVED DUPLICATE of bug 481977
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-01-10 20:41 UTC by dannkunt
Modified: 2025-01-10 20:44 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dannkunt 2025-01-10 20:41:01 UTC
Application: spectacle (6.2.90)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.9.0
Operating System: Linux 6.11.11-zen3-xanmod1-1 x86_64
Windowing System: Wayland
Distribution: Manjaro Linux
DrKonqi: 6.2.90 [CoredumpBackend]

-- Information about the crash:
SUMMARY
Spectacle is not operational since one of 6.2.x releases. I was unable to properly report this due to Dr. Conqi bug was unable to send

STEPS TO REPRODUCE
1. Open spectacle in any way
2. That is all

OBSERVED RESULT
See remote peer disconnected or crash for Dr. Conqi

EXPECTED RESULT
Working screenshot app

SOFTWARE/OS VERSIONS
Linux: 6.11.11-zen3-xanmod1-1 
KDE Plasma Version: 6.2.90
KDE Frameworks Version: 6.9.0
Qt Version: 6.9.0

ADDITIONAL DETAILS
Xdg desktop portal for screenshots is working fine. but active window is always portal window

The crash can be reproduced every time.

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


warning: Can't open file /memfd:kwin-xkb-keymap-shared (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:kwin-dmabuf-feedback-table (deleted) during file-backed mapping note processing
[New LWP 7966]
[New LWP 7960]
[New LWP 7961]
[New LWP 7962]
[New LWP 7963]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/spectacle --dbus'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000075fa130a23db in pthread_kill () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x75f9f8b966c0 (LWP 7966))]
Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:516: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
  boot_time = datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S')
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:533: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  'timestamp': datetime.utcnow().isoformat(),
[Current thread is 1 (Thread 0x75f9f8b966c0 (LWP 7966))]

Thread 5 (Thread 0x75f9fbfff6c0 (LWP 7963)):
#0  0x000075fa1311427f in poll () from /usr/lib/libc.so.6
#1  0x000075fa16d67eb7 in poll (__fds=0x75f9fbffe170, __nfds=2, __timeout=-1) at /usr/include/bits/poll2.h:44
#2  QtWaylandClient::EventThread::run (this=0x5b34853c58c0) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:186
#3  0x000075fa138dea97 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:380
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:312
#5  QThreadPrivate::start (arg=0x5b34853c58c0) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:340
#6  0x000075fa130a0386 in ?? () from /usr/lib/libc.so.6
#7  0x000075fa13121b0c in ?? () from /usr/lib/libc.so.6

Thread 4 (Thread 0x75fa00cd66c0 (LWP 7962)):
#0  0x000075fa1309c6af in ?? () from /usr/lib/libc.so.6
#1  0x000075fa1309f216 in pthread_cond_wait () from /usr/lib/libc.so.6
#2  0x000075fa138e39d0 in QWaitConditionPrivate::wait (this=0x5b3485408f50, deadline=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:67
#3  QWaitCondition::wait (this=this@entry=0x5b34853dcb50, mutex=mutex@entry=0x5b34853dcb48, deadline=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:145
#4  0x000075fa16d67e4f in QtWaylandClient::EventThread::waitForReading (this=0x5b34853dcb10) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:220
#5  QtWaylandClient::EventThread::run (this=0x5b34853dcb10) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:181
#6  0x000075fa138dea97 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:380
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:312
#8  QThreadPrivate::start (arg=0x5b34853dcb10) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:340
#9  0x000075fa130a0386 in ?? () from /usr/lib/libc.so.6
#10 0x000075fa13121b0c in ?? () from /usr/lib/libc.so.6

Thread 3 (Thread 0x75fa015ff6c0 (LWP 7961)):
#0  0x000075fa131147f6 in ppoll () from /usr/lib/libc.so.6
#1  0x000075fa0f811109 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x000075fa0f79f112 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x000075fa139c925d in QEventDispatcherGlib::processEvents (this=0x75f9fc000ba0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#4  0x000075fa13768656 in QEventLoop::processEvents (this=0x75fa015fe130, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#5  QEventLoop::exec (this=0x75fa015fe130, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:195
#6  0x000075fa13857652 in QThread::exec (this=this@entry=0x75fa15bfeb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:77
#7  0x000075fa15b790fe in QDBusConnectionManager::run (this=0x75fa15bfeb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:144
#8  0x000075fa138dea97 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:380
#9  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:312
#10 QThreadPrivate::start (arg=0x75fa15bfeb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:340
#11 0x000075fa130a0386 in ?? () from /usr/lib/libc.so.6
#12 0x000075fa13121b0c in ?? () from /usr/lib/libc.so.6

Thread 2 (Thread 0x75fa01d463c0 (LWP 7960)):
#0  0x000075fa12bbc68d in ?? () from /usr/lib/libxkbcommon.so.0
#1  0x000075fa12baaad7 in ?? () from /usr/lib/libxkbcommon.so.0
#2  0x000075fa12bb57d4 in ?? () from /usr/lib/libxkbcommon.so.0
#3  0x000075fa12bc555d in ?? () from /usr/lib/libxkbcommon.so.0
#4  0x000075fa12bc0f0e in xkb_keymap_new_from_buffer () from /usr/lib/libxkbcommon.so.0
#5  0x000075fa16d8b606 in QtWaylandClient::QWaylandInputDevice::Keyboard::keyboard_keymap (this=0x5b34853800b0, format=<optimized out>, fd=13, size=69140) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandinputdevice.cpp:1210
#6  0x000075fa13ce512e in ?? () from /usr/lib/libffi.so.8
#7  0x000075fa13ce1147 in ?? () from /usr/lib/libffi.so.8
#8  0x000075fa13ce45ce in ffi_call () from /usr/lib/libffi.so.8
#9  0x000075fa1918b7d1 in ?? () from /usr/lib/libwayland-client.so.0
#10 0x000075fa1918c069 in ?? () from /usr/lib/libwayland-client.so.0
#11 0x000075fa1918c463 in wl_display_dispatch_queue_pending () from /usr/lib/libwayland-client.so.0
#12 0x000075fa1919050c in wl_display_roundtrip_queue () from /usr/lib/libwayland-client.so.0
#13 0x000075fa171991a4 in KSystemClipboard::instance() () from /usr/lib/libKF6GuiAddons.so.6
#14 0x00005b344ce16fd7 in ExportManager::instance () at /usr/src/debug/spectacle/spectacle-6.2.90/src/ExportManager.cpp:68
#15 0x00005b344cf200b5 in SpectacleCore::SpectacleCore(QObject*) [clone .constprop.0] (this=0x75f9fc00bd10, parent=0x0) at /usr/src/debug/spectacle/spectacle-6.2.90/src/SpectacleCore.cpp:335
#16 0x00005b344ce24a05 in SpectacleCore::instance () at /usr/src/debug/spectacle/spectacle-6.2.90/src/SpectacleCore.cpp:473
#17 0x00005b344cdef5fe in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/spectacle/spectacle-6.2.90/src/Main.cpp:108

Thread 1 (Thread 0x75f9f8b966c0 (LWP 7966)):
[KCrash Handler]
#4  0x000075fa0f8cca44 in XDisplayString () from /usr/lib/libX11.so.6
#5  0x000075f9f93f0d2f in __vaDriverInit_1_21 () from /usr/lib/dri/nvidia_drv_video.so
#6  0x000075fa0e1a8fdb in vaInitialize () from /usr/lib/libva.so.2
#7  0x000075fa143b9d39 in VaapiUtils::openDevice (fd=fd@entry=0x75f9f8b94e74, path=...) at /usr/src/debug/kpipewire/kpipewire-6.2.90/src/vaapiutils.cpp:170
#8  0x000075fa143ba152 in VaapiUtils::supportsH264 (this=this@entry=0x75f9dc001520, path=...) at /usr/src/debug/kpipewire/kpipewire-6.2.90/src/vaapiutils.cpp:86
#9  0x000075fa143ba2f5 in VaapiUtils::VaapiUtils (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kpipewire/kpipewire-6.2.90/src/vaapiutils.cpp:38
#10 0x000075fa143ba4b8 in std::_Construct<VaapiUtils, VaapiUtils::Private> (__p=0x75f9dc001520) at /usr/include/c++/14.2.1/bits/stl_construct.h:119
#11 std::allocator_traits<std::allocator<void> >::construct<VaapiUtils, VaapiUtils::Private> (__p=0x75f9dc001520) at /usr/include/c++/14.2.1/bits/alloc_traits.h:657
#12 std::_Sp_counted_ptr_inplace<VaapiUtils, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<VaapiUtils::Private> (this=0x75f9dc001510, __a=...) at /usr/include/c++/14.2.1/bits/shared_ptr_base.h:607
#13 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<VaapiUtils, std::allocator<void>, VaapiUtils::Private> (this=0x75fa143c34e8 <VaapiUtils::instance()::instance+8>, __p=@0x75fa143c34e0: 0x0, __a=...) at /usr/include/c++/14.2.1/bits/shared_ptr_base.h:969
#14 std::__shared_ptr<VaapiUtils, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<void>, VaapiUtils::Private> (this=0x75fa143c34e0 <VaapiUtils::instance()::instance>, __tag=...) at /usr/include/c++/14.2.1/bits/shared_ptr_base.h:1713
#15 std::shared_ptr<VaapiUtils>::shared_ptr<std::allocator<void>, VaapiUtils::Private> (this=0x75fa143c34e0 <VaapiUtils::instance()::instance>, __tag=...) at /usr/include/c++/14.2.1/bits/shared_ptr.h:463
#16 std::make_shared<VaapiUtils, VaapiUtils::Private> () at /usr/include/c++/14.2.1/bits/shared_ptr.h:1008
#17 VaapiUtils::instance () at /usr/src/debug/kpipewire/kpipewire-6.2.90/src/vaapiutils.cpp:139
#18 0x000075fa191a4caf in PipeWireBaseEncodedStream::suggestedEncoders (this=this@entry=0x75f9dc001420) at /usr/src/debug/kpipewire/kpipewire-6.2.90/src/pipewirebaseencodedstream.cpp:206
#19 0x000075fa191a570c in PipeWireBaseEncodedStream::PipeWireBaseEncodedStream (this=<optimized out>, parent=<optimized out>, this=<optimized out>, parent=<optimized out>) at /usr/src/debug/kpipewire/kpipewire-6.2.90/src/pipewirebaseencodedstream.cpp:52
#20 0x000075fa191a9716 in PipeWireRecord::PipeWireRecord (this=<optimized out>, parent=<optimized out>, this=<optimized out>, parent=<optimized out>) at /usr/src/debug/kpipewire/kpipewire-6.2.90/src/pipewirerecord.cpp:59
#21 0x00005b344ce751b1 in operator() (__closure=<synthetic pointer>) at /usr/src/debug/spectacle/spectacle-6.2.90/src/Platforms/VideoPlatformWayland.cpp:122
#22 std::__invoke_impl<PipeWireRecord*, VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()>&> (__f=<synthetic pointer>...) at /usr/include/c++/14.2.1/bits/invoke.h:61
#23 std::__invoke<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()>&> (__fn=<synthetic pointer>...) at /usr/include/c++/14.2.1/bits/invoke.h:96
#24 std::invoke<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()>&> (__fn=<synthetic pointer>...) at /usr/include/c++/14.2.1/functional:120
#25 operator() (__closure=<synthetic pointer>, function=...) at /usr/include/qt6/QtConcurrent/qtconcurrentstoredfunctioncall.h:116
#26 std::__invoke_impl<PipeWireRecord*, const QtConcurrent::StoredFunctionCall<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> >::runFunctor()::<lambda(std::decay_t<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> >)>&, VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> > (__f=<synthetic pointer>...) at /usr/include/c++/14.2.1/bits/invoke.h:61
#27 std::__invoke<const QtConcurrent::StoredFunctionCall<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> >::runFunctor()::<lambda(std::decay_t<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> >)>&, VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> > (__fn=<synthetic pointer>...) at /usr/include/c++/14.2.1/bits/invoke.h:96
#28 std::__apply_impl<const QtConcurrent::StoredFunctionCall<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> >::runFunctor()::<lambda(std::decay_t<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> >)>&, std::tuple<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> >, 0> (__f=<synthetic pointer>..., __t=...) at /usr/include/c++/14.2.1/tuple:2921
#29 std::apply<const QtConcurrent::StoredFunctionCall<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> >::runFunctor()::<lambda(std::decay_t<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> >)>&, std::tuple<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> > > (__f=<synthetic pointer>..., __t=...) at /usr/include/c++/14.2.1/tuple:2936
#30 QtConcurrent::StoredFunctionCall<VideoPlatformWayland::VideoPlatformWayland(QObject*)::<lambda()> >::runFunctor(void) (this=0x5b3485624ad0) at /usr/include/qt6/QtConcurrent/qtconcurrentstoredfunctioncall.h:122
#31 0x00005b344ce7bf2b in QtConcurrent::RunFunctionTaskBase<PipeWireRecord*>::run (this=0x5b3485624ad0) at /usr/include/qt6/QtConcurrent/qtconcurrentrunbase.h:83
#32 0x000075fa138e5655 in QThreadPoolThread::run (this=0x5b3485676870) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadpool.cpp:70
#33 0x000075fa138dea97 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:380
#34 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:312
#35 QThreadPrivate::start (arg=0x5b3485676870) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:340
#36 0x000075fa130a0386 in ?? () from /usr/lib/libc.so.6
#37 0x000075fa13121b0c in ?? () from /usr/lib/libc.so.6

Reported using DrKonqi
Comment 1 Antonio Rojas 2025-01-10 20:44:35 UTC
*** This bug has been marked as a duplicate of bug 481977 ***