Bug 410481 - Freeze while painting on krita/4.2 branch (new one with backtrace)
Summary: Freeze while painting on krita/4.2 branch (new one with backtrace)
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tile manager (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-01 12:14 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-08-01 12:14:15 UTC
Hi! 
Another freeze and backtrace while painting on 4.2 branch built on my Kubuntu 18.04LTS with stock Qt; I hope this tickets can help you find something. (I know the "while painting" is not really a reproducible condition). The other ticket was reported here: https://bugs.kde.org/show_bug.cgi?id=410426 

Commit:
0ac6be7aef - (HEAD -> krita/4.2, origin/krita/4.2) Updated `kritadefault.profile` version number (28 hours ago)<Sharaf Zaman>

[Thread 0x7fff29fe1700 (LWP 8559) exited]
[Thread 0x7fff297e0700 (LWP 8560) exited]
[Thread 0x7fff15dfd700 (LWP 8561) exited]
[Thread 0x7fff165fe700 (LWP 8562) exited]
[Thread 0x7fff2a7e5700 (LWP 8563) exited]
Accessing uninitialized random source!
[New Thread 0x7fff2a7e5700 (LWP 8569)]
[New Thread 0x7fff165fe700 (LWP 8570)]
[New Thread 0x7fff15dfd700 (LWP 8571)]
Accessing uninitialized random source!
[New Thread 0x7fff297e0700 (LWP 8572)]
Accessing uninitialized random source!
Accessing uninitialized random source!
[New Thread 0x7fff29fe4700 (LWP 8573)]
Accessing uninitialized random source!
[New Thread 0x7fff28fdf700 (LWP 8574)]
Accessing uninitialized random source!
[New Thread 0x7fff155fc700 (LWP 8575)]
[New Thread 0x7ffef3ffc700 (LWP 8576)]

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

Thread 109 (Thread 0x7ffef3ffc700 (LWP 8576)):
#0  0x00007fffecb5bed9 in futex_reltimed_wait_cancelable (
    private=<optimized out>, reltime=0x7ffef3ffbc40, expected=0, 
    futex_word=0x7fff108117b0)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7ffef3ffbd00, mutex=0x7fff10811760, 
    cond=0x7fff10811788) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fff10811788, mutex=0x7fff10811760, 
    abstime=0x7ffef3ffbd00) at pthread_cond_wait.c:667
#3  0x00007ffff37a9458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a552d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecb556db in start_thread (arg=0x7ffef3ffc700)
    at pthread_create.c:463
#7  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 108 (Thread 0x7fff155fc700 (LWP 8575)):
#0  0x00007fffecb5bed9 in futex_reltimed_wait_cancelable (
    private=<optimized out>, reltime=0x7fff155fbc40, expected=0, 
    futex_word=0x7fff00c4fc74)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff155fbd00, mutex=0x7fff00c4fc20, 
    cond=0x7fff00c4fc48) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fff00c4fc48, mutex=0x7fff00c4fc20, 
    abstime=0x7fff155fbd00) at pthread_cond_wait.c:667
#3  0x00007ffff37a9458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a552d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecb556db in start_thread (arg=0x7fff155fc700)
    at pthread_create.c:463
#7  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 107 (Thread 0x7fff28fdf700 (LWP 8574)):
#0  0x00007fffecb5bed9 in futex_reltimed_wait_cancelable (
    private=<optimized out>, reltime=0x7fff28fdec40, expected=0, 
    futex_word=0x7fff08016980)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff28fded00, mutex=0x7fff08016930, 
---Type <return> to continue, or q <return> to quit---
    cond=0x7fff08016958) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fff08016958, mutex=0x7fff08016930, 
    abstime=0x7fff28fded00) at pthread_cond_wait.c:667
#3  0x00007ffff37a9458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a552d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecb556db in start_thread (arg=0x7fff28fdf700)
    at pthread_create.c:463
#7  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 106 (Thread 0x7fff29fe4700 (LWP 8573)):
#0  0x00007fffecb5bed9 in futex_reltimed_wait_cancelable (
    private=<optimized out>, reltime=0x7fff29fe3c40, expected=0, 
    futex_word=0x7fff08cd8ed0)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff29fe3d00, mutex=0x7fff08cd8e80, 
    cond=0x7fff08cd8ea8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fff08cd8ea8, mutex=0x7fff08cd8e80, 
    abstime=0x7fff29fe3d00) at pthread_cond_wait.c:667
#3  0x00007ffff37a9458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a552d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecb556db in start_thread (arg=0x7fff29fe4700)
    at pthread_create.c:463
#7  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 105 (Thread 0x7fff297e0700 (LWP 8572)):
#0  0x00007fffecb5bed9 in futex_reltimed_wait_cancelable (
    private=<optimized out>, reltime=0x7fff297dfc40, expected=0, 
    futex_word=0x7fff08031e10)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff297dfd00, mutex=0x7fff08031dc0, 
    cond=0x7fff08031de8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fff08031de8, mutex=0x7fff08031dc0, 
    abstime=0x7fff297dfd00) at pthread_cond_wait.c:667
#3  0x00007ffff37a9458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a552d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#6  0x00007fffecb556db in start_thread (arg=0x7fff297e0700)
    at pthread_create.c:463
#7  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 104 (Thread 0x7fff15dfd700 (LWP 8571)):
#0  0x00007fffecb5bed9 in futex_reltimed_wait_cancelable (
    private=<optimized out>, reltime=0x7fff15dfcc40, expected=0, 
    futex_word=0x7fff0855c214)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff15dfcd00, mutex=0x7fff0855c1c0, 
    cond=0x7fff0855c1e8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fff0855c1e8, mutex=0x7fff0855c1c0, 
    abstime=0x7fff15dfcd00) at pthread_cond_wait.c:667
#3  0x00007ffff37a9458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a552d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecb556db in start_thread (arg=0x7fff15dfd700)
    at pthread_create.c:463
#7  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 103 (Thread 0x7fff165fe700 (LWP 8570)):
#0  0x00007fffecb5bed9 in futex_reltimed_wait_cancelable (
    private=<optimized out>, reltime=0x7fff165fdc40, expected=0, 
    futex_word=0x7fff085cac80)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff165fdd00, mutex=0x7fff085cac30, 
    cond=0x7fff085cac58) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fff085cac58, mutex=0x7fff085cac30, 
    abstime=0x7fff165fdd00) at pthread_cond_wait.c:667
#3  0x00007ffff37a9458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a552d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecb556db in start_thread (arg=0x7fff165fe700)
    at pthread_create.c:463
#7  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 102 (Thread 0x7fff2a7e5700 (LWP 8569)):
#0  0x00007fffecb5bed9 in futex_reltimed_wait_cancelable (
---Type <return> to continue, or q <return> to quit---
    private=<optimized out>, reltime=0x7fff2a7e4c40, expected=0, 
    futex_word=0x5555629cf520)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fff2a7e4d00, mutex=0x5555629cf4d0, 
    cond=0x5555629cf4f8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x5555629cf4f8, mutex=0x5555629cf4d0, 
    abstime=0x7fff2a7e4d00) at pthread_cond_wait.c:667
#3  0x00007ffff37a9458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a552d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecb556db in start_thread (arg=0x7fff2a7e5700)
    at pthread_create.c:463
#7  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fffa4be4700 (LWP 8404)):
#0  0x00007ffff2e7ebf9 in __GI___poll (fds=0x7fff98004b40, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeb40f5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeb40f6dc in g_main_context_iteration ()
   from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff39df90b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff39849ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a322a in QThread::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffecb556db in start_thread (arg=0x7fffa4be4700)
    at pthread_create.c:463
#8  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fffa61e8700 (LWP 8403)):
#0  0x00007ffff2e7ebf9 in __GI___poll (fds=0x7fffa0003ce0, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeb40f5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeb40f6dc in g_main_context_iteration ()
   from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff39df8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff39849ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)---Type <return> to continue, or q <return> to quit---
 () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a322a 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  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffecb556db in start_thread (arg=0x7fffa61e8700)
    at pthread_create.c:463
#9  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffb91c6700 (LWP 8402)):
#0  0x00007ffff2e4e9d0 in __GI___nanosleep (requested_time=0x7fffb91c5dc0, 
    remaining=0x7fffb91c5dc0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007ffff39df27d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff574ae7a in KisTileDataSwapper::run (
    this=0x7ffff5c48e40 <_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  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fffecb556db in start_thread (arg=0x7fffb91c6700)
    at pthread_create.c:463
#5  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffb99c7700 (LWP 8401)):
#0  0x00007fffecb5bed9 in futex_reltimed_wait_cancelable (
    private=<optimized out>, reltime=0x7fffb99c6bc0, expected=0, 
    futex_word=0x555560fe9524)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fffb99c6c80, mutex=0x555560fe94d0, 
    cond=0x555560fe94f8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x555560fe94f8, mutex=0x555560fe94d0, 
    abstime=0x7fffb99c6c80) at pthread_cond_wait.c:667
#3  0x00007ffff37a9458 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff37a1e5f in QSemaphore::tryAcquire(int, int) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff572b80b in KisTileDataPooler::waitForWork (
    this=0x7ffff5c48e00 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>)
    at /home/deevad/sources/krita/src/libs/image/tiles3/kis_tile_data_pooler.cc:162
---Type <return> to continue, or q <return> to quit---
#6  0x00007ffff572c0ba in KisTileDataPooler::run (
    this=0x7ffff5c48e00 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>)
    at /home/deevad/sources/krita/src/libs/image/tiles3/kis_tile_data_pooler.cc:186
#7  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffecb556db in start_thread (arg=0x7fffb99c7700)
    at pthread_create.c:463
#9  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffbb077700 (LWP 8400)):
#0  0x00007ffff2e7ebf9 in __GI___poll (fds=0x7fffb4003ce0, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeb40f5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeb40f6dc in g_main_context_iteration ()
   from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff39df8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff39849ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a322a in QThread::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffecb556db in start_thread (arg=0x7fffbb077700)
    at pthread_create.c:463
#8  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffd37e8700 (LWP 8398)):
#0  0x00007ffff2e7ebf9 in __GI___poll (fds=0x7fffcc018370, nfds=4, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffeb40f5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffeb40f6dc in g_main_context_iteration ()
   from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff39df8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff39849ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff37a322a in QThread::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffecd82d45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#8  0x00007fffecb556db in start_thread (arg=0x7fffd37e8700)
    at pthread_create.c:463
#9  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fffdedc2700 (LWP 8397)):
#0  0x00007ffff2e7ebf9 in __GI___poll (fds=0x7fffdedc1ca8, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffea6a4747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fffea6a636a in xcb_wait_for_event ()
   from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe172b2a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff37a816d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffecb556db in start_thread (arg=0x7fffdedc2700)
    at pthread_create.c:463
#6  0x00007ffff2e8b88f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7f9f640 (LWP 8390)):
#0  0x0000555562b1c320 in ?? ()
#1  0x00007ffff6a2b5fd in KisShapeLayer::~KisShapeLayer (this=0x555562b1b740, 
    __in_chrg=<optimized out>)
    at /home/deevad/sources/krita/src/libs/ui/flake/kis_shape_layer.cc:260
#2  0x00007ffff6a2b6b9 in KisShapeLayer::~KisShapeLayer (this=0x555562b1b740, 
    __in_chrg=<optimized out>)
    at /home/deevad/sources/krita/src/libs/ui/flake/kis_shape_layer.cc:262
#3  0x00007ffff6d84380 in KisSharedPtr<KisReferenceImagesLayer>::deref (
    sp=<synthetic pointer>, t=0x555562b1b740)
    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  0x00007ffff6992853 in KisCanvasDecoration::paint (
    this=this@entry=0x5555668189a0, gc=..., updateArea=..., 
    converter=converter@entry=0x5555629dc980, 
    canvas=canvas@entry=0x5555629dca20)
    at /home/deevad/sources/krita/src/libs/ui/canvas/kis_canvas_decoration.cc:81
---Type <return> to continue, or q <return> to quit---
#8  0x00007ffff697b163 in KisCanvasWidgetBase::drawDecorations (
    this=0x5555667c65e8, gc=..., updateWidgetRect=...)
    at /home/deevad/sources/krita/src/libs/ui/canvas/kis_canvas_widget_base.cpp:152
#9  0x00007ffff6b6ebfd in KisOpenGLCanvas2::renderDecorations (
    this=this@entry=0x5555667c65b0, painter=painter@entry=0x7fffffffd2f0)
    at /home/deevad/sources/krita/src/libs/ui/opengl/kis_opengl_canvas2.cpp:953
#10 0x00007ffff6b75716 in KisOpenGLCanvas2::paintGL (this=0x5555667c65b0)
    at /home/deevad/sources/krita/src/libs/ui/opengl/kis_opengl_canvas2.cpp:410
#11 0x00007ffff476385d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff4743038 in QWidget::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff470482c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff470c0f4 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff6cdca07 in KisApplication::notify (this=<optimized out>, 
    receiver=0x5555667c65b0, event=0x7fffffffd6b0)
    at /home/deevad/sources/krita/src/libs/ui/KisApplication.cpp:653
#16 0x00007ffff39869a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff473c18a in QWidgetPrivate::sendPaintEvent(QRegion const&) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff4713704 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff4714095 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff472b66f in QWidgetPrivate::syncBackingStore() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff47431a8 in QWidget::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff4856c4b in QMainWindow::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff5357267 in KMainWindow::event (this=this@entry=0x55555bc22110, 
    ev=ev@entry=0x5555624d2950)
    at /home/deevad/sources/krita/src/libs/widgetutils/xmlgui/kmainwindow.cpp:765
#24 0x00007ffff538d849 in KXmlGuiWindow::event (this=0x55555bc22110, 
    ev=0x5555624d2950)
    at /home/deevad/sources/krita/src/libs/widgetutils/xmlgui/kxmlguiwindow.cpp:125
#25 0x00007ffff470482c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
---Type <return> to continue, or q <return> to quit---
    () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff470c0f4 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff6cdca07 in KisApplication::notify (this=<optimized out>, 
    receiver=0x55555bc22110, event=0x5555624d2950)
    at /home/deevad/sources/krita/src/libs/ui/KisApplication.cpp:653
#28 0x00007ffff39869a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007ffff398911d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff39e02c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fffeb40f417 in g_main_context_dispatch ()
   from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fffeb40f650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fffeb40f6dc in g_main_context_iteration ()
   from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff39df8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007ffff39849ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007ffff398da84 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
(gdb) 
(gdb)
Comment 1 wolthera 2019-08-02 10:16:18 UTC
Hey deevad, can you test with the latest fixes? I think dmitry did some important fixes today for 4.2.5
Comment 2 David REVOY 2019-08-02 13:24:58 UTC
Sure! I'll update and compile 4.2 branch :)
Comment 3 Bug Janitor Service 2019-08-03 04:33:15 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 4 Halla Rempt 2019-08-30 13:23:59 UTC
Setting to need-info