Bug 405093 - Crash after closing a document.
Summary: Crash after closing a document.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-03-04 21:22 UTC by wolthera
Modified: 2019-03-18 15:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (25.19 KB, text/plain)
2019-03-04 21:24 UTC, wolthera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wolthera 2019-03-04 21:22:15 UTC
Application: krita (4.2.0-pre-alpha (git 03db690))

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

-- Information about the crash:
- What I was doing when the application crashed:

I had a document open, I closed it. Then Krita crashed. Seems to be related to the mirror view config again... Haven't tried to reproduce.

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

Thread 18 (Thread 0x7fe32782f700 (LWP 25299)):
#0  0x00007fe3919daed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fe32782ebc0, expected=0, futex_word=0x7fe3200153b4) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fe32782ec80, mutex=0x7fe320015360, cond=0x7fe320015388) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fe320015388, mutex=0x7fe320015360, abstime=0x7fe32782ec80) at pthread_cond_wait.c:667
#3  0x00007fe398b5aac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398b5ae25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe398b585dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe3919d46db in start_thread (arg=0x7fe32782f700) at pthread_create.c:463
#8  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7fe32ce2f700 (LWP 25298)):
#0  0x00007fe3919daed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fe32ce2ebc0, expected=0, futex_word=0x7fe320014f60) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fe32ce2ec80, mutex=0x7fe320014f10, cond=0x7fe320014f38) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fe320014f38, mutex=0x7fe320014f10, abstime=0x7fe32ce2ec80) at pthread_cond_wait.c:667
#3  0x00007fe398b5aac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398b5ae25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe398b585dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe3919d46db in start_thread (arg=0x7fe32ce2f700) at pthread_create.c:463
#8  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7fe32d630700 (LWP 25297)):
#0  0x00007fe3919daed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fe32d62fbc0, expected=0, futex_word=0x7fe320002fe0) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fe32d62fc80, mutex=0x7fe320002f90, cond=0x7fe320002fb8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fe320002fb8, mutex=0x7fe320002f90, abstime=0x7fe32d62fc80) at pthread_cond_wait.c:667
#3  0x00007fe398b5aac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398b5ae25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe398b585dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe3919d46db in start_thread (arg=0x7fe32d630700) at pthread_create.c:463
#8  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7fe32de31700 (LWP 25296)):
#0  0x00007fe3919daed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fe32de30bc0, expected=0, futex_word=0x7fe320001f10) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fe32de30c80, mutex=0x7fe320001ec0, cond=0x7fe320001ee8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fe320001ee8, mutex=0x7fe320001ec0, abstime=0x7fe32de30c80) at pthread_cond_wait.c:667
#3  0x00007fe398b5aac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398b5ae25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe398b585dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe3919d46db in start_thread (arg=0x7fe32de31700) at pthread_create.c:463
#8  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7fe31d6fe700 (LWP 25295)):
#0  0x00007fe3919daed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fe31d6fdbc0, expected=0, futex_word=0x7fe320001c50) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fe31d6fdc80, mutex=0x7fe320001c00, cond=0x7fe320001c28) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fe320001c28, mutex=0x7fe320001c00, abstime=0x7fe31d6fdc80) at pthread_cond_wait.c:667
#3  0x00007fe398b5aac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398b5ae25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe398b585dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe3919d46db in start_thread (arg=0x7fe31d6fe700) at pthread_create.c:463
#8  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fe31cefd700 (LWP 25294)):
#0  0x00007fe3919daed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fe31cefcbc0, expected=0, futex_word=0x7fe320001620) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fe31cefcc80, mutex=0x7fe3200015d0, cond=0x7fe3200015f8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fe3200015f8, mutex=0x7fe3200015d0, abstime=0x7fe31cefcc80) at pthread_cond_wait.c:667
#3  0x00007fe398b5aac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398b5ae25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe398b585dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe3919d46db in start_thread (arg=0x7fe31cefd700) at pthread_create.c:463
#8  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7fe303fff700 (LWP 25293)):
#0  0x00007fe3919daed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fe303ffebc0, expected=0, futex_word=0x7fe3200140e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fe303ffec80, mutex=0x7fe320014090, cond=0x7fe3200140b8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fe3200140b8, mutex=0x7fe320014090, abstime=0x7fe303ffec80) at pthread_cond_wait.c:667
#3  0x00007fe398b5aac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398b5ae25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe398b585dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe3919d46db in start_thread (arg=0x7fe303fff700) at pthread_create.c:463
#8  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fe3037fe700 (LWP 25292)):
#0  0x00007fe3919daed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fe3037fdbc0, expected=0, futex_word=0x55fea0904480) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fe3037fdc80, mutex=0x55fea0904430, cond=0x55fea0904458) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x55fea0904458, mutex=0x55fea0904430, abstime=0x7fe3037fdc80) at pthread_cond_wait.c:667
#3  0x00007fe398b5aac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398b5ae25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe398b585dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe3919d46db in start_thread (arg=0x7fe3037fe700) at pthread_create.c:463
#8  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fe33d076700 (LWP 25239)):
#0  0x00007fe3919daed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fe33d075bc0, expected=0, futex_word=0x7fe3300064e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fe33d075c80, mutex=0x7fe330006490, cond=0x7fe3300064b8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x7fe3300064b8, mutex=0x7fe330006490, abstime=0x7fe33d075c80) at pthread_cond_wait.c:667
#3  0x00007fe398b5aac6 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398b5ae25 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe398b585dd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe3919d46db in start_thread (arg=0x7fe33d076700) at pthread_create.c:463
#8  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fe33d877700 (LWP 25238)):
#0  0x00007fe39822ebf9 in __GI___poll (fds=0x7fe330004db0, nfds=1, timeout=127390) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe3900d8539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe3900d864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe398d8915b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398d2a64a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe398b5241a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe3919d46db in start_thread (arg=0x7fe33d877700) at pthread_create.c:463
#8  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fe33e0b8700 (LWP 25233)):
#0  0x00007fe3900d8517 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe3900d864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe398d8915b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fe398d2a64a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398b5241a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe37ba961c6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe3919d46db in start_thread (arg=0x7fe33e0b8700) at pthread_create.c:463
#8  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fe35490b700 (LWP 25228)):
#0  0x00007fe39011e049 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe3900d8638 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe398d8915b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fe398d2a64a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398b5241a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe37b5d12e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe3919d46db in start_thread (arg=0x7fe35490b700) at pthread_create.c:463
#8  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fe34ffff700 (LWP 25215)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fe398b56580 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fe398b563f2 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fe39ab8806a in KisTileDataSwapper::waitForWork (this=0x7fe39b3254e0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007fe39ab88086 in KisTileDataSwapper::run (this=0x7fe39b3254e0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe3919d46db in start_thread (arg=0x7fe34ffff700) at pthread_create.c:463
#7  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fe35706e700 (LWP 25209)):
#0  0x00007fe39822a0b4 in __GI___libc_read (fd=17, buf=0x7fe35706db50, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fe39011ccd0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe3900d8027 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe3900d84e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe3900d864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe398d8915b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe398d2a64a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe398b5241a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fe3919d46db in start_thread (arg=0x7fe35706e700) at pthread_create.c:463
#10 0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fe382e39700 (LWP 25124)):
#0  0x00007fe3919da9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fe84e5ed48) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55fe84e5ecf8, cond=0x55fe84e5ed20) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55fe84e5ed20, mutex=0x55fe84e5ecf8) at pthread_cond_wait.c:655
#3  0x00007fe374b48b1b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fe374b48847 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fe3919d46db in start_thread (arg=0x7fe382e39700) at pthread_create.c:463
#6  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe36f7ce700 (LWP 25123)):
#0  0x00007fe39822ebf9 in __GI___poll (fds=0x7fe36f7cdc78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe38ee74747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fe38ee7636a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fe38418232a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe3919d46db in start_thread (arg=0x7fe36f7ce700) at pthread_create.c:463
#6  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe377776700 (LWP 25113)):
#0  0x00007fe3900d7905 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe3900d846b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe3900d864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe398d8915b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe398d2a64a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe398b5241a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe391c02015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fe398b53bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fe3919d46db in start_thread (arg=0x7fe377776700) at pthread_create.c:463
#9  0x00007fe39823b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe39d98d840 (LWP 25107)):
[KCrash Handler]
#6  0x00007fe398d59690 in QObject::blockSignals(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe39c0b1a83 in KisSignalsBlocker::blockObjects (this=0x7fff93592db8) at /home/wolthera/krita/src/libs/global/kis_signals_blocker.h:82
#8  0x00007fe39c0cde78 in KisSignalsBlocker::KisSignalsBlocker (this=0x7fff93592db8, object=0x55fe00000068) at /home/wolthera/krita/src/libs/global/kis_signals_blocker.h:65
#9  0x00007fe39c51c401 in KisMirrorAxis::setMirrorAxisConfig (this=0x55fea092c6b0, config=...) at /home/wolthera/krita/src/libs/ui/canvas/kis_mirror_axis.cpp:365
#10 0x00007fe39c5a6380 in KisMirrorManager::setDecorationConfig (this=0x55fe936a83b0) at /home/wolthera/krita/src/libs/ui/kis_mirror_manager.cpp:129
#11 0x00007fe39c5a5e94 in KisMirrorManager::setView (this=0x55fe936a83b0, imageView=...) at /home/wolthera/krita/src/libs/ui/kis_mirror_manager.cpp:86
#12 0x00007fe39c5985e2 in KisViewManager::setCurrentView (this=0x55fe936928e0, view=0x55fe9b56a250) at /home/wolthera/krita/src/libs/ui/KisViewManager.cpp:497
#13 0x00007fe39c55ac46 in KisMainWindow::setActiveView (this=0x55fe9309b970, view=0x55fe9b56a250) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:1320
#14 0x00007fe39c561d47 in KisMainWindow::setActiveSubWindow (this=0x55fe9309b970, window=0x55fe9d33b770) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:2298
#15 0x00007fe39c55fd14 in KisMainWindow::subWindowActivated (this=0x55fe9309b970) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:2075
#16 0x00007fe39c564f31 in KisMainWindow::qt_static_metacall (_o=0x55fe9309b970, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fff93593270) at /home/wolthera/krita/build/libs/ui/kritaui_autogen/include/moc_KisMainWindow.cpp:323
#17 0x00007fe398d5be25 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fe399c78bbf in QMdiArea::subWindowActivated(QMdiSubWindow*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fe399c7d21f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fe399c7df28 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fe399c7ee05 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fe398d5be25 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fe399c8443c in QMdiSubWindow::windowStateChanged(QFlags<Qt::WindowState>, QFlags<Qt::WindowState>) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fe399c8c233 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fe399c8162a in QMdiArea::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fe398d2c0ad in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fe399b22815 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007fe399b29dd0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007fe39c5217c5 in KisApplication::notify (this=0x7fff93594fc0, receiver=0x55fe935e3000, event=0x7fff93593920) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:608
#30 0x00007fe398d2c328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fe399c8dc2b in QMdiSubWindow::closeEvent(QCloseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007fe399b62838 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007fe399c8d1eb in QMdiSubWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007fe399b2283c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007fe399b29dd0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007fe39c5217c5 in KisApplication::notify (this=0x7fff93594fc0, receiver=0x55fea0fcd840, event=0x7fff93593de0) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:608
#37 0x00007fe398d2c328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007fe399b5db7e in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007fe399b619fa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007fe398d5be25 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007fe399c84e9e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007fe399b62838 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007fe399c8a850 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007fe399b2283c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007fe399b2aca8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007fe39c5217c5 in KisApplication::notify (this=0x7fff93594fc0, receiver=0x55fe9360a2a0, event=0x7fff93594580) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:608
#47 0x00007fe398d2c328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007fe399b2929f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#49 0x00007fe399b7da80 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#50 0x00007fe399b8034a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#51 0x00007fe399b2283c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#52 0x00007fe399b29dd0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#53 0x00007fe39c5217c5 in KisApplication::notify (this=0x7fff93594fc0, receiver=0x55fe942657c0, event=0x7fff93594aa0) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:608
#54 0x00007fe398d2c328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x00007fe3992f452b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#56 0x00007fe3992f5695 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#57 0x00007fe3992ce14b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#58 0x00007fe38418330a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#59 0x00007fe3900d8387 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007fe3900d85c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007fe3900d864c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007fe398d8913f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#63 0x00007fe398d2a64a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#64 0x00007fe398d33800 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#65 0x000055fe828a1acd in main (argc=1, argv=0x7fff93595128) at /home/wolthera/krita/src/krita/main.cc:487

Possible duplicates by query: bug 402679.

Reported using DrKonqi
Comment 1 wolthera 2019-03-04 21:24:07 UTC
Created attachment 118547 [details]
New crash information added by DrKonqi

krita (4.2.0-pre-alpha (git 03db690)) using Qt 5.12.0

- What I was doing when the application crashed:

Okay, so it seems to be related to the canvas I am switching to when I close this document having had a mirror config setup in a previous session.

-- Backtrace (Reduced):
#6  0x00007fdfb7104690 in QObject::blockSignals(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fdfba45ca83 in KisSignalsBlocker::blockObjects (this=0x7fff7cbe8888) at /home/wolthera/krita/src/libs/global/kis_signals_blocker.h:82
#8  0x00007fdfba478e78 in KisSignalsBlocker::KisSignalsBlocker (this=0x7fff7cbe8888, object=0x559a00000068) at /home/wolthera/krita/src/libs/global/kis_signals_blocker.h:65
#9  0x00007fdfba8c7401 in KisMirrorAxis::setMirrorAxisConfig (this=0x559af8e21920, config=...) at /home/wolthera/krita/src/libs/ui/canvas/kis_mirror_axis.cpp:365
#10 0x00007fdfba951380 in KisMirrorManager::setDecorationConfig (this=0x559ae9f45360) at /home/wolthera/krita/src/libs/ui/kis_mirror_manager.cpp:129
Comment 2 wolthera 2019-03-05 21:50:41 UTC
different but somewhat related crash:

Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
0x00007ffff66cc739 in KisMirrorAxisConfig::Private::operator== (this=0x555574118b90, 
    rhs=...) at /home/wolthera/krita/src/libs/ui/canvas/KisMirrorAxisConfig.cpp:41
41              return mirrorHorizontal == rhs.mirrorHorizontal &&

-------------------

Thread 1 (Thread 0x7ffff7f80840 (LWP 2326)):
#0  0x00007ffff66cc739 in KisMirrorAxisConfig::Private::operator== (this=0x555574118b90, 
    rhs=...) at /home/wolthera/krita/src/libs/ui/canvas/KisMirrorAxisConfig.cpp:41
#1  0x00007ffff66cb8a1 in KisMirrorAxisConfig::operator== (this=0x7fffffffbf20, rhs=...)
    at /home/wolthera/krita/src/libs/ui/canvas/KisMirrorAxisConfig.cpp:98
#2  0x00007ffff6b15255 in boost::operators_impl::operator!= (x=..., y=...)
    at /usr/include/boost/operators.hpp:158
#3  0x00007ffff6b13aa6 in KisMirrorAxis::setMirrorAxisConfig (this=0x55557796d300, 
    config=...) at /home/wolthera/krita/src/libs/ui/canvas/kis_mirror_axis.cpp:364
#4  0x00007ffff6b9da48 in KisMirrorManager::setDecorationConfig (this=0x5555657a7bd0)
    at /home/wolthera/krita/src/libs/ui/kis_mirror_manager.cpp:129
#5  0x00007ffff6b9d55c in KisMirrorManager::setView (this=0x5555657a7bd0, imageView=...)
    at /home/wolthera/krita/src/libs/ui/kis_mirror_manager.cpp:86

#6  0x00007ffff6b8fcaa in KisViewManager::setCurrentView (this=0x555566ab4f70, 
    view=0x55556dce79d0) at /home/wolthera/krita/src/libs/ui/KisViewManager.cpp:497
#7  0x00007ffff6b5230e in KisMainWindow::setActiveView (this=0x555557331460, 
    view=0x55556dce79d0) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:1320
#8  0x00007ffff6b5940f in KisMainWindow::setActiveSubWindow (this=0x555557331460, 
    window=0x55556e1f1d10) at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:2298
#9  0x00007ffff6b573dc in KisMainWindow::subWindowActivated (this=0x555557331460)
    at /home/wolthera/krita/src/libs/ui/KisMainWindow.cpp:2075
#10 0x00007ffff6b5c5f9 in KisMainWindow::qt_static_metacall (_o=0x555557331460, 
    _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fffffffc370)
    at /home/wolthera/krita/build/libs/ui/kritaui_autogen/include/moc_KisMainWindow.cpp:323
#11 0x00007ffff3352e25 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff426fbbf in QMdiArea::subWindowActivated(QMdiSubWindow*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff427421f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff4274f28 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff4275e05 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#16 0x00007ffff3352e25 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff427b43c in QMdiSubWindow::windowStateChanged(QFlags<Qt::WindowState>, QFlags<Qt::WindowState>) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff4283233 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff427862a in QMdiArea::viewportEvent(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff33230ad in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ffff4119815 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff4120dd0 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff6b18e8d in KisApplication::notify (this=0x7fffffffe0c0, 
    receiver=0x555566153910, event=0x7fffffffca20)
    at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:607
#24 0x00007ffff3323328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ffff4284c2b in QMdiSubWindow::closeEvent(QCloseEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff4159838 in QWidget::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff42841eb in QMdiSubWindow::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff411983c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff4120dd0 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff6b18e8d in KisApplication::notify (this=0x7fffffffe0c0, 
    receiver=0x555571cb3130, event=0x7fffffffcee0)
    at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:607
#31 0x00007ffff3323328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007ffff4154b7e in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ffff41589fa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ffff3352e25 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007ffff427be9e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ffff4159838 in QWidget::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007ffff4281850 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ffff411983c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007ffff4121ca8 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007ffff6b18e8d in KisApplication::notify (this=0x7fffffffe0c0, 
    receiver=0x555571c9a440, event=0x7fffffffd680)
    at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:607
---Type <return> to continue, or q <return> to quit---
#41 0x00007ffff3323328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007ffff412029f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007ffff4174a80 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007ffff417734a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007ffff411983c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007ffff4120dd0 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007ffff6b18e8d in KisApplication::notify (this=0x7fffffffe0c0, 
    receiver=0x555566a06360, event=0x7fffffffdba0)
    at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:607
#48 0x00007ffff3323328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007ffff38eb52b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#50 0x00007ffff38ec695 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#51 0x00007ffff38c514b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#52 0x00007fffde91530a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#53 0x00007fffea6ce387 in g_main_context_dispatch ()
   from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007fffea6ce5c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007fffea6ce64c in g_main_context_iteration ()
   from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007ffff338013f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#57 0x00007ffff332164a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#58 0x00007ffff332a800 in QCoreApplication::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#59 0x0000555555e92acd in main (argc=1, argv=0x7fffffffe228)
    at /home/wolthera/krita/src/krita/main.cc:487

Not sure whether to make a seperate report.
Comment 3 Anna Medonosova 2019-03-06 14:07:55 UTC
It seems that both crashes are symptoms of one problem: the KisMirrorManager handles it's decorations incorrectly.

I can reproduce the crash with following steps:
1, open two documents with mirror configuration
2, close one of the documents
3, click on the mirror tool buttons in paintop box
Comment 4 Halla Rempt 2019-03-06 14:11:39 UTC
I just took a look, and that's indeed rather weird code. It doesn't look like the owner is KisMirrorManager. So, at the very least, the config should be in a QWeakSharedPointer so we know when it's deleted by the owner.
Comment 5 Anna Medonosova 2019-03-06 14:58:42 UTC
Git commit f16b1f8b61ad08899a9518577aa6af1e0080eea4 by Anna Medonosova.
Committed on 06/03/2019 at 14:57.
Pushed by amedonosova into branch 'master'.

Fix decoration handling in KisMirrorManager

KisMirrorManager did not update d->mirrorAxisDecoration upon view
change, instead it used last created decoration. If the document tied to
that decoration was closed, Krita crashed.

M  +3    -0    libs/ui/canvas/KisMirrorAxisConfig.cpp
M  +13   -12   libs/ui/kis_mirror_manager.cpp
M  +0    -1    libs/ui/kis_mirror_manager.h

https://commits.kde.org/krita/f16b1f8b61ad08899a9518577aa6af1e0080eea4
Comment 6 Anna Medonosova 2019-03-18 15:10:33 UTC
Git commit 8161893484cc31bb417c980e978db3a2046b4d4e by Anna Medonosova.
Committed on 18/03/2019 at 15:10.
Pushed by amedonosova into branch 'master'.

Better pointer handling in KisMirrorManager and KisMirrorAxis

Summary: BUG:405093,404852

Reviewers: #krita, dkazakov

Reviewed By: #krita, dkazakov

Subscribers: dkazakov

Tags: #krita

Differential Revision: https://phabricator.kde.org/D19776

M  +3    -0    libs/image/kis_types.h
M  +1    -2    libs/ui/canvas/kis_mirror_axis.cpp
M  +3    -1    libs/ui/canvas/kis_mirror_axis.h
M  +29   -21   libs/ui/kis_mirror_manager.cpp
M  +3    -6    libs/ui/kis_mirror_manager.h

https://commits.kde.org/krita/8161893484cc31bb417c980e978db3a2046b4d4e