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

            Bug ID: 394974
           Summary: Layer converted filter mask causes Krita crash most of
                    the time.
           Product: krita
           Version: 4.0.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: andrasszerencs...@gmail.com
  Target Milestone: ---

Application: krita (4.0.3)

Qt Version: 5.10.0
Frameworks Version: 5.46.0
Operating System: Linux 4.13.0-43-generic x86_64
Distribution: KDE neon User Edition 5.12

-- Information about the crash:
- What I was doing when the application crashed: 
I use grouped separated layers as filter mask often and currently it's causes
crash most of the time while I try brush on them to make parts shown more or
less of given filter. Huge amount of work done in 5 min and just crazy to set
less time for autosave interval so I hope it will be solved somehow soon. No
other application crashes so I don't think it's about QT or something else but
let me now. Thanks

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 0x7f0455418900 (LWP 18377))]

Thread 8 (Thread 0x7f0282533700 (LWP 9890)):
#0  0x00007f042727c307 in cmsReverseToneCurveEx () from
/usr/lib/x86_64-linux-gnu/liblcms2.so.2
#1  0x00007f04272a9835 in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#2  0x00007f04272aa472 in _cmsOptimizePipeline () from
/usr/lib/x86_64-linux-gnu/liblcms2.so.2
#3  0x00007f0427291dd1 in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#4  0x00007f0427292df0 in cmsCreateExtendedTransform () from
/usr/lib/x86_64-linux-gnu/liblcms2.so.2
#5  0x00007f0427293292 in cmsCreateMultiprofileTransformTHR () from
/usr/lib/x86_64-linux-gnu/liblcms2.so.2
#6  0x00007f042729332d in cmsCreateMultiprofileTransform () from
/usr/lib/x86_64-linux-gnu/liblcms2.so.2
#7  0x00007f041fe27665 in
LcmsColorSpace<KoBgrU8Traits>::createBrightnessContrastAdjustment
(this=0xd4a4b20, transferValues=<optimized out>) at
/workspace/build/plugins/color/lcms2engine/LcmsColorSpace.h:318
#8  0x00007f04242a02ae in KisPerChannelFilter::createTransformation
(this=<optimized out>, cs=0xd4a4b20, config=...) at
/workspace/build/plugins/filters/colorsfilters/kis_perchannel_filter.cpp:595
#9  0x00007f044f4a1fd7 in
KisColorTransformationConfiguration::colorTransformation
(this=this@entry=0x7f02b7feefa0, cs=cs@entry=0xd4a4b20,
filter=filter@entry=0x347fdf0) at
/workspace/build/libs/image/filter/kis_color_transformation_configuration.cc:63
#10 0x00007f044f4a3bfa in KisColorTransformationFilter::processImpl
(this=0x347fdf0, device=..., applyRect=..., config=...,
progressUpdater=0x7f0319324fe0) at
/workspace/build/libs/image/filter/kis_color_transformation_filter.cc:57
#11 0x00007f044f4a06f4 in KisFilter::process (this=this@entry=0x347fdf0,
src=..., dst=..., selection=..., applyRect=..., config=...,
progressUpdater=0x7f0319324fe0) at
/workspace/build/libs/image/filter/kis_filter.cc:140
#12 0x00007f044f5131b9 in KisFilterMask::decorateRect (this=<optimized out>,
src=..., dst=..., rc=..., maskPos=<optimized out>) at
/workspace/build/libs/image/kis_filter_mask.cpp:97
#13 0x00007f044f58a74f in KisMask::apply (this=0x7f02b8dcb180, projection=...,
applyRect=..., needRect=..., maskPos=maskPos@entry=KisNode::N_ABOVE_FILTHY) at
/workspace/build/libs/image/kis_mask.cc:286
#14 0x00007f044f56f2cd in KisLayer::applyMasks (this=this@entry=0x7f03259dd500,
source=..., destination=..., requestedRect=..., filthyNode=..., lastNode=...)
at /workspace/build/libs/image/kis_layer.cc:670
#15 0x00007f044f56fd18 in KisLayer::updateProjection (this=0x7f03259dd500,
rect=..., filthyNode=...) at /workspace/build/libs/image/kis_layer.cc:722
#16 0x00007f044f573848 in KisLayerProjectionPlane::recalculate (this=<optimized
out>, rect=..., filthyNode=...) at
/workspace/build/libs/image/kis_layer_projection_plane.cpp:47
#17 0x00007f044f52a3c1 in KisAsyncMerger::startMerge
(this=this@entry=0xd4960b8, walker=..., notifyClones=notifyClones@entry=true)
at /workspace/build/libs/image/kis_async_merger.cpp:266
#18 0x00007f044f694fac in KisUpdateJobItem::runMergeJob (this=0xd496070) at
/workspace/build/obj-x86_64-linux-gnu/libs/image/../../../libs/image/kis_update_job_item.h:117
#19 KisUpdateJobItem::run (this=0xd496070) at
/workspace/build/obj-x86_64-linux-gnu/libs/image/../../../libs/image/kis_update_job_item.h:85
#20 0x00007f04521cdb37 in QThreadPoolThread::run (this=0x7f03aa962ac0) at
thread/qthreadpool.cpp:101
#21 0x00007f04521d16eb in QThreadPrivate::start (arg=0x7f03aa962ac0) at
thread/qthread_unix.cpp:376
#22 0x00007f044b3476ba in start_thread (arg=0x7f0282533700) at
pthread_create.c:333
#23 0x00007f04518c841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f0282d34700 (LWP 9889)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f04521c8335 in _q_futex (timeout=0x0, val=3, op=0, addr=0x31da398)
at thread/qmutex_linux.cpp:121
#2  lockInternal_helper<false> (timeout=-1, elapsedTimer=0x0, d_ptr=...) at
thread/qmutex_linux.cpp:162
#3  QBasicMutex::lockInternal (this=0x31da398) at thread/qmutex_linux.cpp:178
#4  0x00007f04521c8397 in QMutex::lock (this=<optimized out>) at
thread/qmutex.cpp:229
#5  0x00007f044f4a1f5d in QMutexLocker::QMutexLocker (m=<optimized out>,
this=<synthetic pointer>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmutex.h:206
#6  KisColorTransformationConfiguration::colorTransformation
(this=this@entry=0x7f02b7feefa0, cs=cs@entry=0xd4a4b20,
filter=filter@entry=0x347fdf0) at
/workspace/build/libs/image/filter/kis_color_transformation_configuration.cc:59
#7  0x00007f044f4a3bfa in KisColorTransformationFilter::processImpl
(this=0x347fdf0, device=..., applyRect=..., config=...,
progressUpdater=0x7f031310dc10) at
/workspace/build/libs/image/filter/kis_color_transformation_filter.cc:57
#8  0x00007f044f4a06f4 in KisFilter::process (this=this@entry=0x347fdf0,
src=..., dst=..., selection=..., applyRect=..., config=...,
progressUpdater=0x7f031310dc10) at
/workspace/build/libs/image/filter/kis_filter.cc:140
#9  0x00007f044f5131b9 in KisFilterMask::decorateRect (this=<optimized out>,
src=..., dst=..., rc=..., maskPos=<optimized out>) at
/workspace/build/libs/image/kis_filter_mask.cpp:97
#10 0x00007f044f58a74f in KisMask::apply (this=0x7f02b8dcb180, projection=...,
applyRect=..., needRect=..., maskPos=maskPos@entry=KisNode::N_ABOVE_FILTHY) at
/workspace/build/libs/image/kis_mask.cc:286
#11 0x00007f044f56f2cd in KisLayer::applyMasks (this=this@entry=0x7f03259dd500,
source=..., destination=..., requestedRect=..., filthyNode=..., lastNode=...)
at /workspace/build/libs/image/kis_layer.cc:670
#12 0x00007f044f56fd18 in KisLayer::updateProjection (this=0x7f03259dd500,
rect=..., filthyNode=...) at /workspace/build/libs/image/kis_layer.cc:722
#13 0x00007f044f573848 in KisLayerProjectionPlane::recalculate (this=<optimized
out>, rect=..., filthyNode=...) at
/workspace/build/libs/image/kis_layer_projection_plane.cpp:47
#14 0x00007f044f52a3c1 in KisAsyncMerger::startMerge
(this=this@entry=0xd495df8, walker=..., notifyClones=notifyClones@entry=true)
at /workspace/build/libs/image/kis_async_merger.cpp:266
#15 0x00007f044f694fac in KisUpdateJobItem::runMergeJob (this=0xd495db0) at
/workspace/build/obj-x86_64-linux-gnu/libs/image/../../../libs/image/kis_update_job_item.h:117
#16 KisUpdateJobItem::run (this=0xd495db0) at
/workspace/build/obj-x86_64-linux-gnu/libs/image/../../../libs/image/kis_update_job_item.h:85
#17 0x00007f04521cdb37 in QThreadPoolThread::run (this=0x7f03abb28660) at
thread/qthreadpool.cpp:101
#18 0x00007f04521d16eb in QThreadPrivate::start (arg=0x7f03abb28660) at
thread/qthread_unix.cpp:376
#19 0x00007f044b3476ba in start_thread (arg=0x7f0282d34700) at
pthread_create.c:333
#20 0x00007f04518c841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f02e59f8700 (LWP 9888)):
#0  0x00007f0427292405 in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#1  0x00007f041fe27a49 in
LcmsColorSpace<KoBgrU8Traits>::KoLcmsColorTransformation::transform
(this=0x7f03fb096ba0, src=0x7f026e796e10
"KMk\377RWs\377W]~\377VZu\377W[u\377ad\201\377KDa\377OOi\377B3Y\377OOh\377D@_\377GDc\377B4Y\377GCd\377NMi\377JD`\377A2W\377A1Z\377XZy\377F:Z\377D;^\377;)P\377JNh\377JGf\377@.X\377B3[\377A-W\377\066%N\377;(W\377;(W\377?-R\377^]w\377H9X\377cd\205\377XZu\377LKf\377@+P\377'$,\377'$6\377.%B\377?0Y\377TYw\377]d\207\377KIg\377u\203\235\377~\217\250\377cd\200\377\203\215\252\377io\224\377ek\220\377"...,
dst=0x7f026e796e10
"KMk\377RWs\377W]~\377VZu\377W[u\377ad\201\377KDa\377OOi\377B3Y\377OOh\377D@_\377GDc\377B4Y\377GCd\377NMi\377JD`\377A2W\377A1Z\377XZy\377F:Z\377D;^\377;)P\377JNh\377JGf\377@.X\377B3[\377A-W\377\066%N\377;(W\377;(W\377?-R\377^]w\377H9X\377cd\205\377XZu\377LKf\377@+P\377'$,\377'$6\377.%B\377?0Y\377TYw\377]d\207\377KIg\377u\203\235\377~\217\250\377cd\200\377\203\215\252\377io\224\377ek\220\377"...,
nPixels=64) at /workspace/build/plugins/color/lcms2engine/LcmsColorSpace.h:114
#2  0x00007f044e3ab757 in KoCompositeColorTransformation::transform
(this=<optimized out>, src=0x7f039752ee10
"CLl\377KVt\377R`\201\377O[x\377Q\\x\377_i\207\377DFa\377GNi\377;:Y\377GNh\377=C`\377?Fc\377;;Y\377@Ed\377FLi\377CF`\377:9W\377:8Z\377R[{\377>?[\377=@_\377\065\061M\377BMh\377CHf\377\071\066X\377;:\\\377:5V\377/*K\377\065\060U\377\065\060T\377\070\065Q\377Z_z\377A>X\377aj\215\377R[x\377DJf\377\071\063N\377
$,\377
$4\377')>\377\070\067Y\377Q]|\377[j\216\377HMm\377z\212\247\377\205\225\261\377aj\206\377\212\223\263\377ju\234\377eq\227\377"...,
dst=0x7f026e796e10
"KMk\377RWs\377W]~\377VZu\377W[u\377ad\201\377KDa\377OOi\377B3Y\377OOh\377D@_\377GDc\377B4Y\377GCd\377NMi\377JD`\377A2W\377A1Z\377XZy\377F:Z\377D;^\377;)P\377JNh\377JGf\377@.X\377B3[\377A-W\377\066%N\377;(W\377;(W\377?-R\377^]w\377H9X\377cd\205\377XZu\377LKf\377@+P\377'$,\377'$6\377.%B\377?0Y\377TYw\377]d\207\377KIg\377u\203\235\377~\217\250\377cd\200\377\203\215\252\377io\224\377ek\220\377"...,
nPixels=64) at
/workspace/build/libs/pigment/KoCompositeColorTransformation.cpp:62
#3  0x00007f044f4a3e54 in KisColorTransformationFilter::processImpl
(this=<optimized out>, device=..., applyRect=..., config=...,
progressUpdater=<optimized out>) at
/workspace/build/libs/image/filter/kis_color_transformation_filter.cc:69
#4  0x00007f044f4a06f4 in KisFilter::process (this=this@entry=0x347fdf0,
src=..., dst=..., selection=..., applyRect=..., config=...,
progressUpdater=0x7f03fb16f7e0) at
/workspace/build/libs/image/filter/kis_filter.cc:140
#5  0x00007f044f5131b9 in KisFilterMask::decorateRect (this=<optimized out>,
src=..., dst=..., rc=..., maskPos=<optimized out>) at
/workspace/build/libs/image/kis_filter_mask.cpp:97
#6  0x00007f044f58a74f in KisMask::apply (this=0x7f02b8dcb180, projection=...,
applyRect=..., needRect=..., maskPos=maskPos@entry=KisNode::N_ABOVE_FILTHY) at
/workspace/build/libs/image/kis_mask.cc:286
#7  0x00007f044f56f2cd in KisLayer::applyMasks (this=this@entry=0x7f03259dd500,
source=..., destination=..., requestedRect=..., filthyNode=..., lastNode=...)
at /workspace/build/libs/image/kis_layer.cc:670
#8  0x00007f044f56fd18 in KisLayer::updateProjection (this=0x7f03259dd500,
rect=..., filthyNode=...) at /workspace/build/libs/image/kis_layer.cc:722
#9  0x00007f044f573848 in KisLayerProjectionPlane::recalculate (this=<optimized
out>, rect=..., filthyNode=...) at
/workspace/build/libs/image/kis_layer_projection_plane.cpp:47
#10 0x00007f044f52a3c1 in KisAsyncMerger::startMerge
(this=this@entry=0xd495b38, walker=..., notifyClones=notifyClones@entry=true)
at /workspace/build/libs/image/kis_async_merger.cpp:266
#11 0x00007f044f694fac in KisUpdateJobItem::runMergeJob (this=0xd495af0) at
/workspace/build/obj-x86_64-linux-gnu/libs/image/../../../libs/image/kis_update_job_item.h:117
#12 KisUpdateJobItem::run (this=0xd495af0) at
/workspace/build/obj-x86_64-linux-gnu/libs/image/../../../libs/image/kis_update_job_item.h:85
#13 0x00007f04521cdb37 in QThreadPoolThread::run (this=0x7f03ab394320) at
thread/qthreadpool.cpp:101
#14 0x00007f04521d16eb in QThreadPrivate::start (arg=0x7f03ab394320) at
thread/qthread_unix.cpp:376
#15 0x00007f044b3476ba in start_thread (arg=0x7f02e59f8700) at
pthread_create.c:333
#16 0x00007f04518c841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f0281d32700 (LWP 9887)):
#0  0x00007f04272a77dc in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#1  0x00007f04272923d8 in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#2  0x00007f041fe27a49 in
LcmsColorSpace<KoBgrU8Traits>::KoLcmsColorTransformation::transform
(this=0x7f0320e0e110, src=0x7f02978c4c10
"\270\300\336\377\261\270\331\377\270\302\340\377\247\257\320\377\257\265\330\377\257\264\330\377\261\270\333\377\255\263\332\377\241\246\326\377{w\326\377A
\303\377;\"\271\377SR\272\377r}\275\377\235\243\320\377\237\245\313\377\246\253\317\377\254\262\324\377\253\261\324\377\252\260\323\377\251\257\323\377\263\272\332\377\262\271\330\377\262\272\331\377\244\256\321\377\237\252\316\377\273\303\336\377\263\274\332\377\262\271\331\377\256\265\326\377\233\242\310\377\242\247\321\377\211\211\320\377\211\216\322\377\224\235\323\377t\200\273\377cf\262\377kv\272\377}\211\274\377\203\220\300\377\177\216\271\377\220\231\275\377\252\257\313\377\225\235\274\377\225\235\275\377\221\233\273\377\204\223\265\377\201\220\263\377v\204\253\377y\210\257\377"...,
dst=0x7f0373532c10
"\272\302\340\377\264\272\333\377\272\304\342\377\251\262\322\377\262\267\332\377\262\266\332\377\264\272\335\377\257\266\334\377\244\251\331\377\177|\333\377E(\311\377?)\277\377XW\300\377v\201\301\377\240\246\322\377\242\250\316\377\250\255\321\377\256\265\326\377\255\264\326\377\254\263\325\377\253\262\325\377\266\274\334\377\265\273\332\377\265\274\333\377\246\261\323\377\242\255\321\377\275\305\340\377\266\276\334\377\265\273\333\377\260\267\330\377\236\245\313\377\245\252\323\377\214\214\323\377\214\221\325\377\227\240\326\377x\204\277\377gj\270\377oz\276\377}\211\274\377\203\220\300\377\177\216\271\377\220\231\275\377\252\257\313\377\225\235\274\377\225\235\275\377\221\233\273\377\204\223\265\377\201\220\263\377v\204\253\377y\210\257\377"...,
nPixels=64) at /workspace/build/plugins/color/lcms2engine/LcmsColorSpace.h:114
#3  0x00007f044f4a3e54 in KisColorTransformationFilter::processImpl
(this=<optimized out>, device=..., applyRect=..., config=...,
progressUpdater=<optimized out>) at
/workspace/build/libs/image/filter/kis_color_transformation_filter.cc:69
#4  0x00007f044f4a06f4 in KisFilter::process (this=this@entry=0x363b280,
src=..., dst=..., selection=..., applyRect=..., config=...,
progressUpdater=0x7f0320804d70) at
/workspace/build/libs/image/filter/kis_filter.cc:140
#5  0x00007f044f5131b9 in KisFilterMask::decorateRect (this=<optimized out>,
src=..., dst=..., rc=..., maskPos=<optimized out>) at
/workspace/build/libs/image/kis_filter_mask.cpp:97
#6  0x00007f044f58a74f in KisMask::apply (this=0x7f02b6dd5a10, projection=...,
applyRect=..., needRect=..., maskPos=maskPos@entry=KisNode::N_ABOVE_FILTHY) at
/workspace/build/libs/image/kis_mask.cc:286
#7  0x00007f044f56f2cd in KisLayer::applyMasks (this=this@entry=0x7f03259dd500,
source=..., destination=..., requestedRect=..., filthyNode=..., lastNode=...)
at /workspace/build/libs/image/kis_layer.cc:670
#8  0x00007f044f56fd18 in KisLayer::updateProjection (this=0x7f03259dd500,
rect=..., filthyNode=...) at /workspace/build/libs/image/kis_layer.cc:722
#9  0x00007f044f573848 in KisLayerProjectionPlane::recalculate (this=<optimized
out>, rect=..., filthyNode=...) at
/workspace/build/libs/image/kis_layer_projection_plane.cpp:47
#10 0x00007f044f52a3c1 in KisAsyncMerger::startMerge
(this=this@entry=0xd4958a8, walker=..., notifyClones=notifyClones@entry=true)
at /workspace/build/libs/image/kis_async_merger.cpp:266
#11 0x00007f044f694fac in KisUpdateJobItem::runMergeJob (this=0xd495860) at
/workspace/build/obj-x86_64-linux-gnu/libs/image/../../../libs/image/kis_update_job_item.h:117
#12 KisUpdateJobItem::run (this=0xd495860) at
/workspace/build/obj-x86_64-linux-gnu/libs/image/../../../libs/image/kis_update_job_item.h:85
#13 0x00007f04521cdb37 in QThreadPoolThread::run (this=0x7f0324892410) at
thread/qthreadpool.cpp:101
#14 0x00007f04521d16eb in QThreadPrivate::start (arg=0x7f0324892410) at
thread/qthread_unix.cpp:376
#15 0x00007f044b3476ba in start_thread (arg=0x7f0281d32700) at
pthread_create.c:333
#16 0x00007f04518c841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f04168df700 (LWP 18394)):
#0  0x00007f0449a54a79 in g_mutex_lock (mutex=mutex@entry=0x7f0410000990) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread-posix.c:1335
#1  0x00007f0449a0f929 in g_main_context_prepare
(context=context@entry=0x7f0410000990, priority=priority@entry=0x7f04168deb60)
at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3444
#2  0x00007f0449a102bb in g_main_context_iterate
(context=context@entry=0x7f0410000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3820
#3  0x00007f0449a1049c in g_main_context_iteration (context=0x7f0410000990,
may_block=may_block@entry=1) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007f04524055db in QEventDispatcherGlib::processEvents
(this=0x7f04100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f04523ac65a in QEventLoop::exec (this=this@entry=0x7f04168deca0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f04521cc554 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:522
#7  0x00007f04316b1a35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f04521d16eb in QThreadPrivate::start (arg=0xce5f9a0) at
thread/qthread_unix.cpp:376
#9  0x00007f044b3476ba in start_thread (arg=0x7f04168df700) at
pthread_create.c:333
#10 0x00007f04518c841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f04160de700 (LWP 18390)):
#0  0x00007f045188d30d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f0452404f3d in qt_nanosleep (amount=...) at
kernel/qelapsedtimer_unix.cpp:195
#2  0x00007f04521d0a78 in QThread::msleep (msecs=msecs@entry=700) at
thread/qthread_unix.cpp:549
#3  0x00007f044f4541ea in KisTileDataSwapper::run (this=0x7f044f959cc0
<(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at
/workspace/build/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:97
#4  0x00007f04521d16eb in QThreadPrivate::start (arg=0x7f044f959cc0 <(anonymous
namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at
thread/qthread_unix.cpp:376
#5  0x00007f044b3476ba in start_thread (arg=0x7f04160de700) at
pthread_create.c:333
#6  0x00007f04518c841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f042eb02700 (LWP 18379)):
#0  QElapsedTimer::isMonotonic () at kernel/qelapsedtimer_unix.cpp:154
#1  0x00007f0452403bde in QTimerInfoList::repairTimersIfNeeded
(this=0x7f0428002ed0) at kernel/qtimerinfo_unix.cpp:162
#2  0x00007f0452403c53 in QTimerInfoList::timerWait (this=0x7f0428002ed0,
tm=...) at kernel/qtimerinfo_unix.cpp:389
#3  0x00007f045240534e in timerSourcePrepareHelper (timeout=0x7f042eb01ac4,
src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#4  timerSourcePrepare (source=<optimized out>,
timeout=timeout@entry=0x7f042eb01ac4) at kernel/qeventdispatcher_glib.cpp:165
#5  0x00007f0449a0f91d in g_main_context_prepare
(context=context@entry=0x7f0428000990, priority=priority@entry=0x7f042eb01b50)
at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3442
#6  0x00007f0449a102bb in g_main_context_iterate
(context=context@entry=0x7f0428000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3820
#7  0x00007f0449a1049c in g_main_context_iteration (context=0x7f0428000990,
may_block=may_block@entry=1) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#8  0x00007f04524055db in QEventDispatcherGlib::processEvents
(this=0x7f04280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#9  0x00007f04523ac65a in QEventLoop::exec (this=this@entry=0x7f042eb01c90,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#10 0x00007f04521cc554 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:522
#11 0x00007f044b5732c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#12 0x00007f04521d16eb in QThreadPrivate::start (arg=0x7f044b7e7d60) at
thread/qthread_unix.cpp:376
#13 0x00007f044b3476ba in start_thread (arg=0x7f042eb02700) at
pthread_create.c:333
#14 0x00007f04518c841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f0455418900 (LWP 18377)):
[KCrash Handler]
#6  KisSharedPtr<KisDefaultBoundsBase>::operator-> (this=0x50) at
/workspace/build/libs/global/kis_shared_ptr.h:181
#7  KisPaintDevice::Private::currentStrategy (this=0x30) at
/workspace/build/libs/image/kis_paint_device.cc:589
#8  0x00007f044f5a0ddd in KisPaintDevice::extent
(this=this@entry=0x7f02fc2ac380) at
/workspace/build/libs/image/kis_paint_device.cc:1176
#9  0x00007f044f5a7e8b in KisPaintDevice::createThumbnailDeviceOversampled
(this=0x7f02fc2ac380, w=13, h=20, oversample=1, rect=..., outputTileRect=...)
at /workspace/build/libs/image/kis_paint_device.cc:1666
#10 0x00007f044f5a8343 in KisPaintDevice::createThumbnail (this=<optimized
out>, w=w@entry=13, h=h@entry=20, rect=..., oversample=oversample@entry=1,
renderingIntent=KoColorConversionTransformation::IntentPerceptual,
conversionFlags=...) at /workspace/build/libs/image/kis_paint_device.cc:1707
#11 0x00007f044f5a867c in KisPaintDeviceCache::createThumbnail
(conversionFlags=...,
renderingIntent=KoColorConversionTransformation::IntentPerceptual,
oversample=1, h=20, w=13, this=0x7f033818a8d8) at
/workspace/build/libs/image/kis_paint_device_cache.h:104
#12 KisPaintDevice::createThumbnail (this=<optimized out>, w=w@entry=13,
h=h@entry=20, oversample=oversample@entry=1,
renderingIntent=renderingIntent@entry=KoColorConversionTransformation::IntentPerceptual,
conversionFlags=..., conversionFlags@entry=...) at
/workspace/build/libs/image/kis_paint_device.cc:1716
#13 0x00007f044f56c968 in KisLayer::createThumbnail (this=<optimized out>,
w=13, h=20) at /workspace/build/libs/image/kis_layer.cc:852
#14 0x00007f04547a969f in KisNodeModel::data (this=0xcf5c630, index=...,
role=120) at /workspace/build/libs/ui/kis_node_model.cpp:490
#15 0x00007f0452371a29 in QSortFilterProxyModel::data (this=<optimized out>,
index=..., role=120) at itemmodels/qsortfilterproxymodel.cpp:2074
#16 0x00007f04549be1b8 in QModelIndex::data (arole=120, this=0x7ffed88ea450) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractitemmodel.h:432
#17 KisNodeDelegate::drawThumbnail (this=this@entry=0xcf2e520,
p=p@entry=0x7ffed88ea7c0, option=..., index=...) at
/workspace/build/libs/ui/KisNodeDelegate.cpp:274
#18 0x00007f04549c39f1 in KisNodeDelegate::paint (this=0xcf2e520,
p=0x7ffed88ea7c0, o=..., index=...) at
/workspace/build/libs/ui/KisNodeDelegate.cpp:112
#19 0x00007f04533a2df2 in QTreeView::drawRow (this=0xcf24090,
painter=0x7ffed88ea7c0, option=..., index=...) at itemviews/qtreeview.cpp:1760
#20 0x00007f04533a8447 in QTreeView::drawTree (this=this@entry=0xcf24090,
painter=painter@entry=0x7ffed88ea7c0, region=...) at
itemviews/qtreeview.cpp:1501
#21 0x00007f04533acd96 in QTreeView::paintEvent (this=this@entry=0xcf24090,
event=0x7ffed88eb050) at itemviews/qtreeview.cpp:1330
#22 0x00007f04549c7d10 in KisNodeView::paintEvent (this=0xcf24090,
event=<optimized out>) at /workspace/build/libs/ui/KisNodeView.cpp:446
#23 0x00007f045312df88 in QWidget::event (this=this@entry=0xcf24090,
event=event@entry=0x7ffed88eb050) at kernel/qwidget.cpp:9197
#24 0x00007f04531d395e in QFrame::event (this=0xcf24090, e=0x7ffed88eb050) at
widgets/qframe.cpp:550
#25 0x00007f0453344703 in QAbstractItemView::viewportEvent
(this=this@entry=0xcf24090, event=event@entry=0x7ffed88eb050) at
itemviews/qabstractitemview.cpp:1748
#26 0x00007f04533adc2c in QTreeView::viewportEvent (this=this@entry=0xcf24090,
event=event@entry=0x7ffed88eb050) at itemviews/qtreeview.cpp:1312
#27 0x00007f04549c6b0b in KisNodeView::viewportEvent (this=0xcf24090,
e=0x7ffed88eb050) at /workspace/build/libs/ui/KisNodeView.cpp:290
#28 0x00007f04523ae142 in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(receiver=receiver@entry=0xcf24710, event=event@entry=0x7ffed88eb050) at
kernel/qcoreapplication.cpp:1170
#29 0x00007f04530eeaa5 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0xcf24710, e=0x7ffed88eb050) at kernel/qapplication.cpp:3728
#30 0x00007f04530f6417 in QApplication::notify (this=0x7ffed88ed3b0,
receiver=receiver@entry=0xcf24710, e=e@entry=0x7ffed88eb050) at
kernel/qapplication.cpp:3491
#31 0x00007f04549ab187 in KisApplication::notify (this=<optimized out>,
receiver=0xcf24710, event=0x7ffed88eb050) at
/workspace/build/libs/ui/KisApplication.cpp:620
#32 0x00007f04523ae3d8 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0xcf24710, event=event@entry=0x7ffed88eb050) at
kernel/qcoreapplication.cpp:1044
#33 0x00007f0453126a1a in QCoreApplication::sendSpontaneousEvent
(event=0x7ffed88eb050, receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#34 QWidgetPrivate::sendPaintEvent (this=this@entry=0xcf24750, toBePainted=...)
at kernel/qwidget.cpp:5687
#35 0x00007f0453127122 in QWidgetPrivate::drawWidget
(this=this@entry=0xcf24750, pdev=pdev@entry=0xd2daf70, rgn=..., offset=...,
flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0,
backingStore=0xb4c8f90) at kernel/qwidget.cpp:5627
#36 0x00007f0453127eac in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xcf240e0, pdev=pdev@entry=0xd2daf70, siblings=...,
index=<optimized out>, index@entry=5, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0xb4c8f90) at kernel/qwidget.cpp:5822
#37 0x00007f0453127d99 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xcf240e0, pdev=pdev@entry=0xd2daf70, siblings=..., index=5,
index@entry=6, rgn=..., offset=..., flags=4, sharedPainter=0x0,
backingStore=0xb4c8f90) at kernel/qwidget.cpp:5809
#38 0x00007f0453127d99 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xcf240e0, pdev=pdev@entry=0xd2daf70, siblings=..., index=6,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb4c8f90) at
kernel/qwidget.cpp:5809
#39 0x00007f0453126bd1 in QWidgetPrivate::drawWidget
(this=this@entry=0xcf240e0, pdev=pdev@entry=0xd2daf70, rgn=..., offset=...,
flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0,
backingStore=0xb4c8f90) at kernel/qwidget.cpp:5679
#40 0x00007f0453127eac in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xcef3a90, pdev=pdev@entry=0xd2daf70, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0,
backingStore=0xb4c8f90) at kernel/qwidget.cpp:5822
#41 0x00007f0453126bd1 in QWidgetPrivate::drawWidget
(this=this@entry=0xcef3a90, pdev=pdev@entry=0xd2daf70, rgn=..., offset=...,
flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0,
backingStore=0xb4c8f90) at kernel/qwidget.cpp:5679
#42 0x00007f0453127eac in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xcef0840, pdev=pdev@entry=0xd2daf70, siblings=...,
index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0,
backingStore=0xb4c8f90) at kernel/qwidget.cpp:5822
#43 0x00007f0453126bd1 in QWidgetPrivate::drawWidget
(this=this@entry=0xcef0840, pdev=pdev@entry=0xd2daf70, rgn=..., offset=...,
flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0,
backingStore=0xb4c8f90) at kernel/qwidget.cpp:5679
#44 0x00007f0453127eac in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xb9b50d0, pdev=pdev@entry=0xd2daf70, siblings=...,
index=<optimized out>, index@entry=83, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0xb4c8f90) at kernel/qwidget.cpp:5822
#45 0x00007f0453127d99 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xb9b50d0, pdev=pdev@entry=0xd2daf70, siblings=..., index=83,
index@entry=89, rgn=..., offset=..., flags=4, sharedPainter=0x0,
backingStore=0xb4c8f90) at kernel/qwidget.cpp:5809
#46 0x00007f0453127d99 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xb9b50d0, pdev=pdev@entry=0xd2daf70, siblings=..., index=89,
index@entry=90, rgn=..., offset=..., flags=4, sharedPainter=0x0,
backingStore=0xb4c8f90) at kernel/qwidget.cpp:5809
#47 0x00007f0453127d99 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xb9b50d0, pdev=pdev@entry=0xd2daf70, siblings=..., index=90,
index@entry=91, rgn=..., offset=..., flags=4, sharedPainter=0x0,
backingStore=0xb4c8f90) at kernel/qwidget.cpp:5809
#48 0x00007f0453127d99 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xb9b50d0, pdev=pdev@entry=0xd2daf70, siblings=..., index=91,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb4c8f90) at
kernel/qwidget.cpp:5809
#49 0x00007f0453126bd1 in QWidgetPrivate::drawWidget (this=0xb9b50d0,
pdev=0xd2daf70, rgn=..., offset=..., flags=flags@entry=5,
sharedPainter=sharedPainter@entry=0x0, backingStore=0xb4c8f90) at
kernel/qwidget.cpp:5679
#50 0x00007f04530fe8cb in QWidgetBackingStore::doSync
(this=this@entry=0xb4c8f90) at kernel/qwidgetbackingstore.cpp:1375
#51 0x00007f04530feaa8 in QWidgetBackingStore::sync (this=0xb4c8f90) at
kernel/qwidgetbackingstore.cpp:1156
#52 0x00007f0453115d9f in QWidgetPrivate::syncBackingStore (this=0xb9b50d0) at
kernel/qwidget.cpp:1959
#53 0x00007f045312e198 in QWidget::event (this=this@entry=0xa8cc530,
event=event@entry=0x7f0295442480) at kernel/qwidget.cpp:9136
#54 0x00007f0453243d89 in QMainWindow::event (this=this@entry=0xa8cc530,
event=event@entry=0x7f0295442480) at widgets/qmainwindow.cpp:1342
#55 0x00007f0453d40a87 in KMainWindow::event (this=this@entry=0xa8cc530,
ev=ev@entry=0x7f0295442480) at
/workspace/build/libs/widgetutils/xmlgui/kmainwindow.cpp:780
#56 0x00007f0453d78b79 in KXmlGuiWindow::event (this=0xa8cc530,
ev=0x7f0295442480) at
/workspace/build/libs/widgetutils/xmlgui/kxmlguiwindow.cpp:125
#57 0x00007f04530eeacc in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0xa8cc530, e=0x7f0295442480) at kernel/qapplication.cpp:3732
#58 0x00007f04530f6417 in QApplication::notify (this=0x7ffed88ed3b0,
receiver=receiver@entry=0xa8cc530, e=e@entry=0x7f0295442480) at
kernel/qapplication.cpp:3491
#59 0x00007f04549ab187 in KisApplication::notify (this=<optimized out>,
receiver=0xa8cc530, event=0x7f0295442480) at
/workspace/build/libs/ui/KisApplication.cpp:620
#60 0x00007f04523ae3d8 in QCoreApplication::notifyInternal2
(receiver=0xa8cc530, event=event@entry=0x7f0295442480) at
kernel/qcoreapplication.cpp:1044
#61 0x00007f04523b0fdb in QCoreApplication::sendEvent (event=0x7f0295442480,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#62 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x2aef220) at
kernel/qcoreapplication.cpp:1719
#63 0x00007f04523b1448 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1573
#64 0x00007f0452405fb3 in postEventSourceDispatch (s=0x2ca9b30) at
kernel/qeventdispatcher_glib.cpp:276
#65 0x00007f0449a10197 in g_main_dispatch (context=0x2af1560) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154
#66 g_main_context_dispatch (context=context@entry=0x2af1560) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769
#67 0x00007f0449a103f0 in g_main_context_iterate
(context=context@entry=0x2af1560, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3840
#68 0x00007f0449a1049c in g_main_context_iteration (context=0x2af1560,
may_block=may_block@entry=1) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#69 0x00007f04524055bf in QEventDispatcherGlib::processEvents
(this=this@entry=0x2bba130, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#70 0x00007f043b3f6351 in QPAEventDispatcherGlib::processEvents
(this=0x2bba130, flags=...) at qeventdispatcher_glib.cpp:69
#71 0x00007f04523ac65a in QEventLoop::exec (this=this@entry=0x7ffed88ece50,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#72 0x00007f04523b5864 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1332
#73 0x00007f045293e8dc in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1703
#74 0x00007f04530eea25 in QApplication::exec () at kernel/qapplication.cpp:2917
#75 0x0000000000405318 in main (argc=2, argv=<optimized out>) at
/workspace/build/krita/main.cc:383

Possible duplicates by query: bug 392842, bug 383858.

Reported using DrKonqi

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

Reply via email to