Bug 410426 - Freeze while painting on krita/4.2 branch
Summary: Freeze while painting on krita/4.2 branch
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Reference Images (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-30 19:45 UTC by David REVOY
Modified: 2019-08-31 07:34 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 David REVOY 2019-07-30 19:45:42 UTC
Hi, I could paint more than 10h with 4.2.x compiled (git df673e7), but here is a  freeze I obtained with backtrace while inking:

(Kubuntu, compiled, with stock Qt in package)

BACKTRACE:

Accessing uninitialized random source!
[New Thread 0x7fff52dfd700 (LWP 10853)]
[New Thread 0x7fff515fb700 (LWP 10854)]
Accessing uninitialized random source!
[New Thread 0x7fff7ebfa700 (LWP 10855)]
Accessing uninitialized random source!
[Thread 0x7fff52dfd700 (LWP 10853) exited]
[Thread 0x7fff515fb700 (LWP 10854) exited]
[Thread 0x7fff7ebfa700 (LWP 10855) exited]
Accessing uninitialized random source!
[New Thread 0x7fff7ebfa700 (LWP 10856)]
[New Thread 0x7fff515fb700 (LWP 10857)]
[New Thread 0x7fff52dfd700 (LWP 10858)]
[New Thread 0x7fff7e3f9700 (LWP 10859)]
[New Thread 0x7fff525fc700 (LWP 10860)]

Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) thread apply all bt

Thread 481 (Thread 0x7fff525fc700 (LWP 10860)):
#0  0x00007fffecb5fed9 in futex_reltimed_wait_cancelable (private=<optimized out>, 
    reltime=0x7fff525fbc40, expected=0, futex_word=0x7fff6406d390)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff525fbd00, mutex=0x7fff6406d340, cond=0x7fff6406d368)
    at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fff6406d368, mutex=0x7fff6406d340, abstime=0x7fff525fbd00)
    at pthread_cond_wait.c:667
#3  0x00007ffff37ad458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a952d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37ac16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecb596db in start_thread (arg=0x7fff525fc700) at pthread_create.c:463
#7  0x00007ffff2e8f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 480 (Thread 0x7fff7e3f9700 (LWP 10859)):
#0  0x00007fffecb5fed9 in futex_reltimed_wait_cancelable (private=<optimized out>, 
    reltime=0x7fff7e3f8c40, expected=0, futex_word=0x7fff74a29710)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff7e3f8d00, mutex=0x7fff74a296c0, cond=0x7fff74a296e8)
    at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fff74a296e8, mutex=0x7fff74a296c0, abstime=0x7fff7e3f8d00)
    at pthread_cond_wait.c:667
#3  0x00007ffff37ad458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a952d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37ac16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecb596db in start_thread (arg=0x7fff7e3f9700) at pthread_create.c:463
#7  0x00007ffff2e8f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
---Type <return> to continue, or q <return> to quit---

Thread 479 (Thread 0x7fff52dfd700 (LWP 10858)):
#0  0x00007fffecb5fed9 in futex_reltimed_wait_cancelable (private=<optimized out>, 
    reltime=0x7fff52dfcc40, expected=0, futex_word=0x7fff744e4ad0)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff52dfcd00, mutex=0x7fff744e4a80, cond=0x7fff744e4aa8)
    at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fff744e4aa8, mutex=0x7fff744e4a80, abstime=0x7fff52dfcd00)
    at pthread_cond_wait.c:667
#3  0x00007ffff37ad458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a952d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37ac16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecb596db in start_thread (arg=0x7fff52dfd700) at pthread_create.c:463
#7  0x00007ffff2e8f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 478 (Thread 0x7fff515fb700 (LWP 10857)):
#0  0x00007fffecb5fed9 in futex_reltimed_wait_cancelable (private=<optimized out>, 
    reltime=0x7fff515fac40, expected=0, futex_word=0x7fff74af6ea0)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff515fad00, mutex=0x7fff74af6e50, cond=0x7fff74af6e78)
    at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fff74af6e78, mutex=0x7fff74af6e50, abstime=0x7fff515fad00)
    at pthread_cond_wait.c:667
#3  0x00007ffff37ad458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a952d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37ac16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecb596db in start_thread (arg=0x7fff515fb700) at pthread_create.c:463
#7  0x00007ffff2e8f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
---Type <return> to continue, or q <return> to quit---

Thread 477 (Thread 0x7fff7ebfa700 (LWP 10856)):
#0  0x00007fffecb5fed9 in futex_reltimed_wait_cancelable (private=<optimized out>, 
    reltime=0x7fff7ebf9c40, expected=0, futex_word=0x555569172870)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff7ebf9d00, mutex=0x555569172820, cond=0x555569172848)
    at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x555569172848, mutex=0x555569172820, abstime=0x7fff7ebf9d00)
    at pthread_cond_wait.c:667
#3  0x00007ffff37ad458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a952d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37ac16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecb596db in start_thread (arg=0x7fff7ebfa700) at pthread_create.c:463
#7  0x00007ffff2e8f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fffa4be4700 (LWP 10186)):
#0  0x00007ffff2e82bf9 in __GI___poll (fds=0x7fff98004b40, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeb4135c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeb4136dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff39e390b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff39889ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a722a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff37ac16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffecb596db in start_thread (arg=0x7fffa4be4700) at pthread_create.c:463
#8  0x00007ffff2e8f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

---Type <return> to continue, or q <return> to quit---
Thread 10 (Thread 0x7fffa61e8700 (LWP 10185)):
#0  0x00007ffff2e82bf9 in __GI___poll (fds=0x7fffa0003ce0, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeb4135c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeb4136dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff39e38ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff39889ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a722a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffd6efb6f5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff37ac16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffecb596db in start_thread (arg=0x7fffa61e8700) at pthread_create.c:463
#9  0x00007ffff2e8f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffb91d0700 (LWP 10184)):
#0  0x00007ffff2e529d0 in __GI___nanosleep (requested_time=0x7fffb91cfdc0, remaining=0x7fffb91cfdc0)
    at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007ffff39e327d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff574e1da in KisTileDataSwapper::run (
    this=0x7ffff5c49e40 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>)
    at /home/deevad/sources/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:97
#3  0x00007ffff37ac16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fffecb596db in start_thread (arg=0x7fffb91d0700) at pthread_create.c:463
#5  0x00007ffff2e8f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffb99d1700 (LWP 10183)):
#0  0x00007fffecb5fed9 in futex_reltimed_wait_cancelable (private=<optimized out>, 
    reltime=0x7fffb99d0bc0, expected=0, futex_word=0x555560fe2ec0)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
---Type <return> to continue, or q <return> to quit---
#1  __pthread_cond_wait_common (abstime=0x7fffb99d0c80, mutex=0x555560fe2e70, cond=0x555560fe2e98)
    at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x555560fe2e98, mutex=0x555560fe2e70, abstime=0x7fffb99d0c80)
    at pthread_cond_wait.c:667
#3  0x00007ffff37ad458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a5e5f in QSemaphore::tryAcquire(int, int) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff572eb6b in KisTileDataPooler::waitForWork (
    this=0x7ffff5c49e00 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>)
    at /home/deevad/sources/krita/src/libs/image/tiles3/kis_tile_data_pooler.cc:162
#6  0x00007ffff572f41a in KisTileDataPooler::run (
    this=0x7ffff5c49e00 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>)
    at /home/deevad/sources/krita/src/libs/image/tiles3/kis_tile_data_pooler.cc:186
#7  0x00007ffff37ac16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffecb596db in start_thread (arg=0x7fffb99d1700) at pthread_create.c:463
#9  0x00007ffff2e8f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffbb081700 (LWP 10182)):
#0  0x00007ffff2e82bf9 in __GI___poll (fds=0x7fffb4003ce0, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeb4135c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeb4136dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff39e38ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff39889ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a722a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff37ac16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffecb596db in start_thread (arg=0x7fffbb081700) at pthread_create.c:463
---Type <return> to continue, or q <return> to quit---
#8  0x00007ffff2e8f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffd37e8700 (LWP 10181)):
#0  0x00007ffff2e82bf9 in __GI___poll (fds=0x7fffcc018340, nfds=4, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeb4135c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeb4136dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff39e38ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff39889ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a722a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecd86d45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ffff37ac16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffecb596db in start_thread (arg=0x7fffd37e8700) at pthread_create.c:463
#9  0x00007ffff2e8f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fffdedc6700 (LWP 10180)):
#0  0x00007ffff2e82bf9 in __GI___poll (fds=0x7fffdedc5ca8, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffea6a8747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fffea6aa36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe172f2a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff37ac16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffecb596db in start_thread (arg=0x7fffdedc6700) at pthread_create.c:463
#6  0x00007ffff2e8f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7f9f640 (LWP 10171)):
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff6a2bd7d in KisShapeLayer::~KisShapeLayer (this=0x555562b2f510, __in_chrg=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /home/deevad/sources/krita/src/libs/ui/flake/kis_shape_layer.cc:260
#2  0x00007ffff6a2be39 in KisShapeLayer::~KisShapeLayer (this=0x555562b2f510, __in_chrg=<optimized out>)
    at /home/deevad/sources/krita/src/libs/ui/flake/kis_shape_layer.cc:262
#3  0x00007ffff6d848c0 in KisSharedPtr<KisReferenceImagesLayer>::deref (sp=<synthetic pointer>, 
    t=0x555562b2f510) at /home/deevad/sources/krita/src/libs/global/kis_shared_ptr.h:211
#4  KisSharedPtr<KisReferenceImagesLayer>::deref (this=<synthetic pointer>)
    at /home/deevad/sources/krita/src/libs/global/kis_shared_ptr.h:225
#5  KisSharedPtr<KisReferenceImagesLayer>::~KisSharedPtr (this=<synthetic pointer>, 
    __in_chrg=<optimized out>) at /home/deevad/sources/krita/src/libs/global/kis_shared_ptr.h:109
#6  KisReferenceImagesDecoration::drawDecoration (this=<optimized out>, gc=..., 
    converter=<optimized out>)
    at /home/deevad/sources/krita/src/libs/ui/KisReferenceImagesDecoration.cpp:130
#7  0x00007ffff6993153 in KisCanvasDecoration::paint (this=this@entry=0x555564b94b60, gc=..., 
    updateArea=..., converter=converter@entry=0x555562719760, canvas=canvas@entry=0x555562719800)
    at /home/deevad/sources/krita/src/libs/ui/canvas/kis_canvas_decoration.cc:81
#8  0x00007ffff697ba83 in KisCanvasWidgetBase::drawDecorations (this=0x555564ba8ec8, gc=..., 
    updateWidgetRect=...) at /home/deevad/sources/krita/src/libs/ui/canvas/kis_canvas_widget_base.cpp:152
#9  0x00007ffff6b6f2fd in KisOpenGLCanvas2::renderDecorations (this=this@entry=0x555564ba8e90, 
    painter=painter@entry=0x7fffffffd2f0)
    at /home/deevad/sources/krita/src/libs/ui/opengl/kis_opengl_canvas2.cpp:953
#10 0x00007ffff6b75e06 in KisOpenGLCanvas2::paintGL (this=0x555564ba8e90)
    at /home/deevad/sources/krita/src/libs/ui/opengl/kis_opengl_canvas2.cpp:410
#11 0x00007ffff476785d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff4747038 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff470882c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff47100f4 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff6cdd1c7 in KisApplication::notify (this=<optimized out>, receiver=0x555564ba8e90, 
    event=0x7fffffffd6b0) at /home/deevad/sources/krita/src/libs/ui/KisApplication.cpp:653
---Type <return> to continue, or q <return> to quit---
#16 0x00007ffff398a9a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff474018a in QWidgetPrivate::sendPaintEvent(QRegion const&) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff4717704 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff4718095 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff472f66f in QWidgetPrivate::syncBackingStore() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff47471a8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff485ac4b in QMainWindow::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff535b267 in KMainWindow::event (this=this@entry=0x55555776e050, ev=ev@entry=0x5555616854f0)
    at /home/deevad/sources/krita/src/libs/widgetutils/xmlgui/kmainwindow.cpp:765
#24 0x00007ffff5391849 in KXmlGuiWindow::event (this=0x55555776e050, ev=0x5555616854f0)
    at /home/deevad/sources/krita/src/libs/widgetutils/xmlgui/kxmlguiwindow.cpp:125
#25 0x00007ffff470882c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff47100f4 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff6cdd1c7 in KisApplication::notify (this=<optimized out>, receiver=0x55555776e050, 
    event=0x5555616854f0) at /home/deevad/sources/krita/src/libs/ui/KisApplication.cpp:653
#28 0x00007ffff398a9a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007ffff398d11d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff39e42c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fffeb413417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fffeb413650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fffeb4136dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff39e38ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007ffff39889ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007ffff3991a84 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x0000555555e4d48e in main (argc=<optimized out>, argv=0x7fffffffe3f8)
    at /home/deevad/sources/krita/src/krita/main.cc:535
Comment 1 Dmitry Kazakov 2019-08-02 11:59:54 UTC
The crash happened because reference images were deleted while they were painted over the canvas.

David, do you remember, did you manipulate with the reference images somehow right before the crash?
Comment 2 David REVOY 2019-08-02 13:22:25 UTC
I think the document had a reference, yes, and I deleted it probably a couple of minute before the crash. (it was an empty reference frame; a ref with a broken absolute path because I renamed my folder). I probably painted more than two minutes after that and I had no autosave after, I had to redo.
Comment 3 Halla Rempt 2019-08-30 13:24:34 UTC
Does this still happen with dmitry's latest fixes?
Comment 4 Dmitry Kazakov 2019-08-30 13:33:07 UTC
This crash happened when deleting the last Reference Image from the document. I guess this should be the same bug as:
https://bugs.kde.org/show_bug.cgi?id=411365