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

            Bug ID: 426566
           Summary: Spectacle crashed in background after I cancel delayed
                    screenshot on Wayland
           Product: Spectacle
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: bugsefor...@gmx.com
                CC: k...@david-redondo.de
  Target Milestone: ---

Application: spectacle (20.11.70)

Qt Version: 5.15.0
Frameworks Version: 5.75.0
Operating System: Linux 5.4.0-47-generic x86_64
Windowing system: Wayland
Distribution: KDE neon Unstable Edition

-- Information about the crash:
- What I was doing when the application crashed:
On Wayland, I configured a few seconds of delay in Spectacle, clicked on "Take
a new screenshot" button, unminimized Spectacle, clicked on the button to
cancel the delay countdown and closed Spectacle. Less than 5 minutes later,
Plasma shown a notification about Spectacle crash.

-- Backtrace:
Application: Spectacle (spectacle), signal: Aborted
Content of s_kcrashErrorMessage: (null)
[New LWP 33697]
[New LWP 33740]
[New LWP 33741]
[New LWP 33742]
[New LWP 33743]
[New LWP 33772]
[New LWP 33775]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f56a882596f in __GI___poll (fds=fds@entry=0x7ffe76c3dbe8,
nfds=nfds@entry=1, timeout=timeout@entry=1000) at
../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f56a4ef8d40 (LWP 33696))]

Thread 8 (Thread 0x7f569b3fd700 (LWP 33775)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55948342fdd0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55948342fd80,
cond=0x55948342fda8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55948342fda8, mutex=0x55948342fd80) at
pthread_cond_wait.c:638
#3  0x00007f56a8bb910b in QWaitConditionPrivate::wait (deadline=...,
this=0x55948342fd80) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55948337d1c8,
mutex=mutex@entry=0x55948337d1c0, deadline=...) at
thread/qwaitcondition_unix.cpp:225
#5  0x00007f56a4246154 in QSGRenderThreadEventQueue::takeEvent (wait=true,
this=0x55948337d1b8) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore
(this=this@entry=0x55948337d120) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007f56a42465c9 in QSGRenderThread::run (this=0x55948337d120) at
scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007f56a8bb320c in QThreadPrivate::start (arg=0x55948337d120) at
thread/qthread_unix.cpp:342
#9  0x00007f56a7b29609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007f56a8832103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f56a236a700 (LWP 33772)):
#0  0x00007f56a701d732 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f56a701e0db in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f56a701e2e3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f56a8defeab in QEventDispatcherGlib::processEvents
(this=0x7f5694004e60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f56a8d941bb in QEventLoop::exec (this=this@entry=0x7f56a2369d80,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f56a8bb2082 in QThread::exec (this=this@entry=0x5594831dce30) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f56a82046c9 in QQmlThreadPrivate::run (this=0x5594831dce30) at
qml/ftw/qqmlthread.cpp:155
#7  0x00007f56a8bb320c in QThreadPrivate::start (arg=0x5594831dce30) at
thread/qthread_unix.cpp:342
#8  0x00007f56a7b29609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007f56a8832103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f56877fe700 (LWP 33743)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x559483457448) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5594834573f8,
cond=0x559483457420) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559483457420, mutex=0x5594834573f8) at
pthread_cond_wait.c:638
#3  0x00007f5699b4e97b in cnd_wait (mtx=0x5594834573f8, cond=0x559483457420) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55948326ac00) at
../src/util/u_queue.c:275
#5  0x00007f5699b4e58b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007f56a7b29609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007f56a8832103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f5687fff700 (LWP 33742)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x559483457448) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5594834573f8,
cond=0x559483457420) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559483457420, mutex=0x5594834573f8) at
pthread_cond_wait.c:638
#3  0x00007f5699b4e97b in cnd_wait (mtx=0x5594834573f8, cond=0x559483457420) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55948329c240) at
../src/util/u_queue.c:275
#5  0x00007f5699b4e58b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007f56a7b29609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007f56a8832103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f5698cef700 (LWP 33741)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x559483457448) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5594834573f8,
cond=0x559483457420) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559483457420, mutex=0x5594834573f8) at
pthread_cond_wait.c:638
#3  0x00007f5699b4e97b in cnd_wait (mtx=0x5594834573f8, cond=0x559483457420) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x559483229a20) at
../src/util/u_queue.c:275
#5  0x00007f5699b4e58b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007f56a7b29609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007f56a8832103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f56994f0700 (LWP 33740)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x559483457448) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5594834573f8,
cond=0x559483457420) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559483457420, mutex=0x5594834573f8) at
pthread_cond_wait.c:638
#3  0x00007f5699b4e97b in cnd_wait (mtx=0x5594834573f8, cond=0x559483457420) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55948319c6e0) at
../src/util/u_queue.c:275
#5  0x00007f5699b4e58b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007f56a7b29609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007f56a8832103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f56a3a02700 (LWP 33697)):
#0  0x00007f56a882596f in __GI___poll (fds=0x7f569c005240, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f56a701e1ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f56a701e2e3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f56a8defeab in QEventDispatcherGlib::processEvents
(this=0x7f569c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f56a8d941bb in QEventLoop::exec (this=this@entry=0x7f56a3a01d70,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f56a8bb2082 in QThread::exec (this=this@entry=0x7f56a97fcd80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f56a9779f2b in QDBusConnectionManager::run (this=0x7f56a97fcd80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#7  0x00007f56a8bb320c in QThreadPrivate::start (arg=0x7f56a97fcd80 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:342
#8  0x00007f56a7b29609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007f56a8832103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f56a4ef8d40 (LWP 33696)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f56a8735859 in __GI_abort () at abort.c:79
#8  0x00007f56a89a0951 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f56a89ac47c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f56a89ac4e7 in std::terminate() () from
/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f56a89ac799 in __cxa_throw () from
/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f56a8b76f7b in qBadAlloc () at
/usr/include/c++/9/bits/exception.h:63
#13 0x00007f56a8b7996a in QListData::realloc_grow (this=0x7ffe76c3e7a0,
growth=<optimized out>) at tools/qlist.cpp:171
#14 0x00007f56a8beff03 in QListData::append (this=0x7ffe76c3e7a0, n=n@entry=1)
at tools/qlist.cpp:196
#15 0x00007f56a8beff3e in QListData::append (this=<optimized out>) at
tools/qlist.cpp:206
#16 0x00007f56a9abc1c8 in QList<QWindow*>::append (this=<optimized out>,
t=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
#17 0x00007f56a9ab2d4a in QApplicationPrivate::tryCloseAllWidgetWindows
(processedWindows=0x7ffe76c3e7a0) at kernel/qapplication.cpp:1770
#18 QApplicationPrivate::tryCloseAllWidgetWindows
(processedWindows=0x7ffe76c3e7a0) at kernel/qapplication.cpp:1748
#19 0x00007f56a9ab2e2f in QApplication::closeAllWindows () at
kernel/qapplication.cpp:1805
#20 0x00007f56a9ab6035 in QApplication::event (this=0x7ffe76c3edf0,
e=0x5594840d5750) at kernel/qapplication.cpp:1846
#21 0x00007f56a9aaecc3 in QApplicationPrivate::notify_helper
(this=this@entry=0x55948304bd40, receiver=receiver@entry=0x7ffe76c3edf0,
e=e@entry=0x5594840d5750) at kernel/qapplication.cpp:3671
#22 0x00007f56a9ab7c70 in QApplication::notify (this=0x7ffe76c3edf0,
receiver=0x7ffe76c3edf0, e=0x5594840d5750) at kernel/qapplication.cpp:3417
#23 0x00007f56a8d956aa in QCoreApplication::notifyInternal2
(receiver=0x7ffe76c3edf0, event=0x5594840d5750) at
../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#24 0x00007f56a8d97fa1 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x5594830482a0) at
kernel/qcoreapplication.cpp:1815
#25 0x00007f56a8df0837 in postEventSourceDispatch (s=0x5594830a2780) at
kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f56a701dfbd in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f56a701e240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f56a701e2e3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f56a8defe92 in QEventDispatcherGlib::processEvents
(this=0x5594830c8b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007f56a8d941bb in QEventLoop::exec (this=this@entry=0x7ffe76c3ed30,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#31 0x00007f56a8d9c354 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x00005594816a5598 in ?? ()
#33 0x00007f56a87370b3 in __libc_start_main (main=0x5594816a4db0, argc=1,
argv=0x7ffe76c3efc8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffe76c3efb8) at ../csu/libc-start.c:308
#34 0x00005594816a5abe in ?? ()
[Inferior 1 (process 33696) detached]

Possible duplicates by query: bug 424911, bug 424755, bug 423951, bug 423222,
bug 423180.

Reported using DrKonqi

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

Reply via email to