Bug 404741

Summary: Crash when closing file.
Product: [Applications] krita Reporter: wolthera <griffinvalley>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description wolthera 2019-02-23 14:55:35 UTC
Application: krita (4.2.0-pre-alpha (git 0b5c34c))

Qt Version: 5.12.0
Frameworks Version: 5.55.0
Operating System: Linux 4.15.0-45-generic x86_64
Distribution: KDE neon User Edition 5.15

-- Information about the crash:
- What I was doing when the application crashed:
I had a file with a file layer and a transform mask on a vector layer, then I opened the file layer, and edited it's contents, saved and closed the (filelayer) file. Then the crash happened.

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

Thread 17 (Thread 0x7f5492018700 (LWP 26673)):
#0  0x00007f55fc4e7ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f5492017bc0, expected=0, futex_word=0x7f559c275ce0) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f5492017c80, mutex=0x7f559c275c90, cond=0x7f559c275cb8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7f559c275cb8, mutex=0x7f559c275c90, abstime=0x7f5492017c80) at pthread_cond_wait.c:667
#3  0x00007f5603675ac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5603675e25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f56036735dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f55fc4e16db in start_thread (arg=0x7f5492018700) at pthread_create.c:463
#8  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f5493729700 (LWP 26672)):
#0  0x00007f55fc4e7ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f5493728bc0, expected=0, futex_word=0x7f559c08da20) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f5493728c80, mutex=0x7f559c08d9d0, cond=0x7f559c08d9f8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7f559c08d9f8, mutex=0x7f559c08d9d0, abstime=0x7f5493728c80) at pthread_cond_wait.c:667
#3  0x00007f5603675ac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5603675e25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f56036735dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f55fc4e16db in start_thread (arg=0x7f5493729700) at pthread_create.c:463
#8  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f558a615700 (LWP 26671)):
#0  0x00007f55fc4e7ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f558a614bc0, expected=0, futex_word=0x7f559c093730) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f558a614c80, mutex=0x7f559c0936e0, cond=0x7f559c093708) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7f559c093708, mutex=0x7f559c0936e0, abstime=0x7f558a614c80) at pthread_cond_wait.c:667
#3  0x00007f5603675ac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5603675e25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f56036735dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f55fc4e16db in start_thread (arg=0x7f558a615700) at pthread_create.c:463
#8  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f558b5e6700 (LWP 26670)):
#0  0x00007f55fc4e7ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f558b5e5bc0, expected=0, futex_word=0x7f559c018140) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f558b5e5c80, mutex=0x7f559c0180f0, cond=0x7f559c018118) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7f559c018118, mutex=0x7f559c0180f0, abstime=0x7f558b5e5c80) at pthread_cond_wait.c:667
#3  0x00007f5603675ac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5603675e25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f56036735dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f55fc4e16db in start_thread (arg=0x7f558b5e6700) at pthread_create.c:463
#8  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f55917fd700 (LWP 26669)):
#0  0x00007f55fc4e7ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f55917fcbc0, expected=0, futex_word=0x7f559ccf60e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f55917fcc80, mutex=0x7f559ccf6090, cond=0x7f559ccf60b8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7f559ccf60b8, mutex=0x7f559ccf6090, abstime=0x7f55917fcc80) at pthread_cond_wait.c:667
#3  0x00007f5603675ac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5603675e25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f56036735dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f55fc4e16db in start_thread (arg=0x7f55917fd700) at pthread_create.c:463
#8  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f554b767700 (LWP 26668)):
#0  0x00007f55fc4e7ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f554b766bc0, expected=0, futex_word=0x7f559c00f9c4) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f554b766c80, mutex=0x7f559c00f970, cond=0x7f559c00f998) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7f559c00f998, mutex=0x7f559c00f970, abstime=0x7f554b766c80) at pthread_cond_wait.c:667
#3  0x00007f5603675ac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5603675e25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f56036735dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f55fc4e16db in start_thread (arg=0x7f554b767700) at pthread_create.c:463
#8  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f550da73700 (LWP 26667)):
#0  0x00007f55fc4e7ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f550da72bc0, expected=0, futex_word=0x7f559c238580) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f550da72c80, mutex=0x7f559c238530, cond=0x7f559c238558) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7f559c238558, mutex=0x7f559c238530, abstime=0x7f550da72c80) at pthread_cond_wait.c:667
#3  0x00007f5603675ac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5603675e25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f56036735dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f55fc4e16db in start_thread (arg=0x7f550da73700) at pthread_create.c:463
#8  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f550c705700 (LWP 26666)):
#0  0x00007f55fc4e7ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f550c704bc0, expected=0, futex_word=0x558924374000) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f550c704c80, mutex=0x558924373fb0, cond=0x558924373fd8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x558924373fd8, mutex=0x558924373fb0, abstime=0x7f550c704c80) at pthread_cond_wait.c:667
#3  0x00007f5603675ac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5603675e25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f56036735dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f55fc4e16db in start_thread (arg=0x7f550c705700) at pthread_create.c:463
#8  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f54737ff700 (LWP 26454)):
#0  0x00007f55fc4e7ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f54737febc0, expected=0, futex_word=0x558926dd4dc0) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f54737fec80, mutex=0x558926dd4d70, cond=0x558926dd4d98) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x558926dd4d98, mutex=0x558926dd4d70, abstime=0x7f54737fec80) at pthread_cond_wait.c:667
#3  0x00007f5603675ac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5603675e25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f56036735dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f55fc4e16db in start_thread (arg=0x7f54737ff700) at pthread_create.c:463
#8  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f55a7090700 (LWP 18402)):
#0  0x00007f5602d49bf9 in __GI___poll (fds=0x7f5598003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f55fabe5539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f55fabe564c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f56038a415b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f560384564a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f560366d41a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f55fc4e16db in start_thread (arg=0x7f55a7090700) at pthread_create.c:463
#8  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f55a78d1700 (LWP 18393)):
#0  0x00007f55fabe2442 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f55fabe49d3 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f55fabe546b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55fabe564c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f56038a415b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f560384564a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f560366d41a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f55e6a641c6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f55fc4e16db in start_thread (arg=0x7f55a78d1700) at pthread_create.c:463
#10 0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f55ba09d700 (LWP 18388)):
#0  0x00007f5602d49bf9 in __GI___poll (fds=0x7f55ac003fe0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f55fabe5539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f55fabe564c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f56038a415b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f560384564a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f560366d41a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f55e659f2e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f55fc4e16db in start_thread (arg=0x7f55ba09d700) at pthread_create.c:463
#9  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f55b989c700 (LWP 18374)):
#0  0x00007f5602d199d0 in __GI___nanosleep (requested_time=0x7f55b989bd70, remaining=0x7f55b989bd70) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007f56038a3a9d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f560569d06d in KisTileDataSwapper::run (this=0x7f5605e3c4e0 <(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  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f55fc4e16db in start_thread (arg=0x7f55b989c700) at pthread_create.c:463
#5  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f55c095d700 (LWP 18368)):
#0  0x00007f5602d49bf9 in __GI___poll (fds=0x7f55bc004a10, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f55fabe5539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f55fabe564c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f56038a415b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f560384564a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f560366d41a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f55fc4e16db in start_thread (arg=0x7f55c095d700) at pthread_create.c:463
#8  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f55dd252700 (LWP 18291)):
#0  0x00007f5602d49bf9 in __GI___poll (fds=0x7f55d001d880, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f55fabe5539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f55fabe564c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f56038a415b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f560384564a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f560366d41a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f55fc70f015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f560366ebc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f55fc4e16db in start_thread (arg=0x7f55dd252700) at pthread_create.c:463
#9  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f55df4db700 (LWP 18290)):
#0  0x00007f55fc4e79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55890098b4c8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55890098b478, cond=0x55890098b4a0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55890098b4a0, mutex=0x55890098b478) at pthread_cond_wait.c:655
#3  0x00007f55e065db1b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f55e065d847 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f55fc4e16db in start_thread (arg=0x7f55df4db700) at pthread_create.c:463
#6  0x00007f5602d5688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f56084a5840 (LWP 18280)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f5602c75801 in __GI_abort () at abort.c:79
#8  0x00007f560364ae7b in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f560364a671 in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f56057f6ca6 in QVector<QPointF>::first (this=0x7ffc65ec1ce0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:237
#11 0x00007f56057f66d3 in KisSafeTransform::Private::getCroppedPolygon (this=0x5589120facc0, baseHorizon=..., rc=..., crossCoeff=1) at /home/wolthera/krita/src/libs/image/kis_safe_transform.cpp:120
#12 0x00007f56057f51ab in KisSafeTransform::KisSafeTransform (this=0x7ffc65ec1f48, transform=..., bounds=..., srcInterestRect=...) at /home/wolthera/krita/src/libs/image/kis_safe_transform.cpp:155
#13 0x00007f56057e8a79 in KisTransformMask::changeRect (this=0x558926decd00, rect=..., pos=KisNode::N_FILTHY) at /home/wolthera/krita/src/libs/image/kis_transform_mask.cpp:328
#14 0x00007f56057e9502 in KisTransformMask::extent (this=0x558926decd00) at /home/wolthera/krita/src/libs/image/kis_transform_mask.cpp:394
#15 0x00007f5606d5c8f3 in KisNodeModel::data (this=0x5589113763b0, index=..., role=376) at /home/wolthera/krita/src/libs/ui/kis_node_model.cpp:508
#16 0x00007f56038148d9 in QSortFilterProxyModel::data(QModelIndex const&, int) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f5606cd41f8 in QModelIndex::data (this=0x7ffc65ec25b0, arole=376) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractitemmodel.h:458
#18 0x00007f560704971e in KisNodeDelegate::drawThumbnail (this=0x558911340a10, p=0x7ffc65ec2940, option=..., index=...) at /home/wolthera/krita/src/libs/ui/KisNodeDelegate.cpp:310
#19 0x00007f560704812d in KisNodeDelegate::paint (this=0x558911340a10, p=0x7ffc65ec2940, o=..., index=...) at /home/wolthera/krita/src/libs/ui/KisNodeDelegate.cpp:111
#20 0x00007f56048f5b02 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f56048fb23d in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f56048fb49d in QTreeViewPrivate::renderTreeToPixmapForAnimation(QRect const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f56048fd050 in QTreeViewPrivate::beginAnimatedOperation() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f56048fd25f in QTreeViewPrivate::expand(int, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f56048fd4df in QTreeView::expand(QModelIndex const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f55c37fb304 in expandNodesRecursively (root=..., filteringModel=..., nodeView=0x558911336a60) at /home/wolthera/krita/src/plugins/dockers/defaultdockers/kis_layer_box.cpp:308
#27 0x00007f55c37fcb25 in KisLayerBox::setCanvas (this=0x5589111915a0, canvas=0x5589261c2570) at /home/wolthera/krita/src/plugins/dockers/defaultdockers/kis_layer_box.cpp:443
#28 0x00007f5600aa7978 in KoCanvasObserverBase::setObservedCanvas (this=0x5589111915d0, canvas=0x5589261c2570) at /home/wolthera/krita/src/libs/flake/KoCanvasObserverBase.cpp:50
#29 0x00007f5600b083d3 in KoCanvasControllerWidget::Private::activate (this=0x558926af6670) at /home/wolthera/krita/src/libs/flake/KoCanvasControllerWidget.cpp:148
#30 0x00007f5600b08ab0 in KoCanvasControllerWidget::activate (this=0x5589261c2510) at /home/wolthera/krita/src/libs/flake/KoCanvasControllerWidget.cpp:215
#31 0x00007f5606bb590c in KisCanvasController::activate (this=0x5589261c2510) at /home/wolthera/krita/src/libs/ui/canvas/kis_canvas_controller.cpp:130
#32 0x00007f56070af4f8 in KisViewManager::setCurrentView (this=0x55890e07c3d0, view=0x558926f785f0) at /home/wolthera/krita/src/libs/ui/KisViewManager.cpp:501
#33 0x00007f5607071a38 in KisMainWindow::setActiveView (this=0x55890dd2f990, view=0x558926f785f0) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:1320
#34 0x00007f5607078b39 in KisMainWindow::setActiveSubWindow (this=0x55890dd2f990, window=0x55892312aa60) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:2298
#35 0x00007f5607076b06 in KisMainWindow::subWindowActivated (this=0x55890dd2f990) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:2075
#36 0x00007f560707bd23 in KisMainWindow::qt_static_metacall (_o=0x55890dd2f990, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7ffc65ec3200) at /home/wolthera/krita/build/libs/ui/kritaui_autogen/include/moc_KisMainWindow.cpp:323
#37 0x00007f5603876e25 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f5604793bbf in QMdiArea::subWindowActivated(QMdiSubWindow*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007f560479821f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007f5604798f28 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007f5604799e05 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007f5603876e25 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007f560479f43c in QMdiSubWindow::windowStateChanged(QFlags<Qt::WindowState>, QFlags<Qt::WindowState>) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007f56047a7233 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007f560479c62a in QMdiArea::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007f56038470ad in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00007f560463d815 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#48 0x00007f5604644dd0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#49 0x00007f560702bfcf in KisApplication::notify (this=0x7ffc65ec4f40, receiver=0x55890ebcb790, event=0x7ffc65ec38b0) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:608
#50 0x00007f5603847328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#51 0x00007f56047a8c2b in QMdiSubWindow::closeEvent(QCloseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#52 0x00007f560467d838 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#53 0x00007f56047a81eb in QMdiSubWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#54 0x00007f560463d83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#55 0x00007f5604644dd0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#56 0x00007f560702bfcf in KisApplication::notify (this=0x7ffc65ec4f40, receiver=0x5589121064f0, event=0x7ffc65ec3d70) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:608
#57 0x00007f5603847328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#58 0x00007f5604678b7e in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#59 0x00007f560467c9fa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#60 0x00007f5603876e25 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#61 0x00007f560479fe9e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#62 0x00007f560467d838 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#63 0x00007f56047a5850 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#64 0x00007f560463d83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#65 0x00007f5604645ca8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#66 0x00007f560702bfcf in KisApplication::notify (this=0x7ffc65ec4f40, receiver=0x5589120f00e0, event=0x7ffc65ec4510) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:608
#67 0x00007f5603847328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#68 0x00007f560464429f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#69 0x00007f5604698a80 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#70 0x00007f560469b34a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#71 0x00007f560463d83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#72 0x00007f5604644dd0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#73 0x00007f560702bfcf in KisApplication::notify (this=0x7ffc65ec4f40, receiver=0x55890db0e680, event=0x7ffc65ec4a30) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:608
#74 0x00007f5603847328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#75 0x00007f5603e0f52b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#76 0x00007f5603e10695 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#77 0x00007f5603de914b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#78 0x00007f55eec9030a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#79 0x00007f55fabe5387 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#80 0x00007f55fabe55c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#81 0x00007f55fabe564c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#82 0x00007f56038a413f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#83 0x00007f560384564a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#84 0x00007f560384e800 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#85 0x00005588fec6f6b5 in main (argc=1, argv=0x7ffc65ec50a8) at /home/wolthera/krita/src/krita/main.cc:476

Possible duplicates by query: bug 404521, bug 402494, bug 401442, bug 400627, bug 400072.

Reported using DrKonqi
Comment 1 Halla Rempt 2019-02-23 15:48:42 UTC
Git commit faeaa4c6e3ddf757314620cc74b18cc9b23b7a23 by Boudewijn Rempt.
Committed on 23/02/2019 at 15:48.
Pushed by rempt into branch 'master'.

Check whether the polygon has points before accessing the first one

M  +1    -1    libs/image/kis_safe_transform.cpp

https://commits.kde.org/krita/faeaa4c6e3ddf757314620cc74b18cc9b23b7a23