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

            Bug ID: 517351
           Summary: Crash on exit (SIGSEGV) at QWidget::hide via
                    SpectacleMenu on Wayland
    Classification: Applications
           Product: Spectacle
      Version First 6.6.2
       Reported In:
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Application: spectacle (6.6.2)
 (Compiled from sources)
ApplicationNotResponding [ANR]: false
Qt Version: 6.10.2
Frameworks Version: 6.23.0
Operating System: Linux 6.18.16-200.fc43.x86_64 x86_64
Windowing System: X11
Distribution: "Fedora Linux 43 (KDE Plasma Desktop Edition)"
DrKonqi: 6.6.2 [CoredumpBackend]

-- Information about the crash:
Spectacle crashes consistently with a segmentation fault right after
successfully taking a screenshot and closing the application/notification. 

STEPS TO REPRODUCE:
1. Open Spectacle and take a screenshot.
2. The screenshot is successfully captured and saved/copied to clipboard.
3. Close the Spectacle window or the popup notification.
4. Spectacle crashes immediately on exit.

OBSERVED RESULT:
DrKonqi crash reporter appears. The crash happens during the destruction of the
application. The backtrace shows it failing at `~SpectacleCore` ->
`~SpectacleMenu` -> `QWidget::hide`.

EXPECTED RESULT:
Spectacle should close cleanly and free memory without a segmentation fault.

SOFTWARE/OS VERSIONS:
Operating System: Fedora Linux
KDE Plasma Version: 6 (Wayland session)
Spectacle Version: 6.6.2

The crash can be reproduced every time.

-- Backtrace:
Application: Spectacle (spectacle), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}

warning: Can't open file anon_inode:i915.gem during file-backed mapping note
processing
[New LWP 5019]
[New LWP 5029]
[New LWP 5024]
[New LWP 5030]
[New LWP 5021]
[New LWP 5023]
[New LWP 5022]
[New LWP 5020]
[New LWP 5069]
Downloading 312.08 K separate debug info for
/home/walava/.cache/debuginfod_client/04bb41e09ff4cb6e42b71a29a44c9d05caa37a4f/debuginfo...
Download failed: No data available.  Continuing without separate debug info for
/home/walava/.cache/debuginfod_client/04bb41e09ff4cb6e42b71a29a44c9d05caa37a4f/debuginfo.

warning: could not find supplementary DWARF file
(/home/walava/.cache/debuginfod_client/04bb41e09ff4cb6e42b71a29a44c9d05caa37a4f/../../.dwz/tbb-2022.2.0-2.fc43.x86_64)
for
/home/walava/.cache/debuginfod_client/04bb41e09ff4cb6e42b71a29a44c9d05caa37a4f/debuginfo

warning: .gdb_index address table has a range (0x3a5c50 - 0x3a5c51) that
overlaps with an earlier range, ignoring .gdb_index
Downloading separate debug info for
/home/walava/.cache/debuginfod_client/3f6dd45140f42231d468dfae859c1c524bf09bc5/debuginfo...
Download failed: No data available.  Continuing without separate debug info for
/home/walava/.cache/debuginfod_client/3f6dd45140f42231d468dfae859c1c524bf09bc5/debuginfo.

warning: could not find supplementary DWARF file
(/home/walava/.cache/debuginfod_client/3f6dd45140f42231d468dfae859c1c524bf09bc5/../../.dwz/twolame-0.4.0-8.fc43.x86_64)
for
/home/walava/.cache/debuginfod_client/3f6dd45140f42231d468dfae859c1c524bf09bc5/debuginfo

warning: could not find supplementary DWARF file
(/home/walava/.cache/debuginfod_client/dfe8fd2555813e777c09748a50262dd679f4d90a/../../.dwz/tbb-2022.2.0-2.fc43.x86_64)
for
/home/walava/.cache/debuginfod_client/dfe8fd2555813e777c09748a50262dd679f4d90a/debuginfo

warning: .gdb_index address table has a range (0x6b6550 - 0x6b6551) that
overlaps with an earlier range, ignoring .gdb_index
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/spectacle --dbus'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;
[Current thread is 1 (Thread 0x7fc56ed69a80 (LWP 5019))]
Using eu-unstrip to resolve modules.

[Current thread is 9 (Thread 0x7fc50dfff6c0 (LWP 5069))]

Thread 9 (Thread 0x7fc50dfff6c0 (LWP 5069)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fc58307bc3c in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8,
a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007fc58307bc84 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0,
nr=271) at cancellation.c:75
#3  0x00007fc5830f5706 in __GI_ppoll (fds=fds@entry=0x7fc50dffd850,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007fc5838d0ae1 in ppoll (__fds=<optimized out>, __nfds=<optimized out>,
__timeout=<optimized out>, __ss=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qcore_unix.cpp:100
#5  qt_ppoll (fds=0x7fc50dffd850, nfds=1, timeout_ts=0x0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qcore_unix.cpp:103
#6  qt_ppoll (fds=0x7fc50dffd850, nfds=1, timeout_ts=0x0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qcore_unix.cpp:100
#7  qt_safe_poll (fds=fds@entry=0x7fc50dffd850, nfds=nfds@entry=1,
deadline=...) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qcore_unix.cpp:126
#8  0x00007fc582d1cf02 in QNativeSocketEnginePrivate::nativeSelect
(this=this@entry=0x7fc4fc0031f0, deadline=..., checkRead=<optimized out>,
checkWrite=<optimized out>, selectForRead=0x7fc50dffd92e,
selectForWrite=0x7fc50dffd92f) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/network/socket/qnativesocketengine_unix.cpp:1423
#9  0x00007fc582c8ff02 in QNativeSocketEngine::waitForReadOrWrite
(this=0x7fc4fc002ac0, readyToRead=<optimized out>, readyToWrite=<optimized
out>, checkRead=<optimized out>, checkWrite=<optimized out>, deadline=...,
timedOut=0x0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/network/socket/qnativesocketengine.cpp:1088
#10 0x00007fc582c8b6dc in QAbstractSocket::waitForReadyRead
(this=0x7fc4fc002488, msecs=-1) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/network/socket/qabstractsocket.cpp:2177
#11 0x00007fc586e91eca in KIO::ConnectionBackend::waitForIncomingTask
(this=0x7fc4fc001fc0, ms=-1) at
/usr/src/debug/kf6-kio-6.23.0-1.fc43.x86_64/src/core/connectionbackend.cpp:153
#12 0x00007fc586ed7e3b in KIO::Connection::waitForIncomingTask (this=<optimized
out>, ms=-1) at
/usr/src/debug/kf6-kio-6.23.0-1.fc43.x86_64/src/core/connection.cpp:214
#13 KIO::SlaveBase::dispatchLoop() [clone .constprop.0] (this=0x7fc4fc001490)
at /usr/src/debug/kf6-kio-6.23.0-1.fc43.x86_64/src/core/slavebase.cpp:320
#14 0x00007fc586f662da in KIO::WorkerThread::run (this=0x560869dcdfb0) at
/usr/src/debug/kf6-kio-6.23.0-1.fc43.x86_64/src/core/workerthread.cpp:47
#15 0x00007fc5838d3c6e in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:448
#16 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:373
#17 QThreadPrivate::start (arg=0x560869dcdfb0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:422
#18 0x00007fc58307f464 in start_thread (arg=<optimized out>) at
pthread_create.c:448
#19 0x00007fc5831025ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 8 (Thread 0x7fc5609ff6c0 (LWP 5020)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fc58307bc3c in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8,
a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007fc58307bc84 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0,
nr=271) at cancellation.c:75
#3  0x00007fc5830f5706 in __GI_ppoll (fds=fds@entry=0x7fc558001680,
nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007fc5800a4360 in ppoll (__fds=0x7fc558001680, __nfds=2, __timeout=0x0,
__ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>,
context=0x7fc558000d00, timeout_usec=<optimized out>, fds=0x7fc558001680,
n_fds=2) at ../glib/gmain.c:4811
#6  g_main_context_iterate_unlocked (context=context@entry=0x7fc558000d00,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/gmain.c:4485
#7  0x00007fc5800a4423 in g_main_context_iteration (context=0x7fc558000d00,
may_block=1) at ../glib/gmain.c:4556
#8  0x00007fc583a20ded in QEventDispatcherGlib::processEvents
(this=0x7fc558000be0, flags=...) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9  0x00007fc58370ab23 in QEventLoop::exec (this=this@entry=0x7fc5609fda70,
flags=..., flags@entry=...) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/global/qflags.h:77
#10 0x00007fc58382dd06 in QThread::exec (this=this@entry=0x7fc5855fedc0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread.cpp:672
#11 0x00007fc585547ae1 in QDBusConnectionManager::run (this=0x7fc5855fedc0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/dbus/qdbusconnectionmanager.cpp:145
#12 0x00007fc5838d3c6e in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:448
#13 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:373
#14 QThreadPrivate::start (arg=0x7fc5855fedc0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:422
#15 0x00007fc58307f464 in start_thread (arg=<optimized out>) at
pthread_create.c:448
#16 0x00007fc5831025ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (Thread 0x7fc55f9fd6c0 (LWP 5022)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fc58307bc3c in __internal_syscall_cancel
(a1=a1@entry=140485689588416, a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0,
a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:49
#2  0x00007fc58307bc84 in __syscall_cancel (a1=a1@entry=140485689588416,
a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0,
nr=7) at cancellation.c:75
#3  0x00007fc5830f51de in __GI___poll (fds=fds@entry=0x7fc55f9fbac0,
nfds=nfds@entry=2, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007fc5868fbf12 in poll (__fds=0x7fc55f9fbac0, __nfds=2, __timeout=-1)
at /usr/include/bits/poll2.h:44
#5  QtWaylandClient::EventThread::run (this=0x5608681afad0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/plugins/platforms/wayland/qwaylanddisplay.cpp:184
#6  0x00007fc5838d3c6e in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:448
#7  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:373
#8  QThreadPrivate::start (arg=0x5608681afad0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:422
#9  0x00007fc58307f464 in start_thread (arg=<optimized out>) at
pthread_create.c:448
#10 0x00007fc5831025ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7fc55c9896c0 (LWP 5023)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fc58307bc3c in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0,
a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007fc58307c2ac in __futex_abstimed_wait_common64 (private=0,
futex_word=0x560868465ab0, expected=<optimized out>, op=<optimized out>,
abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x560868465ab0,
expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0,
private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007fc58307c30f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x560868465ab0, expected=<optimized out>,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
futex-internal.c:139
#5  0x00007fc58307e97e in __pthread_cond_wait_common (cond=0x560868465a90,
mutex=0x560868465a60, clockid=0, abstime=0x0) at pthread_cond_wait.c:421
#6  ___pthread_cond_wait (cond=0x560868465a90, mutex=0x560868465a60) at
pthread_cond_wait.c:453
#7  0x00007fc5513c46ed in cnd_wait (cond=<optimized out>, mtx=<optimized out>)
at ../src/c11/impl/threads_posix.c:112
#8  0x00007fc55137a17c in util_queue_thread_func
(input=input@entry=0x560868455ad0) at ../src/util/u_queue.c:275
#9  0x00007fc5513c461c in impl_thrd_routine (p=<optimized out>) at
../src/c11/impl/threads_posix.c:43
#10 0x00007fc58307f464 in start_thread (arg=<optimized out>) at
pthread_create.c:448
#11 0x00007fc5831025ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7fc5601fe6c0 (LWP 5021)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fc58307bc3c in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0,
a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007fc58307c2ac in __futex_abstimed_wait_common64 (private=0,
futex_word=0x5608682a1e68, expected=<optimized out>, op=<optimized out>,
abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5608682a1e68,
expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0,
private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007fc58307c30f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x5608682a1e68, expected=<optimized out>,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
futex-internal.c:139
#5  0x00007fc58307e97e in __pthread_cond_wait_common (cond=0x5608682a1e48,
mutex=0x5608682a1e20, clockid=0, abstime=0x0) at pthread_cond_wait.c:421
#6  ___pthread_cond_wait (cond=0x5608682a1e48, mutex=0x5608682a1e20) at
pthread_cond_wait.c:453
#7  0x00007fc5838dc534 in QWaitConditionPrivate::wait (this=0x5608682a1e20,
deadline=...) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:68
#8  QWaitCondition::wait (this=this@entry=0x5608681a8c70,
mutex=mutex@entry=0x5608681a8c68, deadline=...) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:146
#9  0x00007fc5868fbeb0 in QtWaylandClient::EventThread::waitForReading
(this=0x5608681a8c30) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/plugins/platforms/wayland/qwaylanddisplay.cpp:218
#10 QtWaylandClient::EventThread::run (this=0x5608681a8c30) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/plugins/platforms/wayland/qwaylanddisplay.cpp:179
#11 0x00007fc5838d3c6e in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:448
#12 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:373
#13 QThreadPrivate::start (arg=0x5608681a8c30) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:422
#14 0x00007fc58307f464 in start_thread (arg=<optimized out>) at
pthread_create.c:448
#15 0x00007fc5831025ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7fc53e7fe6c0 (LWP 5030)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fc58307bc3c in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8,
a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007fc58307bc84 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0,
nr=271) at cancellation.c:75
#3  0x00007fc5830f5706 in __GI_ppoll (fds=fds@entry=0x7fc530001420,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007fc5800a4360 in ppoll (__fds=0x7fc530001420, __nfds=1, __timeout=0x0,
__ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>,
context=0x7fc530000d00, timeout_usec=<optimized out>, fds=0x7fc530001420,
n_fds=1) at ../glib/gmain.c:4811
#6  g_main_context_iterate_unlocked (context=context@entry=0x7fc530000d00,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/gmain.c:4485
#7  0x00007fc5800a4423 in g_main_context_iteration (context=0x7fc530000d00,
may_block=1) at ../glib/gmain.c:4556
#8  0x00007fc583a20ded in QEventDispatcherGlib::processEvents
(this=0x7fc530000be0, flags=...) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9  0x00007fc58370ab23 in QEventLoop::exec (this=this@entry=0x7fc53e7fcac0,
flags=..., flags@entry=...) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/global/qflags.h:77
#10 0x00007fc58382dd06 in QThread::exec (this=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread.cpp:672
#11 0x00007fc5838d3c6e in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:448
#12 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:373
#13 QThreadPrivate::start (arg=0x560868619500) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:422
#14 0x00007fc58307f464 in start_thread (arg=<optimized out>) at
pthread_create.c:448
#15 0x00007fc5831025ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7fc550dff6c0 (LWP 5024)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fc58307bc3c in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0,
a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007fc58307c2ac in __futex_abstimed_wait_common64 (private=0,
futex_word=0x560868455238, expected=<optimized out>, op=<optimized out>,
abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x560868455238,
expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0,
private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007fc58307c30f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x560868455238, expected=<optimized out>,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
futex-internal.c:139
#5  0x00007fc58307e97e in __pthread_cond_wait_common (cond=0x560868455218,
mutex=0x5608684551e8, clockid=0, abstime=0x0) at pthread_cond_wait.c:421
#6  ___pthread_cond_wait (cond=0x560868455218, mutex=0x5608684551e8) at
pthread_cond_wait.c:453
#7  0x00007fc5513c46ed in cnd_wait (cond=<optimized out>, mtx=<optimized out>)
at ../src/c11/impl/threads_posix.c:112
#8  0x00007fc55137a17c in util_queue_thread_func
(input=input@entry=0x5608684708e0) at ../src/util/u_queue.c:275
#9  0x00007fc5513c461c in impl_thrd_routine (p=<optimized out>) at
../src/c11/impl/threads_posix.c:43
#10 0x00007fc58307f464 in start_thread (arg=<optimized out>) at
pthread_create.c:448
#11 0x00007fc5831025ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7fc53efff6c0 (LWP 5029)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fc58307bc3c in __internal_syscall_cancel
(a1=a1@entry=140485142239968, a2=a2@entry=1, a3=a3@entry=-1, a4=a4@entry=0,
a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:49
#2  0x00007fc58307bc84 in __syscall_cancel (a1=a1@entry=140485142239968,
a2=a2@entry=1, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0,
nr=7) at cancellation.c:75
#3  0x00007fc5830f51de in __GI___poll (fds=fds@entry=0x7fc53effdae0,
nfds=nfds@entry=1, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007fc586d2a5db in poll (__fds=0x7fc53effdae0, __nfds=1, __timeout=-1)
at /usr/include/bits/poll2.h:44
#5  ClipboardThread::run (this=0x560868618d70) at
/usr/src/debug/kf6-kguiaddons-6.23.1-1.fc43.x86_64/src/systemclipboard/waylandclipboard.cpp:565
#6  0x00007fc5838d3c6e in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:448
#7  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:373
#8  QThreadPrivate::start (arg=0x560868618d70) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/thread/qthread_unix.cpp:422
#9  0x00007fc58307f464 in start_thread (arg=<optimized out>) at
pthread_create.c:448
#10 0x00007fc5831025ec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7fc56ed69a80 (LWP 5019)):
[KCrash Handler]
#5  0x00007fc58608aee9 in QWidget::hide (this=0x560868a54fd0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/widgets/kernel/qwidget.cpp:8205
#6  0x00007fc5861108e0 in QWidgetAction::releaseWidget (this=<optimized out>,
widget=0x560868a54fd0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/widgets/kernel/qwidgetaction.cpp:172
#7  0x00007fc58624fb2c in QMenu::~QMenu (this=this@entry=0x560868a546c0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/widgets/widgets/qmenu.cpp:1782
#8  0x000056084dd02fab in SpectacleMenu::~SpectacleMenu (this=0x560868a546c0,
this=<optimized out>) at
/usr/src/debug/spectacle-6.6.2-1.fc43.x86_64/src/Gui/SpectacleMenu.h:14
#9  OptionsMenu::~OptionsMenu (this=0x560868a546c0, this=<optimized out>) at
/usr/src/debug/spectacle-6.6.2-1.fc43.x86_64/src/Gui/OptionsMenu.h:19
#10 OptionsMenu::~OptionsMenu (this=0x560868a546c0, this=<optimized out>) at
/usr/src/debug/spectacle-6.6.2-1.fc43.x86_64/src/Gui/OptionsMenu.h:19
#11 0x00007fc58376929a in QtPrivate::QSlotObjectBase::call
(this=0x56086886fbf0, r=0x560868a546c0, a=0x7ffd8fd891c0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qobjectdefs_impl.h:461
#12 doActivate<false> (sender=0x7fc558009bf0, signal_index=<optimized out>,
argv=argv@entry=0x7ffd8fd891c0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qobject.cpp:4272
#13 0x00007fc58375fb69 in QMetaObject::activate (sender=sender@entry=0x0,
m=m@entry=0x7fc583cb49c0, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7ffd8fd891c0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qobject.cpp:4332
#14 0x00007fc58375fc27 in QMetaObject::activate<void, QObject*> (sender=0x0,
mo=0x7fc583cb49c0, local_signal_index=0, ret=0x0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qobjectdefs.h:319
#15 QObject::destroyed (this=this@entry=0x7fc558009bf0, _t1=<optimized out>,
_t1@entry=0x7fc558009bf0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/redhat-linux-build/src/corelib/kernel/moc_qobject.cpp:186
#16 0x00007fc58376591b in QObject::~QObject (this=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qobject.cpp:1024
#17 0x000056084dd49295 in SpectacleCore::~SpectacleCore (this=0x7fc558009bf0,
this=<optimized out>) at
/usr/src/debug/spectacle-6.6.2-1.fc43.x86_64/src/SpectacleCore.cpp:794
#18 0x00007fc583760a12 in QObjectPrivate::deleteChildren
(this=this@entry=0x56086817e5c0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qobject.cpp:2212
#19 0x00007fc583765957 in QObject::~QObject (this=this@entry=0x5608688008c0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qobject.cpp:1122
#20 0x00007fc583700ec1 in QCoreApplication::~QCoreApplication
(this=this@entry=0x5608688008c0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/corelib/kernel/qcoreapplication.cpp:943
#21 0x00007fc583ee11c7 in QGuiApplication::~QGuiApplication
(this=this@entry=0x5608688008c0) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/gui/kernel/qguiapplication.cpp:727
#22 0x00007fc58603eebf in QApplication::~QApplication
(this=this@entry=0x7ffd8fd89490) at
/usr/src/debug/qt6-qtbase-6.10.2-2.fc43.x86_64/src/widgets/kernel/qapplication.cpp:724
#23 0x000056084dcbe97d in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/spectacle-6.6.2-1.fc43.x86_64/src/Main.cpp:141

Reported using DrKonqi

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

Reply via email to