Bug 395070 - Krita Crashes suddenly without warning
Summary: Krita Crashes suddenly without warning
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tile manager (show other bugs)
Version: 4.0.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-06 00:17 UTC by Bryan Willis
Modified: 2018-09-21 10:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Willis 2018-06-06 00:17:51 UTC
This happens frequently enough for it to be a repeat problem that I have to stay worried about. In the middle of painting a brush stroke, zooming in/out, or attempting to transform something, Krita will pause for a split second, and then the entire program will just close itself out in an instant. More often than not it won't autosave properly, but that's another problem in of itself.

My system file log file on the moment it crashed printed this error message:

May 20 12:26:20 bryan-desktop kernel: [ 5043.128427] Thread (pooled)[4941]: segfault at 50 ip 00007f83adca82d1 sp 00007f83345f86a0 error 4 in libkritaimage.so.16.0.0[7f83ada2a000+419000]

In addition, a pop-up dialogue came up after krita crashed. I didn't see any option to save a log file, so I painstakingly screenshotted the entire log file. I know this isn't optimal. But This bug is sporadic and not easily reproduceable. I really don't know at all what's causing it. I hope this will give some insight into why this is happening:

https://imgur.com/a/2ed9XKF

At the end of that image album is a screencap of my terminal, as I happened to be running krita through my terminal. After crashing it read:

Segmentation fault (core dumped)

Thanks in advance for your help.
Comment 1 Halla Rempt 2018-06-06 08:09:02 UTC
Outch, that's been some work! It is usually easier to just select all the text in the terminal and paste it in the bug report. And it's a pity the ubuntu crash dialog apparently isn't as good as the Plasma crash dialog, which allows you to report a bug directly, and warns if the debug symbols aren't installed.

Which is the case here, and that means that we cannot do much with all these screenshots :-(

What would be best is if you could install the corresponding debug symbols to krita, then start Krita from a terminal with gdb, like this:

gdb krita

on the gdb prompt type 'r' and press enter: that should start krita.

Make sure the terminal is set to provide unlimited scrollback!

Now reproduce the crash, and when the crash happens, in the gdb terminal type

"set pagination off"

then

"thread apply all bt"

That will scroll a lot of text over the screen, which you can cut and paste into this bug report.
Comment 2 Bryan Willis 2018-06-12 00:28:05 UTC
(In reply to Boudewijn Rempt from comment #1)
> Outch, that's been some work! It is usually easier to just select all the
> text in the terminal and paste it in the bug report. And it's a pity the
> ubuntu crash dialog apparently isn't as good as the Plasma crash dialog,
> which allows you to report a bug directly, and warns if the debug symbols
> aren't installed.
> 
> Which is the case here, and that means that we cannot do much with all these
> screenshots :-(
> 
> What would be best is if you could install the corresponding debug symbols
> to krita, then start Krita from a terminal with gdb, like this:
> 
> gdb krita
> 
> on the gdb prompt type 'r' and press enter: that should start krita.
> 
> Make sure the terminal is set to provide unlimited scrollback!
> 
> Now reproduce the crash, and when the crash happens, in the gdb terminal type
> 
> "set pagination off"
> 
> then
> 
> "thread apply all bt"
> 
> That will scroll a lot of text over the screen, which you can cut and paste
> into this bug report.


Okay I've been told this before. But I have to beg here, is there any other way for you guys to get even the tinest inkling of what's going on here?

The debugger from what I told absolutely fucks performance and memory. Like, I use Krita to work. I have deadlines to meet, and these bugs, from what I can tell, are sporadic and aren't easily repeatable. I don't know if I have the capability to run a massive debugger and pray for my program to fail so I can happen to have a chance at getting a log report. 

So I ask again, is there any other way here? Clearly Krita isn't working well on ubuntu (for me anyways) crashing is a major no no for an art program, and it would benefit everyone if we got to the bottom of this.
Comment 3 Halla Rempt 2018-06-12 07:32:26 UTC
Well, you definitely need to install the debug symbols. Without them we cannot know where the crash happened. And that doesn't affect the performance.
Comment 4 Bryan Willis 2018-06-14 01:33:38 UTC
(In reply to Boudewijn Rempt from comment #3)
> Well, you definitely need to install the debug symbols. Without them we
> cannot know where the crash happened. And that doesn't affect the
> performance.

Oh I see, How exactly do I get the debug symbols installed? I've searched but can't find a straight answer.
Comment 5 Halla Rempt 2018-06-14 08:54:54 UTC
It would be best to install krita from our own ppa, and the page for the ppa has instructions: https://launchpad.net/~kritalime/+archive/ubuntu/ppa
Comment 6 Bryan Willis 2018-06-16 15:24:40 UTC
I've installed it and the debug symbols. I'll keep you updated on when the next crash happens.
Comment 7 Bryan Willis 2018-06-26 22:19:28 UTC
Crash! Here's the log. Please let me know anything you can about this. 

(gdb) set pagination off
(gdb) thread apply all bt

Thread 11388 (Thread 0x7fff9e678700 (LWP 27448)):
#0  0x00007ffff4392881 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:78
#1  0x00007fffee03f600 in __free_stacks (limit=41943040) at allocatestack.c:282
#2  0x00007fffee03f600 in queue_stack (stack=<optimized out>) at allocatestack.c:305
#3  0x00007fffee03f600 in __deallocate_stack (pd=<optimized out>) at allocatestack.c:806
#4  0x00007fffee03f600 in __free_tcb (pd=<optimized out>) at pthread_create.c:367
#5  0x0000000000000000 in  ()

Thread 11387 (Thread 0x7fff963fd700 (LWP 27447)):
#0  0x00007ffff4308207 in tcache_get (tc_idx=0) at malloc.c:2943
#1  0x00007ffff4308207 in __GI___libc_malloc (bytes=8) at malloc.c:3050
#2  0x00007ffff490d54c in operator new(unsigned long) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff1fb42e2 in QList<KisSharedPtr<KisMementoItem> >::node_construct(QList<KisSharedPtr<KisMementoItem> >::Node*, KisSharedPtr<KisMementoItem> const&) (this=0x7fff963fca10, t=..., n=0x7fff7c12e058) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:435
#4  0x00007ffff1fb42e2 in QList<KisSharedPtr<KisMementoItem> >::append(KisSharedPtr<KisMementoItem> const&) (this=this@entry=0x7fff963fca10, t=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:593
#5  0x00007ffff1fadb4c in KisMementoManager::commit() (this=this@entry=0x7fff8809d080) at ./libs/image/tiles3/kis_memento_manager.cc:196
#6  0x00007ffff1fae0c5 in KisMementoManager::getMemento() (this=0x7fff8809d080) at ./libs/image/tiles3/kis_memento_manager.cc:243
#7  0x00007ffff213b7c4 in KisTiledDataManager::getMemento() (this=0x7fff880d05e0, this=<optimized out>) at ./libs/image/tiles3/kis_tiled_data_manager.h:130
#8  0x00007ffff213b7c4 in KisDataManager::getMemento() (this=<optimized out>) at ./libs/image/kis_datamanager.h:86
#9  0x00007ffff213b7c4 in KisTransactionData::init(KisSharedPtr<KisPaintDevice>) (this=this@entry=0x7fff7c0c0200, device=...) at ./libs/image/kis_transaction_data.cpp:115
#10 0x00007ffff213c107 in KisTransactionData::KisTransactionData(KUndo2MagicString const&, KisSharedPtr<KisPaintDevice>, bool, KUndo2Command*) (this=0x7fff7c0c0200, name=..., device=..., resetSelectionOutlineCache=<optimized out>, parent=<optimized out>) at ./libs/image/kis_transaction_data.cpp:72
#11 0x00007fffbb4ae4bd in KisTransaction::KisTransaction(KisSharedPtr<KisPaintDevice>, KUndo2Command*, int) (timedID=-1, parent=0x0, device=..., this=<synthetic pointer>) at ./libs/image/kis_transaction.h:37
#12 0x00007fffbb4ae4bd in TransformStrokeStrategy::doStrokeCallback(KisStrokeJobData*) (this=0x5555634f8a60, data=<optimized out>) at ./plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp:198
#13 0x00007ffff21f4d0b in non-virtual thunk to KisUpdateJobItem::run() () at /usr/lib/x86_64-linux-gnu/libkritaimage.so.16
#14 0x00007ffff4cb12a2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ffff4cb416d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fffee03f6db in start_thread (arg=0x7fff963fd700) at pthread_create.c:463
#17 0x00007ffff439288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11386 (Thread 0x7fff9d009700 (LWP 27446)):
#0  0x00007ffff4392881 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:78
#1  0x00007fffee03fec5 in create_thread (thread_ran=<synthetic pointer>, stackaddr=0x7fff9e677f00, stopped_start=<synthetic pointer>, attr=0x7fff9d008680, pd=0x7fff9e678700) at ../sysdeps/unix/sysv/linux/createthread.c:100
#2  0x00007fffee03fec5 in __pthread_create_2_1 (newthread=<optimized out>, attr=<optimized out>, start_routine=<optimized out>, arg=0x7fff880d4c50) at pthread_create.c:797
#3  0x00007ffff4cb3666 in QThread::start(QThread::Priority) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4caf87d in QThreadPoolPrivate::startThread(QRunnable*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4cb09ab in QThreadPoolPrivate::tryStart(QRunnable*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff4cb0fbb in QThreadPool::start(QRunnable*, int) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff20a8247 in KisSimpleUpdateQueue::processOneJob(KisUpdaterContext&) (this=this@entry=0x555563328168, updaterContext=...) at ./libs/image/kis_simple_update_queue.cpp:124
#8  0x00007ffff20a911b in KisSimpleUpdateQueue::processQueue(KisUpdaterContext&) (this=0x555563328168, updaterContext=...) at ./libs/image/kis_simple_update_queue.cpp:95
#9  0x00007ffff20ac352 in KisUpdateScheduler::tryProcessUpdatesQueue() (this=<optimized out>) at ./libs/image/kis_update_scheduler.cpp:453
#10 0x00007ffff20ac640 in KisUpdateScheduler::processQueues() (this=this@entry=0x55556569fb18) at ./libs/image/kis_update_scheduler.cpp:410
#11 0x00007ffff20aca62 in KisUpdateScheduler::updateProjection(KisSharedPtr<KisNode>, QVector<QRect> const&, QRect const&) (this=0x55556569fb18, node=..., rects=..., cropRect=...) at ./libs/image/kis_update_scheduler.cpp:166
#12 0x00007ffff20bf1b0 in KisImage::requestProjectionUpdateImpl(KisNode*, QVector<QRect> const&, QRect const&) (this=this@entry=0x55556c266020, node=node@entry=0x7fffdc7939e0, rects=..., cropRect=...) at ./libs/image/kis_image.cc:1581
#13 0x00007ffff20c6dff in KisImage::requestProjectionUpdate(KisNode*, QVector<QRect> const&, bool) (this=0x55556c266020, node=0x7fffdc7939e0, rects=..., resetAnimationCache=<optimized out>) at ./libs/image/kis_image.cc:1614
#14 0x00007ffff2101603 in KisNode::setDirty(QRect const&) (this=this@entry=0x7fffdc7939e0, rect=...) at ./libs/image/kis_node.cpp:600
#15 0x00007fffbb4aeab3 in TransformStrokeStrategy::doStrokeCallback(KisStrokeJobData*) (this=<optimized out>, data=<optimized out>) at ./plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp:165
#16 0x00007ffff21f4d0b in non-virtual thunk to KisUpdateJobItem::run() () at /usr/lib/x86_64-linux-gnu/libkritaimage.so.16
#17 0x00007ffff4cb12a2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ffff4cb416d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fffee03f6db in start_thread (arg=0x7fff9d009700) at pthread_create.c:463
#20 0x00007ffff439288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11376 (Thread 0x7fff977ff700 (LWP 27436)):
#0  0x00007fffee045ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fff977fec40, expected=0, futex_word=0x55556453f394) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  0x00007fffee045ed9 in __pthread_cond_wait_common (abstime=0x7fff977fed00, mutex=0x55556453f340, cond=0x55556453f368) at pthread_cond_wait.c:533
#2  0x00007fffee045ed9 in __pthread_cond_timedwait (cond=0x55556453f368, mutex=0x55556453f340, abstime=0x7fff977fed00) at pthread_cond_wait.c:667
#3  0x00007ffff4cb5458 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4cb152d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4cb416d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffee03f6db in start_thread (arg=0x7fff977ff700) at pthread_create.c:463
#7  0x00007ffff439288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3101 (Thread 0x7fff829f2700 (LWP 6959)):
#0  0x00007ffff4385bf9 in __GI___poll (fds=0x55556abb6dc0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec9ba439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec9ba54c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fff829fa36d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fffec9e1e05 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffee03f6db in start_thread (arg=0x7fff829f2700) at pthread_create.c:463
#6  0x00007ffff439288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffa4c7f700 (LWP 2034)):
#0  0x00007ffff4385bf9 in __GI___poll (fds=0x7fff980031f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec9ba439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec9ba54c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4eeb8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e909ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4caf22a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffb69d72a6 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007ffff4cb416d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee03f6db in start_thread (arg=0x7fffa4c7f700) at pthread_create.c:463
#9  0x00007ffff439288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffa6547700 (LWP 2033)):
#0  0x00007ffff4385bf9 in __GI___poll (fds=0x7fffa0003110, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec9ba439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec9ba54c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4eeb8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e909ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4caf22a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffb71d96f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff4cb416d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee03f6db in start_thread (arg=0x7fffa6547700) at pthread_create.c:463
#9  0x00007ffff439288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffb5d45700 (LWP 2032)):
#0  0x00007ffff43559d0 in __GI___nanosleep (requested_time=0x7fffb5d44dc0, remaining=0x7fffb5d44dc0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007ffff4eeb27d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff1fbd23a in KisTileDataSwapper::run() (this=0x7ffff24b6c60 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at ./libs/image/tiles3/swap/kis_tile_data_swapper.cpp:97
#3  0x00007ffff4cb416d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fffee03f6db in start_thread (arg=0x7fffb5d45700) at pthread_create.c:463
#5  0x00007ffff439288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffb6546700 (LWP 2031)):
#0  0x00007fffee045ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fffb6545bc0, expected=0, futex_word=0x5555606ce904) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  0x00007fffee045ed9 in __pthread_cond_wait_common (abstime=0x7fffb6545c80, mutex=0x5555606ce8b0, cond=0x5555606ce8d8) at pthread_cond_wait.c:533
#2  0x00007fffee045ed9 in __pthread_cond_timedwait (cond=0x5555606ce8d8, mutex=0x5555606ce8b0, abstime=0x7fffb6545c80) at pthread_cond_wait.c:667
#3  0x00007ffff4cb5458 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4cade5f in QSemaphore::tryAcquire(int, int) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff1fa07ab in KisTileDataPooler::waitForWork() (this=0x7ffff24b6c20 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at ./libs/image/tiles3/kis_tile_data_pooler.cc:163
#6  0x00007ffff1fa101a in KisTileDataPooler::run() (this=0x7ffff24b6c20 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at ./libs/image/tiles3/kis_tile_data_pooler.cc:187
#7  0x00007ffff4cb416d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee03f6db in start_thread (arg=0x7fffb6546700) at pthread_create.c:463
#9  0x00007ffff439288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fffd5985700 (LWP 2029)):
#0  0x00007ffff4385bf9 in __GI___poll (fds=0x7fffcc00f2a0, nfds=5, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec9ba439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec9ba54c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4eeb8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e909ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4caf22a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffee26cd45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ffff4cb416d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee03f6db in start_thread (arg=0x7fffd5985700) at pthread_create.c:463
#9  0x00007ffff439288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fffd6fe8700 (LWP 2028)):
#0  0x00007ffff4385bf9 in __GI___poll (fds=0x7fffc8003f10, nfds=5, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec9ba439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec9ba7d2 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffd9d0ce76 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fffec9e1e05 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffee03f6db in start_thread (arg=0x7fffd6fe8700) at pthread_create.c:463
#6  0x00007ffff439288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fffd77e9700 (LWP 2027)):
#0  0x00007ffff4385bf9 in __GI___poll (fds=0x5555572bb4e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec9ba439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec9ba54c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffec9ba591 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffec9e1e05 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffee03f6db in start_thread (arg=0x7fffd77e9700) at pthread_create.c:463
#6  0x00007ffff439288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fffe1bbb700 (LWP 2026)):
#0  0x00007ffff4385bf9 in __GI___poll (fds=0x7fffe1bbaca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff2716747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ffff271836a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe43142a9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff4cb416d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffee03f6db in start_thread (arg=0x7fffe1bbb700) at pthread_create.c:463
#6  0x00007ffff439288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7f9d800 (LWP 2022)):
#0  0x00007ffff4385bf9 in __GI___poll (fds=0x55555750bba0, nfds=6, timeout=22) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec9ba439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec9ba54c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4eeb8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e909ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4e99a84 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x0000555555e8c931 in main(int, char**) (argc=<optimized out>, argv=0x7fffffffdd58) at ./krita/main.cc:395
(gdb)
Comment 8 Halla Rempt 2018-06-27 08:50:17 UTC
Dmitry, can you take a look at the backtrace?
Comment 9 Bryan Willis 2018-07-11 23:30:27 UTC
Here's another crash. I don't know where you guys are with this. I'm sure you're busy, but I'd deeply appreciate it if someone could provide some insight into why this is happening. Thanks.

(gdb) set pagination off
(gdb) thread apply all bt

Thread 91 (Thread 0x7fff9e5ff700 (LWP 3233)):
#0  0x00007fffee024ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fff9e5fec40, expected=0, futex_word=0x555566408730) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  0x00007fffee024ed9 in __pthread_cond_wait_common (abstime=0x7fff9e5fed00, mutex=0x5555664086e0, cond=0x555566408708) at pthread_cond_wait.c:533
#2  0x00007fffee024ed9 in __pthread_cond_timedwait (cond=0x555566408708, mutex=0x5555664086e0, abstime=0x7fff9e5fed00) at pthread_cond_wait.c:667
#3  0x00007ffff4c73458 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c6f52d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffee01e6db in start_thread (arg=0x7fff9e5ff700) at pthread_create.c:463
#7  0x00007ffff435088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffa4e5b700 (LWP 2535)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x7fff980031f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec999439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec99954c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4ea98ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e4e9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c6d22a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffb6bc12a6 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee01e6db in start_thread (arg=0x7fffa4e5b700) at pthread_create.c:463
#9  0x00007ffff435088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffa6723700 (LWP 2534)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x7fffa0003110, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec999439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec99954c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4ea98ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e4e9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c6d22a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffb73c36f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee01e6db in start_thread (arg=0x7fffa6723700) at pthread_create.c:463
#9  0x00007ffff435088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffb5f2f700 (LWP 2533)):
#0  0x00007fffee0249f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5555606e8424) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fffee0249f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5555606e83d0, cond=0x5555606e83f8) at pthread_cond_wait.c:502
#2  0x00007fffee0249f3 in __pthread_cond_wait (cond=0x5555606e83f8, mutex=0x5555606e83d0) at pthread_cond_wait.c:655
#3  0x00007ffff4c7359b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c6be5f in QSemaphore::tryAcquire(int, int) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff1f93f43 in KisTileDataSwapper::waitForWork() (this=<optimized out>) at ./libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#6  0x00007ffff1f9416a in KisTileDataSwapper::run() (this=0x7ffff247fc60 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at ./libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#7  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee01e6db in start_thread (arg=0x7fffb5f2f700) at pthread_create.c:463
#9  0x00007ffff435088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffb6730700 (LWP 2532)):
#0  0x00007fffee0249f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5555606e81b4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fffee0249f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5555606e8160, cond=0x5555606e8188) at pthread_cond_wait.c:502
#2  0x00007fffee0249f3 in __pthread_cond_wait (cond=0x5555606e8188, mutex=0x5555606e8160) at pthread_cond_wait.c:655
#3  0x00007ffff4c7359b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c6bc0b in QSemaphore::acquire(int) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff1f7754a in KisTileDataPooler::waitForWork() (this=0x7ffff247fc20 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at ./libs/image/tiles3/kis_tile_data_pooler.cc:165
#6  0x00007ffff1f77d8a in KisTileDataPooler::run() (this=0x7ffff247fc20 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at ./libs/image/tiles3/kis_tile_data_pooler.cc:187
#7  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee01e6db in start_thread (arg=0x7fffb6730700) at pthread_create.c:463
#9  0x00007ffff435088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fffd5985700 (LWP 2530)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x7fffcc00f420, nfds=5, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec999439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec99954c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4ea98ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e4e9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c6d22a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffee24bd45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee01e6db in start_thread (arg=0x7fffd5985700) at pthread_create.c:463
#9  0x00007ffff435088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fffd6fe8700 (LWP 2529)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x5555572c90d0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec999439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec9997d2 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffd9d0ce76 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fffec9c0e05 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffee01e6db in start_thread (arg=0x7fffd6fe8700) at pthread_create.c:463
#6  0x00007ffff435088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fffd77e9700 (LWP 2528)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x5555572b7380, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec999439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec99954c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffec999591 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffec9c0e05 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffee01e6db in start_thread (arg=0x7fffd77e9700) at pthread_create.c:463
#6  0x00007ffff435088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fffe1b9a700 (LWP 2526)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x7fffe1b99ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff26de747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ffff26e036a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe42f32a9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffee01e6db in start_thread (arg=0x7fffe1b9a700) at pthread_create.c:463
#6  0x00007ffff435088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7f9d800 (LWP 2520)):
#0  0x00007fffbb45d5fd in QString::QString(QString const&) (other=..., this=0x7fffffffca98) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:906
#1  0x00007fffbb45d5fd in KoID::id() const (this=0x18) at ./interfaces/KoID.h:76
#2  0x00007fffbb45d5fd in KisFilterStrategy::id() (this=0x0) at ./libs/image/kis_filter_strategy.h:37
#3  0x00007fffbb45d5fd in ToolTransformArgs::filterId() const (this=0x555561b4dc68) at ./plugins/tools/tool_transform2/tool_transform_args.h:224
#4  0x00007fffbb45d5fd in KisToolTransform::initTransformMode(ToolTransformArgs::TransformMode) (this=this@entry=0x555561b4dc40, mode=mode@entry=ToolTransformArgs::FREE_TRANSFORM) at ./plugins/tools/tool_transform2/kis_tool_transform.cc:692
#5  0x00007fffbb462d2f in KisToolTransform::startStroke(ToolTransformArgs::TransformMode, bool) (this=this@entry=0x555561b4dc40, mode=mode@entry=ToolTransformArgs::FREE_TRANSFORM, forceReset=forceReset@entry=false) at ./plugins/tools/tool_transform2/kis_tool_transform.cc:935
#6  0x00007fffbb463f55 in KisToolTransform::activate(KoToolBase::ToolActivation, QSet<KoShape*> const&) (this=0x555561b4dc40, toolActivation=<optimized out>, shapes=...) at ./plugins/tools/tool_transform2/kis_tool_transform.cc:801
#7  0x00007ffff15913c3 in KoToolManager::Private::postSwitchTool(bool) (this=this@entry=0x55555825e000, temporary=temporary@entry=false) at ./libs/flake/KoToolManager.cpp:643
#8  0x00007ffff1591e34 in KoToolManager::Private::switchTool(KoToolBase*, bool) (this=0x55555825e000, tool=0x555561b4dc40, temporary=<optimized out>) at ./libs/flake/KoToolManager.cpp:579
#9  0x00007ffff1592093 in KoToolManager::Private::switchTool(QString const&, bool) (this=0x55555825e000, id=..., temporary=temporary@entry=false) at ./libs/flake/KoToolManager.cpp:604
#10 0x00007ffff159223a in KoToolManager::switchToolRequested(QString const&) (this=0x7ffff1906300 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>, id=...) at ./libs/flake/KoToolManager.cpp:306
#11 0x00007ffff4e7f5b5 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff5bc8122 in QAction::triggered(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff5bca80c in QAction::activate(QAction::ActionEvent) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff5bcb0d5 in QAction::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff5bce82c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff5bd60f4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff7471907 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x5555636125b0, event=0x7fffffffd620) at ./libs/ui/KisApplication.cpp:626
#18 0x00007ffff4e509a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff54403b7 in QShortcutMap::dispatchEvent(QKeyEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007ffff544048a in QShortcutMap::tryShortcut(QKeyEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#21 0x00007ffff53eec63 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#22 0x00007ffff540ef97 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#23 0x00007ffff5413fd5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007ffff53eb2eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007fffe43561c0 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#26 0x00007fffec999287 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fffec9994c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fffec99954c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff4ea98ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff4e4e9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff4e57a84 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x0000555555e8c95c in main(int, char**) (argc=<optimized out>, argv=0x7fffffffdd58) at ./krita/main.cc:396
Comment 10 Bryan Willis 2018-07-11 23:38:17 UTC
Okay so I've gotten that last crash to repeat itself. I opened the autosave file, saved it out as a new krita file. And the exact same crash happened again when I attempted to lasso, then transform part of my drawing. I'm beginning to notice a pattern where using the transform tools causes this, but I don't want to throw you guys off with bad information. Either way, here's another crash log:

(gdb) thread apply all bt

Thread 23 (Thread 0x7fff9e5ff700 (LWP 3495)):
#0  0x00007fffee024ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fff9e5fec40, expected=0, futex_word=0x55556708a650)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  0x00007fffee024ed9 in __pthread_cond_wait_common (abstime=0x7fff9e5fed00, mutex=0x55556708a600, cond=0x55556708a628) at pthread_cond_wait.c:533
#2  0x00007fffee024ed9 in __pthread_cond_timedwait (cond=0x55556708a628, mutex=0x55556708a600, abstime=0x7fff9e5fed00) at pthread_cond_wait.c:667
#3  0x00007ffff4c73458 in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c6f52d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffee01e6db in start_thread (arg=0x7fff9e5ff700)
    at pthread_create.c:463
#7  0x00007ffff435088f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 22 (Thread 0x7fff830ff700 (LWP 3494)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x555566e7f9b0, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec999439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec99954c in g_main_context_iteration ()
---Type <return> to continue, or q <return> to quit---
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fff8310736d in  ()
    at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fffec9c0e05 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffee01e6db in start_thread (arg=0x7fff830ff700)
    at pthread_create.c:463
#6  0x00007ffff435088f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffa4e5b700 (LWP 3478)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x7fff98004690, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec999439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec99954c in g_main_context_iteration ()
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4ea98ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e4e9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c6d22a in QThread::exec() ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffb6bc12a6 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#8  0x00007fffee01e6db in start_thread (arg=0x7fffa4e5b700)
    at pthread_create.c:463
#9  0x00007ffff435088f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffa6723700 (LWP 3477)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x7fffa0003110, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec999439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec99954c in g_main_context_iteration ()
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4ea98ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e4e9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c6d22a in QThread::exec() ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffb73c36f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee01e6db in start_thread (arg=0x7fffa6723700)
    at pthread_create.c:463
#9  0x00007ffff435088f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
---Type <return> to continue, or q <return> to quit---

Thread 7 (Thread 0x7fffb5f2f700 (LWP 3476)):
#0  0x00007fffee0249f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5555606e7e80)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fffee0249f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5555606e7e30, cond=0x5555606e7e58) at pthread_cond_wait.c:502
#2  0x00007fffee0249f3 in __pthread_cond_wait (cond=0x5555606e7e58, mutex=0x5555606e7e30) at pthread_cond_wait.c:655
#3  0x00007ffff4c7359b in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c6be5f in QSemaphore::tryAcquire(int, int) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff1f93f43 in KisTileDataSwapper::waitForWork() (this=<optimized out>) at ./libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#6  0x00007ffff1f9416a in KisTileDataSwapper::run() (this=0x7ffff247fc60 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>)
    at ./libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#7  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee01e6db in start_thread (arg=0x7fffb5f2f700)
    at pthread_create.c:463
#9  0x00007ffff435088f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
---Type <return> to continue, or q <return> to quit---

Thread 6 (Thread 0x7fffb6730700 (LWP 3475)):
#0  0x00007fffee0249f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5555606e7c10)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fffee0249f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5555606e7bc0, cond=0x5555606e7be8) at pthread_cond_wait.c:502
#2  0x00007fffee0249f3 in __pthread_cond_wait (cond=0x5555606e7be8, mutex=0x5555606e7bc0) at pthread_cond_wait.c:655
#3  0x00007ffff4c7359b in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4c6bc0b in QSemaphore::acquire(int) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff1f7754a in KisTileDataPooler::waitForWork() (this=0x7ffff247fc20 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>)
    at ./libs/image/tiles3/kis_tile_data_pooler.cc:165
#6  0x00007ffff1f77d8a in KisTileDataPooler::run() (this=0x7ffff247fc20 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>)
    at ./libs/image/tiles3/kis_tile_data_pooler.cc:187
#7  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee01e6db in start_thread (arg=0x7fffb6730700)
    at pthread_create.c:463
#9  0x00007ffff435088f in clone ()
---Type <return> to continue, or q <return> to quit---
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fffd5985700 (LWP 3473)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x7fffcc00f310, nfds=5, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec999439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec99954c in g_main_context_iteration ()
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4ea98ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4e4e9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c6d22a in QThread::exec() ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffee24bd45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffee01e6db in start_thread (arg=0x7fffd5985700)
    at pthread_create.c:463
#9  0x00007ffff435088f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fffd6fe8700 (LWP 3472)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x7fff8c01f450, nfds=5, timeout=-1)
---Type <return> to continue, or q <return> to quit---
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec999439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec9997d2 in g_main_loop_run ()
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffd9d0ce76 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fffec9c0e05 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffee01e6db in start_thread (arg=0x7fffd6fe8700)
    at pthread_create.c:463
#6  0x00007ffff435088f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fffd77e9700 (LWP 3471)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x5555572b71b0, nfds=2, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffec999439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffec99954c in g_main_context_iteration ()
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffec999591 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffec9c0e05 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffee01e6db in start_thread (arg=0x7fffd77e9700)
    at pthread_create.c:463
#6  0x00007ffff435088f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
---Type <return> to continue, or q <return> to quit---

Thread 2 (Thread 0x7fffe1b9a700 (LWP 3470)):
#0  0x00007ffff4343bf9 in __GI___poll (fds=0x7fffe1b99ca8, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff26de747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ffff26e036a in xcb_wait_for_event ()
    at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe42f32a9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff4c7216d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffee01e6db in start_thread (arg=0x7fffe1b9a700)
    at pthread_create.c:463
#6  0x00007ffff435088f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7f9d800 (LWP 3466)):
#0  0x00007fffbb45d5fd in QString::QString(QString const&) (other=..., this=0x7fffffffca98) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:906
#1  0x00007fffbb45d5fd in KoID::id() const (this=0x18)
    at ./interfaces/KoID.h:76
#2  0x00007fffbb45d5fd in KisFilterStrategy::id() (this=0x0)
    at ./libs/image/kis_filter_strategy.h:37
#3  0x00007fffbb45d5fd in ToolTransformArgs::filterId() const (this=0x55555aaf92c8) at ./plugins/tools/tool_transform2/tool_transform_args.h:224
---Type <return> to continue, or q <return> to quit---
#4  0x00007fffbb45d5fd in KisToolTransform::initTransformMode(ToolTransformArgs::TransformMode) (this=this@entry=0x55555aaf92a0, mode=mode@entry=ToolTransformArgs::FREE_TRANSFORM)
    at ./plugins/tools/tool_transform2/kis_tool_transform.cc:692
#5  0x00007fffbb462d2f in KisToolTransform::startStroke(ToolTransformArgs::TransformMode, bool) (this=this@entry=0x55555aaf92a0, mode=mode@entry=ToolTransformArgs::FREE_TRANSFORM, forceReset=forceReset@entry=false)
    at ./plugins/tools/tool_transform2/kis_tool_transform.cc:935
#6  0x00007fffbb463f55 in KisToolTransform::activate(KoToolBase::ToolActivation, QSet<KoShape*> const&) (this=0x55555aaf92a0, toolActivation=<optimized out>, shapes=...) at ./plugins/tools/tool_transform2/kis_tool_transform.cc:801
#7  0x00007ffff15913c3 in KoToolManager::Private::postSwitchTool(bool) (this=this@entry=0x55555fd0b220, temporary=temporary@entry=false)
    at ./libs/flake/KoToolManager.cpp:643
#8  0x00007ffff1591e34 in KoToolManager::Private::switchTool(KoToolBase*, bool) (this=0x55555fd0b220, tool=0x55555aaf92a0, temporary=<optimized out>)
    at ./libs/flake/KoToolManager.cpp:579
#9  0x00007ffff1592093 in KoToolManager::Private::switchTool(QString const&, bool) (this=0x55555fd0b220, id=..., temporary=temporary@entry=false)
    at ./libs/flake/KoToolManager.cpp:604
#10 0x00007ffff159223a in KoToolManager::switchToolRequested(QString const&) (this=0x7ffff1906300 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>, id=...) at ./libs/flake/KoToolManager.cpp:306
---Type <return> to continue, or q <return> to quit---
#11 0x00007ffff4e7f5b5 in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff5bc8122 in QAction::triggered(bool) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff5bca80c in QAction::activate(QAction::ActionEvent) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff5bcb0d5 in QAction::event(QEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff5bce82c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff5bd60f4 in QApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff7471907 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x5555636508a0, event=0x7fffffffd620)
    at ./libs/ui/KisApplication.cpp:626
#18 0x00007ffff4e509a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff54403b7 in QShortcutMap::dispatchEvent(QKeyEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007ffff544048a in QShortcutMap::tryShortcut(QKeyEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#21 0x00007ffff53eec63 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, un---Type <return> to continue, or q <return> to quit---
signed int, QString const&, bool, unsigned short) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#22 0x00007ffff540ef97 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#23 0x00007ffff5413fd5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007ffff53eb2eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007fffe43561c0 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#26 0x00007fffec999287 in g_main_context_dispatch ()
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fffec9994c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fffec99954c in g_main_context_iteration ()
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff4ea98ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff4e4e9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff4e57a84 in QCoreApplication::exec() ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x0000555555e8c95c in main(int, char**) (argc=<optimized out>, argv=0x7fffffffdd58) at ./krita/main.cc:396
Comment 11 Bryan Willis 2018-07-11 23:42:25 UTC
Sorry to spam here. But now my program on any file just permanently won't transform. It always crashes. I'm going to try upgrading and see if that helps. If not, I think krita might have just broke too badly for me to use any longer.
Comment 12 Bryan Willis 2018-07-12 00:00:00 UTC
Sorry, one more thing I'd like to add. The transform tool works on an app image of Krita 4.0.1 that I have laying around. So it really was the upgrade to 4.1 that has broken the transform tool.
Comment 13 Dmitry Kazakov 2018-09-21 10:28:08 UTC
Hi, Bryan!

This crash has been recently fixed in our development builds, but I'm not sure it has been released yet. To overcome the crash you should do one of the following:

1) Just reset your Krita configuration using this manual:
https://docs.krita.org/en/KritaFAQ.html#resetting-krita-configuration

2) Or open kritarc file and change "filterId=Box" into "filterId=NearestNeighbour".
Comment 14 Dmitry Kazakov 2018-09-21 10:29:26 UTC
Just to make myself clear: resetting or editing the config file will fix the problem on the current version Krita without any updates.