Summary: | Crash with weird GDB backtrace after attempting to manipulate a transform mask on a file layer. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | wolthera <griffinvalley> |
Component: | Tools/Transform | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | dimula73 |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/krita/4a18894a25b232e6884a6fe9fbac67a317e5d70f | Version Fixed In: | |
Sentry Crash Report: |
Description
wolthera
2018-03-01 23:15:18 UTC
Thread 1416 (Thread 0x7fff7b06e700 (LWP 6642)): #0 0x00007fffc72bc146 in KoCompositeOpGenericSC<KoBgrU8Traits, &(unsigned char cfMultiply<unsigned char>(unsigned char, unsigned char))>::composeColorChannels<false, true> (channelFlags=..., opacity=<optimized out>, maskAlpha=255 '\377', dstAlpha=255 '\377', dst=0x7fff949d92d8 '\377' <repeats 56 times>, "\346\346\346\377\360\360\360\377\372\372\372", '\377' <repeats 133 times>..., srcAlpha=<optimized out>, src=0x7fff630f62d8 "") at /home/wolthera/krita/src/libs/pigment/compositeops/KoCompositeOpGeneric.h:75 #1 KoCompositeOpBase<KoBgrU8Traits, KoCompositeOpGenericSC<KoBgrU8Traits, &(unsigned char cfMultiply<unsigned char>(unsigned char, unsigned char))> >::genericComposite<false, false, true> (channelFlags=..., params=..., this=<optimized out>) at /home/wolthera/krita/src/libs/pigment/compositeops/KoCompositeOpBase.h:115 #2 KoCompositeOpBase<KoBgrU8Traits, KoCompositeOpGenericSC<KoBgrU8Traits, &(unsigned char cfMultiply<unsigned char>(unsigned char, unsigned char))> >::composite (this=<optimized out>, params=...) at /home/wolthera/krita/src/libs/pigment/compositeops/KoCompositeOpBase.h:81 #3 0x00007ffff1486ff8 in KoColorSpace::bitBlt (this=0x1369e90, srcSpace=0x1369e90, params=..., op=op@entry=0x38e6c40, renderingIntent=renderingIntent@entry=KoColorConversionTransformation::IntentPerceptual, conversionFlags=...) at /home/wolthera/krita/src/libs/pigment/KoColorSpace.cpp:515 #4 0x00007ffff256bfed in KisPainter::bitBltImpl<false> (this=0x7fff7b06db70, dstX=1536, dstY=2048, srcDev=..., srcX=1536, srcY=2048, srcWidth=512, srcHeight=512) at /home/wolthera/krita/src/libs/image/kis_painter.cc:729 #5 0x00007ffff2565ada in KisPainter::bitBlt (this=<optimized out>, dstX=<optimized out>, dstY=<optimized out>, srcDev=..., srcX=<optimized out>, srcY=<optimized out>, srcWidth=512, srcHeight=512) at /home/wolthera/krita/src/libs/image/kis_painter.cc:751 #6 0x00007ffff2565b85 in KisPainter::bitBlt (this=this@entry=0x7fff7b06db70, pos=..., srcDev=..., ---Type <return> to continue, or q <return> to quit--- srcRect=...) at /home/wolthera/krita/src/libs/image/kis_painter.cc:757 #7 0x00007ffff26769f2 in KisLayerProjectionPlane::apply (this=0x145b7f90, painter=0x7fff7b06db70, rect=...) at /home/wolthera/krita/src/libs/image/kis_layer_projection_plane.cpp:99 #8 0x00007ffff262c362 in KisAsyncMerger::compositeWithProjection (rect=..., leaf=..., this=0x146fac28) at /home/wolthera/krita/src/libs/image/kis_async_merger.cpp:350 #9 KisAsyncMerger::startMerge (this=this@entry=0x146fac28, walker=..., notifyClones=notifyClones@entry=true) at /home/wolthera/krita/src/libs/image/kis_async_merger.cpp:274 #10 0x00007ffff279450c in KisUpdateJobItem::runMergeJob (this=0x146fabe0) at /home/wolthera/krita/build/libs/image/../../../src/libs/image/kis_update_job_item.h:117 #11 KisUpdateJobItem::run (this=0x146fabe0) at /home/wolthera/krita/build/libs/image/../../../src/libs/image/kis_update_job_item.h:85 #12 0x00007ffff52c6b37 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #13 0x00007ffff52ca6eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007fffee4376ba in start_thread (arg=0x7fff7b06e700) at pthread_create.c:333 #15 0x00007ffff49c141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1415 (Thread 0x7fff97f46700 (LWP 6641)): #0 0x00007fffc72bc141 in KoCompositeOpGenericSC<KoBgrU8Traits, &(unsigned char cfMultiply<unsigned char>(unsigned char, unsigned char))>::composeColorChannels<false, true> (channelFlags=..., opacity=<optimized out>, maskAlpha=255 '\377', dstAlpha=255 '\377', dst=0x7fff602ccee8 '\377' <repeats 200 times>..., srcAlpha=<optimized out>, src=0x7fff63109ee8 "") at /home/wolthera/krita/src/libs/pigment/compositeops/KoCompositeOpGeneric.h:75 #1 KoCompositeOpBase<KoBgrU8Traits, KoCompositeOpGenericSC<KoBgrU8Traits, &(unsigned char cfMultiply<unsigned char>(unsigned char, unsigned char))> >::genericComposite<false, false, true> (channelFlags=..., params=..., this=<optimized out>) at /home/wolthera/krita/src/libs/pigment/compositeops/KoCompositeOpBase.h:115 ---Type <return> to continue, or q <return> to quit--- #2 KoCompositeOpBase<KoBgrU8Traits, KoCompositeOpGenericSC<KoBgrU8Traits, &(unsigned char cfMultiply<unsigned char>(unsigned char, unsigned char))> >::composite (this=<optimized out>, params=...) at /home/wolthera/krita/src/libs/pigment/compositeops/KoCompositeOpBase.h:81 #3 0x00007ffff1486ff8 in KoColorSpace::bitBlt (this=0x1369e90, srcSpace=0x1369e90, params=..., op=op@entry=0x38e6c40, renderingIntent=renderingIntent@entry=KoColorConversionTransformation::IntentPerceptual, conversionFlags=...) at /home/wolthera/krita/src/libs/pigment/KoColorSpace.cpp:515 #4 0x00007ffff256bfed in KisPainter::bitBltImpl<false> (this=0x7fff97f45b70, dstX=2048, dstY=2048, srcDev=..., srcX=2048, srcY=2048, srcWidth=512, srcHeight=512) at /home/wolthera/krita/src/libs/image/kis_painter.cc:729 #5 0x00007ffff2565ada in KisPainter::bitBlt (this=<optimized out>, dstX=<optimized out>, dstY=<optimized out>, srcDev=..., srcX=<optimized out>, srcY=<optimized out>, srcWidth=512, srcHeight=512) at /home/wolthera/krita/src/libs/image/kis_painter.cc:751 #6 0x00007ffff2565b85 in KisPainter::bitBlt (this=this@entry=0x7fff97f45b70, pos=..., srcDev=..., srcRect=...) at /home/wolthera/krita/src/libs/image/kis_painter.cc:757 #7 0x00007ffff26769f2 in KisLayerProjectionPlane::apply (this=0x145b7f90, painter=0x7fff97f45b70, rect=...) at /home/wolthera/krita/src/libs/image/kis_layer_projection_plane.cpp:99 #8 0x00007ffff262c362 in KisAsyncMerger::compositeWithProjection (rect=..., leaf=..., this=0xe017a58) at /home/wolthera/krita/src/libs/image/kis_async_merger.cpp:350 #9 KisAsyncMerger::startMerge (this=this@entry=0xe017a58, walker=..., notifyClones=notifyClones@entry=true) at /home/wolthera/krita/src/libs/image/kis_async_merger.cpp:274 #10 0x00007ffff279450c in KisUpdateJobItem::runMergeJob (this=0xe017a10) at /home/wolthera/krita/build/libs/image/../../../src/libs/image/kis_update_job_item.h:117 #11 KisUpdateJobItem::run (this=0xe017a10) at /home/wolthera/krita/build/libs/image/../../../src/libs/image/kis_update_job_item.h:85 #12 0x00007ffff52c6b37 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 ---Type <return> to continue, or q <return> to quit--- #13 0x00007ffff52ca6eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007fffee4376ba in start_thread (arg=0x7fff97f46700) at pthread_create.c:333 #15 0x00007ffff49c141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1414 (Thread 0x7fff7986b700 (LWP 6640)): #0 0x00007ffff48ef428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 #1 0x00007ffff48f102a in __GI_abort () at abort.c:89 #2 0x00007ffff49317ea in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff4a4aed8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007ffff493a37a in malloc_printerr (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7ffff4a4afa0 "double free or corruption (fasttop)", action=3) at malloc.c:5006 #4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3867 #5 0x00007ffff493e53c in __GI___libc_free (mem=<optimized out>) at malloc.c:2968 #6 0x00007ffff2545568 in KisSharedPtr<KisTile>::deref (sp=<synthetic pointer>, t=0x7fff74045b10) at /home/wolthera/krita/src/libs/global/kis_shared_ptr.h:214 #7 KisSharedPtr<KisTile>::deref (this=<synthetic pointer>) at /home/wolthera/krita/src/libs/global/kis_shared_ptr.h:221 #8 KisSharedPtr<KisTile>::~KisSharedPtr (this=<synthetic pointer>, __in_chrg=<optimized out>) at /home/wolthera/krita/src/libs/global/kis_shared_ptr.h:109 #9 KisTileHashTableTraits<KisTile>::getTileMinefieldWalk (this=this@entry=0x7fff819e2f20, col=col@entry=0, row=row@entry=-8, idx=idx@entry=768) at /home/wolthera/krita/src/libs/image/tiles3/kis_tile_hash_table_p.h:101 #10 0x00007ffff2545964 in KisTileHashTableTraits<KisTile>::getReadOnlyTileLazy (this=0x7fff819e2f20, col=0, row=-8) at /home/wolthera/krita/src/libs/image/tiles3/kis_tile_hash_table_p.h:261 #11 0x00007ffff2553550 in KisTiledDataManager::getTile (writable=<optimized out>, row=-8, col=0, this=0x7fff801b7750) at /home/wolthera/krita/src/libs/image/tiles3/kis_tiled_data_manager.h:118 ---Type <return> to continue, or q <return> to quit--- #12 KisTiledDataManager::getTilesPair (oldTile=0x7fff7c0ce6d8, tile=0x7fff7c0ce6d0, writable=<optimized out>, row=-8, col=0, this=0x7fff801b7750) at /home/wolthera/krita/src/libs/image/tiles3/kis_tiled_data_manager.h:101 #13 KisRandomAccessor2::fetchTileData (this=this@entry=0x7fff7d166800, col=0, row=-8) at /home/wolthera/krita/src/libs/image/tiles3/kis_random_accessor.cc:122 #14 0x00007ffff2553739 in KisRandomAccessor2::moveTo (this=0x7fff7d166800, x=0, y=-480) at /home/wolthera/krita/src/libs/image/tiles3/kis_random_accessor.cc:89 #15 0x00007ffff26ae8f7 in Impl::calculateExactBoundsImpl<Impl::CheckFullyTransparent> ( device=device@entry=0x7fff819aa230, startRect=..., endRect=..., compareOp=...) at /home/wolthera/krita/src/libs/image/kis_paint_device.cc:1271 #16 0x00007ffff26a67af in KisPaintDevice::calculateExactBounds (this=0x7fff819aa230, nonDefaultOnly=nonDefaultOnly@entry=false) at /home/wolthera/krita/src/libs/image/kis_paint_device.cc:1372 #17 0x00007ffff26b43af in KisPaintDeviceCache::ExactBoundsCache::calculateNewValue (this=<optimized out>) at /home/wolthera/krita/src/libs/image/kis_paint_device_cache.h:135 #18 0x00007ffff26ad63f in KisLockFreeCache<QRect>::getValue (this=0x7fff81fdce20) at /home/wolthera/krita/src/libs/image/kis_lock_free_cache.h:142 #19 0x00007ffff26a5356 in KisPaintDeviceCache::exactBounds (this=<optimized out>) at /home/wolthera/krita/src/libs/image/kis_paint_device_cache.h:60 #20 KisPaintDevice::exactBounds (this=<optimized out>) at /home/wolthera/krita/src/libs/image/kis_paint_device.cc:1193 #21 0x00007ffff26da7d0 in KisTransformWorker::run (this=this@entry=0x7fff7986a3b0) at /home/wolthera/krita/src/libs/image/kis_transform_worker.cc:237 #22 0x00007fffbda1192a in KisTransformUtils::transformDevice (config=..., device=..., helper=helper@entry=0x7fff7986a570) at /home/wolthera/krita/src/plugins/tools/tool_transform2/kis_transform_utils.cpp:287 ---Type <return> to continue, or q <return> to quit--- #23 0x00007fffbd9e0c07 in KisTransformMaskAdapter::transformDevice (this=0x7fff840dc9d0, node=..., src=..., dst=...) at /home/wolthera/krita/src/plugins/tools/tool_transform2/kis_transform_mask_adapter.cpp:71 #24 0x00007ffff261b6f7 in KisTransformMask::decorateRect (this=0x1870c5d0, src=..., dst=..., rc=..., maskPos=<optimized out>) at /home/wolthera/krita/src/libs/image/kis_transform_mask.cpp:252 #25 0x00007ffff268c4fc in KisMask::apply (this=0x1870c5d0, projection=..., applyRect=..., needRect=..., maskPos=maskPos@entry=KisNode::N_FILTHY) at /home/wolthera/krita/src/libs/image/kis_mask.cc:296 #26 0x00007ffff2672008 in KisLayer::applyMasks (this=this@entry=0x1875f060, source=..., destination=..., requestedRect=..., filthyNode=..., lastNode=...) at /home/wolthera/krita/src/libs/image/kis_layer.cc:688 #27 0x00007ffff2672698 in KisLayer::updateProjection (this=0x1875f060, rect=..., filthyNode=...) at /home/wolthera/krita/src/libs/image/kis_layer.cc:721 #28 0x00007ffff2676248 in KisLayerProjectionPlane::recalculate (this=<optimized out>, rect=..., filthyNode=...) at /home/wolthera/krita/src/libs/image/kis_layer_projection_plane.cpp:47 #29 0x00007ffff262cc21 in KisAsyncMerger::startMerge (this=this@entry=0xd992778, walker=..., notifyClones=notifyClones@entry=true) at /home/wolthera/krita/src/libs/image/kis_async_merger.cpp:266 #30 0x00007ffff279450c in KisUpdateJobItem::runMergeJob (this=0xd992730) at /home/wolthera/krita/build/libs/image/../../../src/libs/image/kis_update_job_item.h:117 #31 KisUpdateJobItem::run (this=0xd992730) at /home/wolthera/krita/build/libs/image/../../../src/libs/image/kis_update_job_item.h:85 #32 0x00007ffff52c6b37 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #33 0x00007ffff52ca6eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #34 0x00007fffee4376ba in start_thread (arg=0x7fff7986b700) at pthread_create.c:333 #35 0x00007ffff49c141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1413 (Thread 0x7fffa4ff5700 (LWP 6639)): #0 0x00007fffc7054636 in KoColorSpaceMaths<unsigned char, unsigned char>::multiply (c=<optimized out>, b=<optimized out>, a=<optimized out>) at /home/wolthera/krita/src/libs/pigment/KoColorSpaceMaths.h:462 ---Type <return> to continue, or q <return> to quit--- #1 Arithmetic::mul<unsigned char> (c=<optimized out>, b=<optimized out>, a=<optimized out>) at /home/wolthera/krita/src/libs/pigment/KoColorSpaceMaths.h:552 #2 Arithmetic::blend<unsigned char> (src=0 '\000', srcAlpha=0 '\000', dst=255 '\377', dstAlpha=255 '\377', cfValue=0 '\000') at /home/wolthera/krita/src/libs/pigment/KoColorSpaceMaths.h:613 #3 0x00007fffc72bc133 in KoCompositeOpGenericSC<KoBgrU8Traits, &(unsigned char cfMultiply<unsigned char>(unsigned char, unsigned char))>::composeColorChannels<false, true> (channelFlags=..., opacity=<optimized out>, maskAlpha=255 '\377', dstAlpha=255 '\377', dst=0x7fff69d68a30 '\377' <repeats 200 times>..., srcAlpha=<optimized out>, src=0x7fff6428ba30 "") at /home/wolthera/krita/src/libs/pigment/compositeops/KoCompositeOpGeneric.h:74 #4 KoCompositeOpBase<KoBgrU8Traits, KoCompositeOpGenericSC<KoBgrU8Traits, &(unsigned char cfMultiply<unsigned char>(unsigned char, unsigned char))> >::genericComposite<false, false, true> (channelFlags=..., params=..., this=<optimized out>) at /home/wolthera/krita/src/libs/pigment/compositeops/KoCompositeOpBase.h:115 #5 KoCompositeOpBase<KoBgrU8Traits, KoCompositeOpGenericSC<KoBgrU8Traits, &(unsigned char cfMultiply<unsigned char>(unsigned char, unsigned char))> >::composite (this=<optimized out>, params=...) at /home/wolthera/krita/src/libs/pigment/compositeops/KoCompositeOpBase.h:81 #6 0x00007ffff1486ff8 in KoColorSpace::bitBlt (this=0x1369e90, srcSpace=0x1369e90, params=..., op=op@entry=0x38e6c40, renderingIntent=renderingIntent@entry=KoColorConversionTransformation::IntentPerceptual, conversionFlags=...) at /home/wolthera/krita/src/libs/pigment/KoColorSpace.cpp:515 #7 0x00007ffff256bfed in KisPainter::bitBltImpl<false> (this=0x7fffa4ff4b70, dstX=2560, dstY=2048, srcDev=..., srcX=2560, srcY=2048, srcWidth=157, srcHeight=512) at /home/wolthera/krita/src/libs/image/kis_painter.cc:729 #8 0x00007ffff2565ada in KisPainter::bitBlt (this=<optimized out>, dstX=<optimized out>, dstY=<optimized out>, srcDev=..., srcX=<optimized out>, srcY=<optimized out>, srcWidth=157, srcHeight=512) at /home/wolthera/krita/src/libs/image/kis_painter.cc:751 ---Type <return> to continue, or q <return> to quit--- #9 0x00007ffff2565b85 in KisPainter::bitBlt (this=this@entry=0x7fffa4ff4b70, pos=..., srcDev=..., srcRect=...) at /home/wolthera/krita/src/libs/image/kis_painter.cc:757 #10 0x00007ffff26769f2 in KisLayerProjectionPlane::apply (this=0x145b7f90, painter=0x7fffa4ff4b70, rect=...) at /home/wolthera/krita/src/libs/image/kis_layer_projection_plane.cpp:99 #11 0x00007ffff262c362 in KisAsyncMerger::compositeWithProjection (rect=..., leaf=..., this=0xde62ff8) at /home/wolthera/krita/src/libs/image/kis_async_merger.cpp:350 #12 KisAsyncMerger::startMerge (this=this@entry=0xde62ff8, walker=..., notifyClones=notifyClones@entry=true) at /home/wolthera/krita/src/libs/image/kis_async_merger.cpp:274 #13 0x00007ffff279450c in KisUpdateJobItem::runMergeJob (this=0xde62fb0) at /home/wolthera/krita/build/libs/image/../../../src/libs/image/kis_update_job_item.h:117 #14 KisUpdateJobItem::run (this=0xde62fb0) at /home/wolthera/krita/build/libs/image/../../../src/libs/image/kis_update_job_item.h:85 #15 0x00007ffff52c6b37 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007ffff52ca6eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x00007fffee4376ba in start_thread (arg=0x7fffa4ff5700) at pthread_create.c:333 #18 0x00007ffff49c141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 8 (Thread 0x7fffa7b72700 (LWP 4754)): #0 0x00007ffff49b574d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffecbcf38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffecbcf49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff54fe5af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff54a564a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007ffff52c5554 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 ---Type <return> to continue, or q <return> to quit--- #6 0x00007fffd5cf0a35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #7 0x00007ffff52ca6eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007fffee4376ba in start_thread (arg=0x7fffa7b72700) at pthread_create.c:333 #9 0x00007ffff49c141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 7 (Thread 0x7fffb983f700 (LWP 4753)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ffff52cb67b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007ffff63fe52a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #3 0x00007ffff52ca6eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007fffee4376ba in start_thread (arg=0x7fffb983f700) at pthread_create.c:333 #5 0x00007ffff49c141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 5 (Thread 0x7fffb903e700 (LWP 4748)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ffff52cb67b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007ffff52c41ef in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007ffff2558013 in KisTileDataSwapper::waitForWork (this=<optimized out>) at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86 #4 0x00007ffff255820a in KisTileDataSwapper::run ( this=0x7ffff2a55f80 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92 #5 0x00007ffff52ca6eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007fffee4376ba in start_thread (arg=0x7fffb903e700) at pthread_create.c:333 ---Type <return> to continue, or q <return> to quit--- #7 0x00007ffff49c141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7fffd0a0f700 (LWP 4741)): #0 0x00007ffff49b574d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffecbcf38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffecbcf49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff54fe5af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff54a564a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007ffff52c5554 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007fffee6632c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007ffff52ca6eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007fffee4376ba in start_thread (arg=0x7fffd0a0f700) at pthread_create.c:333 #9 0x00007ffff49c141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7fffdcd0c700 (LWP 4740)): #0 0x00007ffff49b574d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007ffff2cb3c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007ffff2cb58d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007fffdf264ce9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007ffff52ca6eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007fffee4376ba in start_thread (arg=0x7fffdcd0c700) at pthread_create.c:333 #6 0x00007ffff49c141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7ffff7f06900 (LWP 4727)): ---Type <return> to continue, or q <return> to quit--- #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ffff52cb67b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007ffff52c6015 in QThreadPoolPrivate::waitForDone(int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007ffff52c63f1 in QThreadPool::waitForDone(int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff2633d8e in KisUpdaterContext::waitForDone (this=<optimized out>) at /home/wolthera/krita/src/libs/image/kis_updater_context.cpp:228 #5 0x00007ffff264691d in KisUpdateScheduler::waitForDone (this=0xdec5748) at /home/wolthera/krita/src/libs/image/kis_update_scheduler.cpp:359 #6 0x00007ffff26592da in KisImage::waitForDone (this=<optimized out>) at /home/wolthera/krita/src/libs/image/kis_image.cc:1251 #7 0x00007fffbd9e6b39 in KisToolTransform::tryFetchArgsFromCommandAndUndo (this=this@entry=0x12363030, args=args@entry=0x7fffffffc470, mode=mode@entry=ToolTransformArgs::FREE_TRANSFORM, currentNode=...) at /home/wolthera/krita/src/plugins/tools/tool_transform2/kis_tool_transform.cc:626 #8 0x00007fffbd9ea3cb in KisToolTransform::startStroke (this=this@entry=0x12363030, mode=ToolTransformArgs::FREE_TRANSFORM, forceReset=forceReset@entry=false) at /home/wolthera/krita/src/plugins/tools/tool_transform2/kis_tool_transform.cc:814 #9 0x00007fffbd9eb735 in KisToolTransform::beginActionImpl (this=0x12363030, event=0x7fffffffc630, usePrimaryAction=<optimized out>, action=KisTool::NONE) at /home/wolthera/krita/src/plugins/tools/tool_transform2/kis_tool_transform.cc:262 #10 0x00007ffff753ff2e in KisToolProxy::forwardToTool (this=this@entry=0xe2cdd38, state=state@entry=KisToolProxy::BEGIN, action=action@entry=KisTool::Primary, event=event@entry=0x7fffffffcd20, docPoint=...) at /home/wolthera/krita/src/libs/ui/canvas/kis_tool_proxy.cpp:167 #11 0x00007ffff7540086 in KisToolProxy::forwardEvent (this=0xe2cdd38, state=state@entry=KisToolProxy::BEGIN, ---Type <return> to continue, or q <return> to quit--- action=action@entry=KisTool::Primary, event=event@entry=0x7fffffffcd20, originalEvent=originalEvent@entry=0x7fffffffcd20) at /home/wolthera/krita/src/libs/ui/canvas/kis_tool_proxy.cpp:123 #12 0x00007ffff77f8f86 in KisToolInvocationAction::begin (this=this@entry=0xac5f470, shortcut=<optimized out>, event=event@entry=0x7fffffffcd20) at /home/wolthera/krita/src/libs/ui/input/kis_tool_invocation_action.cpp:108 #13 0x00007ffff78045bb in KisShortcutMatcher::tryRunReadyShortcut (this=this@entry=0xaab5c50, button=<optimized out>, event=event@entry=0x7fffffffcd20) at /home/wolthera/krita/src/libs/ui/input/kis_shortcut_matcher.cpp:495 #14 0x00007ffff7805bc7 in KisShortcutMatcher::buttonPressed (this=0xaab5c50, button=Qt::LeftButton, event=event@entry=0x7fffffffcd20) at /home/wolthera/krita/src/libs/ui/input/kis_shortcut_matcher.cpp:209 #15 0x00007ffff77ed58b in KisInputManager::eventFilterImpl (this=0xac2e9a8, event=0x7fffffffcd20) at /home/wolthera/krita/src/libs/ui/input/kis_input_manager.cpp:453 #16 0x00007ffff54a7132 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x00007ffff61e7aa5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x00007ffff61f0c4a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007ffff785e357 in KisApplication::notify (this=<optimized out>, receiver=0xab8be00, event=0x7fffffffcd20) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:601 #20 0x00007ffff54a73c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007ffff79267ee in QCoreApplication::sendEvent (event=0x7fffffffcd20, receiver=0xab8be00) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:234 #22 processTabletEvent (e=0x14e6cc80) at /home/wolthera/krita/src/libs/ui/input/wintab/qxcbconnection.cpp:679 ---Type <return> to continue, or q <return> to quit--- #23 0x00007ffff792046e in QXcbConnection::xi2ReportTabletEvent (this=this@entry=0x1277610, tabletData=..., event=event@entry=0x14e6b090) at /home/wolthera/krita/src/libs/ui/input/wintab/qxcbconnection_xi2.cpp:964 #24 0x00007ffff7920803 in QXcbConnection::xi2HandleTabletEvent (this=this@entry=0x1277610, event=event@entry=0x14e6b090, tabletData=0x1276de8, window=window@entry=0x8578f40) at /home/wolthera/krita/src/libs/ui/input/wintab/qxcbconnection_xi2.cpp:798 #25 0x00007ffff792445e in QXcbConnection::xi2HandleEvent (this=0x1277610, event=0x14e6b090) at /home/wolthera/krita/src/libs/ui/input/wintab/qxcbconnection_xi2.cpp:516 #26 0x00007ffff7927e16 in KisXi2EventFilter::nativeEventFilter ( this=0x7ffff7dd6920 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>, eventType=..., message=0x7fffd800d2d0, result=<optimized out>) at /home/wolthera/krita/src/libs/ui/input/wintab/kis_xi2_event_filter.cpp:115 #27 0x00007ffff54a422f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #28 0x00007fffdf268e54 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #29 0x00007fffdf269b6b in QXcbConnection::processXcbEvents() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #30 0x00007ffff54d54c9 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #31 0x00007ffff61e7acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #32 0x00007ffff61ef417 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #33 0x00007ffff785e357 in KisApplication::notify (this=<optimized out>, receiver=0xe13a70, event=0x7fffd8004820) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:601 #34 0x00007ffff54a73c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 ---Type <return> to continue, or q <return> to quit--- #35 0x00007ffff54a9fcb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #36 0x00007ffff54fefa3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #37 0x00007fffecbcf197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #38 0x00007fffecbcf3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #39 0x00007fffecbcf49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #40 0x00007ffff54fe5af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #41 0x00007fffdf2e71a1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #42 0x00007ffff54a564a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #43 0x00007ffff54ae854 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #44 0x00000000004054d3 in main (argc=1, argv=0x7fffffffde48) at /home/wolthera/krita/src/krita/main.cc:349 (gdb) Git commit 34a4b0bd6070ba9148ff4c0e067f175652afc831 by Dmitry Kazakov. Committed on 27/03/2018 at 19:01. Pushed by dkazakov into branch 'master'. Disable minefield walk when fetching tiles It causes race condition over m_hashTable's shared pointers M +24 -25 libs/image/tiles3/kis_tile_hash_table_p.h https://commits.kde.org/krita/34a4b0bd6070ba9148ff4c0e067f175652afc831 Git commit 4a18894a25b232e6884a6fe9fbac67a317e5d70f by Boudewijn Rempt, on behalf of Dmitry Kazakov. Committed on 03/04/2018 at 11:17. Pushed by rempt into branch 'krita/4.0'. Disable minefield walk when fetching tiles It causes race condition over m_hashTable's shared pointers (cherry picked from commit 34a4b0bd6070ba9148ff4c0e067f175652afc831) M +24 -25 libs/image/tiles3/kis_tile_hash_table_p.h https://commits.kde.org/krita/4a18894a25b232e6884a6fe9fbac67a317e5d70f |