Bug 410797

Summary: Krita will occasionally stop receiving input events.
Product: [Applications] krita Reporter: wolthera <griffinvalley>
Component: GeneralAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED FIXED    
Severity: normal CC: glenister1102, joostlensvelt
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The diff of the debug that dmitry added to my build.
Extra debug log
Another debug, this time with a third patch from dmitry.
Another log with instant preview off.

Description wolthera 2019-08-10 20:59:01 UTC
SUMMARY
Occasionally Krita will stop responding to input events.

- Freehand brush won't work.
- Selection and Rectangle tools don't look like they do anything.
- Assistant Editor Tool does start with drawing an assistant, but you cannot finish an assistant.

Dmitry already observed this during the sprint and put extra debug into my krita build.


-------------------
wolthera@Euthenia:~/krita/build$ gdb krita
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from krita...done.
(gdb) run
Starting program: /home/wolthera/krita/inst/bin/krita 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffd3c6a700 (LWP 15621)]
[New Thread 0x7fffcf789700 (LWP 15622)]
[Thread 0x7fffd3c6a700 (LWP 15621) exited]
[Thread 0x7fffcf789700 (LWP 15622) exited]
[New Thread 0x7fffcf789700 (LWP 15623)]
[New Thread 0x7fffd3c6a700 (LWP 15628)]
[Thread 0x7fffcf789700 (LWP 15623) exited]
[Thread 0x7fffd3c6a700 (LWP 15628) exited]
[New Thread 0x7fffd3c6a700 (LWP 15631)]
[New Thread 0x7fffcf789700 (LWP 15632)]
[Thread 0x7fffd3c6a700 (LWP 15631) exited]
[Thread 0x7fffcf789700 (LWP 15632) exited]
[New Thread 0x7fffcf789700 (LWP 15633)]
[New Thread 0x7fffd3c6a700 (LWP 15638)]
[New Thread 0x7fffc4ef9700 (LWP 15639)]
Set style "fusion"
KoColor debug runtime checks are active.
krita.lib.pigment: Illegal XML palette: "/home/wolthera/.local/share/krita/palettes/colorset.xml"
krita.lib.pigment: Error (line 1 , column 159 ): "Unknown XML palette format. Expected SCRIBUSCOLORS, found Colorset"
krita.lib.widgets: Loading resource  "/home/wolthera/.local/share/krita/palettes/colorset.xml" failed. "ko_palettes"
krita.lib.pigment: Illegal XML palette: "/home/wolthera/.local/share/krita/palettes/profiles.xml"
krita.lib.pigment: Error (line 1 , column 10 ): "Unknown XML palette format. Expected SCRIBUSCOLORS, found Profiles"
krita.lib.widgets: Loading resource  "/home/wolthera/.local/share/krita/palettes/profiles.xml" failed. "ko_palettes"
[New Thread 0x7fff94eae700 (LWP 15906)]
QObject::startTimer: Timers cannot have negative intervals
[New Thread 0x7fff92cab700 (LWP 15911)]
[New Thread 0x7fff924aa700 (LWP 15912)]
[Thread 0x7fff92cab700 (LWP 15911) exited]
Comparators already registered for type KoSvgText::AutoValue
Debug stream operator already registered for type KoSvgText::AutoValue
Comparators already registered for type KoSvgText::BackgroundProperty
Debug stream operator already registered for type KoSvgText::BackgroundProperty
Comparators already registered for type KoSvgText::StrokeProperty
Debug stream operator already registered for type KoSvgText::StrokeProperty
/home/wolthera/krita/inst/lib/x86_64-linux-gnu/krita-python-libs/krita added to PYTHONPATH
krita.scripting: "Traceback (most recent call last):"
krita.scripting: "  File \"/home/wolthera/krita/inst/share/krita/pykrita/palette_docker/__init__.py\", line 2, in <module>"
krita.scripting: "    from .palette_docker import *"
krita.scripting: "  File \"/home/wolthera/krita/inst/share/krita/pykrita/palette_docker/palette_docker.py\", line 31, in <module>"
krita.scripting: "    class Palette_Docker(DockWidget):"
krita.scripting: "  File \"/home/wolthera/krita/inst/share/krita/pykrita/palette_docker/palette_docker.py\", line 126, in Palette_Docker"
krita.scripting: "    @pyqtSlot('KisSwatch')"
krita.scripting: "TypeError: C++ type 'KisSwatch' is not supported as a pyqtSlot type argument type"
krita.scripting: "Could not import palette_docker"
krita.scripting: Error loading plugin "palette_docker"
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
[New Thread 0x7fff92cab700 (LWP 16086)]
[New Thread 0x7fff9dcdd700 (LWP 16095)]
                Could not set current file 0 "Thumbnails/thumbnail.png"
[New Thread 0x7fffa940c700 (LWP 16108)]
[New Thread 0x7fffa82ca700 (LWP 16109)]
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 905, resource id: 41943767, major code: 40 (TranslateCoords), minor code: 0
krita.core: Add node  KisPaintLayer(0x6070004ed7c0, name = "Layer 1")  to  KisGroupLayer(0x606001d74460, name = "root")
[New Thread 0x7fff9c25b700 (LWP 16437)]
[New Thread 0x7fff7cf32700 (LWP 16438)]
[New Thread 0x7fff7c731700 (LWP 16439)]
[New Thread 0x7fff7bf30700 (LWP 16440)]
[New Thread 0x7fff7b72f700 (LWP 16441)]
[New Thread 0x7fff7af2e700 (LWP 16442)]
[New Thread 0x7fff7a72d700 (LWP 16443)]
[New Thread 0x7fff79f2c700 (LWP 16444)]
[Thread 0x7fff7bf30700 (LWP 16440) exited]
[Thread 0x7fff7a72d700 (LWP 16443) exited]
[Thread 0x7fff79f2c700 (LWP 16444) exited]
[Thread 0x7fff7cf32700 (LWP 16438) exited]
[Thread 0x7fff7af2e700 (LWP 16442) exited]
[Thread 0x7fff7b72f700 (LWP 16441) exited]
[Thread 0x7fff7c731700 (LWP 16439) exited]
[Thread 0x7fff9c25b700 (LWP 16437) exited]
QObject::connect: No such signal KisVisualColorSelector::requestCloseContainer() in /home/wolthera/krita/src/libs/ui/kis_popup_palette.cpp:154
[New Thread 0x7fff7c731700 (LWP 16469)]
[Thread 0x7fff7c731700 (LWP 16469) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7c731700 (LWP 16471)]
[New Thread 0x7fff7af2e700 (LWP 16472)]
[New Thread 0x7fff7b72f700 (LWP 16473)]
[New Thread 0x7fff9c25b700 (LWP 16474)]
[New Thread 0x7fff7cf32700 (LWP 16475)]
[New Thread 0x7fff7bf30700 (LWP 16476)]
[New Thread 0x7fff74d96700 (LWP 16477)]
[New Thread 0x7fff74595700 (LWP 16478)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff7c731700 (LWP 16471) exited]
[Thread 0x7fff7af2e700 (LWP 16472) exited]
[Thread 0x7fff74d96700 (LWP 16477) exited]
[Thread 0x7fff7b72f700 (LWP 16473) exited]
[Thread 0x7fff9c25b700 (LWP 16474) exited]
[Thread 0x7fff7cf32700 (LWP 16475) exited]
[Thread 0x7fff74595700 (LWP 16478) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff7bf30700 (LWP 16476) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7bf30700 (LWP 16503)]
[Thread 0x7fff7bf30700 (LWP 16503) exited]
[New Thread 0x7fff7bf30700 (LWP 16520)]
[New Thread 0x7fff74595700 (LWP 16521)]
[New Thread 0x7fff7cf32700 (LWP 16522)]
[New Thread 0x7fff9c25b700 (LWP 16523)]
[New Thread 0x7fff7e3f5700 (LWP 16524)]
[New Thread 0x7fff7dbf4700 (LWP 16525)]
[New Thread 0x7fff7c731700 (LWP 16526)]
[New Thread 0x7fff7b72f700 (LWP 16527)]
[Thread 0x7fff9c25b700 (LWP 16523) exited]
[Thread 0x7fff7cf32700 (LWP 16522) exited]
[Thread 0x7fff7dbf4700 (LWP 16525) exited]
[Thread 0x7fff74595700 (LWP 16521) exited]
[Thread 0x7fff7c731700 (LWP 16526) exited]
[Thread 0x7fff7b72f700 (LWP 16527) exited]
[Thread 0x7fff7e3f5700 (LWP 16524) exited]
[Thread 0x7fff7bf30700 (LWP 16520) exited]
[Thread 0x7fffa82ca700 (LWP 16109) exited]
[New Thread 0x7fffa82ca700 (LWP 17467)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
^C 
Thread 1 "krita" received signal SIGINT, Interrupt.
0x00007fffea9dcbf9 in __GI___poll (fds=0x60300212ff50, nfds=4, timeout=249) at ../sysdeps/unix/sysv/linux/poll.c:29
29      ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) thread apply all backtrace

Thread 44 (Thread 0x7fffa82ca700 (LWP 17467)):
#0  0x00007fffea2aaed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fffa82c9ba0, expected=0, futex_word=0x60800064acf4)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fffa82c9c60, mutex=0x60800064aca0, cond=0x60800064acc8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x60800064acc8, mutex=0x60800064aca0, abstime=0x7fffa82c9c60) at pthread_cond_wait.c:667
#3  0x00007fffeb308d36 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fffeb309096 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb306740 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffea2a46db in start_thread (arg=0x7fffa82ca700) at pthread_create.c:463
#8  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7fffa940c700 (LWP 16108)):
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x602000105c10, nfds=2, timeout=135333) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12a95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12a96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb537daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4d903a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb3004ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffea2a46db in start_thread (arg=0x7fffa940c700) at pthread_create.c:463
#9  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7fff9dcdd700 (LWP 16095)):
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x6020000d86b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12a95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12a96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb537daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4d903a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb3004ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffca4db926 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fffea2a46db in start_thread (arg=0x7fff9dcdd700) at pthread_create.c:463
#10 0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7fff92cab700 (LWP 16086)):
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x602000123cd0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12a95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12a96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb537daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4d903a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb3004ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffca016115 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fffea2a46db in start_thread (arg=0x7fff92cab700) at pthread_create.c:463
---Type <return> to continue, or q <return> to quit---
#10 0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fff924aa700 (LWP 15912)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fffeb304630 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fffeb3044a2 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fffed982a8f in KisTileDataSwapper::waitForWork (this=0x7fffeec0c780 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>)
    at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007fffed982aaa in KisTileDataSwapper::run (this=0x7fffeec0c780 <(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  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffea2a46db in start_thread (arg=0x7fff924aa700) at pthread_create.c:463
#7  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fff94eae700 (LWP 15906)):
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x6020002d5990, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12a95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12a96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb537daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4d903a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb3004ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffea2a46db in start_thread (arg=0x7fff94eae700) at pthread_create.c:463
#9  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fffc4ef9700 (LWP 15639)):
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x603002095cf0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12a95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12a96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb537daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4d903a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb3004ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffe29b1015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fffea2a46db in start_thread (arg=0x7fffc4ef9700) at pthread_create.c:463
#10 0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffd3c6a700 (LWP 15638)):
#0  0x00007fffea2aa9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x614000005308) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x6140000052b8, cond=0x6140000052e0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x6140000052e0, mutex=0x6140000052b8) at pthread_cond_wait.c:655
#3  0x00007fffd099431a in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fffd0994047 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fffea2a46db in start_thread (arg=0x7fffd3c6a700) at pthread_create.c:463
#6  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffcf789700 (LWP 15633)):
---Type <return> to continue, or q <return> to quit---
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x7fffcf788c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe0504747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe050636a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007fffd681f578 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffea2a46db in start_thread (arg=0x7fffcf789700) at pthread_create.c:463
#7  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7f8ce80 (LWP 15448)):
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x60300212ff50, nfds=4, timeout=249) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12a95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12a96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb537daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4d903a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb4e2170 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x0000555557933431 in main (argc=1, argv=0x7fffffffdae8) at /home/wolthera/krita/src/krita/main.cc:535
(gdb) 
(gdb)
Comment 1 wolthera 2019-08-11 21:50:39 UTC
Another one:
----------------------------
wolthera@Euthenia:~/krita/build$ gdb krita
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from krita...done.
(gdb) run
Starting program: /home/wolthera/krita/inst/bin/krita 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffd3c6a700 (LWP 31202)]
[New Thread 0x7fffcf789700 (LWP 31203)]
[Thread 0x7fffd3c6a700 (LWP 31202) exited]
[Thread 0x7fffcf789700 (LWP 31203) exited]
[New Thread 0x7fffcf789700 (LWP 31206)]
[New Thread 0x7fffd3c6a700 (LWP 31210)]
[Thread 0x7fffcf789700 (LWP 31206) exited]
[Thread 0x7fffd3c6a700 (LWP 31210) exited]
[New Thread 0x7fffd3c6a700 (LWP 31211)]
[New Thread 0x7fffcf789700 (LWP 31212)]
[Thread 0x7fffd3c6a700 (LWP 31211) exited]
[Thread 0x7fffcf789700 (LWP 31212) exited]
[New Thread 0x7fffcf789700 (LWP 31213)]
[New Thread 0x7fffd3c6a700 (LWP 31218)]
[New Thread 0x7fffc4ebc700 (LWP 31219)]
Set style "fusion"
KoColor debug runtime checks are active.
krita.lib.pigment: Illegal XML palette: "/home/wolthera/.local/share/krita/palettes/colorset.xml"
krita.lib.pigment: Error (line 1 , column 159 ): "Unknown XML palette format. Expected SCRIBUSCOLORS, found Colorset"
krita.lib.widgets: Loading resource  "/home/wolthera/.local/share/krita/palettes/colorset.xml" failed. "ko_palettes"
krita.lib.pigment: Illegal XML palette: "/home/wolthera/.local/share/krita/palettes/profiles.xml"
krita.lib.pigment: Error (line 1 , column 10 ): "Unknown XML palette format. Expected SCRIBUSCOLORS, found Profiles"
krita.lib.widgets: Loading resource  "/home/wolthera/.local/share/krita/palettes/profiles.xml" failed. "ko_palettes"
[New Thread 0x7fff94e02700 (LWP 31504)]
QObject::startTimer: Timers cannot have negative intervals
[New Thread 0x7fff92bff700 (LWP 31510)]
[New Thread 0x7fff923fe700 (LWP 31511)]
[Thread 0x7fff92bff700 (LWP 31510) exited]
Comparators already registered for type KoSvgText::AutoValue
Debug stream operator already registered for type KoSvgText::AutoValue
Comparators already registered for type KoSvgText::BackgroundProperty
Debug stream operator already registered for type KoSvgText::BackgroundProperty
Comparators already registered for type KoSvgText::StrokeProperty
Debug stream operator already registered for type KoSvgText::StrokeProperty
/home/wolthera/krita/inst/lib/x86_64-linux-gnu/krita-python-libs/krita added to PYTHONPATH
krita.scripting: "Traceback (most recent call last):"
krita.scripting: "  File \"/home/wolthera/krita/inst/share/krita/pykrita/palette_docker/__init__.py\", line 2, in <module>"
krita.scripting: "    from .palette_docker import *"
krita.scripting: "  File \"/home/wolthera/krita/inst/share/krita/pykrita/palette_docker/palette_docker.py\", line 31, in <module>"
krita.scripting: "    class Palette_Docker(DockWidget):"
krita.scripting: "  File \"/home/wolthera/krita/inst/share/krita/pykrita/palette_docker/palette_docker.py\", line 126, in Palette_Docker"
krita.scripting: "    @pyqtSlot('KisSwatch')"
krita.scripting: "TypeError: C++ type 'KisSwatch' is not supported as a pyqtSlot type argument type"
krita.scripting: "Could not import palette_docker"
krita.scripting: Error loading plugin "palette_docker"
[New Thread 0x7fff92bff700 (LWP 31680)]
[New Thread 0x7fff7d536700 (LWP 31689)]
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
                Could not set current file 0 "Thumbnails/thumbnail.png"
[New Thread 0x7fffa82a8700 (LWP 31706)]
[New Thread 0x7fffa6fe7700 (LWP 31707)]
krita.core: Add node  KisPaintLayer(0x607000134e20, name = "Layer 1")  to  KisGroupLayer(0x606001efe720, name = "root")
[New Thread 0x7fff7c532700 (LWP 31787)]
[New Thread 0x7fff7bd31700 (LWP 31788)]
[New Thread 0x7fff7b530700 (LWP 31789)]
[New Thread 0x7fff7ad2f700 (LWP 31790)]
[New Thread 0x7fff7a52e700 (LWP 31791)]
[New Thread 0x7fff79d2d700 (LWP 31792)]
[New Thread 0x7fff7952c700 (LWP 31793)]
[New Thread 0x7fff78d2b700 (LWP 31794)]
[Thread 0x7fff7a52e700 (LWP 31791) exited]
[Thread 0x7fff7bd31700 (LWP 31788) exited]
[Thread 0x7fff7952c700 (LWP 31793) exited]
[Thread 0x7fff7ad2f700 (LWP 31790) exited]
[Thread 0x7fff78d2b700 (LWP 31794) exited]
[Thread 0x7fff79d2d700 (LWP 31792) exited]
[Thread 0x7fff7c532700 (LWP 31787) exited]
[Thread 0x7fff7b530700 (LWP 31789) exited]
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 916, resource id: 41943965, major code: 40 (TranslateCoords), minor code: 0
QObject::connect: No such signal KisVisualColorSelector::requestCloseContainer() in /home/wolthera/krita/src/libs/ui/kis_popup_palette.cpp:154
[New Thread 0x7fff7b530700 (LWP 31819)]
[Thread 0x7fff7b530700 (LWP 31819) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7b530700 (LWP 31820)]
[New Thread 0x7fff7c532700 (LWP 31821)]
[New Thread 0x7fff78d2b700 (LWP 31822)]
[New Thread 0x7fff79d2d700 (LWP 31824)]
[New Thread 0x7fff7bd31700 (LWP 31825)]
[New Thread 0x7fff7952c700 (LWP 31826)]
[New Thread 0x7fff72393700 (LWP 31827)]
[New Thread 0x7fff71b92700 (LWP 31828)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff71b92700 (LWP 31828) exited]
[Thread 0x7fff78d2b700 (LWP 31822) exited]
[Thread 0x7fff79d2d700 (LWP 31824) exited]
[Thread 0x7fff7b530700 (LWP 31820) exited]
[Thread 0x7fff7c532700 (LWP 31821) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff7952c700 (LWP 31826) exited]
[Thread 0x7fff7bd31700 (LWP 31825) exited]
[Thread 0x7fff72393700 (LWP 31827) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff72393700 (LWP 31836)]
[New Thread 0x7fff7bd31700 (LWP 31837)]
[New Thread 0x7fff7952c700 (LWP 31838)]
[New Thread 0x7fff7c532700 (LWP 31839)]
[New Thread 0x7fff7b530700 (LWP 31840)]
[New Thread 0x7fff7a52c700 (LWP 31841)]
[New Thread 0x7fff78d2b700 (LWP 31842)]
[New Thread 0x7fff71b92700 (LWP 31843)]
[Thread 0x7fff78d2b700 (LWP 31842) exited]
[Thread 0x7fff7c532700 (LWP 31839) exited]
[Thread 0x7fff7952c700 (LWP 31838) exited]
[Thread 0x7fff71b92700 (LWP 31843) exited]
[Thread 0x7fff7bd31700 (LWP 31837) exited]
[Thread 0x7fff72393700 (LWP 31836) exited]
[Thread 0x7fff7a52c700 (LWP 31841) exited]
[Thread 0x7fff7b530700 (LWP 31840) exited]
[New Thread 0x7fff7b530700 (LWP 31864)]
[New Thread 0x7fff7a52c700 (LWP 31865)]
[New Thread 0x7fff72393700 (LWP 31866)]
[New Thread 0x7fff7bd31700 (LWP 31867)]
[New Thread 0x7fff7c532700 (LWP 31868)]
[New Thread 0x7fff79d2b700 (LWP 31869)]
[New Thread 0x7fff7952a700 (LWP 31870)]
[New Thread 0x7fff71b92700 (LWP 31871)]
[Thread 0x7fffa6fe7700 (LWP 31707) exited]
[Thread 0x7fff7bd31700 (LWP 31867) exited]
[Thread 0x7fff7c532700 (LWP 31868) exited]
[Thread 0x7fff7a52c700 (LWP 31865) exited]
[Thread 0x7fff7952a700 (LWP 31870) exited]
[Thread 0x7fff79d2b700 (LWP 31869) exited]
[Thread 0x7fff71b92700 (LWP 31871) exited]
[Thread 0x7fff72393700 (LWP 31866) exited]
[Thread 0x7fff7b530700 (LWP 31864) exited]
[New Thread 0x7fff7b530700 (LWP 2975)]
[New Thread 0x7fff72393700 (LWP 3117)]
[New Thread 0x7fff71b92700 (LWP 3118)]
[New Thread 0x7fff79d2b700 (LWP 3119)]
[New Thread 0x7fffa6fe7700 (LWP 3120)]
[New Thread 0x7fff9e071700 (LWP 3121)]
[New Thread 0x7fff9d870700 (LWP 3122)]
[New Thread 0x7fff9d06f700 (LWP 3123)]
[New Thread 0x7fff7bd32700 (LWP 3208)]
[New Thread 0x7fff7a52c700 (LWP 3212)]
[New Thread 0x7fff7952a700 (LWP 3213)]
[New Thread 0x7fff6e2c7700 (LWP 3214)]
[New Thread 0x7fff6dac6700 (LWP 3215)]
[New Thread 0x7fff6d2c5700 (LWP 3216)]
[New Thread 0x7fff6cac4700 (LWP 3217)]
[New Thread 0x7fff6c2c3700 (LWP 3218)]
[Thread 0x7fff7bd32700 (LWP 3208) exited]
[Thread 0x7fff6d2c5700 (LWP 3216) exited]
[Thread 0x7fff6cac4700 (LWP 3217) exited]
[Thread 0x7fff6c2c3700 (LWP 3218) exited]
[Thread 0x7fff6dac6700 (LWP 3215) exited]
[Thread 0x7fff6e2c7700 (LWP 3214) exited]
[Thread 0x7fff7952a700 (LWP 3213) exited]
[Thread 0x7fff7a52c700 (LWP 3212) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff71b92700 (LWP 3118) exited]
[Thread 0x7fff9d06f700 (LWP 3123) exited]
[Thread 0x7fffa6fe7700 (LWP 3120) exited]
[Thread 0x7fff72393700 (LWP 3117) exited]
[Thread 0x7fff7b530700 (LWP 2975) exited]
[Thread 0x7fff9d870700 (LWP 3122) exited]
[Thread 0x7fff9e071700 (LWP 3121) exited]
[Thread 0x7fff79d2b700 (LWP 3119) exited]
[New Thread 0x7fff79d2b700 (LWP 3341)]
[Thread 0x7fff79d2b700 (LWP 3341) exited]
[New Thread 0x7fff79d2b700 (LWP 3351)]
[New Thread 0x7fff9e071700 (LWP 3352)]
[New Thread 0x7fff9d870700 (LWP 3353)]
[New Thread 0x7fff7b530700 (LWP 3354)]
[New Thread 0x7fff9d06f700 (LWP 3355)]
[New Thread 0x7fff7bd32700 (LWP 3356)]
[New Thread 0x7fff7a52c700 (LWP 3357)]
[New Thread 0x7fff72393700 (LWP 3358)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff9d06f700 (LWP 3355) exited]
[Thread 0x7fff7bd32700 (LWP 3356) exited]
[Thread 0x7fff79d2b700 (LWP 3351) exited]
[Thread 0x7fff7a52c700 (LWP 3357) exited]
[Thread 0x7fff9d870700 (LWP 3353) exited]
[Thread 0x7fff72393700 (LWP 3358) exited]
[Thread 0x7fff9e071700 (LWP 3352) exited]
[Thread 0x7fff7b530700 (LWP 3354) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7b530700 (LWP 3560)]
[New Thread 0x7fff9e071700 (LWP 3561)]
[New Thread 0x7fff72393700 (LWP 3562)]
[New Thread 0x7fff9d870700 (LWP 3563)]
[New Thread 0x7fff9d06f700 (LWP 3564)]
[New Thread 0x7fff7bd32700 (LWP 3565)]
[New Thread 0x7fff7ad2f700 (LWP 3566)]
[New Thread 0x7fff7a52e700 (LWP 3568)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff9d06f700 (LWP 3564) exited]
[Thread 0x7fff7bd32700 (LWP 3565) exited]
[Thread 0x7fff7b530700 (LWP 3560) exited]
[Thread 0x7fff72393700 (LWP 3562) exited]
[Thread 0x7fff7a52e700 (LWP 3568) exited]
[Thread 0x7fff9e071700 (LWP 3561) exited]
[Thread 0x7fff7ad2f700 (LWP 3566) exited]
[Thread 0x7fff9d870700 (LWP 3563) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff9d870700 (LWP 3645)]
[New Thread 0x7fff7ad2f700 (LWP 3646)]
[New Thread 0x7fff9e071700 (LWP 3647)]
[New Thread 0x7fff7a52e700 (LWP 3648)]
[New Thread 0x7fff9d06f700 (LWP 3649)]
[New Thread 0x7fff7bd32700 (LWP 3650)]
[New Thread 0x7fff7b531700 (LWP 3655)]
[Thread 0x7fff7bd32700 (LWP 3650) exited]
[Thread 0x7fff7b531700 (LWP 3655) exited]
[Thread 0x7fff9e071700 (LWP 3647) exited]
[Thread 0x7fff7ad2f700 (LWP 3646) exited]
[Thread 0x7fff9d06f700 (LWP 3649) exited]
[Thread 0x7fff7a52e700 (LWP 3648) exited]
[Thread 0x7fff9d870700 (LWP 3645) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff9d870700 (LWP 3668)]
[New Thread 0x7fff7a52e700 (LWP 3670)]
[New Thread 0x7fff9d06f700 (LWP 3672)]
[New Thread 0x7fff7b531700 (LWP 3675)]
[New Thread 0x7fff9e071700 (LWP 3676)]
[New Thread 0x7fff7bd32700 (LWP 3681)]
[New Thread 0x7fff7ad30700 (LWP 3682)]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff79d2d700 (LWP 3687)]
[Thread 0x7fff9d870700 (LWP 3668) exited]
[Thread 0x7fff7b531700 (LWP 3675) exited]
[Thread 0x7fff9e071700 (LWP 3676) exited]
[Thread 0x7fff79d2d700 (LWP 3687) exited]
[Thread 0x7fff9d06f700 (LWP 3672) exited]
[Thread 0x7fff7bd32700 (LWP 3681) exited]
[Thread 0x7fff7a52e700 (LWP 3670) exited]
[Thread 0x7fff7ad30700 (LWP 3682) exited]
[New Thread 0x7fff7ad30700 (LWP 3724)]
[New Thread 0x7fff7bd32700 (LWP 3725)]
[New Thread 0x7fff79d2d700 (LWP 3726)]
[New Thread 0x7fff9d06f700 (LWP 3727)]
[New Thread 0x7fff9e071700 (LWP 3728)]
[New Thread 0x7fff9d870700 (LWP 3729)]
[New Thread 0x7fff7b531700 (LWP 3730)]
[New Thread 0x7fff7a52f700 (LWP 3731)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff9d06f700 (LWP 3727) exited]
[Thread 0x7fff7b531700 (LWP 3730) exited]
[Thread 0x7fff79d2d700 (LWP 3726) exited]
[Thread 0x7fff9e071700 (LWP 3728) exited]
[Thread 0x7fff7a52f700 (LWP 3731) exited]
[Thread 0x7fff9d870700 (LWP 3729) exited]
[Thread 0x7fff7ad30700 (LWP 3724) exited]
[Thread 0x7fff7bd32700 (LWP 3725) exited]
[New Thread 0x7fff7bd32700 (LWP 3860)]
[New Thread 0x7fff7ad30700 (LWP 3861)]
[New Thread 0x7fff9d870700 (LWP 3862)]
[New Thread 0x7fff7a52f700 (LWP 3863)]
[New Thread 0x7fff9e071700 (LWP 3864)]
[New Thread 0x7fff9d06f700 (LWP 3865)]
[New Thread 0x7fff7b531700 (LWP 3866)]
[New Thread 0x7fff79d2e700 (LWP 3867)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff7a52f700 (LWP 3863) exited]
[Thread 0x7fff9e071700 (LWP 3864) exited]
[Thread 0x7fff79d2e700 (LWP 3867) exited]
[Thread 0x7fff9d870700 (LWP 3862) exited]
[Thread 0x7fff7bd32700 (LWP 3860) exited]
[Thread 0x7fff7b531700 (LWP 3866) exited]
[Thread 0x7fff7ad30700 (LWP 3861) exited]
[Thread 0x7fff9d06f700 (LWP 3865) exited]
[New Thread 0x7fff9d06f700 (LWP 3981)]
[New Thread 0x7fff7ad30700 (LWP 3982)]
[New Thread 0x7fff7b531700 (LWP 3983)]
[New Thread 0x7fff7bd32700 (LWP 3984)]
[New Thread 0x7fff9e071700 (LWP 3985)]
[New Thread 0x7fff9d870700 (LWP 3986)]
[New Thread 0x7fff7a52f700 (LWP 3987)]
[New Thread 0x7fff79d2e700 (LWP 3988)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff7ad30700 (LWP 3982) exited]
[Thread 0x7fff7a52f700 (LWP 3987) exited]
[Thread 0x7fff9e071700 (LWP 3985) exited]
[Thread 0x7fff9d870700 (LWP 3986) exited]
[Thread 0x7fff9d06f700 (LWP 3981) exited]
[Thread 0x7fff79d2e700 (LWP 3988) exited]
[Thread 0x7fff7bd32700 (LWP 3984) exited]
[Thread 0x7fff7b531700 (LWP 3983) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7b531700 (LWP 4554)]
[New Thread 0x7fff7bd32700 (LWP 4555)]
[New Thread 0x7fff79d2e700 (LWP 4556)]
[New Thread 0x7fff9d06f700 (LWP 4558)]
[New Thread 0x7fff9e071700 (LWP 4559)]
[New Thread 0x7fff9d870700 (LWP 4563)]
[New Thread 0x7fff7ad30700 (LWP 4564)]
[New Thread 0x7fff7a52f700 (LWP 4565)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff7bd32700 (LWP 4555) exited]
[Thread 0x7fff9d06f700 (LWP 4558) exited]
[Thread 0x7fff7b531700 (LWP 4554) exited]
[Thread 0x7fff7a52f700 (LWP 4565) exited]
[Thread 0x7fff79d2e700 (LWP 4556) exited]
[Thread 0x7fff9d870700 (LWP 4563) exited]
[Thread 0x7fff9e071700 (LWP 4559) exited]
[Thread 0x7fff7ad30700 (LWP 4564) exited]
[New Thread 0x7fff7ad30700 (LWP 4633)]
[New Thread 0x7fff9e071700 (LWP 4634)]
[New Thread 0x7fff9d870700 (LWP 4635)]
[New Thread 0x7fff79d2e700 (LWP 4636)]
[New Thread 0x7fff9d06f700 (LWP 4637)]
[New Thread 0x7fff7bd32700 (LWP 4638)]
[New Thread 0x7fff7b531700 (LWP 4639)]
[New Thread 0x7fff7a52f700 (LWP 4640)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff7bd32700 (LWP 4638) exited]
[Thread 0x7fff7ad30700 (LWP 4633) exited]
[Thread 0x7fff9d870700 (LWP 4635) exited]
[Thread 0x7fff7b531700 (LWP 4639) exited]
[Thread 0x7fff9d06f700 (LWP 4637) exited]
[Thread 0x7fff79d2e700 (LWP 4636) exited]
[Thread 0x7fff9e071700 (LWP 4634) exited]
[Thread 0x7fff7a52f700 (LWP 4640) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7a52f700 (LWP 4780)]
[New Thread 0x7fff79d2e700 (LWP 4781)]
[New Thread 0x7fff9e071700 (LWP 4782)]
[New Thread 0x7fff9d06f700 (LWP 4783)]
[New Thread 0x7fff9d870700 (LWP 4788)]
[New Thread 0x7fff7bd32700 (LWP 4789)]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7b531700 (LWP 4794)]
[New Thread 0x7fff7ad30700 (LWP 4795)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff9e071700 (LWP 4782) exited]
[Thread 0x7fff7a52f700 (LWP 4780) exited]
[Thread 0x7fff79d2e700 (LWP 4781) exited]
[Thread 0x7fff9d06f700 (LWP 4783) exited]
[Thread 0x7fff9d870700 (LWP 4788) exited]
[Thread 0x7fff7bd32700 (LWP 4789) exited]
[Thread 0x7fff7b531700 (LWP 4794) exited]
[Thread 0x7fff7ad30700 (LWP 4795) exited]
[New Thread 0x7fff7ad30700 (LWP 4952)]
[New Thread 0x7fff7b531700 (LWP 4953)]
[New Thread 0x7fff7bd32700 (LWP 4954)]
[New Thread 0x7fff9d870700 (LWP 4955)]
[New Thread 0x7fff9e071700 (LWP 4956)]
[New Thread 0x7fff9d06f700 (LWP 4957)]
[New Thread 0x7fff7a52f700 (LWP 4958)]
[New Thread 0x7fff79d2e700 (LWP 4959)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff79d2e700 (LWP 4959) exited]
[Thread 0x7fff7bd32700 (LWP 4954) exited]
[Thread 0x7fff7ad30700 (LWP 4952) exited]
[Thread 0x7fff7b531700 (LWP 4953) exited]
[Thread 0x7fff7a52f700 (LWP 4958) exited]
[Thread 0x7fff9d870700 (LWP 4955) exited]
[Thread 0x7fff9e071700 (LWP 4956) exited]
[Thread 0x7fff9d06f700 (LWP 4957) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff9d06f700 (LWP 5045)]
[New Thread 0x7fff9e071700 (LWP 5046)]
[New Thread 0x7fff9d870700 (LWP 5047)]
[New Thread 0x7fff7a52f700 (LWP 5048)]
[New Thread 0x7fff7bd32700 (LWP 5049)]
[New Thread 0x7fff7b531700 (LWP 5050)]
[New Thread 0x7fff7ad30700 (LWP 5051)]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff79d2e700 (LWP 5056)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff7b531700 (LWP 5050) exited]
[Thread 0x7fff9d870700 (LWP 5047) exited]
[Thread 0x7fff7bd32700 (LWP 5049) exited]
[Thread 0x7fff9d06f700 (LWP 5045) exited]
[Thread 0x7fff7a52f700 (LWP 5048) exited]
[Thread 0x7fff7ad30700 (LWP 5051) exited]
[Thread 0x7fff79d2e700 (LWP 5056) exited]
[Thread 0x7fff9e071700 (LWP 5046) exited]
[New Thread 0x7fff79d2e700 (LWP 5117)]
[New Thread 0x7fff9e071700 (LWP 5118)]
[New Thread 0x7fff7ad30700 (LWP 5119)]
[New Thread 0x7fff7a52f700 (LWP 5120)]
[New Thread 0x7fff9d870700 (LWP 5121)]
[New Thread 0x7fff9d06f700 (LWP 5122)]
[New Thread 0x7fff7bd32700 (LWP 5123)]
[New Thread 0x7fff7b531700 (LWP 5124)]
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff9d06f700 (LWP 5122) exited]
[Thread 0x7fff7ad30700 (LWP 5119) exited]
[Thread 0x7fff7b531700 (LWP 5124) exited]
[Thread 0x7fff9e071700 (LWP 5118) exited]
[Thread 0x7fff7bd32700 (LWP 5123) exited]
[Thread 0x7fff79d2e700 (LWP 5117) exited]
[Thread 0x7fff7a52f700 (LWP 5120) exited]
[Thread 0x7fff9d870700 (LWP 5121) exited]
[New Thread 0x7fff9d870700 (LWP 5178)]
[New Thread 0x7fff7a52f700 (LWP 5179)]
[New Thread 0x7fff79d2e700 (LWP 5180)]
[New Thread 0x7fff7bd32700 (LWP 5181)]
[New Thread 0x7fff9e071700 (LWP 5182)]
[New Thread 0x7fff9d06f700 (LWP 5184)]
[New Thread 0x7fff7b531700 (LWP 5185)]
[New Thread 0x7fff7ad30700 (LWP 5187)]
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff7ad30700 (LWP 5187) exited]
[Thread 0x7fff9d06f700 (LWP 5184) exited]
[Thread 0x7fff9e071700 (LWP 5182) exited]
[Thread 0x7fff7b531700 (LWP 5185) exited]
[Thread 0x7fff9d870700 (LWP 5178) exited]
[Thread 0x7fff79d2e700 (LWP 5180) exited]
[Thread 0x7fff7bd32700 (LWP 5181) exited]
[Thread 0x7fff7a52f700 (LWP 5179) exited]
[New Thread 0x7fff7bd32700 (LWP 5227)]
[New Thread 0x7fff7a52f700 (LWP 5228)]
[New Thread 0x7fff79d2e700 (LWP 5229)]
[New Thread 0x7fff9d870700 (LWP 5230)]
[New Thread 0x7fff9e071700 (LWP 5231)]
[New Thread 0x7fff9d06f700 (LWP 5232)]
[New Thread 0x7fff7b531700 (LWP 5233)]
[New Thread 0x7fff7ad30700 (LWP 5234)]
[Thread 0x7fff9d870700 (LWP 5230) exited]
[Thread 0x7fff9e071700 (LWP 5231) exited]
[Thread 0x7fff7ad30700 (LWP 5234) exited]
[Thread 0x7fff7b531700 (LWP 5233) exited]
[Thread 0x7fff9d06f700 (LWP 5232) exited]
[Thread 0x7fff79d2e700 (LWP 5229) exited]
[Thread 0x7fff7a52f700 (LWP 5228) exited]
[Thread 0x7fff7bd32700 (LWP 5227) exited]
[New Thread 0x7fff7bd32700 (LWP 5275)]
[New Thread 0x7fff7a52f700 (LWP 5276)]
[New Thread 0x7fff9d06f700 (LWP 5277)]
[New Thread 0x7fff79d2e700 (LWP 5278)]
[New Thread 0x7fff9e071700 (LWP 5279)]
[New Thread 0x7fff9d870700 (LWP 5280)]
[New Thread 0x7fff7b531700 (LWP 5281)]
[New Thread 0x7fff7ad30700 (LWP 5282)]
[Thread 0x7fff7ad30700 (LWP 5282) exited]
[Thread 0x7fff7b531700 (LWP 5281) exited]
[Thread 0x7fff9d870700 (LWP 5280) exited]
[Thread 0x7fff7bd32700 (LWP 5275) exited]
[Thread 0x7fff9e071700 (LWP 5279) exited]
[Thread 0x7fff7a52f700 (LWP 5276) exited]
[Thread 0x7fff79d2e700 (LWP 5278) exited]
[Thread 0x7fff9d06f700 (LWP 5277) exited]
[New Thread 0x7fff9d06f700 (LWP 5307)]
krita.core: Add node  KisSelectionMask(0x6070012067c0, name = "selection")  to  QObject(0x0)
[New Thread 0x7fff79d2e700 (LWP 5308)]
[New Thread 0x7fff7a52f700 (LWP 5309)]
[New Thread 0x7fff9e071700 (LWP 5310)]
[New Thread 0x7fff9d870700 (LWP 5311)]
[New Thread 0x7fff7bd32700 (LWP 5312)]
[New Thread 0x7fff7b531700 (LWP 5313)]
[New Thread 0x7fff7ad30700 (LWP 5314)]
[Thread 0x7fff7b531700 (LWP 5313) exited]
[Thread 0x7fff7ad30700 (LWP 5314) exited]
[Thread 0x7fff79d2e700 (LWP 5308) exited]
[Thread 0x7fff7a52f700 (LWP 5309) exited]
[Thread 0x7fff9d870700 (LWP 5311) exited]
[Thread 0x7fff9d06f700 (LWP 5307) exited]
[Thread 0x7fff7bd32700 (LWP 5312) exited]
[Thread 0x7fff9e071700 (LWP 5310) exited]
[New Thread 0x7fff9e071700 (LWP 5343)]
[Thread 0x7fff9e071700 (LWP 5343) exited]
[New Thread 0x7fff9e071700 (LWP 5344)]
[New Thread 0x7fff7bd32700 (LWP 5345)]
[New Thread 0x7fff9d06f700 (LWP 5346)]
[New Thread 0x7fff9d870700 (LWP 5347)]
[New Thread 0x7fff7b531700 (LWP 5348)]
[New Thread 0x7fff7ad30700 (LWP 5349)]
[New Thread 0x7fff7a52f700 (LWP 5350)]
[New Thread 0x7fff79d2e700 (LWP 5351)]
[Thread 0x7fff9d06f700 (LWP 5346) exited]
[Thread 0x7fff7b531700 (LWP 5348) exited]
[Thread 0x7fff79d2e700 (LWP 5351) exited]
[Thread 0x7fff9e071700 (LWP 5344) exited]
[Thread 0x7fff7bd32700 (LWP 5345) exited]
[Thread 0x7fff7ad30700 (LWP 5349) exited]
[Thread 0x7fff7a52f700 (LWP 5350) exited]
[Thread 0x7fff9d870700 (LWP 5347) exited]
[New Thread 0x7fff9d870700 (LWP 5567)]
[Thread 0x7fff9d870700 (LWP 5567) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff9d870700 (LWP 5578)]
[Thread 0x7fff9d870700 (LWP 5578) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff9d870700 (LWP 5604)]
[New Thread 0x7fff7a52f700 (LWP 5607)]
[New Thread 0x7fff7ad30700 (LWP 5612)]
[New Thread 0x7fff7bd32700 (LWP 5613)]
[New Thread 0x7fff9e071700 (LWP 5614)]
[New Thread 0x7fff9d06f700 (LWP 5615)]
[New Thread 0x7fff7b531700 (LWP 5616)]
[New Thread 0x7fff79d2e700 (LWP 5617)]
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff7bd32700 (LWP 5613) exited]
[Thread 0x7fff79d2e700 (LWP 5617) exited]
[Thread 0x7fff9e071700 (LWP 5614) exited]
[Thread 0x7fff7a52f700 (LWP 5607) exited]
[Thread 0x7fff9d06f700 (LWP 5615) exited]
[Thread 0x7fff7b531700 (LWP 5616) exited]
[Thread 0x7fff9d870700 (LWP 5604) exited]
[Thread 0x7fff7ad30700 (LWP 5612) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7ad30700 (LWP 5646)]
[New Thread 0x7fff9d870700 (LWP 5647)]
[New Thread 0x7fff7b531700 (LWP 5649)]
[New Thread 0x7fff9d06f700 (LWP 5650)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff9e071700 (LWP 5678)]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7bd32700 (LWP 5687)]
[New Thread 0x7fff7a52f700 (LWP 5688)]
[Thread 0x7fff7a52f700 (LWP 5688) exited]
[Thread 0x7fff7ad30700 (LWP 5646) exited]
[Thread 0x7fff7b531700 (LWP 5649) exited]
[Thread 0x7fff9e071700 (LWP 5678) exited]
[Thread 0x7fff9d870700 (LWP 5647) exited]
[Thread 0x7fff9d06f700 (LWP 5650) exited]
[Thread 0x7fff7bd32700 (LWP 5687) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7bd32700 (LWP 5709)]
[New Thread 0x7fff9d06f700 (LWP 5710)]
[New Thread 0x7fff9d870700 (LWP 5711)]
[New Thread 0x7fff9e071700 (LWP 5712)]
[New Thread 0x7fff7b531700 (LWP 5713)]
[New Thread 0x7fff7ad30700 (LWP 5714)]
[New Thread 0x7fff7a52f700 (LWP 5715)]
[Thread 0x7fff7ad30700 (LWP 5714) exited]
[Thread 0x7fff7bd32700 (LWP 5709) exited]
[Thread 0x7fff9e071700 (LWP 5712) exited]
[Thread 0x7fff7b531700 (LWP 5713) exited]
[Thread 0x7fff7a52f700 (LWP 5715) exited]
[Thread 0x7fff9d06f700 (LWP 5710) exited]
[Thread 0x7fff9d870700 (LWP 5711) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff9d870700 (LWP 5737)]
[New Thread 0x7fff9d06f700 (LWP 5738)]
[New Thread 0x7fff7a52f700 (LWP 5739)]
[New Thread 0x7fff7b531700 (LWP 5740)]
[New Thread 0x7fff9e071700 (LWP 5745)]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7bd32700 (LWP 5762)]
[Thread 0x7fff9d870700 (LWP 5737) exited]
[Thread 0x7fff7b531700 (LWP 5740) exited]
[Thread 0x7fff7a52f700 (LWP 5739) exited]
[Thread 0x7fff7bd32700 (LWP 5762) exited]
[Thread 0x7fff9d06f700 (LWP 5738) exited]
[Thread 0x7fff9e071700 (LWP 5745) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff9e071700 (LWP 5783)]
[New Thread 0x7fff9d06f700 (LWP 5784)]
[New Thread 0x7fff7bd32700 (LWP 5785)]
[New Thread 0x7fff7a52f700 (LWP 5786)]
[Thread 0x7fff7a52f700 (LWP 5786) exited]
[Thread 0x7fff7bd32700 (LWP 5785) exited]
[Thread 0x7fff9d06f700 (LWP 5784) exited]
[Thread 0x7fff9e071700 (LWP 5783) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff9e071700 (LWP 5815)]
[New Thread 0x7fff7bd32700 (LWP 5816)]
[New Thread 0x7fff9d06f700 (LWP 5821)]
[New Thread 0x7fff7a52f700 (LWP 5822)]
[Thread 0x7fff7bd32700 (LWP 5816) exited]
[Thread 0x7fff9d06f700 (LWP 5821) exited]
[Thread 0x7fff9e071700 (LWP 5815) exited]
[Thread 0x7fff7a52f700 (LWP 5822) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7a52f700 (LWP 5839)]
[New Thread 0x7fff9e071700 (LWP 5840)]
[New Thread 0x7fff9d06f700 (LWP 5841)]
[Thread 0x7fff9d06f700 (LWP 5841) exited]
[Thread 0x7fff9e071700 (LWP 5840) exited]
[Thread 0x7fff7a52f700 (LWP 5839) exited]
krita.core: Node:  0x606001543940
krita.core: Node:  0x607001241d90
[New Thread 0x7fff7a52f700 (LWP 5871)]
[New Thread 0x7fff9e071700 (LWP 5876)]
[New Thread 0x7fff9d06f700 (LWP 5877)]
[New Thread 0x7fff7bd32700 (LWP 5878)]
[New Thread 0x7fff9d870700 (LWP 5879)]
[New Thread 0x7fff7b531700 (LWP 5880)]
[New Thread 0x7fff7ad30700 (LWP 5881)]
[New Thread 0x7fff79d2e700 (LWP 5882)]
[New Thread 0x7fff6e2c7700 (LWP 5883)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff9e071700 (LWP 5876) exited]
[Thread 0x7fff7ad30700 (LWP 5881) exited]
[Thread 0x7fff7b531700 (LWP 5880) exited]
[Thread 0x7fff9d870700 (LWP 5879) exited]
[Thread 0x7fff79d2e700 (LWP 5882) exited]
[Thread 0x7fff9d06f700 (LWP 5877) exited]
[Thread 0x7fff6e2c7700 (LWP 5883) exited]
[Thread 0x7fff7bd32700 (LWP 5878) exited]
krita.core: deleting kisimage "Unnamed"
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7bd32700 (LWP 5981)]
[New Thread 0x7fff6e2c7700 (LWP 5986)]
[New Thread 0x7fff9d06f700 (LWP 5987)]
[New Thread 0x7fff79d2e700 (LWP 5988)]
[New Thread 0x7fff9e071700 (LWP 5989)]
[New Thread 0x7fff9d870700 (LWP 5994)]
[Thread 0x7fff7bd32700 (LWP 5981) exited]
[Thread 0x7fff9d06f700 (LWP 5987) exited]
[Thread 0x7fff9d870700 (LWP 5994) exited]
[Thread 0x7fff9e071700 (LWP 5989) exited]
[Thread 0x7fff79d2e700 (LWP 5988) exited]
[Thread 0x7fff6e2c7700 (LWP 5986) exited]
[New Thread 0x7fff6e2c7700 (LWP 6012)]
[New Thread 0x7fff9e071700 (LWP 6013)]
[New Thread 0x7fff79d2e700 (LWP 6014)]
[New Thread 0x7fff9d870700 (LWP 6015)]
[New Thread 0x7fff9d06f700 (LWP 6016)]
[New Thread 0x7fff7bd32700 (LWP 6017)]
[New Thread 0x7fff7b531700 (LWP 6018)]
[New Thread 0x7fff7ad30700 (LWP 6019)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff9d870700 (LWP 6015) exited]
[Thread 0x7fff7ad30700 (LWP 6019) exited]
[Thread 0x7fff7bd32700 (LWP 6017) exited]
[Thread 0x7fff6e2c7700 (LWP 6012) exited]
[Thread 0x7fff9d06f700 (LWP 6016) exited]
[Thread 0x7fff79d2e700 (LWP 6014) exited]
[Thread 0x7fff9e071700 (LWP 6013) exited]
[Thread 0x7fff7b531700 (LWP 6018) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7b531700 (LWP 6082)]
[New Thread 0x7fff9e071700 (LWP 6083)]
[New Thread 0x7fff79d2e700 (LWP 6084)]
[New Thread 0x7fff9d06f700 (LWP 6085)]
[New Thread 0x7fff9d870700 (LWP 6086)]
[New Thread 0x7fff7bd32700 (LWP 6087)]
[New Thread 0x7fff7ad30700 (LWP 6088)]
[Thread 0x7fff9d870700 (LWP 6086) exited]
[Thread 0x7fff7ad30700 (LWP 6088) exited]
[Thread 0x7fff9d06f700 (LWP 6085) exited]
[Thread 0x7fff79d2e700 (LWP 6084) exited]
[Thread 0x7fff9e071700 (LWP 6083) exited]
[Thread 0x7fff7b531700 (LWP 6082) exited]
[Thread 0x7fff7bd32700 (LWP 6087) exited]
[New Thread 0x7fff7bd32700 (LWP 6121)]
[New Thread 0x7fff7b531700 (LWP 6122)]
[New Thread 0x7fff9e071700 (LWP 6123)]
[New Thread 0x7fff7ad30700 (LWP 6124)]
[New Thread 0x7fff9d870700 (LWP 6125)]
[New Thread 0x7fff9d06f700 (LWP 6126)]
[New Thread 0x7fff79d2e700 (LWP 6127)]
[New Thread 0x7fff7952d700 (LWP 6128)]
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff9d870700 (LWP 6125) exited]
[Thread 0x7fff79d2e700 (LWP 6127) exited]
[Thread 0x7fff7b531700 (LWP 6122) exited]
[Thread 0x7fff7bd32700 (LWP 6121) exited]
[Thread 0x7fff9d06f700 (LWP 6126) exited]
[Thread 0x7fff9e071700 (LWP 6123) exited]
[Thread 0x7fff7ad30700 (LWP 6124) exited]
[Thread 0x7fff7952d700 (LWP 6128) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7952d700 (LWP 6197)]
[New Thread 0x7fff7ad30700 (LWP 6206)]
[New Thread 0x7fff9d06f700 (LWP 6210)]
[New Thread 0x7fff9e071700 (LWP 6211)]
[New Thread 0x7fff9d870700 (LWP 6214)]
[New Thread 0x7fff7bd32700 (LWP 6215)]
[New Thread 0x7fff7b531700 (LWP 6216)]
[New Thread 0x7fff79d2e700 (LWP 6217)]
[Thread 0x7fff7952d700 (LWP 6197) exited]
[Thread 0x7fff79d2e700 (LWP 6217) exited]
[Thread 0x7fff7bd32700 (LWP 6215) exited]
[Thread 0x7fff9d870700 (LWP 6214) exited]
[Thread 0x7fff7ad30700 (LWP 6206) exited]
[Thread 0x7fff9d06f700 (LWP 6210) exited]
[Thread 0x7fff9e071700 (LWP 6211) exited]
[Thread 0x7fff7b531700 (LWP 6216) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7b531700 (LWP 6236)]
[New Thread 0x7fff9e071700 (LWP 6237)]
[New Thread 0x7fff9d06f700 (LWP 6238)]
[New Thread 0x7fff9d870700 (LWP 6239)]
[New Thread 0x7fff7bd32700 (LWP 6240)]
[New Thread 0x7fff7ad30700 (LWP 6241)]
[New Thread 0x7fff79d2e700 (LWP 6242)]
[New Thread 0x7fff7952d700 (LWP 6243)]
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff7b531700 (LWP 6236) exited]
[Thread 0x7fff9d870700 (LWP 6239) exited]
[Thread 0x7fff7ad30700 (LWP 6241) exited]
[Thread 0x7fff7952d700 (LWP 6243) exited]
[Thread 0x7fff79d2e700 (LWP 6242) exited]
[Thread 0x7fff7bd32700 (LWP 6240) exited]
[Thread 0x7fff9e071700 (LWP 6237) exited]
[Thread 0x7fff9d06f700 (LWP 6238) exited]
[New Thread 0x7fff9d06f700 (LWP 6293)]
[New Thread 0x7fff9e071700 (LWP 6294)]
[New Thread 0x7fff7bd32700 (LWP 6295)]
[New Thread 0x7fff7952d700 (LWP 6296)]
[New Thread 0x7fff9d870700 (LWP 6297)]
[New Thread 0x7fff7b531700 (LWP 6298)]
[New Thread 0x7fff7ad30700 (LWP 6300)]
[New Thread 0x7fff79d2e700 (LWP 6301)]
[Thread 0x7fff7bd32700 (LWP 6295) exited]
[Thread 0x7fff9d870700 (LWP 6297) exited]
[Thread 0x7fff7ad30700 (LWP 6300) exited]
[Thread 0x7fff7952d700 (LWP 6296) exited]
[Thread 0x7fff9e071700 (LWP 6294) exited]
[Thread 0x7fff9d06f700 (LWP 6293) exited]
[Thread 0x7fff7b531700 (LWP 6298) exited]
[Thread 0x7fff79d2e700 (LWP 6301) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff79d2e700 (LWP 6405)]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7b531700 (LWP 6421)]
[New Thread 0x7fff9d06f700 (LWP 6422)]
[New Thread 0x7fff7ad30700 (LWP 6423)]
[New Thread 0x7fff9e071700 (LWP 6424)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff79d2e700 (LWP 6405) exited]
[Thread 0x7fff9e071700 (LWP 6424) exited]
[Thread 0x7fff9d06f700 (LWP 6422) exited]
[Thread 0x7fff7b531700 (LWP 6421) exited]
[Thread 0x7fff7ad30700 (LWP 6423) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7ad30700 (LWP 6466)]
[New Thread 0x7fff7b531700 (LWP 6470)]
[New Thread 0x7fff9d06f700 (LWP 6471)]
[New Thread 0x7fff9e071700 (LWP 6472)]
[New Thread 0x7fff9d870700 (LWP 6473)]
[New Thread 0x7fff7bd32700 (LWP 6474)]
[New Thread 0x7fff79d2e700 (LWP 6479)]
[Thread 0x7fff9d870700 (LWP 6473) exited]
[Thread 0x7fff79d2e700 (LWP 6479) exited]
[Thread 0x7fff9e071700 (LWP 6472) exited]
[Thread 0x7fff7ad30700 (LWP 6466) exited]
[Thread 0x7fff9d06f700 (LWP 6471) exited]
[Thread 0x7fff7bd32700 (LWP 6474) exited]
[Thread 0x7fff7b531700 (LWP 6470) exited]
[New Thread 0x7fff7b531700 (LWP 6537)]
[New Thread 0x7fff7bd32700 (LWP 6538)]
[New Thread 0x7fff9d06f700 (LWP 6539)]
[New Thread 0x7fff7ad30700 (LWP 6540)]
[New Thread 0x7fff9e071700 (LWP 6541)]
[New Thread 0x7fff9d870700 (LWP 6542)]
[New Thread 0x7fff79d2e700 (LWP 6543)]
[New Thread 0x7fff7952d700 (LWP 6544)]
[Thread 0x7fff7a52f700 (LWP 5871) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff7ad30700 (LWP 6540) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff9e071700 (LWP 6541) exited]
[Thread 0x7fff9d06f700 (LWP 6539) exited]
[Thread 0x7fff7b531700 (LWP 6537) exited]
[Thread 0x7fff7bd32700 (LWP 6538) exited]
[Thread 0x7fff7952d700 (LWP 6544) exited]
^C           
Thread 1 "krita" received signal SIGINT, Interrupt.
0x00007fffea9dcbf9 in __GI___poll (fds=0x603001eb63e0, nfds=4, timeout=249) at ../sysdeps/unix/sysv/linux/poll.c:29
29      ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) thread apply all backtrace

Thread 333 (Thread 0x7fff79d2e700 (LWP 6543)):
#0  0x00007fffea2aaed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fff79d2dba0, expected=0, futex_word=0x608000991ff0)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff79d2dc60, mutex=0x608000991fa0, cond=0x608000991fc8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x608000991fc8, mutex=0x608000991fa0, abstime=0x7fff79d2dc60) at pthread_cond_wait.c:667
#3  0x00007fffeb308d36 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fffeb309096 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb306740 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffea2a46db in start_thread (arg=0x7fff79d2e700) at pthread_create.c:463
#8  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 332 (Thread 0x7fff9d870700 (LWP 6542)):
#0  0x00007fffea2aaed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fff9d86fba0, expected=0, futex_word=0x6080009a5270)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff9d86fc60, mutex=0x6080009a5220, cond=0x6080009a5248) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x6080009a5248, mutex=0x6080009a5220, abstime=0x7fff9d86fc60) at pthread_cond_wait.c:667
#3  0x00007fffeb308d36 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fffeb309096 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb306740 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffea2a46db in start_thread (arg=0x7fff9d870700) at pthread_create.c:463
#8  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7fffa82a8700 (LWP 31706)):
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x60200005da90, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12a95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12a96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb537dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4d903a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb3004ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffea2a46db in start_thread (arg=0x7fffa82a8700) at pthread_create.c:463
#9  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7fff7d536700 (LWP 31689)):
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x602000137410, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12a95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12a96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb537daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4d903a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

#6  0x00007fffeb3004ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffca4db926 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fffea2a46db in start_thread (arg=0x7fff7d536700) at pthread_create.c:463
#10 0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
---Type <return> to continue, or q <return> to quit---

Thread 14 (Thread 0x7fff92bff700 (LWP 31680)):
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x602000160cf0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12a95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12a96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb537daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4d903a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb3004ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffca016115 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fffea2a46db in start_thread (arg=0x7fff92bff700) at pthread_create.c:463
#10 0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fff923fe700 (LWP 31511)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fffeb304630 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fffeb3044a2 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fffed982a8f in KisTileDataSwapper::waitForWork (this=0x7fffeec0c780 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>)
    at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007fffed982aaa in KisTileDataSwapper::run (this=0x7fffeec0c780 <(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  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffea2a46db in start_thread (arg=0x7fff923fe700) at pthread_create.c:463
#7  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fff94e02700 (LWP 31504)):
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x602000092170, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12a95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12a96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb537daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4d903a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb3004ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffea2a46db in start_thread (arg=0x7fff94e02700) at pthread_create.c:463
#9  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fffc4ebc700 (LWP 31219)):

#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x6030020974f0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12a95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12a96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb537daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4d903a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb3004ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffe29b1015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fffea2a46db in start_thread (arg=0x7fffc4ebc700) at pthread_create.c:463
---Type <return> to continue, or q <return> to quit---
#10 0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffd3c6a700 (LWP 31218)):
#0  0x00007fffea2aa9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x614000005108) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x6140000050b8, cond=0x6140000050e0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x6140000050e0, mutex=0x6140000050b8) at pthread_cond_wait.c:655
#3  0x00007fffd099431a in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fffd0994047 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fffea2a46db in start_thread (arg=0x7fffd3c6a700) at pthread_create.c:463
#6  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffcf789700 (LWP 31213)):
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x7fffcf788c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe0504747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe050636a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007fffd681f578 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007fffeb301c72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffea2a46db in start_thread (arg=0x7fffcf789700) at pthread_create.c:463
#7  0x00007fffea9e988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7f8ce80 (LWP 31053)):
#0  0x00007fffea9dcbf9 in __GI___poll (fds=0x603001eb63e0, nfds=4, timeout=249) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12a95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12a96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb537daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4d903a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb4e2170 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x0000555557933431 in main (argc=1, argv=0x7fffffffdae8) at /home/wolthera/krita/src/krita/main.cc:535
(gdb) 
(gdb) 
(gdb)
Comment 2 wolthera 2019-08-11 21:55:59 UTC
Created attachment 122073 [details]
The diff of the debug that dmitry added to my build.

Adding the diff of the debug that dmitry added to my build.

It's bizarre that only one of the functions seems to be put out?
Comment 3 wolthera 2019-08-14 14:45:29 UTC
Ok, tested further.

One test, where the hangup was caused by edit->clear, I could press 'cancel and save' in the dialog, which worked. I could draw, I could clear my canvas, etc.

Then I went to do something else for half an hour, and returned to my empty canvas, tried drawing(and only drawing) again, but got no response. This time trying to save 'cancel and save' doesn't work, it leads to 'request stroke cancellation' calls in a row.

Partial terminal/gdb output
-----------------------------------------------------------------------
[Thread 0x7fff78e2d700 (LWP 24591) exited]
[New Thread 0x7fff78e2d700 (LWP 29778)]
Entering "KisToolFreehand::requestStrokeEnd()"
[New Thread 0x7fff7cdc3700 (LWP 29932)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
^C
Thread 1 "krita" received signal SIGINT, Interrupt.
0x00007fffebc9aad5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
(gdb) thread apply all backtrace

Thread 1323 (Thread 0x7fff7cdc3700 (LWP 29932)):
#0  0x00007fffea296ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fff7cdc2ba0, expected=0, futex_word=0x608000053074)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff7cdc2c60, mutex=0x608000053020, cond=0x608000053048) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x608000053048, mutex=0x608000053020, abstime=0x7fff7cdc2c60) at pthread_cond_wait.c:667
#3  0x00007fffeb2f4d36 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fffeb2f5096 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb2f2740 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffea2906db in start_thread (arg=0x7fff7cdc3700) at pthread_create.c:463
#8  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1322 (Thread 0x7fff78e2d700 (LWP 29778)):
#0  0x00007fffea296ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fff78e2cba0, expected=0, futex_word=0x6080019c6cf0)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff78e2cc60, mutex=0x6080019c6ca0, cond=0x6080019c6cc8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x6080019c6cc8, mutex=0x6080019c6ca0, abstime=0x7fff78e2cc60) at pthread_cond_wait.c:667
#3  0x00007fffeb2f4d36 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fffeb2f5096 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb2f2740 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffea2906db in start_thread (arg=0x7fff78e2d700) at pthread_create.c:463
#8  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7fffa7880700 (LWP 1316)):
#0  0x00007fffea9c8bf9 in __GI___poll (fds=0x602000028fb0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12915c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb523dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2ec4ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffea2906db in start_thread (arg=0x7fffa7880700) at pthread_create.c:463
#9  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7fff9df03700 (LWP 1297)):
#0  0x00007fffea9c8bf9 in __GI___poll (fds=0x6020001163d0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12915c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb523daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2ec4ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffca501926 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fffea2906db in start_thread (arg=0x7fff9df03700) at pthread_create.c:463
#10 0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
---Type <return> to continue, or q <return> to quit---

Thread 14 (Thread 0x7fffa1ee6700 (LWP 1288)):
#0  0x00007fffea9c8bf9 in __GI___poll (fds=0x6020001482f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12915c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb523daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2ec4ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffca03c115 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fffea2906db in start_thread (arg=0x7fffa1ee6700) at pthread_create.c:463
#10 0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fff93008700 (LWP 1103)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fffeb2f0630 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fffeb2f04a2 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fffed96ebdf in KisTileDataSwapper::waitForWork (this=0x7fffeebf87c0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>)
    at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007fffed96ebfa in KisTileDataSwapper::run (this=0x7fffeebf87c0 <(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  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffea2906db in start_thread (arg=0x7fff93008700) at pthread_create.c:463
#7  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fff9520b700 (LWP 1097)):
#0  0x00007fffea9c8bf9 in __GI___poll (fds=0x602000371950, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12915c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb523daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2ec4ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffea2906db in start_thread (arg=0x7fff9520b700) at pthread_create.c:463
#9  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fffc4ec5700 (LWP 728)):
#0  0x00007fffea9c8bf9 in __GI___poll (fds=0x603002092cf0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12915c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb523daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

#5  0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2ec4ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffe2999015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fffea2906db in start_thread (arg=0x7fffc4ec5700) at pthread_create.c:463
---Type <return> to continue, or q <return> to quit---
#10 0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffd3c52700 (LWP 726)):
#0  0x00007fffea2969f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x61400000510c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x6140000050b8, cond=0x6140000050e0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x6140000050e0, mutex=0x6140000050b8) at pthread_cond_wait.c:655
#3  0x00007fffd09b90aa in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fffd09b8dd7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fffea2906db in start_thread (arg=0x7fffd3c52700) at pthread_create.c:463
#6  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffcf7ae700 (LWP 721)):
#0  0x00007fffea9c8bf9 in __GI___poll (fds=0x7fffcf7adc68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe04ec747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe04ee36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007fffd6807578 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffea2906db in start_thread (arg=0x7fffcf7ae700) at pthread_create.c:463
#7  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7f8ce80 (LWP 549)):
#0  0x00007fffebc9aad5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#1  0x00007fffebca2da7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#2  0x00007fffebd1cf85 in QRasterPaintEngine::stroke(QVectorPath const&, QPen const&) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#3  0x00007fffebd03596 in QPaintEngineEx::draw(QVectorPath const&) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#4  0x00007fffebd04ac7 in QPaintEngineEx::drawRoundedRect(QRectF const&, double, double, Qt::SizeMode) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007fffebd3155b in QPainter::drawRoundedRect(QRectF const&, double, double, Qt::SizeMode) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#6  0x00007fffec394c28 in QFusionStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007fffec341e64 in QCommonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fffec3962ff in QFusionStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007fffec448850 in QProgressBar::paintEvent(QPaintEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007fffec3029c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fffec449695 in QProgressBar::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007fffec2c265c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fffec2c9b90 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff248d4f9 in KisApplication::notify (this=0x7fffffffda40, receiver=0x606000bdbf60, event=0x7fffffff67e0) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:653
#15 0x00007fffeb4c6d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fffec2fb595 in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fffec2fbd6d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fffec2fc9d0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fffec2fb75e in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fffec2d2266 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fffec2d24a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fffec2ea8bf in QWidgetPrivate::syncBackingStore() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fffec302b38 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#24 0x00007fffec2c265c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fffec2c9b90 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff248d4f9 in KisApplication::notify (this=0x7fffffffda40, receiver=0x7fffffff9440, event=0x6030025191a0) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:653
#27 0x00007fffeb4c6d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fffeb4c98d7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fffeb524793 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007fffe1291417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fffe1291650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fffeb523daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fffec4b4097 in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ffff1b19ee1 in KisDelayedSaveDialog::blockIfImageIsBusy (this=0x7fffffff9440) at /home/wolthera/krita/src/libs/ui/dialogs/kis_delayed_save_dialog.cpp:108
#37 0x00007ffff2518d7a in KisMainWindow::saveDocument (this=0x60c0003e5000, document=0x604000fed9d0, saveas=false, isExporting=false)
    at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:1091
#38 0x00007ffff2522508 in KisMainWindow::slotFileSave (this=0x60c0003e5000) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:1545
#39 0x00007ffff253bda5 in KisMainWindow::qt_static_metacall (_o=0x60c0003e5000, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fffffff98b0)
    at /home/wolthera/krita/build/libs/ui/kritaui_autogen/include/moc_KisMainWindow.cpp:322
#40 0x00007fffeb4f6875 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007fffec2bbf12 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007fffec2be52c in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007fffec3ab78b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007fffec3ab9ed in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007fffec49a96a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007fffec3029c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007fffec49aa04 in QToolButton::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#48 0x00007fffec2c265c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#49 0x00007fffec2caa58 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#50 0x00007ffff248d4f9 in KisApplication::notify (this=0x7fffffffda40, receiver=0x604000a36f90, event=0x7fffffffa080) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:653
#51 0x00007fffeb4c6d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#52 0x00007fffec2c905f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#53 0x00007fffec31d8a1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#54 0x00007fffec3206fa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#55 0x00007fffec2c265c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#56 0x00007fffec2c9b90 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#57 0x00007ffff248d4f9 in KisApplication::notify (this=0x7fffffffda40, receiver=0x6080001aa5a0, event=0x7fffffffa740) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:653
#58 0x00007fffeb4c6d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#59 0x00007fffeba901fb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#60 0x00007fffeba90c44 in QGuiApplicationPrivate::processTabletEvent(QWindowSystemInterfacePrivate::TabletEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#61 0x00007fffeba91315 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#62 0x00007fffeba69b4b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#63 0x00007fffd680859a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#64 0x00007fffe1291417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007fffe1291650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007fffeb523daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#68 0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#69 0x00007fffeb4ce170 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#70 0x0000555557933431 in main (argc=1, argv=0x7fffffffdbd8) at /home/wolthera/krita/src/krita/main.cc:535
(gdb)
Comment 4 wolthera 2019-08-14 15:11:40 UTC
And again.

First, some interesting data:

1. My last autosave is made at 16:56
2. Current time is 17:08~
3. Autosave interval is 5 minutes.

This time around, again, no shortcuts or alternate actions are triggered, just drawing. Krita freezes, 'cancel and then save' doesn't work.

------------------------------------------------------------------------------

Entering "KisToolFreehand::requestStrokeCancellation()"
[Thread 0x7fff75c8c700 (LWP 30630) exited]
[Thread 0x7fff7548b700 (LWP 30631) exited]
[Thread 0x7fff78f2c700 (LWP 30629) exited]
[Thread 0x7fff7648d700 (LWP 30625) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff6f47d700 (LWP 30626) exited]
[Thread 0x7fff7972d700 (LWP 30627) exited]
[Thread 0x7fff74c8a700 (LWP 30628) exited]
[Thread 0x7fff71c81700 (LWP 30632) exited]
[New Thread 0x7fff71c81700 (LWP 30649)]
[New Thread 0x7fff74c8a700 (LWP 30650)]
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff74c8a700 (LWP 30650) exited]
[Thread 0x7fff71c81700 (LWP 30649) exited]
[New Thread 0x7fff71c81700 (LWP 30655)]
[New Thread 0x7fff74c8a700 (LWP 30656)]
Entering "KisToolFreehand::requestStrokeCancellation()"
[Thread 0x7fff74c8a700 (LWP 30656) exited]
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff71c81700 (LWP 30655) exited]
[New Thread 0x7fff71c81700 (LWP 30665)]
[New Thread 0x7fff74c8a700 (LWP 30666)]
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeEnd()"
[Thread 0x7fff74c8a700 (LWP 30666) exited]
[Thread 0x7fff71c81700 (LWP 30665) exited]
[New Thread 0x7fff71c81700 (LWP 30675)]
[New Thread 0x7fff74c8a700 (LWP 30676)]
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeEnd()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
Entering "KisToolFreehand::requestStrokeCancellation()"
^C
Thread 1 "krita" received signal SIGINT, Interrupt.
0x00007fffd68077e7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
(gdb) thread apply all backtrace

Thread 2302 (Thread 0x7fff74c8a700 (LWP 30676)):
#0  0x00007fffea296ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fff74c89ba0, expected=0, futex_word=0x608000ed8974)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff74c89c60, mutex=0x608000ed8920, cond=0x608000ed8948) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x608000ed8948, mutex=0x608000ed8920, abstime=0x7fff74c89c60) at pthread_cond_wait.c:667
#3  0x00007fffeb2f4d36 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fffeb2f5096 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb2f2740 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffea2906db in start_thread (arg=0x7fff74c8a700) at pthread_create.c:463
#8  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2301 (Thread 0x7fff71c81700 (LWP 30675)):
#0  0x00007fffea296ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fff71c80ba0, expected=0, futex_word=0x608000b328f4)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff71c80c60, mutex=0x608000b328a0, cond=0x608000b328c8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x608000b328c8, mutex=0x608000b328a0, abstime=0x7fff71c80c60) at pthread_cond_wait.c:667
#3  0x00007fffeb2f4d36 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fffeb2f5096 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb2f2740 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffea2906db in start_thread (arg=0x7fff71c81700) at pthread_create.c:463
#8  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7fffa71ae700 (LWP 7060)):
#0  0x00007fffea9c8bf9 in __GI___poll (fds=0x602000268a30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12915c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb523dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2ec4ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffea2906db in start_thread (arg=0x7fffa71ae700) at pthread_create.c:463
#9  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7fff9db0d700 (LWP 7047)):
#0  0x00007fffea9c8bf9 in __GI___poll (fds=0x6020000d30d0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12915c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb523daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2ec4ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffca501926 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fffea2906db in start_thread (arg=0x7fff9db0d700) at pthread_create.c:463
#10 0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
---Type <return> to continue, or q <return> to quit---

Thread 14 (Thread 0x7fff92d05700 (LWP 7038)):
#0  0x00007fffea9c8bf9 in __GI___poll (fds=0x602000122bf0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12915c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb523daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2ec4ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffca03c115 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fffea2906db in start_thread (arg=0x7fff92d05700) at pthread_create.c:463
#10 0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fff92504700 (LWP 6869)):
#0  0x00007fffea9989d0 in __GI___nanosleep (requested_time=0x7fff92503d70, remaining=0x7fff92503d70) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007fffeb52370d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fffed96ec46 in KisTileDataSwapper::run (this=0x7fffeebf87c0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>)
    at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:97
#3  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fffea2906db in start_thread (arg=0x7fff92504700) at pthread_create.c:463
#5  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fff94f08700 (LWP 6859)):
#0  0x00007fffea9c8bf9 in __GI___poll (fds=0x602000233350, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12915c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb523daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2ec4ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffea2906db in start_thread (arg=0x7fff94f08700) at pthread_create.c:463
#9  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fffc4ec5700 (LWP 6596)):
#0  0x00007fffea9c8bf9 in __GI___poll (fds=0x603002092cf0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe12915c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffeb523daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

#5  0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffeb2ec4ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffe2999015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fffea2906db in start_thread (arg=0x7fffc4ec5700) at pthread_create.c:463
#10 0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffd3c52700 (LWP 6595)):
---Type <return> to continue, or q <return> to quit---
#0  0x00007fffea2969f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x614000005108) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x6140000050b8, cond=0x6140000050e0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x6140000050e0, mutex=0x6140000050b8) at pthread_cond_wait.c:655
#3  0x00007fffd09b90aa in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fffd09b8dd7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fffea2906db in start_thread (arg=0x7fffd3c52700) at pthread_create.c:463
#6  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffcf7ae700 (LWP 6590)):
#0  0x00007fffea9c8bf9 in __GI___poll (fds=0x7fffcf7adc68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e55701 in poll () from /usr/lib/x86_64-linux-gnu/libasan.so.4
#2  0x00007fffe04ec747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe04ee36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007fffd6807578 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007fffeb2edc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffea2906db in start_thread (arg=0x7fffcf7ae700) at pthread_create.c:463
#7  0x00007fffea9d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7f8ce80 (LWP 6431)):
#0  0x00007fffd68077e7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#1  0x00007fffd67e1fcf in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#2  0x00007fffd6808593 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#3  0x00007fffe1291417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffe1291650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fffeb523daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffec4b4097 in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff1b19ee1 in KisDelayedSaveDialog::blockIfImageIsBusy (this=0x7fffffff9440) at /home/wolthera/krita/src/libs/ui/dialogs/kis_delayed_save_dialog.cpp:108
#10 0x00007ffff2518d7a in KisMainWindow::saveDocument (this=0x60c0003b5180, document=0x604001a3ac10, saveas=false, isExporting=false)
    at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:1091
#11 0x00007ffff2522508 in KisMainWindow::slotFileSave (this=0x60c0003b5180) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:1545
#12 0x00007ffff253bda5 in KisMainWindow::qt_static_metacall (_o=0x60c0003b5180, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fffffff98b0)
    at /home/wolthera/krita/build/libs/ui/kritaui_autogen/include/moc_KisMainWindow.cpp:322
#13 0x00007fffeb4f6875 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fffec2bbf12 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fffec2be52c in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fffec3ab78b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fffec3ab9ed in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fffec49a96a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fffec3029c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fffec49aa04 in QToolButton::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fffec2c265c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fffec2caa58 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff248d4f9 in KisApplication::notify (this=0x7fffffffda40, receiver=0x604000fc5510, event=0x7fffffffa080) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:653
#24 0x00007fffeb4c6d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fffec2c905f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fffec31d8a1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#27 0x00007fffec3206fa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007fffec2c265c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007fffec2c9b90 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff248d4f9 in KisApplication::notify (this=0x7fffffffda40, receiver=0x60800020d520, event=0x7fffffffa740) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:653
#31 0x00007fffeb4c6d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fffeba901fb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#33 0x00007fffeba90c44 in QGuiApplicationPrivate::processTabletEvent(QWindowSystemInterfacePrivate::TabletEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#34 0x00007fffeba91315 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#35 0x00007fffeba69b4b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#36 0x00007fffd680859a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#37 0x00007fffe1291417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fffe1291650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fffe12916dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fffeb523daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007fffeb4c503a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007fffeb4ce170 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x0000555557933431 in main (argc=1, argv=0x7fffffffdbd8) at /home/wolthera/krita/src/krita/main.cc:535
(gdb)
Comment 5 wolthera 2019-08-14 15:43:04 UTC
Created attachment 122115 [details]
Extra debug log

Another, this time happening shortly after a pan-gesture, with the new diff dmitry gave me added to the build, so more debug. Attached it as a txt this time.
Comment 6 wolthera 2019-08-14 17:17:43 UTC
Created attachment 122117 [details]
Another debug, this time with a third patch from dmitry.

This time with a third patch from dmitry. Weirdly, the "WARNING: New stroke, etc." shows up several times, but only one freeze.
Comment 7 wolthera 2019-08-14 17:43:19 UTC
Created attachment 122118 [details]
Another log with instant preview off.

Dmitry thought Instant Preview may have made a difference.
Comment 8 Dmitry Kazakov 2019-08-15 13:56:33 UTC
Git commit 4737bbe94c07d10ea55f366a843711e23b0546df by Dmitry Kazakov.
Committed on 15/08/2019 at 13:56.
Pushed by dkazakov into branch 'master'.

Possibly fix freeze on painting when using weird tablet drivers

Some tablet drivers (Lenovo Yoga on Linux) have a bug [0] when the stylus
changes its own ID right in the middle of the stroke/hovering. Sometimes
they also generate spurious tabler press/release events. In Krita
such behavior may lead to recursive tool switching right in the middle
of TabletPress processing. Which could lead to a stroke started twice,
which basically leads to a freeze.

[0] - https://github.com/linuxwacom/input-wacom/issues/66#issuecomment-463349786

M  +2    -0    libs/ui/input/kis_shortcut_matcher.cpp
M  +2    -0    libs/ui/tool/kis_tool_freehand.cc

https://invent.kde.org/kde/krita/commit/4737bbe94c07d10ea55f366a843711e23b0546df
Comment 9 Dmitry Kazakov 2019-08-16 17:21:46 UTC
Git commit 1a1ba081471bc90fe456609c2dbecc9af14f5cfb by Dmitry Kazakov.
Committed on 16/08/2019 at 17:21.
Pushed by dkazakov into branch 'krita/4.2'.

Possibly fix freeze on painting when using weird tablet drivers

Some tablet drivers (Lenovo Yoga on Linux) have a bug [0] when the stylus
changes its own ID right in the middle of the stroke/hovering. Sometimes
they also generate spurious tabler press/release events. In Krita
such behavior may lead to recursive tool switching right in the middle
of TabletPress processing. Which could lead to a stroke started twice,
which basically leads to a freeze.

[0] - https://github.com/linuxwacom/input-wacom/issues/66#issuecomment-463349786

M  +2    -0    libs/ui/input/kis_shortcut_matcher.cpp
M  +2    -0    libs/ui/tool/kis_tool_freehand.cc

https://invent.kde.org/kde/krita/commit/1a1ba081471bc90fe456609c2dbecc9af14f5cfb
Comment 10 Dmitry Kazakov 2019-08-26 15:02:15 UTC
*** Bug 411320 has been marked as a duplicate of this bug. ***
Comment 11 wolthera 2019-09-05 15:16:12 UTC
Ok, I have not come across this despite coming across it multiple times a day beforehand, so I suspect it is really fixed...
Comment 12 Dmitry Kazakov 2019-09-10 11:27:56 UTC
*** Bug 410644 has been marked as a duplicate of this bug. ***