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

            Bug ID: 400864
           Summary: [Freehand brush] Freeze while painting (backtrace)
           Product: krita
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Tools/Freehand
          Assignee: krita-bugs-n...@kde.org
          Reporter: i...@davidrevoy.com
  Target Milestone: ---

Hi, I'm back at using git~master for the storyboard of ep28 (<3 multi-line
text), I have a build with -DUSE_LOCK_FREE_HASH_TABLE=OFF on Kubuntu 18.04.1.
No autosave unfortunately for this crash; so I guess I saved just before or
this one failed (I set it to 5min). 

Here is the backtrace: 


[New Thread 0x7fff8d5fc700 (LWP 24927)]
[New Thread 0x7fff8cdfb700 (LWP 24928)]
Accessing uninitialized random source!
Accessing uninitialized random source!
Accessing uninitialized random source!
[Thread 0x7fff87df5700 (LWP 24922) exited]
[Thread 0x7fff3f163700 (LWP 24923) exited]
[Thread 0x7fff47966700 (LWP 24925) exited]
[Thread 0x7fff8e5fe700 (LWP 24924) exited]
[Thread 0x7fff8d5fc700 (LWP 24927) exited]
[Thread 0x7fff8cdfb700 (LWP 24928) exited]
[Thread 0x7fff8ddfd700 (LWP 24926) exited]
Accessing uninitialized random source!
[New Thread 0x7fff8ddfd700 (LWP 24929)]
[New Thread 0x7fff8cdfb700 (LWP 24930)]
Accessing uninitialized random source!
Accessing uninitialized random source!
[New Thread 0x7fff8d5fc700 (LWP 24931)]
[New Thread 0x7fff8e5fe700 (LWP 24932)]
Accessing uninitialized random source!
Accessing uninitialized random source!
Accessing uninitialized random source!
[New Thread 0x7fff87df5700 (LWP 24934)]
[New Thread 0x7fff875f4700 (LWP 24935)]
Accessing uninitialized random source!
[New Thread 0x7fff47966700 (LWP 24936)]
Accessing uninitialized random source!
free(): invalid pointer

Thread 8382 "Thread (pooled)" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff8e5fe700 (LWP 24932)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) thread apply all bt

Thread 8385 (Thread 0x7fff47966700 (LWP 24936)):
#0  0x00007fffee0b1ed9 in futex_reltimed_wait_cancelable (private=<optimized
out>, reltime=0x7fff47965c40, expected=0, futex_word=0x7ffe683f93f4) at
../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  0x00007fffee0b1ed9 in __pthread_cond_wait_common (abstime=0x7fff47965d00,
mutex=0x7ffe683f93a0, cond=0x7ffe683f93c8) at pthread_cond_wait.c:533
#2  0x00007fffee0b1ed9 in __pthread_cond_timedwait (cond=0x7ffe683f93c8,
mutex=0x7ffe683f93a0, abstime=0x7fff47965d00) at pthread_cond_wait.c:667
#3  0x00007ffff4c46458 in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c4252d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffee0ab6db in start_thread (arg=0x7fff47966700) at
pthread_create.c:463
#7  0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8384 (Thread 0x7fff875f4700 (LWP 24935)):
#0  0x00007fffee0b19f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x7fffd0019f50) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fffee0b19f3 in __pthread_cond_wait_common (abstime=0x0,
mutex=0x7fffd0019f00, cond=0x7fffd0019f28) at pthread_cond_wait.c:502
#2  0x00007fffee0b19f3 in __pthread_cond_wait (cond=0x7fffd0019f28,
mutex=0x7fffd0019f00)
    at pthread_cond_wait.c:655
#3  0x00007ffff4c4659b in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c3cfa6 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c3dcc6 in QReadWriteLock::tryLockForRead(int) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff246f506 in
KisIndirectPaintingSupport::ReadLocker::ReadLocker(KisIndirectPaintingSupport
const*) (lock=0x7fff983125b8, this=<synthetic pointer>)
    at
/home/deevad/sources/krita/src/libs/image/kis_indirect_painting_support.h:81
#7  0x00007ffff246f506 in
KisPaintLayer::copyOriginalToProjection(KisSharedPtr<KisPaintDevice>,
KisSharedPtr<KisPaintDevice>, QRect const&) const (this=0x7fff98312580,
original=..., projection=..., rect=...) at
/home/deevad/sources/krita/src/libs/image/kis_paint_layer.cc:153
#8  0x00007ffff240772c in KisLayer::applyMasks(KisSharedPtr<KisPaintDevice>,
KisSharedPtr<KisPaintDevice>, QRect const&, KisSharedPtr<KisNode>,
KisSharedPtr<KisNode>) const (this=this@entry=0x7fff98312580, source=...,
destination=..., requestedRect=..., filthyNode=..., lastNode=...)
    at /home/deevad/sources/krita/src/libs/image/kis_layer.cc:716
#9  0x00007ffff2408472 in KisLayer::updateProjection(QRect const&,
KisSharedPtr<KisNode>) (this=0x7fff98312580, rect=..., filthyNode=...) at
/home/deevad/sources/krita/src/libs/image/kis_layer.cc:805
#10 0x00007ffff240b3d8 in KisLayerProjectionPlane::recalculate(QRect const&,
KisSharedPtr<KisNode>) (this=<optimized out>, rect=..., filthyNode=...)
    at
/home/deevad/sources/krita/src/libs/image/kis_layer_projection_plane.cpp:47
#11 0x00007ffff23bee89 in KisAsyncMerger::startMerge(KisBaseRectsWalker&, bool)
(this=0x55556383ebd8, walker=..., notifyClones=<optimized out>)
    at /home/deevad/sources/krita/src/libs/image/kis_async_merger.cpp:256
#12 0x00007ffff2516a94 in non-virtual thunk to KisUpdateJobItem::run() ()
    at /home/deevad/sources/krita/inst/lib/x86_64-linux-gnu/libkritaimage.so.18
#13 0x00007ffff4c422a2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fffee0ab6db in start_thread (arg=0x7fff875f4700) at
pthread_create.c:463
#16 0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8383 (Thread 0x7fff87df5700 (LWP 24934)):
#0  0x00007fffee0b1ed9 in futex_reltimed_wait_cancelable (private=<optimized
out>, reltime=0x7fff87df4c40, expected=0, futex_word=0x7fff98134c64) at
../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  0x00007fffee0b1ed9 in __pthread_cond_wait_common (abstime=0x7fff87df4d00,
mutex=0x7fff98134c10, ---Type <return> to continue, or q <return> to quit---
cond=0x7fff98134c38) at pthread_cond_wait.c:533
#2  0x00007fffee0b1ed9 in __pthread_cond_timedwait (cond=0x7fff98134c38,
mutex=0x7fff98134c10, abstime=0x7fff87df4d00) at pthread_cond_wait.c:667
#3  0x00007ffff4c46458 in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c4252d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffee0ab6db in start_thread (arg=0x7fff87df5700) at
pthread_create.c:463
#7  0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8382 (Thread 0x7fff8e5fe700 (LWP 24932)):
#0  0x00007ffff4245e97 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff4247801 in __GI_abort () at abort.c:79
#2  0x00007ffff4290897 in __libc_message (action=action@entry=do_abort,
fmt=fmt@entry=0x7ffff43bdb9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff429790a in malloc_printerr (str=str@entry=0x7ffff43bbd88
"free(): invalid pointer")
    at malloc.c:5350
#4  0x00007ffff429ee1c in _int_free (have_lock=0, p=0x55558d6a5a1f,
av=0x7ffff45f2c40 <main_arena>)
    at malloc.c:4157
#5  0x00007ffff429ee1c in __GI___libc_free (mem=0x55558d6a5a2f) at
malloc.c:3124
#6  0x00007ffff22d44cd in QList<KisSharedPtr<KisMementoItem>
>::node_destruct(QList<KisSharedPtr<KisMementoItem> >::Node*,
QList<KisSharedPtr<KisMementoItem> >::Node*) (this=<optimized out>,
to=0x5555a4325378, from=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:494
#7  0x00007ffff22d44cd in QList<KisSharedPtr<KisMementoItem>
>::dealloc(QListData::Data*) (data=0x5555a4325360, this=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:865
#8  0x00007ffff22d7a3c in KisHistoryItem::~KisHistoryItem()
(this=0x7ffe355cfa60, __in_chrg=<optimized out>) at
/home/deevad/sources/krita/src/libs/image/tiles3/kis_memento_manager.h:31
#9  0x00007ffff22d7a3c in
QList<KisHistoryItem>::node_destruct(QList<KisHistoryItem>::Node*)
(this=0x7fff7832b908, n=0x7fff7806aff8) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:451
#10 0x00007ffff22d7a3c in
QList<KisHistoryItem>::erase(QList<KisHistoryItem>::iterator) (it=...,
this=0x7fff7832b908) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:536
#11 0x00007ffff22d7a3c in QList<KisHistoryItem>::removeFirst()
(this=0x7fff7832b908)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:351
#12 0x00007ffff22d7a3c in
KisMementoManager::purgeHistory(KisSharedPtr<KisMemento>) (this=0x7fff7832b8e0,
oldestMemento=...)
    at
/home/deevad/sources/krita/src/libs/image/tiles3/kis_memento_manager.cc:350
#13 0x00007ffff248a96e in
KisTiledDataManager::purgeHistory(KisSharedPtr<KisMemento>) (oldestMemento=...,
this=0x7fff7811a350)
    at
/home/deevad/sources/krita/src/libs/image/tiles3/kis_tiled_data_manager.h:202
#14 0x00007ffff248a96e in KisTransactionData::~KisTransactionData()
(this=0x7ffe34be6ab0, __in_chrg=<optimized out>) at
/home/deevad/sources/krita/src/libs/image/kis_transaction_data.cpp:122
#15 0x00007ffff248abe9 in KisTransactionData::~KisTransactionData()
(this=0x7ffe34be6ab0, __in_chrg=<optimized out>) at
/home/deevad/sources/krita/src/libs/image/kis_transaction_data.cpp:125
#16 0x00007ffff2329b92 in QtSharedPointer::ExternalRefCountData::destroy()
(this=0x7ffe34cc7ca0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:157
#17 0x00007ffff2329b92 in
QSharedPointer<KUndo2Command>::deref(QtSharedPointer::ExternalRefCountData*)
(dd=0x7ffe34cc7ca0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:461
#18 0x00007ffff2329b92 in QSharedPointer<KUndo2Command>::deref()
(this=0x7fff68249e70)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:456
#19 0x00007ffff2329b92 in QSharedPointer<KUndo2Command>::~QSharedPointer()
(this=0x7fff68249e70, __in_chrg=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:313
#20 0x00007ffff2329b92 in
KisSavedMacroCommand::Private::SavedCommand::~SavedCommand()
(this=0x7fff68249e70, __in_chrg=<optimized out>)
    at
/home/deevad/sources/krita/src/libs/image/commands_new/kis_saved_commands.cpp:153
#21 0x00007ffff2329b92 in
QVector<KisSavedMacroCommand::Private::SavedCommand>::destruct(KisSavedMacroCommand::Private::SavedCommand*,
KisSavedMacroCommand::Private::SavedCommand*) (this=<optimized ou---Type
<return> to continue, or q <return> to quit---
t>, to=<optimized out>, from=0x7fff68249e70)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:345
#22 0x00007ffff2329b92 in
QVector<KisSavedMacroCommand::Private::SavedCommand>::freeData(QTypedArrayData<KisSavedMacroCommand::Private::SavedCommand>*)
(x=0x7fff68249e10, this=<optimized out>)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:529
#23 0x00007ffff2329c70 in
QVector<KisSavedMacroCommand::Private::SavedCommand>::~QVector()
(this=<optimized out>, __in_chrg=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:75
#24 0x00007ffff2329c70 in KisSavedMacroCommand::Private::~Private()
(this=<optimized out>, __in_chrg=<optimized out>)
    at
/home/deevad/sources/krita/src/libs/image/commands_new/kis_saved_commands.cpp:151
#25 0x00007ffff2329c70 in KisSavedMacroCommand::~KisSavedMacroCommand()
(this=0x7ffe340b3f70, __in_chrg=<optimized out>)
    at
/home/deevad/sources/krita/src/libs/image/commands_new/kis_saved_commands.cpp:172
#26 0x00007ffff2329c99 in KisSavedMacroCommand::~KisSavedMacroCommand()
(this=0x7ffe340b3f70, __in_chrg=<optimized out>)
    at
/home/deevad/sources/krita/src/libs/image/commands_new/kis_saved_commands.cpp:173
#27 0x00007ffff0f2cb83 in KUndo2QStack::checkUndoLimit()
(this=this@entry=0x5555679b01e0)
    at /home/deevad/sources/krita/src/libs/command/kundo2stack.cpp:599
#28 0x00007ffff0f2d286 in KUndo2QStack::push(KUndo2Command*)
(this=0x5555679b01e0, cmd=<optimized out>) at
/home/deevad/sources/krita/src/libs/command/kundo2stack.cpp:854
#29 0x00007ffff24a8299 in
KisPostExecutionUndoAdapter::addCommand(QSharedPointer<KUndo2Command>)
(this=this@entry=0x555559d3ae10, command=...)
    at
/home/deevad/sources/krita/src/libs/image/kis_post_execution_undo_adapter.cpp:38
#30 0x00007ffff22e9ea6 in KisTransaction::commit(KisPostExecutionUndoAdapter*)
(undoAdapter=0x555559d3ae10, this=0x7fff7c00fa00) at
/home/deevad/sources/krita/src/libs/image/kis_transaction.h:69
#31 0x00007ffff22e9ea6 in
KisPainter::endTransaction(KisPostExecutionUndoAdapter*)
(this=this@entry=0x7fff8e5fdbb0, undoAdapter=undoAdapter@entry=0x555559d3ae10)
    at /home/deevad/sources/krita/src/libs/image/kis_painter.cc:362
#32 0x00007ffff240b0ba in
KisIndirectPaintingSupport::mergeToLayerImpl(KisSharedPtr<KisPaintDevice>,
KisPostExecutionUndoAdapter*, KUndo2MagicString const&, int, bool)
(this=this@entry=0x7fff983125b8, dst=...,
undoAdapter=undoAdapter@entry=0x555559d3ae10, transactionText=...,
timedID=timedID@entry=-1, cleanResources=cleanResources@entry=true)
    at
/home/deevad/sources/krita/src/libs/image/kis_indirect_painting_support.cpp:164
#33 0x00007ffff240b1b4 in
KisIndirectPaintingSupport::mergeToLayer(KisSharedPtr<KisNode>,
KisPostExecutionUndoAdapter*, KUndo2MagicString const&, int)
(this=this@entry=0x7fff983125b8, layer=...,
undoAdapter=undoAdapter@entry=0x555559d3ae10, transactionText=...,
timedID=timedID@entry=-1)
    at
/home/deevad/sources/krita/src/libs/image/kis_indirect_painting_support.cpp:138
#34 0x00007ffff735e7bd in KisPainterBasedStrokeStrategy::finishStrokeCallback()
(this=0x7fffdd6cf3d0) at
/home/deevad/sources/krita/src/libs/ui/tool/strokes/kis_painter_based_stroke_strategy.cpp:332
#35 0x00007ffff25169a0 in non-virtual thunk to KisUpdateJobItem::run() ()
    at /home/deevad/sources/krita/inst/lib/x86_64-linux-gnu/libkritaimage.so.18
#36 0x00007ffff4c422a2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007fffee0ab6db in start_thread (arg=0x7fff8e5fe700) at
pthread_create.c:463
#39 0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8381 (Thread 0x7fff8d5fc700 (LWP 24931)):
#0  0x00007fffee0b1ed9 in futex_reltimed_wait_cancelable (private=<optimized
out>, reltime=0x7fff8d5fbc40, expected=0, futex_word=0x7fff980a8ca4) at
../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  0x00007fffee0b1ed9 in __pthread_cond_wait_common (abstime=0x7fff8d5fbd00,
mutex=0x7fff980a8c50, cond=0x7fff980a8c78) at pthread_cond_wait.c:533
#2  0x00007fffee0b1ed9 in __pthread_cond_timedwait (cond=0x7fff980a8c78,
mutex=0x7fff980a8c50, abstime=0x7fff8d5fbd00) at pthread_cond_wait.c:667
#3  0x00007ffff4c46458 in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c4252d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#5  0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffee0ab6db in start_thread (arg=0x7fff8d5fc700) at
pthread_create.c:463
#7  0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8380 (Thread 0x7fff8cdfb700 (LWP 24930)):
#0  0x00007fffee0b1ed9 in futex_reltimed_wait_cancelable (private=<optimized
out>, reltime=0x7fff8cdfac40, expected=0, futex_word=0x7ffe681fda64) at
../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  0x00007fffee0b1ed9 in __pthread_cond_wait_common (abstime=0x7fff8cdfad00,
mutex=0x7ffe681fda10, cond=0x7ffe681fda38) at pthread_cond_wait.c:533
#2  0x00007fffee0b1ed9 in __pthread_cond_timedwait (cond=0x7ffe681fda38,
mutex=0x7ffe681fda10, abstime=0x7fff8cdfad00) at pthread_cond_wait.c:667
#3  0x00007ffff4c46458 in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c4252d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffee0ab6db in start_thread (arg=0x7fff8cdfb700) at
pthread_create.c:463
#7  0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8379 (Thread 0x7fff8ddfd700 (LWP 24929)):
#0  0x00007fffee0b1ed9 in futex_reltimed_wait_cancelable (private=<optimized
out>, reltime=0x7fff8ddfcc40, expected=0, futex_word=0x5555a3d46d70) at
../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  0x00007fffee0b1ed9 in __pthread_cond_wait_common (abstime=0x7fff8ddfcd00,
mutex=0x5555a3d46d20, cond=0x5555a3d46d48) at pthread_cond_wait.c:533
#2  0x00007fffee0b1ed9 in __pthread_cond_timedwait (cond=0x5555a3d46d48,
mutex=0x5555a3d46d20, abstime=0x7fff8ddfcd00) at pthread_cond_wait.c:667
#3  0x00007ffff4c46458 in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c4252d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffee0ab6db in start_thread (arg=0x7fff8ddfd700) at
pthread_create.c:463
#7  0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffa29bb700 (LWP 32029)):
#0  0x00007ffff431bbf9 in __GI___poll (fds=0x7fff94003ce0, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeca26439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeca2654c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4e7c90b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e219ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c4022a in QThread::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffee0ab6db in start_thread (arg=0x7fffa29bb700) at
pthread_create.c:463
#8  0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffa3fff700 (LWP 32028)):
#0  0x00007ffff431bbf9 in __GI___poll (fds=0x7fff9c004ae0, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeca26439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeca2654c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4e7c8ef in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e219ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c4022a in QThread::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#6  0x00007fffdaefb6f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee0ab6db in start_thread (arg=0x7fffa3fff700) at
pthread_create.c:463
#9  0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffb3386700 (LWP 32027)):
#0  0x00007ffff42eb9d0 in __GI___nanosleep (requested_time=0x7fffb3385dc0,
remaining=0x7fffb3385dc0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007ffff4e7c27d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff22e540a in KisTileDataSwapper::run() (this=0x7ffff27d4cc0
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>)
    at
/home/deevad/sources/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:97
#3  0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fffee0ab6db in start_thread (arg=0x7fffb3386700) at
pthread_create.c:463
#5  0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fffb3b87700 (LWP 32026)):
#0  0x00007fffee0b1ed9 in futex_reltimed_wait_cancelable (private=<optimized
out>, reltime=0x7fffb3b86bc0, expected=0, futex_word=0x555561484840) at
../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  0x00007fffee0b1ed9 in __pthread_cond_wait_common (abstime=0x7fffb3b86c80,
mutex=0x5555614847f0, cond=0x555561484818) at pthread_cond_wait.c:533
#2  0x00007fffee0b1ed9 in __pthread_cond_timedwait (cond=0x555561484818,
mutex=0x5555614847f0, abstime=0x7fffb3b86c80) at pthread_cond_wait.c:667
#3  0x00007ffff4c46458 in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c3ee5f in QSemaphore::tryAcquire(int, int) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff22c7e8b in KisTileDataPooler::waitForWork() (this=0x7ffff27d4c80
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>)
    at
/home/deevad/sources/krita/src/libs/image/tiles3/kis_tile_data_pooler.cc:162
#6  0x00007ffff22c873a in KisTileDataPooler::run() (this=0x7ffff27d4c80
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>)
    at
/home/deevad/sources/krita/src/libs/image/tiles3/kis_tile_data_pooler.cc:186
#7  0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee0ab6db in start_thread (arg=0x7fffb3b87700) at
pthread_create.c:463
#9  0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fffb91d5700 (LWP 32025)):
#0  0x00007ffff431bbf9 in __GI___poll (fds=0x7fffb4004ae0, nfds=1,
timeout=9989)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeca26439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeca2654c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4e7c8ef in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e219ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c4022a in QThread::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffee0ab6db in start_thread (arg=0x7fffb91d5700) at
pthread_create.c:463
#8  0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fffd5093700 (LWP 32024)):
#0  0x00007ffff431bbf9 in __GI___poll (fds=0x7fffd00195f0, nfds=4, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeca26439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeca2654c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#3  0x00007ffff4e7c8ef in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e219ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c4022a in QThread::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffee2d8d45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee0ab6db in start_thread (arg=0x7fffd5093700) at
pthread_create.c:463
#9  0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fffe28cc700 (LWP 32023)):
#0  0x00007ffff431bbf9 in __GI___poll (fds=0x7fffe28cbca8, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff2a34747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ffff2a3636a in xcb_wait_for_event () at
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe50252a9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff4c4516d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffee0ab6db in start_thread (arg=0x7fffe28cc700) at
pthread_create.c:463
#6  0x00007ffff432888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7fa0600 (LWP 32019)):
#0  0x00007ffff431bbf9 in __GI___poll (fds=0x55559f381830, nfds=9, timeout=6)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeca26439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeca2654c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4e7c8ef in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e219ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4e2aa84 in QCoreApplication::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x0000555555e8d5d8 in main(int, char**) (argc=<optimized out>,
argv=0x7fffffffe408)
    at /home/deevad/sources/krita/src/krita/main.cc:456
(gdb)

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

Reply via email to