Bug 405107 - Krita crashes once pointing canvas with graphics tablet
Summary: Krita crashes once pointing canvas with graphics tablet
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.1.7
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi, triaged
: 406325 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-05 11:01 UTC by thestarvingoneart
Modified: 2019-06-08 06:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thestarvingoneart 2019-03-05 11:01:53 UTC
Application: krita (4.1.7)

Qt Version: 5.12.0
Frameworks Version: 5.55.0
Operating System: Linux 4.15.0-45-generic x86_64
Distribution: KDE neon User Edition 5.15

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

I opened Krita. Then either opened a new document, or an existing one - does not seem to matter. After it's loaded I can use my mouse like always, but once I point the canvas with my tablet, the app crashes immediately making Krita absolutely useless for painting in my case. As long as it crashes on canvas, I can still use tablet to point at interface elements around, opened popups and windows. I tried disabling OpenGL and scripts I use with my tablet, but no luck here. The issue persists.
I cannot really tell when the issue first appeared, cause I was not using Krita for some time. I think still in 4.1.5 the behavior was still correct, so that might be either a 4.1.6 or 4.1.7 regression in my case.

My tablet is Wacom Intuos Pro M, will add info about hardware in case it's needed too. As it seems the KDE app does not list these:
Intel Core2 Quad Q8300 (overclocked to ~2,95GHz if does matter)
AMD Radeon RX 580
8GB RAM

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9eebe29800 (LWP 10047))]

Thread 17 (Thread 0x7f9e56483700 (LWP 10090)):
#0  0x00007f9ee71309f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x560342a0d7d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x560342a0d788, cond=0x560342a0d7b0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x560342a0d7b0, mutex=0x560342a0d788) at pthread_cond_wait.c:655
#3  0x00007f9ec9794dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f9ec9794ad7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f9ee712a6db in start_thread (arg=0x7f9e56483700) at pthread_create.c:463
#6  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f9e72613700 (LWP 10085)):
#0  0x00007f9ee71309f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x560340d00a6c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x560340d00a18, cond=0x560340d00a40) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x560340d00a40, mutex=0x560340d00a18) at pthread_cond_wait.c:655
#3  0x00007f9ec9794dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f9ec9794ad7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f9ee712a6db in start_thread (arg=0x7f9e72613700) at pthread_create.c:463
#6  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f9e73615700 (LWP 10084)):
#0  0x00007f9ee71309f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x560340c33508) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x560340c334b8, cond=0x560340c334e0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x560340c334e0, mutex=0x560340c334b8) at pthread_cond_wait.c:655
#3  0x00007f9ec9794dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f9ec9794ad7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f9ee712a6db in start_thread (arg=0x7f9e73615700) at pthread_create.c:463
#6  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f9e79119700 (LWP 10070)):
#0  0x00007f9ee7132064 in __GI___pthread_getspecific (key=<optimized out>) at pthread_getspecific.c:60
#1  0x00007f9edfba05f0 in g_thread_self () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9edfb773cc in g_main_context_acquire () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9edfb783f5 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9edfb7864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9ee7fb115b in QEventDispatcherGlib::processEvents (this=0x7f9e74000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f9ee7f5264a in QEventLoop::exec (this=this@entry=0x7f9e79118d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f9ee7d7a41a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f9ecfa961c6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f9ee7d7bbc2 in QThreadPrivate::start (arg=0x56033fb49ae0) at thread/qthread_unix.cpp:361
#10 0x00007f9ee712a6db in start_thread (arg=0x7f9e79119700) at pthread_create.c:463
#11 0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f9e96c9b700 (LWP 10069)):
#0  0x00007f9edfbbe049 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9edfb78638 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9ee7fb115b in QEventDispatcherGlib::processEvents (this=0x7f9e90000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007f9ee7f5264a in QEventLoop::exec (this=this@entry=0x7f9e96c9ad80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#4  0x00007f9ee7d7a41a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#5  0x00007f9ecf5d12e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f9ee7d7bbc2 in QThreadPrivate::start (arg=0x56033fa419f0) at thread/qthread_unix.cpp:361
#7  0x00007f9ee712a6db in start_thread (arg=0x7f9e96c9b700) at pthread_create.c:463
#8  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f9e8283c700 (LWP 10067)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f9ee7d7e580 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:92
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> > (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:107
#3  futexSemaphoreTryAcquire_loop<true> (u=..., curValue=<optimized out>, nn=8589934593, timeout=<optimized out>) at thread/qsemaphore.cpp:219
#4  0x00007f9ee7d7e3f2 in futexSemaphoreTryAcquire<true> (timeout=<optimized out>, n=<optimized out>, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::tryAcquire (this=0x56033e5041f0, n=<optimized out>, timeout=<optimized out>) at thread/qsemaphore.cpp:484
#6  0x00007f9ee4ff504a in KisTileDataSwapper::run() () from /usr/lib/x86_64-linux-gnu/libkritaimage.so.17
#7  0x00007f9ee7d7bbc2 in QThreadPrivate::start (arg=0x7f9ee54eaca0) at thread/qthread_unix.cpp:361
#8  0x00007f9ee712a6db in start_thread (arg=0x7f9e8283c700) at pthread_create.c:463
#9  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f9ebb7fe700 (LWP 10058)):
#0  0x00007f9edfbbe049 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9edfb77f5c in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9edfb784e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9edfb7864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9ee7fb115b in QEventDispatcherGlib::processEvents (this=0x7f9e9c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9ee7f5264a in QEventLoop::exec (this=this@entry=0x7f9ebb7fdd70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f9ee7d7a41a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#7  0x00007f9ee127f015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f9ee7d7bbc2 in QThreadPrivate::start (arg=0x7f9ee14f6d80) at thread/qthread_unix.cpp:361
#9  0x00007f9ee712a6db in start_thread (arg=0x7f9ebb7fe700) at pthread_create.c:463
#10 0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f9ebbfff700 (LWP 10057)):
#0  0x00007f9ee71309f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5603358aad98) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5603358aad48, cond=0x5603358aad70) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5603358aad70, mutex=0x5603358aad48) at pthread_cond_wait.c:655
#3  0x00007f9ec9794dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f9ec9794ad7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f9ee712a6db in start_thread (arg=0x7f9ebbfff700) at pthread_create.c:463
#6  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f9ec0f37700 (LWP 10056)):
#0  0x00007f9ee71309f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x560335638650) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x560335638600, cond=0x560335638628) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x560335638628, mutex=0x560335638600) at pthread_cond_wait.c:655
#3  0x00007f9ec9794dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f9ec9794ad7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f9ee712a6db in start_thread (arg=0x7f9ec0f37700) at pthread_create.c:463
#6  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f9ec1738700 (LWP 10055)):
#0  0x00007f9ee71309f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x560335638650) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x560335638600, cond=0x560335638628) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x560335638628, mutex=0x560335638600) at pthread_cond_wait.c:655
#3  0x00007f9ec9794dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f9ec9794ad7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f9ee712a6db in start_thread (arg=0x7f9ec1738700) at pthread_create.c:463
#6  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f9ec1f39700 (LWP 10054)):
#0  0x00007f9ee71309f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5603356380d0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x560335638080, cond=0x5603356380a8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5603356380a8, mutex=0x560335638080) at pthread_cond_wait.c:655
#3  0x00007f9ec9794dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f9ec9794ad7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f9ee712a6db in start_thread (arg=0x7f9ec1f39700) at pthread_create.c:463
#6  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f9ec273a700 (LWP 10053)):
#0  0x00007f9ee71309f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5603356380d4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x560335638080, cond=0x5603356380a8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5603356380a8, mutex=0x560335638080) at pthread_cond_wait.c:655
#3  0x00007f9ec9794dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f9ec9794ad7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f9ee712a6db in start_thread (arg=0x7f9ec273a700) at pthread_create.c:463
#6  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f9ec2f3b700 (LWP 10052)):
#0  0x00007f9ee71309f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5603356380d4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x560335638080, cond=0x5603356380a8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5603356380a8, mutex=0x560335638080) at pthread_cond_wait.c:655
#3  0x00007f9ec9794dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f9ec9794ad7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f9ee712a6db in start_thread (arg=0x7f9ec2f3b700) at pthread_create.c:463
#6  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f9ec373c700 (LWP 10051)):
#0  0x00007f9ee71309f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56033556d738) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x56033556d6e8, cond=0x56033556d710) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x56033556d710, mutex=0x56033556d6e8) at pthread_cond_wait.c:655
#3  0x00007f9ec9794dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f9ec9794ad7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f9ee712a6db in start_thread (arg=0x7f9ec373c700) at pthread_create.c:463
#6  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f9ec46a6700 (LWP 10050)):
#0  0x00007f9ee71309f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x560335634c54) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x560335634c00, cond=0x560335634c28) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x560335634c28, mutex=0x560335634c00) at pthread_cond_wait.c:655
#3  0x00007f9ec9794dcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f9ec9794ad7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f9ee712a6db in start_thread (arg=0x7f9ec46a6700) at pthread_create.c:463
#6  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f9ed69a4700 (LWP 10049)):
#0  0x00007f9ee7456bf9 in __GI___poll (fds=0x7f9ed69a3cb8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9ee5749747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f9ee574b36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f9ed7ced32a in QXcbEventQueue::run (this=0x56033550cb90) at qxcbeventqueue.cpp:225
#4  0x00007f9ee7d7bbc2 in QThreadPrivate::start (arg=0x56033550cb90) at thread/qthread_unix.cpp:361
#5  0x00007f9ee712a6db in start_thread (arg=0x7f9ed69a4700) at pthread_create.c:463
#6  0x00007f9ee746388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f9eebe29800 (LWP 10047)):
[KCrash Handler]
#6  std::__atomic_base<int>::store (__m=<optimized out>, __i=<optimized out>, this=<optimized out>) at /usr/include/c++/7/bits/atomic_base.h:374
#7  QAtomicOps<int>::store<int> (newValue=<optimized out>, _q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:251
#8  QBasicAtomicInteger<int>::store (newValue=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:104
#9  QtPrivate::RefCount::initializeOwned (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:105
#10 QRegion::copy (this=this@entry=0x7ffef63e7460) at painting/qregion.cpp:4044
#11 0x00007f9ee87fe361 in QRegion::detach (this=0x7ffef63e7460) at painting/qregion.cpp:261
#12 0x00007f9ee8800915 in QRegion::translate (this=0x7ffef63e7460, dx=26, dy=66) at painting/qregion.cpp:4082
#13 0x00007f9ee8800a2e in QRegion::translated (this=<optimized out>, dx=dx@entry=26, dy=dy@entry=66) at painting/qregion.cpp:701
#14 0x00007f9ee8d78e0c in QRegion::translated (p=<synthetic pointer>..., this=<optimized out>) at ../../include/QtGui/../../src/gui/painting/qregion.h:103
#15 QWidgetPrivate::subtractOpaqueSiblings (this=this@entry=0x56033e07d370, sourceRegion=..., hasDirtySiblingsAbove=hasDirtySiblingsAbove@entry=0x7ffef63e7540, alsoNonOpaque=alsoNonOpaque@entry=false) at kernel/qwidget.cpp:2243
#16 0x00007f9ee8d59ac2 in QWidgetBackingStore::doSync (this=this@entry=0x56033e06cd90) at kernel/qwidgetbackingstore.cpp:1267
#17 0x00007f9ee8d5a565 in QWidgetBackingStore::sync (this=0x56033e06cd90) at kernel/qwidgetbackingstore.cpp:1209
#18 0x00007f9ee8d7293f in QWidgetPrivate::syncBackingStore (this=0x56033e0298d0) at kernel/qwidget.cpp:1956
#19 0x00007f9ee8d8a9a8 in QWidget::event (this=this@entry=0x7f9e9c01ea40, event=event@entry=0x56033c510590) at kernel/qwidget.cpp:9207
#20 0x00007f9ee8e93030 in QMainWindow::event (this=0x7f9e9c01ea40, event=0x56033c510590) at widgets/qmainwindow.cpp:1339
#21 0x00007f9ee998ff77 in KMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libkritawidgetutils.so.17
#22 0x00007f9ee99c6969 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libkritawidgetutils.so.17
#23 0x00007f9ee8d4a83c in QApplicationPrivate::notify_helper (this=this@entry=0x5603354edb20, receiver=receiver@entry=0x7f9e9c01ea40, e=e@entry=0x56033c510590) at kernel/qapplication.cpp:3752
#24 0x00007f9ee8d51dd0 in QApplication::notify (this=0x7ffef63e8050, receiver=0x7f9e9c01ea40, e=0x56033c510590) at kernel/qapplication.cpp:3499
#25 0x00007f9eeac644c7 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libkritaui.so.17
#26 0x00007f9ee7f54328 in QCoreApplication::notifyInternal2 (receiver=0x7f9e9c01ea40, event=0x56033c510590) at kernel/qcoreapplication.cpp:1061
#27 0x00007f9ee7f544fe in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x56033c510590) at kernel/qcoreapplication.cpp:1451
#28 0x00007f9ee7f56e87 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5603354e47b0) at kernel/qcoreapplication.cpp:1800
#29 0x00007f9ee7f57428 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1654
#30 0x00007f9ee7fb1b23 in postEventSourceDispatch (s=0x560335595760) at kernel/qeventdispatcher_glib.cpp:276
#31 0x00007f9edfb78387 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f9edfb785c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f9edfb7864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f9ee7fb113f in QEventDispatcherGlib::processEvents (this=0x5603355b2a60, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007f9ee7f5264a in QEventLoop::exec (this=this@entry=0x7ffef63e7ed0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#36 0x00007f9ee7f5b800 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1364
#37 0x000056033378f1a8 in main ()

Reported using DrKonqi
Comment 1 Halla Rempt 2019-03-05 13:52:31 UTC
Hm, at first I thought that this was the QTableEvent bug in Qt (see https://bugs.kde.org/show_bug.cgi?id=401988), but the backtrace is different. 

That said, the backtrace is entirely in Qt itself, so it's probably another Qt 5.12 bug. 

I have a Wacom Intuos 3 tablet to test with.

I develop Krita on KDE Neon myself, and build against Qt 5.12 and I don't get the crash, so I'm not sure what the problem could even be.

I tried 4.1.7 installed through snap on KDE neon and that doesn't crash either.

I tried 4.1.7 isntalled from the KDE neon repos, and that didn't crash for me either.

The appimage uses Qt 5.9, so that is still fine.

I'm sorry, I cannot reproduce the crash.
Comment 2 Halla Rempt 2019-03-05 14:01:37 UTC
"Intel Core2 Quad Q8300 (overclocked to ~2,95GHz if does matter)"

What happens if you stop overclocking? Maybe it's a hardware fault after all...
Comment 3 thestarvingoneart 2019-03-05 19:01:36 UTC
I have no idea what's up with Qt or anything unfortunately. Restoring the default clock of the CPU did not really help anything, the issue is still there. But I decided to give a try some Krita appimages. First I took 3.3.3, then 4.1.5 and finally my 4.1.7. What surprised me all of them worked just fine, so I might stick to these for now. And does that bring us any actual idea for fixes, or doesn't it apply to this facility anymore?
Comment 4 Halla Rempt 2019-03-05 19:05:31 UTC
They all use a different version of Qt -- from 5.6 to 5.9 to 5.10 :-) I suspect that there just is something wrong with Qt 5.12, we've had so many problems with it! Please do stick to the appimages for now. I want to leave your report open so we can start collecting duplicates, and through the duplicates, data. Thanks for checking things out!
Comment 5 thestarvingoneart 2019-03-06 09:36:44 UTC
Sure thing! I just wonder now - if that's a Qt issue (from what I understood), should I report that to them somehow?
Comment 6 Halla Rempt 2019-03-06 09:41:44 UTC
That's really hard, the Qt people don't take bug reports unless there's a minimal code example that shows the issue, and that's not easy to do -- if it's at all possible. I would prefer to collect more information here before trying to figure that out.
Comment 7 Halla Rempt 2019-04-08 10:19:14 UTC
*** Bug 406325 has been marked as a duplicate of this bug. ***
Comment 8 Halla Rempt 2019-04-22 11:10:46 UTC
*** Bug 406747 has been marked as a duplicate of this bug. ***
Comment 9 Halla Rempt 2019-05-09 09:44:34 UTC
This should have been fixed by Dmitry's patches to Qt. Can you please check with the latest nightly build? That uses 5.12 + patches.

See https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Build/
Comment 10 Bug Janitor Service 2019-05-24 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2019-06-08 04:33:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 12 thestarvingoneart 2019-06-08 06:48:42 UTC
Sorry for the late reply, have been busy with work and such. I downloaded 	krita-4.3.0-prealpha-92a9a44-x86_64.appimage from the given web page, it seems like it's possible to paint, doesn't crash.