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

            Bug ID: 417465
           Summary: krita-4.2.8.2 crash on exit
           Product: krita
           Version: 4.2.8
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: andreas.sturmlech...@gmail.com
  Target Milestone: ---

Application: krita (4.2.8)
 (Compiled from sources)
Qt Version: 5.14.1
Frameworks Version: 5.67.0
Operating System: Linux 5.5.2-gentoo-r1 x86_64
Windowing system: X11
Distribution: "Gentoo Base System release 2.7"

-- Information about the crash:
- What I was doing when the application crashed:

Just starting krita, then closing again (without doing anything else) will lead
to it crashing every time. I hope the stacktrace contains enough information.

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7efeb29487c0 (LWP 11875))]

Thread 8 (Thread 0x7efe8b7fe700 (LWP 11900)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007efeb78ca530 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0,
val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:133
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> >
(expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:135
#3  futexSemaphoreTryAcquire_loop<true> (u=..., curValue=<optimized out>,
nn=8589934593, timeout=<optimized out>) at thread/qsemaphore.cpp:219
#4  0x00007efeb78ca2a6 in futexSemaphoreTryAcquire<true> (timeout=<optimized
out>, n=<optimized out>, u=...) at
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/atomic_base.h:539
#5  QSemaphore::tryAcquire (this=0x55c9b72a8fb0, n=<optimized out>,
timeout=<optimized out>) at thread/qsemaphore.cpp:484
#6  0x00007efeb8d1668a in KisTileDataSwapper::run() () from
/usr/lib64/libkritaimage.so.18
#7  0x00007efeb78c836b in QThreadPrivate::start (arg=0x7efeb90060e0) at
thread/qthread_unix.cpp:342
#8  0x00007efeb55752d7 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#9  0x00007efeb74a3a5f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7efea8fd0700 (LWP 11897)):
#0  0x00007efeb7497bc3 in __GI___poll (fds=0x7efe98004200, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007efeb4da85de in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7efe98004200, timeout=<optimized out>, context=0x7efe98000c20)
at ../glib-2.60.7/glib/gmain.c:4228
#2  g_main_context_iterate (context=context@entry=0x7efe98000c20,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib-2.60.7/glib/gmain.c:3922
#3  0x00007efeb4da86ff in g_main_context_iteration (context=0x7efe98000c20,
may_block=may_block@entry=1) at ../glib-2.60.7/glib/gmain.c:3988
#4  0x00007efeb7ac5cbb in QEventDispatcherGlib::processEvents
(this=0x7efe98000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007efeb7a70a9b in QEventLoop::exec (this=this@entry=0x7efea8fcfdb0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007efeb78c733e in QThread::exec (this=this@entry=0x7efeb5629da0
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x00007efeb55a7507 in QDBusConnectionManager::run (this=0x7efeb5629da0
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#8  0x00007efeb78c836b in QThreadPrivate::start (arg=0x7efeb5629da0 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:342
#9  0x00007efeb55752d7 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#10 0x00007efeb74a3a5f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7efea9856700 (LWP 11896)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7efe94002f58) at
../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7efe94002f08,
cond=0x7efe94002f30) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7efe94002f30, mutex=0x7efe94002f08) at
pthread_cond_wait.c:638
#3  0x00007efeb0e7d46b in cnd_wait (mtx=0x7efe94002f08, cond=0x7efe94002f30) at
../mesa-20.0.0-rc2/include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x7efe940032d0) at
../mesa-20.0.0-rc2/src/util/u_queue.c:275
#5  0x00007efeb0e7d087 in impl_thrd_routine (p=<optimized out>) at
../mesa-20.0.0-rc2/include/c11/threads_posix.h:87
#6  0x00007efeb55752d7 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#7  0x00007efeb74a3a5f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7efeabfff700 (LWP 11895)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7efe94002f58) at
../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7efe94002f08,
cond=0x7efe94002f30) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7efe94002f30, mutex=0x7efe94002f08) at
pthread_cond_wait.c:638
#3  0x00007efeb0e7d46b in cnd_wait (mtx=0x7efe94002f08, cond=0x7efe94002f30) at
../mesa-20.0.0-rc2/include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55c9a9c89290) at
../mesa-20.0.0-rc2/src/util/u_queue.c:275
#5  0x00007efeb0e7d087 in impl_thrd_routine (p=<optimized out>) at
../mesa-20.0.0-rc2/include/c11/threads_posix.h:87
#6  0x00007efeb55752d7 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#7  0x00007efeb74a3a5f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7efeab7fe700 (LWP 11894)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7efe94002f58) at
../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7efe94002f08,
cond=0x7efe94002f30) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7efe94002f30, mutex=0x7efe94002f08) at
pthread_cond_wait.c:638
#3  0x00007efeb0e7d46b in cnd_wait (mtx=0x7efe94002f08, cond=0x7efe94002f30) at
../mesa-20.0.0-rc2/include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55c9a9b0a310) at
../mesa-20.0.0-rc2/src/util/u_queue.c:275
#5  0x00007efeb0e7d087 in impl_thrd_routine (p=<optimized out>) at
../mesa-20.0.0-rc2/include/c11/threads_posix.h:87
#6  0x00007efeb55752d7 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#7  0x00007efeb74a3a5f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7efeaaffd700 (LWP 11893)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7efe94002f58) at
../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7efe94002f08,
cond=0x7efe94002f30) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7efe94002f30, mutex=0x7efe94002f08) at
pthread_cond_wait.c:638
#3  0x00007efeb0e7d46b in cnd_wait (mtx=0x7efe94002f08, cond=0x7efe94002f30) at
../mesa-20.0.0-rc2/include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x7efe94003310) at
../mesa-20.0.0-rc2/src/util/u_queue.c:275
#5  0x00007efeb0e7d087 in impl_thrd_routine (p=<optimized out>) at
../mesa-20.0.0-rc2/include/c11/threads_posix.h:87
#6  0x00007efeb55752d7 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#7  0x00007efeb74a3a5f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7efeaa7fc700 (LWP 11892)):
#0  0x00007efeb7497bc3 in __GI___poll (fds=0x7efeaa7fbce8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007efeb48dfcf2 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007efeb48e18ea in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007efeb22b6e50 in QXcbEventQueue::run (this=0x55c9a9a359d0) at
qxcbeventqueue.cpp:228
#4  0x00007efeb78c836b in QThreadPrivate::start (arg=0x55c9a9a359d0) at
thread/qthread_unix.cpp:342
#5  0x00007efeb55752d7 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#6  0x00007efeb74a3a5f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7efeb29487c0 (LWP 11875)):
[KCrash Handler]
#7  0x00007efeb848d98e in QGestureManager::cleanupCachedGestures
(this=this@entry=0x55c9b6a2fb80, target=target@entry=0x55c9b7e00a30,
type=<optimized out>) at kernel/qgesturemanager.cpp:170
#8  0x00007efeb847d6f8 in QWidget::~QWidget (this=0x55c9b7e00a30,
__in_chrg=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qmap.h:534
#9  0x00007efeb847dbc9 in QWidget::~QWidget (this=0x55c9b7e00a30,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1408
#10 0x00007efeb7aa1eac in QObjectPrivate::deleteChildren
(this=this@entry=0x55c9b95c6a10) at kernel/qobject.cpp:2123
#11 0x00007efeb847d9d6 in QWidget::~QWidget (this=0x55c9b95c69d0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1530
#12 0x00007efeb8550acd in QComboBoxListView::~QComboBoxListView
(this=0x55c9b95c69d0, __in_chrg=<optimized out>) at
../../include/QtWidgets/5.14.1/QtWidgets/private/../../../../../src/widgets/widgets/qcombobox_p.h:85
#13 QComboBoxListView::~QComboBoxListView (this=0x55c9b95c69d0,
__in_chrg=<optimized out>) at
../../include/QtWidgets/5.14.1/QtWidgets/private/../../../../../src/widgets/widgets/qcombobox_p.h:85
#14 0x00007efeb7aa1eac in QObjectPrivate::deleteChildren
(this=this@entry=0x55c9b95cac90) at kernel/qobject.cpp:2123
#15 0x00007efeb847d9d6 in QWidget::~QWidget (this=0x55c9b76db660,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1530
#16 0x00007efeb8553094 in QComboBoxPrivateContainer::~QComboBoxPrivateContainer
(this=0x55c9b76db660, __in_chrg=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qbasictimer.h:67
#17 QComboBoxPrivateContainer::~QComboBoxPrivateContainer (this=0x55c9b76db660,
__in_chrg=<optimized out>) at
../../include/QtWidgets/5.14.1/QtWidgets/private/../../../../../src/widgets/widgets/qcombobox_p.h:218
#18 0x00007efeb7aa1eac in QObjectPrivate::deleteChildren
(this=this@entry=0x55c9b0f08bc0) at kernel/qobject.cpp:2123
#19 0x00007efeb847d9d6 in QWidget::~QWidget (this=0x55c9b86500e0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1530
#20 0x00007efe89ddf8b9 in ?? () from
/usr/lib/python3.8/site-packages/PyQt5/QtWidgets.so
#21 0x00007efe8a7ff831 in ?? () from
/usr/lib/python3.8/site-packages/PyQt5/QtCore.so
#22 0x00007efe8a903608 in ?? () from
/usr/lib/python3.8/site-packages/PyQt5/sip.so
#23 0x00007efe8a7ff4dc in ?? () from
/usr/lib/python3.8/site-packages/PyQt5/QtCore.so
#24 0x00007efe8ad0de15 in ?? () from /usr/lib64/libpython3.8.so.1.0
#25 0x00007efe8acd74df in PyVectorcall_Call () from
/usr/lib64/libpython3.8.so.1.0
#26 0x00007efe8ae18d4e in ?? () from /usr/lib64/libpython3.8.so.1.0
#27 0x00007efe8adbc82e in Py_FinalizeEx () from /usr/lib64/libpython3.8.so.1.0
#28 0x00007efe8afe2811 in ?? () from /usr/lib64/kritaplugins/kritapykrita.so
#29 0x00007efe8afe299c in ?? () from /usr/lib64/kritaplugins/kritapykrita.so
#30 0x00007efe8afdfd07 in ?? () from /usr/lib64/kritaplugins/kritapykrita.so
#31 0x00007efeb7aa1eac in QObjectPrivate::deleteChildren (this=0x55c9a99fa030)
at kernel/qobject.cpp:2123
#32 0x00007efeb7aa2b32 in QObject::~QObject (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1107
#33 0x00007efeb7a73eea in QCoreApplication::~QCoreApplication
(this=0x7fff3c3c3f40, __in_chrg=<optimized out>) at
../../include/QtCore/../../src/corelib/text/qstringlist.h:111
#34 0x00007efeb7e53a02 in QGuiApplication::~QGuiApplication
(this=0x7fff3c3c3f40, __in_chrg=<optimized out>) at
kernel/qguiapplication.cpp:723
#35 0x00007efeb844062f in QApplication::~QApplication (this=0x7fff3c3c3f40,
__in_chrg=<optimized out>) at kernel/qapplication.cpp:835
#36 0x00007efeb9f9d97e in QtSingleApplication::~QtSingleApplication() () from
/usr/lib64/libkritaui.so.18
#37 0x000055c9a802b4f6 in main ()
[Inferior 1 (process 11875) detached]

Possible duplicates by query: bug 414728, bug 413345, bug 408889, bug 406062,
bug 402892.

Reported using DrKonqi

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

Reply via email to