Bug 411232 - Reference images cause crashing every 5-10 minutes on all available versions.
Summary: Reference images cause crashing every 5-10 minutes on all available versions.
Status: RESOLVED DUPLICATE of bug 411212
Alias: None
Product: krita
Classification: Applications
Component: Tools/Reference Images (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-24 05:12 UTC by Ralek Kolemios
Modified: 2019-08-24 12:43 UTC (History)
2 users (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 Ralek Kolemios 2019-08-24 05:12:44 UTC
SUMMARY
I decided to use the reference tool for the first time. I found it very useful. However, ever since dragging images into my project, said project crashes every 5-10 minutes. It's not tied to autosave, as that's set to every 1 minute. It seems(?) to be tied to using the space-button pan tool, though that may be coincidence as it's what I use the most.

In addition to the random crashing, I can force a crash by trying to remove any of the reference images. Since that's more reproducible, I'll describe that below.

This problem persists on all available versions, most recent 4.3, 4.2.6, 4.2.5

STEPS TO REPRODUCE
1. Import a reference image with the reference tool
2. try to delete it

OBSERVED RESULT
Entire program freezes and windows attempts to send a report

EXPECTED RESULT
It deletes the references


Qt

  Version (compiled): 5.12.4
  Version (loaded): 5.12.4

OS Information

  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.16299
  Pretty Productname: Windows 10 (10.0)
  Product Type: windows
  Product Version: 10


Hardware Information

  GPU Acceleration: angle
  GPU: Nvidia GTX 980TI
  Memory: 65445 Mb
  Number of Cores: 12
  Swap Location: C:/Windows/Temp
Comment 1 Raghavendra kamath 2019-08-24 05:25:04 UTC
I can confirm this on recent master built from git. Trying to delete the reference image hangs krita.

here is the backtrace from gdb

-------------------------------------
Copyright (C) 2019 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-pc-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 /home/raghu/kf5/inst/bin/krita...
(gdb) run
Starting program: /home/raghu/kf5/inst/bin/krita 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffed2d6700 (LWP 24537)]
[Thread 0x7fffed2d6700 (LWP 24537) exited]
[New Thread 0x7fffed2d6700 (LWP 24538)]
[Thread 0x7fffed2d6700 (LWP 24538) exited]
[New Thread 0x7fffed2d6700 (LWP 24540)]
[Thread 0x7fffed2d6700 (LWP 24540) exited]
[New Thread 0x7fffed2d6700 (LWP 24541)]
[New Thread 0x7fffe433c700 (LWP 24542)]
[New Thread 0x7fffdbfff700 (LWP 24543)]
[New Thread 0x7fffdb7fe700 (LWP 24544)]
[New Thread 0x7fffdaffd700 (LWP 24545)]
[Thread 0x7fffdb7fe700 (LWP 24544) exited]
/home/raghu/kf5/inst/lib64/krita-python-libs/krita added to PYTHONPATH
[New Thread 0x7fffdb7fe700 (LWP 24546)]
[New Thread 0x7fffcbfff700 (LWP 24547)]
[New Thread 0x7fffcb7fe700 (LWP 24548)]
[New Thread 0x7fffcaffd700 (LWP 24549)]
[New Thread 0x7fffb3ffb700 (LWP 24550)]
[New Thread 0x7fffb37fa700 (LWP 24551)]
[New Thread 0x7fffb2ff9700 (LWP 24552)]
[New Thread 0x7fffb27f8700 (LWP 24553)]
[New Thread 0x7fffb1ff7700 (LWP 24554)]
[New Thread 0x7fffb17f6700 (LWP 24555)]
[Thread 0x7fffb3ffb700 (LWP 24550) exited]
[Thread 0x7fffb1ff7700 (LWP 24554) exited]
[Thread 0x7fffb2ff9700 (LWP 24552) exited]
[Thread 0x7fffb27f8700 (LWP 24553) exited]
[Thread 0x7fffb37fa700 (LWP 24551) exited]
[Thread 0x7fffcb7fe700 (LWP 24548) exited]
[Thread 0x7fffb17f6700 (LWP 24555) exited]
[Thread 0x7fffcaffd700 (LWP 24549) exited]
[New Thread 0x7fffb17f6700 (LWP 24556)]
[New Thread 0x7fffcaffd700 (LWP 24557)]
[New Thread 0x7fffb27f8700 (LWP 24558)]
[New Thread 0x7fffb2ff9700 (LWP 24559)]
[New Thread 0x7fffbe182700 (LWP 24560)]
[New Thread 0x7fffbd981700 (LWP 24561)]
[New Thread 0x7fffbd180700 (LWP 24562)]
[New Thread 0x7fffbc97f700 (LWP 24563)]
[New Thread 0x7fffbc17e700 (LWP 24564)]
[New Thread 0x7fffbb97d700 (LWP 24565)]
[Thread 0x7fffbc17e700 (LWP 24564) exited]
[Thread 0x7fffbd180700 (LWP 24562) exited]
[Thread 0x7fffb27f8700 (LWP 24558) exited]
[Thread 0x7fffbc97f700 (LWP 24563) exited]
[Thread 0x7fffbb97d700 (LWP 24565) exited]
[Thread 0x7fffb2ff9700 (LWP 24559) exited]
[Thread 0x7fffbd981700 (LWP 24561) exited]
[Thread 0x7fffbe182700 (LWP 24560) exited]
[New Thread 0x7fffbe182700 (LWP 24566)]
[Thread 0x7fffbe182700 (LWP 24566) exited]
[New Thread 0x7fffbe182700 (LWP 24567)]
[New Thread 0x7fffbd981700 (LWP 24568)]
[New Thread 0x7fffb2ff9700 (LWP 24569)]
[New Thread 0x7fffbb97d700 (LWP 24570)]
[New Thread 0x7fffb957c700 (LWP 24571)]
[New Thread 0x7fffb8d7b700 (LWP 24572)]
[New Thread 0x7fffb3fff700 (LWP 24573)]
[New Thread 0x7fffb37fe700 (LWP 24574)]
[Thread 0x7fffb957c700 (LWP 24571) exited]
[Thread 0x7fffb2ff9700 (LWP 24569) exited]
[Thread 0x7fffbd981700 (LWP 24568) exited]
[Thread 0x7fffbe182700 (LWP 24567) exited]
[Thread 0x7fffb8d7b700 (LWP 24572) exited]
[Thread 0x7fffbb97d700 (LWP 24570) exited]
[Thread 0x7fffb37fe700 (LWP 24574) exited]
[Thread 0x7fffb3fff700 (LWP 24573) exited]
[New Thread 0x7fffb3fff700 (LWP 24575)]
[New Thread 0x7fffb37fe700 (LWP 24576)]
[New Thread 0x7fffbb97d700 (LWP 24577)]
[New Thread 0x7fffb8d7b700 (LWP 24578)]
[New Thread 0x7fffbe182700 (LWP 24579)]
[New Thread 0x7fffbd981700 (LWP 24580)]
[New Thread 0x7fffb957c700 (LWP 24581)]
[New Thread 0x7fffb2ffd700 (LWP 24582)]
[Thread 0x7fffb957c700 (LWP 24581) exited]
[Thread 0x7fffbd981700 (LWP 24580) exited]
[Thread 0x7fffb8d7b700 (LWP 24578) exited]
[Thread 0x7fffb37fe700 (LWP 24576) exited]
[Thread 0x7fffb2ffd700 (LWP 24582) exited]
[Thread 0x7fffb3fff700 (LWP 24575) exited]
[Thread 0x7fffbe182700 (LWP 24579) exited]
[Thread 0x7fffbb97d700 (LWP 24577) exited]
[New Thread 0x7fffbb97d700 (LWP 24583)]
[New Thread 0x7fffbe182700 (LWP 24584)]
[New Thread 0x7fffb2ffd700 (LWP 24585)]
[New Thread 0x7fffb8d7b700 (LWP 24586)]
[New Thread 0x7fffb3fff700 (LWP 24587)]
[New Thread 0x7fffb37fe700 (LWP 24588)]
[New Thread 0x7fffb27fc700 (LWP 24589)]
[New Thread 0x7fffb1ffb700 (LWP 24590)]
[Thread 0x7fffbe182700 (LWP 24584) exited]
[Thread 0x7fffbb97d700 (LWP 24583) exited]
[Thread 0x7fffb1ffb700 (LWP 24590) exited]
[Thread 0x7fffb8d7b700 (LWP 24586) exited]
[Thread 0x7fffb37fe700 (LWP 24588) exited]
[Thread 0x7fffb2ffd700 (LWP 24585) exited]
[Thread 0x7fffb3fff700 (LWP 24587) exited]
[Thread 0x7fffb27fc700 (LWP 24589) exited]
[New Thread 0x7fffb27fc700 (LWP 24591)]
[New Thread 0x7fffb3fff700 (LWP 24592)]
[New Thread 0x7fffb2ffd700 (LWP 24593)]
[New Thread 0x7fffb37fe700 (LWP 24594)]
[New Thread 0x7fffbe182700 (LWP 24595)]
[New Thread 0x7fffbb980700 (LWP 24596)]
[New Thread 0x7fffb917c700 (LWP 24597)]
[New Thread 0x7fffb1ffb700 (LWP 24598)]
^C
Thread 1 "krita" received signal SIGINT, Interrupt.
0x00007ffff27dbe3d in syscall () from /usr/lib/libc.so.6
(gdb) thread apply all backtrace

Thread 62 (Thread 0x7fffb1ffb700 (LWP 24598)):
#0  0x00007ffff1b8877c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff2cb850c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff2cb8659 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007ffff2cb5b0b in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 61 (Thread 0x7fffb917c700 (LWP 24597)):
#0  0x00007ffff1b8877c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff2cb850c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff2cb8659 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007ffff2cb5b0b in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 60 (Thread 0x7fffbb980700 (LWP 24596)):
#0  0x00007ffff1b8877c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff2cb850c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff2cb8659 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007ffff2cb5b0b in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 59 (Thread 0x7fffbe182700 (LWP 24595)):
#0  0x00007ffff1b8877c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff2cb850c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff2cb8659 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007ffff2cb5b0b in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 58 (Thread 0x7fffb37fe700 (LWP 24594)):
#0  0x00007ffff1b8877c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff2cb850c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff2cb8659 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007ffff2cb5b0b in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 57 (Thread 0x7fffb2ffd700 (LWP 24593)):
#0  0x00007ffff1b8877c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff2cb850c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff2cb8659 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007ffff2cb5b0b in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#5  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 56 (Thread 0x7fffb3fff700 (LWP 24592)):
#0  0x00007ffff1b8877c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff2cb850c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff2cb8659 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007ffff2cb5b0b in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 55 (Thread 0x7fffb27fc700 (LWP 24591)):
#0  0x00007ffff1b8877c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff2cb850c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff2cb8659 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007ffff2cb5b0b in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 21 (Thread 0x7fffcaffd700 (LWP 24557)):
#0  0x00007ffff1b8877c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff2cb850c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff2cb8659 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007ffff2cb5b0b in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 20 (Thread 0x7fffb17f6700 (LWP 24556)):
#0  0x00007ffff27d6667 in poll () from /usr/lib/libc.so.6
#1  0x00007ffff0bc0a80 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff0bc0b51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff2ed79a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2e7e5ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff2cb12f5 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7fffcbfff700 (LWP 24547)):
#0  0x00007ffff27d6667 in poll () from /usr/lib/libc.so.6
#1  0x00007ffff0bc0a80 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff0bc0b51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff2ed79a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2e7e5ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff2cb12f5 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fffe564f61b in ?? () from /usr/lib/libQt5Quick.so.5
#7  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6
--Type <RET> for more, q to quit, c to continue without paging--

Thread 10 (Thread 0x7fffdb7fe700 (LWP 24546)):
#0  0x00007ffff27d6667 in poll () from /usr/lib/libc.so.6
#1  0x00007ffff0bc0a80 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff0bc0b51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff2ed79a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2e7e5ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff2cb12f5 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fffe53738f9 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7fffdaffd700 (LWP 24545)):
#0  0x00007ffff27dbe3d in syscall () from /usr/lib/libc.so.6
#1  0x00007ffff2cb4bc1 in ?? () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff2cb4a26 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQt5Core.so.5
#3  0x00007ffff5db0723 in KisTileDataSwapper::waitForWork (this=<optimized out>) at /mnt/attic/krita-build/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007ffff5db08fa in KisTileDataSwapper::run (this=0x7ffff60cc240 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /mnt/attic/krita-build/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fffdbfff700 (LWP 24543)):
#0  0x00007ffff27d6667 in poll () from /usr/lib/libc.so.6
#1  0x00007ffff0bc0a80 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff0bc0b51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff2ed79a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2e7e5ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff2cb12f5 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fffe433c700 (LWP 24542)):
#0  0x00007ffff27d6667 in poll () from /usr/lib/libc.so.6
#1  0x00007ffff0bc0a80 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff0bc0b51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff2ed79a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2e7e5ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff2cb12f5 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ffff4d84b37 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fffed2d6700 (LWP 24541)):
#0  0x00007ffff27d6667 in poll () from /usr/lib/libc.so.6
#1  0x00007ffff450f630 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007ffff45112db in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fffeda7e049 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ffff2cb2520 in ?? () from /usr/lib/libQt5Core.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#5  0x00007ffff1b8257f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff27e10e3 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fffedece840 (LWP 24530)):
#0  0x00007ffff27dbe3d in syscall () from /usr/lib/libc.so.6
#1  0x00007ffff2cb27b6 in QBasicMutex::lockInternal() () from /usr/lib/libQt5Core.so.5
#2  0x00007ffff5832c86 in QMutexLocker::QMutexLocker (m=0x5555670bcdf8, this=<synthetic pointer>) at /usr/include/qt/QtCore/qmutex.h:206
#3  KoShapeManager::paint (this=0x555564f19070, painter=..., converter=..., forPrint=forPrint@entry=false) at /mnt/attic/krita-build/src/krita/libs/flake/KoShapeManager.cpp:290
#4  0x00007ffff719a800 in KisReferenceImagesLayer::paintReferences (this=<optimized out>, painter=...) at /mnt/attic/krita-build/src/krita/libs/ui/flake/KisReferenceImagesLayer.cpp:171
#5  0x00007ffff719567c in KisReferenceImagesDecoration::Private::updateBuffer (this=this@entry=0x5555673060c0, widgetRect=..., imageRect=...) at /mnt/attic/krita-build/src/krita/libs/global/kis_shared_ptr.h:431
#6  0x00007ffff719420f in KisReferenceImagesDecoration::Private::updateBufferByImageCoordinates (dirtyImageRect=..., this=0x5555673060c0) at /mnt/attic/krita-build/src/krita/libs/ui/KisReferenceImagesDecoration.cpp:55
#7  KisReferenceImagesDecoration::slotReferenceImagesChanged (this=0x55556709da30, dirtyRect=...) at /mnt/attic/krita-build/src/krita/libs/ui/KisReferenceImagesDecoration.cpp:161
#8  0x00007ffff6d4ff81 in KisReferenceImagesDecoration::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /mnt/attic/krita-build/build/libs/ui/kritaui_autogen/EWIEGA46WW/moc_KisReferenceImagesDecoration.cpp:80
#9  0x00007ffff2eaba11 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#10 0x00007ffff6d46342 in KisReferenceImagesLayer::sigUpdateCanvas (this=<optimized out>, _t1=...) at /mnt/attic/krita-build/build/libs/ui/kritaui_autogen/QUY67KCZCL/moc_KisReferenceImagesLayer.cpp:133
#11 0x00007ffff719a865 in KisReferenceImagesLayer::signalUpdate (this=<optimized out>, rect=...) at /mnt/attic/krita-build/src/krita/libs/ui/flake/KisReferenceImagesLayer.cpp:196
#12 0x00007ffff719b2df in ReferenceImagesCanvas::updateCanvas (rect=..., this=0x5555674eb270) at /mnt/attic/krita-build/src/krita/libs/ui/flake/KisReferenceImagesLayer.cpp:110
#13 ReferenceImagesCanvas::updateCanvas (this=0x5555674eb270, rect=...) at /mnt/attic/krita-build/src/krita/libs/ui/flake/KisReferenceImagesLayer.cpp:103
#14 0x00007ffff582da0d in KoShapeManager::update (this=0x555564f19070, rect=..., shape=0x555567328070, selectionHandles=<optimized out>) at /mnt/attic/krita-build/src/krita/libs/flake/KoShapeManager.cpp:625
#15 0x00007ffff5815cbf in KoShape::update (this=this@entry=0x555567328070) at /mnt/attic/krita-build/src/krita/libs/flake/KoShape.cpp:728
#16 0x00007ffff582abbe in KoShapeContainer::update (this=0x555567328070) at /mnt/attic/krita-build/src/krita/libs/flake/KoShapeContainer.cpp:143
#17 0x00007ffff583021a in KoShapeManager::remove (this=0x555564f19070, shape=<optimized out>, shape@entry=0x555567328070) at /mnt/attic/krita-build/src/krita/libs/flake/KoShapeManager.cpp:239
#18 0x00007ffff6e26282 in ShapeLayerContainerModel::shapeToBeRemovedFromHierarchy (this=0x5555670b92f0, shape=0x555567328070, removedFromSubtree=0x5555674fc868) at /mnt/attic/krita-build/src/krita/libs/ui/flake/kis_shape_layer.cc:121
#19 0x00007ffff582a4b2 in KoShapeContainer::ShapeInterface::removeShape (this=0x555564f18288, shape=shape@entry=0x555567328070) at /mnt/attic/krita-build/src/krita/libs/flake/KoShapeContainer.cpp:224
#20 0x00007ffff581df40 in KoShape::setParent (this=0x555567328070, parent=0x0) at /mnt/attic/krita-build/src/krita/libs/flake/KoShape.cpp:662
#21 0x00007ffff6e1d494 in KisShapeController::removeShape (this=0x555563491a70, shape=0x555567328070) at /mnt/attic/krita-build/src/krita/libs/ui/flake/kis_shape_controller.cpp:231
#22 0x00007ffff58c0398 in KoShapeDeleteCommand::redo (this=<optimized out>) at /usr/include/qt/QtCore/qlist.h:116
#23 KoShapeDeleteCommand::redo (this=this@entry=0x55556de01560) at /mnt/attic/krita-build/src/krita/libs/flake/commands/KoShapeDeleteCommand.cpp:77
#24 0x00007ffff719b58e in RemoveReferenceImagesCommand::redo (this=0x55556de01560) at /mnt/attic/krita-build/src/krita/libs/ui/flake/KisReferenceImagesLayer.cpp:72
#25 0x00007ffff5416077 in KUndo2Command::redoMergedCommands (this=0x55556de01560) at /mnt/attic/krita-build/src/krita/libs/command/kundo2stack.cpp:398
#26 0x00007ffff5416d25 in KUndo2QStack::push (this=0x55556542fd70, cmd=<optimized out>) at /mnt/attic/krita-build/src/krita/libs/command/kundo2stack.cpp:711
#27 0x00007fffe14ce2f7 in ToolReferenceImages::deleteSelection (this=0x5555651890f0) at /mnt/attic/krita-build/src/krita/plugins/tools/defaulttool/referenceimagestool/ToolReferenceImages.cpp:274
#28 0x00007ffff6f14800 in KisSelectionManager::clear (this=0x55556337e410) at /mnt/attic/krita-build/src/krita/libs/ui/kis_selection_manager.cc:509
#29 0x00007ffff6d50981 in KisSelectionManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /mnt/attic/krita-build/build/libs/ui/kritaui_autogen/EWIEGA46WW/moc_kis_selection_manager.cpp:250
#30 0x00007ffff2eaba11 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#31 0x00007ffff3837e93 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#32 0x00007ffff383a624 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
#33 0x00007ffff383af10 in QAction::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#34 0x00007ffff383e4d5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#35 0x00007ffff3847a21 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#36 0x00007ffff70e4399 in KisApplication::notify (this=<optimized out>, receiver=0x55556294ae80, event=0x7fffffffdda0) at /mnt/attic/krita-build/src/krita/libs/ui/KisApplication.cpp:653
#37 0x00007ffff2e7f9c2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#38 0x00007ffff3248ef0 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5
#39 0x00007ffff3248fd3 in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5
#40 0x00007ffff31fb3d4 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /usr/lib/libQt5Gui.so.5
#41 0x00007ffff321976e in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5
#42 0x00007ffff321f03f in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#43 0x00007ffff31f737c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#44 0x00007fffeda7efec in ?? () from /usr/lib/libQt5XcbQpa.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#45 0x00007ffff0bbecf4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#46 0x00007ffff0bc0b11 in ?? () from /usr/lib/libglib-2.0.so.0
#47 0x00007ffff0bc0b51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#48 0x00007ffff2ed79a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#49 0x00007ffff2e7e5ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#50 0x00007ffff2e86326 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#51 0x0000555555e4e1f2 in main (argc=<optimized out>, argv=0x7fffffffe528) at /mnt/attic/krita-build/src/krita/krita/main.cc:535
(gdb)
Comment 2 wolthera 2019-08-24 12:43:54 UTC
Hey, the delete crash is already reported, so I'll mark this as a duplicate. The other bug you're talking about is separate though.

It'd be super great if you could make a separate bugreport for the other 5/10 minutes crash, and see if you can attach a backtrace as per instructions: https://docs.krita.org/en/reference_manual/dr_minw_debugger.html :)

*** This bug has been marked as a duplicate of bug 411212 ***