Bug 415675 - Krita always crashes when copying any area using Transform tool
Summary: Krita always crashes when copying any area using Transform tool
Status: RESOLVED DUPLICATE of bug 414672
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.2.8
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-12-29 14:16 UTC by Vladislav Rubtsov
Modified: 2019-12-29 14:28 UTC (History)
1 user (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 Vladislav Rubtsov 2019-12-29 14:16:28 UTC
Application: krita (4.2.8)

Qt Version: 5.13.2
Frameworks Version: 5.65.0
Operating System: Linux 5.0.0-37-generic x86_64
Distribution: KDE neon User Edition 5.17

-- Information about the crash:
Steps to reproduce:
1. Open any image (or create one).
2. Select any region within the image using Rectangle selection tool (Ctrl+R).
3. Switch to the Transform Tool (Ctrl+T).
4. Attempt to copy it (Ctrl+C).
5. Krita *always* crashes, and the following message appears in terminal:
  krita: /usr/include/boost/optional/optional.hpp:1107: boost::optional<T>::reference_type boost::optional<T>::get() [with T = ToolTransformArgs; boost::optional<T>::reference_type = ToolTransformArgs&]: Assertion `this->is_initialized()' failed.

As I said, the crash is constant, regardless of the image, its number of layers, number of pixels within selection etc. This basically renders Krita unusable for me.

However, there is one method of avoiding this bug (but I cannot confirm if it's reliable): if you move the selection around before copying it, the copying works and doesn't cause the crash.

Please note, that this crash only occurs with the Krita 4.2.8.x installed from KDE Neon repository (bionic/main). This does not occur in the same versions installed from flatpak or snap. But they have other size, compatibility and system integration issues, so I'd prefer not to use them if I could.

That said, it could be due to incompatible or older version of any dependency that Krita uses.

System info:
OS: KDE neon 5.17
Kernel: x86_64 Linux 5.0.0-37-generic
Shell: bash 4.4.20
Resolution: 3288x1224
DE: KDE 5.65.0 / Plasma 5.17.4
WM: KWin
GTK Theme: Breeze [GTK2/3]
Icon Theme: breeze
Font: Noto Sans Regular
CPU: Intel Core i7-6700HQ @ 8x 3.5GHz [55.0°C]
GPU: GeForce GTX 950M
RAM: 7189MiB / 11898MiB

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7f7292ffd700 (LWP 2429)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f7300414801 in __GI_abort () at abort.c:79
#8  0x00007f730040439a in __assert_fail_base (fmt=0x7f730058b7d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f72cc6918f0 "this->is_initialized()", file=file@entry=0x7f72cc691760 "/usr/include/boost/optional/optional.hpp", line=line@entry=1107, function=function@entry=0x7f72cc6919a0 <boost::optional<ToolTransformArgs>::get()::__PRETTY_FUNCTION__> "boost::optional<T>::reference_type boost::optional<T>::get() [with T = ToolTransformArgs; boost::optional<T>::reference_type = ToolTransformArgs&]") at assert.c:92
#9  0x00007f7300404412 in __GI___assert_fail (assertion=assertion@entry=0x7f72cc6918f0 "this->is_initialized()", file=file@entry=0x7f72cc691760 "/usr/include/boost/optional/optional.hpp", line=line@entry=1107, function=function@entry=0x7f72cc6919a0 <boost::optional<ToolTransformArgs>::get()::__PRETTY_FUNCTION__> "boost::optional<T>::reference_type boost::optional<T>::get() [with T = ToolTransformArgs; boost::optional<T>::reference_type = ToolTransformArgs&]") at assert.c:101
#10 0x00007f72cc633a01 in boost::optional<ToolTransformArgs>::get (this=<optimized out>) at /usr/include/boost/optional/optional.hpp:1107
#11 boost::optional<ToolTransformArgs>::operator*() & (this=<optimized out>) at /usr/include/boost/optional/optional.hpp:1124
#12 TransformStrokeStrategy::finishStrokeCallback (this=<optimized out>) at ./plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp:704
#13 0x00007f72cc67fecc in TransformStrokeStrategy::cancelStrokeCallback (this=0x5610e78ed850) at /usr/include/boost/optional/optional.hpp:697
#14 0x00007f7303088849 in non-virtual thunk to KisUpdateJobItem::run() () from /usr/lib/x86_64-linux-gnu/libkritaimage.so.18
#15 0x00007f7300e14472 in QThreadPoolThread::run (this=0x5610ef0f3f90) at thread/qthreadpool.cpp:99
#16 0x00007f7300e10b52 in QThreadPrivate::start (arg=0x5610ef0f3f90) at thread/qthread_unix.cpp:360
#17 0x00007f72fa1856db in start_thread (arg=0x7f7292ffd700) at pthread_create.c:463
#18 0x00007f73004f588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f72b157c700 (LWP 2411)):
#0  0x00007f73004e8bf9 in __GI___poll (fds=0x7f72ac00c730, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f72f88885c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f72f88886dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7301053b9b in QEventDispatcherGlib::processEvents (this=0x7f72ac000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f7300ff406a in QEventLoop::exec (this=this@entry=0x7f72b157bd30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f7300e0f3aa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007f72e46bdac6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f7300e10b52 in QThreadPrivate::start (arg=0x5610ee44ea40) at thread/qthread_unix.cpp:360
#8  0x00007f72fa1856db in start_thread (arg=0x7f72b157c700) at pthread_create.c:463
#9  0x00007f73004f588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f72c624f700 (LWP 2410)):
#0  0x00007f72f88ce649 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f72f8887d11 in g_main_context_query () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f72f8888547 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f72f88886dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7301053b9b in QEventDispatcherGlib::processEvents (this=0x7f72b8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f7300ff406a in QEventLoop::exec (this=this@entry=0x7f72c624ed80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f7300e0f3aa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#7  0x00007f72e41eb815 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f7300e10b52 in QThreadPrivate::start (arg=0x5610ee377b00) at thread/qthread_unix.cpp:360
#9  0x00007f72fa1856db in start_thread (arg=0x7f72c624f700) at pthread_create.c:463
#10 0x00007f73004f588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f72c5a4e700 (LWP 2409)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f7300e13510 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=nn@entry=8589934593, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:219
#4  0x00007f7300e13382 in futexSemaphoreTryAcquire<true> (timeout=<optimized out>, n=n@entry=1, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::tryAcquire (this=0x5610ece61f10, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:484
#6  0x00007f7302e46893 in KisTileDataSwapper::waitForWork (this=this@entry=0x7f730334fb80 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at ./libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#7  0x00007f7302e46aca in KisTileDataSwapper::run (this=0x7f730334fb80 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at ./libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#8  0x00007f7300e10b52 in QThreadPrivate::start (arg=0x7f730334fb80 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at thread/qthread_unix.cpp:360
#9  0x00007f72fa1856db in start_thread (arg=0x7f72c5a4e700) at pthread_create.c:463
#10 0x00007f73004f588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f72c8452700 (LWP 2407)):
#0  0x00007f73004e40b4 in __GI___libc_read (fd=18, buf=0x7f72c8451b90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f72f88cd2d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f72f88880b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f72f8888570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f72f88886dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7301053b9b in QEventDispatcherGlib::processEvents (this=0x7f72c0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f7300ff406a in QEventLoop::exec (this=this@entry=0x7f72c8451da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f7300e0f3aa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f7300e10b52 in QThreadPrivate::start (arg=0x5610ec69d7c0) at thread/qthread_unix.cpp:360
#9  0x00007f72fa1856db in start_thread (arg=0x7f72c8452700) at pthread_create.c:463
#10 0x00007f73004f588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f72e0d0e700 (LWP 2396)):
#0  0x00007f73004e8bf9 in __GI___poll (fds=0x7f72dc01d0a0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f72f88885c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f72f88886dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7301053b9b in QEventDispatcherGlib::processEvents (this=0x7f72dc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f7300ff406a in QEventLoop::exec (this=this@entry=0x7f72e0d0dd70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f7300e0f3aa in QThread::exec (this=this@entry=0x7f72fa62ad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:531
#6  0x00007f72fa3b30e5 in QDBusConnectionManager::run (this=0x7f72fa62ad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f7300e10b52 in QThreadPrivate::start (arg=0x7f72fa62ad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:360
#8  0x00007f72fa1856db in start_thread (arg=0x7f72e0d0e700) at pthread_create.c:463
#9  0x00007f73004f588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f72ee6dd700 (LWP 2395)):
#0  0x00007f73004e8bf9 in __GI___poll (fds=0x7f72ee6dcca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f72f7b1d747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f72f7b1f36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f72f1290e10 in QXcbEventQueue::run (this=0x5610e4332270) at qxcbeventqueue.cpp:228
#4  0x00007f7300e10b52 in QThreadPrivate::start (arg=0x5610e4332270) at thread/qthread_unix.cpp:360
#5  0x00007f72fa1856db in start_thread (arg=0x7f72ee6dd700) at pthread_create.c:463
#6  0x00007f73004f588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f7305682800 (LWP 2391)):
#0  0x00007f73004e8bf9 in __GI___poll (fds=0x7fff447f5368, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f72f7b1d747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f72f7b1de35 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f72f7b1debd in xcb_writev () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f72ff05d146 in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007f72ff05d66c in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007f72ed1e3213 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
#7  0x00007f72ed1e4145 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
#8  0x00007f72f6e22212 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX.so.0
#9  0x00007f72f6e23f82 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX.so.0
#10 0x00007f72ed6c1d88 in QGLXContext::makeCurrent (this=this@entry=0x5610ef156c70, surface=0x5610ef180d60) at qglxintegration.cpp:583
#11 0x00007f730160a077 in QOpenGLContext::makeCurrent (this=0x5610ef14b9c0, surface=0x5610ef1810a0) at kernel/qopenglcontext.cpp:983
#12 0x00007f7301e5be11 in QOpenGLWidget::makeCurrent (this=<optimized out>) at kernel/qopenglwidget.cpp:1161
#13 0x00007f7301e5cd25 in QOpenGLWidgetPrivate::render (this=0x5610eea71950) at kernel/qopenglwidget.cpp:895
#14 0x00007f7301e3bcb8 in QWidget::event (this=0x5610eed44b50, event=0x7fff447f5c80) at kernel/qwidget.cpp:9339
#15 0x00007f7301dfaeac in QApplicationPrivate::notify_helper (this=this@entry=0x5610e433b280, receiver=receiver@entry=0x5610eed44b50, e=e@entry=0x7fff447f5c80) at kernel/qapplication.cpp:3703
#16 0x00007f7301e024b0 in QApplication::notify (this=0x7fff447f8160, receiver=receiver@entry=0x5610eed44b50, e=e@entry=0x7fff447f5c80) at kernel/qapplication.cpp:3449
#17 0x00007f73043d8767 in KisApplication::notify (this=<optimized out>, receiver=0x5610eed44b50, event=0x7fff447f5c80) at ./libs/ui/KisApplication.cpp:653
#18 0x00007f7300ff5f08 in QCoreApplication::notifyInternal2 (receiver=0x5610eed44b50, event=0x7fff447f5c80) at kernel/qcoreapplication.cpp:1095
#19 0x00007f7300ff60ee in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x5610eed44b50, event=event@entry=0x7fff447f5c80) at kernel/qcoreapplication.cpp:1502
#20 0x00007f7301e349f5 in QWidgetPrivate::sendPaintEvent (this=this@entry=0x5610eea71950, toBePainted=...) at kernel/qwidget.cpp:5705
#21 0x00007f7301e351cd in QWidgetPrivate::drawWidget (this=this@entry=0x5610eea71950, pdev=pdev@entry=0x5610eea407b0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5645
#22 0x00007f7301e35e30 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x5610eeab0e60, pdev=pdev@entry=0x5610eea407b0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x5610ebd36530) at kernel/qwidget.cpp:5838
#23 0x00007f7301e34bbe in QWidgetPrivate::drawWidget (this=this@entry=0x5610eeab0e60, pdev=pdev@entry=0x5610eea407b0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5696
#24 0x00007f7301e35e30 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x5610ec90e490, pdev=pdev@entry=0x5610eea407b0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x5610ebd36530) at kernel/qwidget.cpp:5838
#25 0x00007f7301e34bbe in QWidgetPrivate::drawWidget (this=this@entry=0x5610ec90e490, pdev=pdev@entry=0x5610eea407b0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5696
#26 0x00007f7301e35e30 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x5610eec9b140, pdev=pdev@entry=0x5610eea407b0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x5610ebd36530) at kernel/qwidget.cpp:5838
#27 0x00007f7301e34bbe in QWidgetPrivate::drawWidget (this=this@entry=0x5610eec9b140, pdev=pdev@entry=0x5610eea407b0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5696
#28 0x00007f7301e35e30 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x5610ee2bddc0, pdev=pdev@entry=0x5610eea407b0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x5610ebd36530) at kernel/qwidget.cpp:5838
#29 0x00007f7301e34bbe in QWidgetPrivate::drawWidget (this=this@entry=0x5610ee2bddc0, pdev=pdev@entry=0x5610eea407b0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5696
#30 0x00007f7301e35e30 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x5610ec8925b0, pdev=pdev@entry=0x5610eea407b0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x5610ebd36530) at kernel/qwidget.cpp:5838
#31 0x00007f7301e34bbe in QWidgetPrivate::drawWidget (this=this@entry=0x5610ec8925b0, pdev=pdev@entry=0x5610eea407b0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5696
#32 0x00007f7301e35e30 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x5610e9d20270, pdev=pdev@entry=0x5610eea407b0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x5610ebd36530) at kernel/qwidget.cpp:5838
#33 0x00007f7301e34bbe in QWidgetPrivate::drawWidget (this=this@entry=0x5610e9d20270, pdev=pdev@entry=0x5610eea407b0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5696
#34 0x00007f7301e35e30 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x5610e6d32400, pdev=pdev@entry=0x5610eea407b0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x5610ebd36530) at kernel/qwidget.cpp:5838
#35 0x00007f7301e34bbe in QWidgetPrivate::drawWidget (this=this@entry=0x5610e6d32400, pdev=pdev@entry=0x5610eea407b0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5696
#36 0x00007f7301e35e30 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x5610ec6a2370, pdev=pdev@entry=0x5610eea407b0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x5610ebd36530) at kernel/qwidget.cpp:5838
#37 0x00007f7301e35fb9 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x5610ec6a2370, pdev=pdev@entry=0x5610eea407b0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x5610ebd36530) at kernel/qwidget.cpp:5824
#38 0x00007f7301e35fb9 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x5610ec6a2370, pdev=pdev@entry=0x5610eea407b0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x5610ebd36530) at kernel/qwidget.cpp:5824
#39 0x00007f7301e34bbe in QWidgetPrivate::drawWidget (this=this@entry=0x5610ec6a2370, pdev=0x5610eea407b0, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5696
#40 0x00007f7301e0b31a in QWidgetBackingStore::doSync (this=this@entry=0x5610ebd36530) at kernel/qwidgetbackingstore.cpp:1368
#41 0x00007f7301e0b59d in QWidgetBackingStore::sync (this=0x5610ebd36530) at kernel/qwidgetbackingstore.cpp:1149
#42 0x00007f7301e23cbf in QWidgetPrivate::syncBackingStore (this=0x5610ec6a2370) at kernel/qwidget.cpp:1949
#43 0x00007f7301e3be28 in QWidget::event (this=this@entry=0x5610ec6c3e40, event=event@entry=0x7f72e8006430) at kernel/qwidget.cpp:9278
#44 0x00007f7301f47380 in QMainWindow::event (this=this@entry=0x5610ec6c3e40, event=event@entry=0x7f72e8006430) at widgets/qmainwindow.cpp:1343
#45 0x00007f7302a61ea7 in KMainWindow::event (this=this@entry=0x5610ec6c3e40, ev=ev@entry=0x7f72e8006430) at ./libs/widgetutils/xmlgui/kmainwindow.cpp:765
#46 0x00007f7302a98619 in KXmlGuiWindow::event (this=0x5610ec6c3e40, ev=0x7f72e8006430) at ./libs/widgetutils/xmlgui/kxmlguiwindow.cpp:125
#47 0x00007f7301dfaeac in QApplicationPrivate::notify_helper (this=this@entry=0x5610e433b280, receiver=receiver@entry=0x5610ec6c3e40, e=e@entry=0x7f72e8006430) at kernel/qapplication.cpp:3703
#48 0x00007f7301e024b0 in QApplication::notify (this=0x7fff447f8160, receiver=receiver@entry=0x5610ec6c3e40, e=e@entry=0x7f72e8006430) at kernel/qapplication.cpp:3449
#49 0x00007f73043d8767 in KisApplication::notify (this=<optimized out>, receiver=0x5610ec6c3e40, event=0x7f72e8006430) at ./libs/ui/KisApplication.cpp:653
#50 0x00007f7300ff5f08 in QCoreApplication::notifyInternal2 (receiver=0x5610ec6c3e40, event=0x7f72e8006430) at kernel/qcoreapplication.cpp:1095
#51 0x00007f7300ff60de in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7f72e8006430) at kernel/qcoreapplication.cpp:1490
#52 0x00007f7300ff8827 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5610e42dcb60) at kernel/qcoreapplication.cpp:1840
#53 0x00007f7300ff8db8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1694
#54 0x00007f7301054563 in postEventSourceDispatch (s=0x5610e46a9660) at kernel/qeventdispatcher_glib.cpp:277
#55 0x00007f72f8888417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f72f8888650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f72f88886dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f7301053b7f in QEventDispatcherGlib::processEvents (this=0x5610e469cb40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#59 0x00007f7300ff406a in QEventLoop::exec (this=this@entry=0x7fff447f7fb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#60 0x00007f7300ffd3e0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1403
#61 0x00005610e200673c in main (argc=<optimized out>, argv=0x7fff447f82c8) at ./krita/main.cc:536

Possible duplicates by query: bug 415227, bug 414938, bug 414797, bug 414672, bug 413950.

Reported using DrKonqi
Comment 1 Tiar 2019-12-29 14:28:48 UTC
It's an assert so it shouldn't happen in appimage, if it does, check Krita Plus or Krita Next versions. It for sure shouldn't happen in Krita Next but I don't know if Krita Plus has this fix already or not.

*** This bug has been marked as a duplicate of bug 414672 ***