Bug 436782 - crash when selecting a paintoppreset from the preset list.
Summary: crash when selecting a paintoppreset from the preset list.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-05-08 16:19 UTC by wolthera
Modified: 2021-05-09 10:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wolthera 2021-05-08 16:19:12 UTC
Application: krita (5.0.0-prealpha (git 4805655))

Qt Version: 5.15.2
Frameworks Version: 5.81.0
Operating System: Linux 5.4.0-72-generic x86_64
Windowing System: X11
Drkonqi Version: 5.21.4
Distribution: KDE neon User Edition 5.21

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

I selected a paintoppreset from the preset list. This particular preset was from an old bundle of mine, so I know which one caused the crash, but I don't know yet if it's fully reproducable.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Krita (krita), signal: Aborted

[New LWP 2095822]
[New LWP 2095823]
[New LWP 2095824]
[New LWP 2095825]
[New LWP 2095826]
[New LWP 2096244]
[New LWP 2096254]
[New LWP 2096270]
[New LWP 2096272]
[New LWP 2096297]
[New LWP 2096298]
[New LWP 2124183]
[New LWP 2762410]
[New LWP 2762411]
[New LWP 2762415]
[New LWP 2762416]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f57130a4aff in __GI___poll (fds=0x7ffccde5fa68, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f570dd19d00 (LWP 2095793))]

Thread 17 (Thread 0x7f56908ae700 (LWP 2762416)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f56908adc90, clockid=<optimized out>, expected=0, futex_word=0x561ab31a1244) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f56908adc90, clockid=<optimized out>, mutex=0x561ab31a11f0, cond=0x561ab31a1218) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x561ab31a1218, mutex=0x561ab31a11f0, abstime=0x7f56908adc90) at pthread_cond_wait.c:656
#3  0x00007f5713450ce8 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f571344e1f1 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f571344abec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f5652ecb700 (LWP 2762415)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f5652ecac90, clockid=<optimized out>, expected=0, futex_word=0x561ab2d9fff4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f5652ecac90, clockid=<optimized out>, mutex=0x561ab2d9ffa0, cond=0x561ab2d9ffc8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x561ab2d9ffc8, mutex=0x561ab2d9ffa0, abstime=0x7f5652ecac90) at pthread_cond_wait.c:656
#3  0x00007f5713450ce8 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f571344e1f1 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f571344abec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f5682ffd700 (LWP 2762411)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f5682ffcc90, clockid=<optimized out>, expected=0, futex_word=0x561ab2be94f0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f5682ffcc90, clockid=<optimized out>, mutex=0x561ab2be94a0, cond=0x561ab2be94c8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x561ab2be94c8, mutex=0x561ab2be94a0, abstime=0x7f5682ffcc90) at pthread_cond_wait.c:656
#3  0x00007f5713450ce8 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f571344e1f1 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f571344abec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f5653ecd700 (LWP 2762410)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f5653eccc90, clockid=<optimized out>, expected=0, futex_word=0x561ab3298af0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f5653eccc90, clockid=<optimized out>, mutex=0x561ab3298aa0, cond=0x561ab3298ac8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x561ab3298ac8, mutex=0x561ab3298aa0, abstime=0x7f5653eccc90) at pthread_cond_wait.c:656
#3  0x00007f5713450ce8 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f571344e1f1 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f571344abec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f5683fff700 (LWP 2124183)):
#0  __GI___libc_read (nbytes=16, buf=0x7f5683ffeaf0, fd=28) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=28, buf=0x7f5683ffeaf0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f57107b2b2f in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5710769ebe in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f571076a312 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f571076a4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f571368affb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f571362f1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f5713449a52 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f56e8d218be in RecorderWriter::run() (this=0x561ab95992f0) at /home/wolthera/krita/src/plugins/dockers/recorder/recorder_writer.cpp:321
#10 0x00007f571344abec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f569333e700 (LWP 2096298)):
#0  __GI___libc_read (nbytes=16, buf=0x7f569333db10, fd=40) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=40, buf=0x7f569333db10, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f57107b2b2f in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5710769ebe in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f571076a312 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f571076a4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f571368affb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f571362f1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f5713449a52 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f571344abec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f5693b3f700 (LWP 2096297)):
#0  __GI___libc_read (nbytes=16, buf=0x7f5693b3eb10, fd=39) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=39, buf=0x7f5693b3eb10, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f57107b2b2f in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5710769ebe in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f571076a312 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f571076a4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f571368affb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f571362f1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f5713449a52 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f571344abec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f56a0bff700 (LWP 2096272)):
#0  0x00007f57130a4aff in __GI___poll (fds=0x7f5698005210, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f571076a36e in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f571076a4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f571368affb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f571362f1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5713449a52 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f56f33e838a in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f571344abec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f56a8c4d700 (LWP 2096270)):
#0  0x00007f57130a4aff in __GI___poll (fds=0x7f569c003ac0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f571076a36e in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f571076a4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f571368affb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f571362f1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5713449a52 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f56f3132fa9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f571344abec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f56a3fff700 (LWP 2096254)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f571344d170 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f571344cfd6 in QSemaphore::tryAcquire(int, int) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f5714ab2fc7 in KisTileDataSwapper::waitForWork() (this=<optimized out>) at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:74
#4  0x00007f5714ab31ca in KisTileDataSwapper::run() (this=0x7f5714fdac40 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:80
#5  0x00007f571344abec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f56bffff700 (LWP 2096244)):
#0  __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:56
#1  0x00007f57130a0167 in __GI___libc_read (nbytes=16, buf=0x7f56bfffeb10, fd=23) at ../sysdeps/unix/sysv/linux/read.c:26
#2  __GI___libc_read (fd=23, buf=0x7f56bfffeb10, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#3  0x00007f57107b2b2f in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5710769ebe in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f571076a312 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f571076a4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f571368affb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f571362f1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f5713449a52 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f571344abec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f56f21e2700 (LWP 2095826)):
#0  0x00007f57130a4aff in __GI___poll (fds=0x7f56e4014570, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f571076a36e in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f571076a4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f571368affb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f571362f1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5713449a52 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f57104dcf4b in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f571344abec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f56f2b7f700 (LWP 2095825)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561aaf35f288) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561aaf35f238, cond=0x561aaf35f260) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561aaf35f260, mutex=0x561aaf35f238) at pthread_cond_wait.c:638
#3  0x00007f5706d5eb5b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f5706d5e75b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f57018ff700 (LWP 2095824)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561aaf35f288) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561aaf35f238, cond=0x561aaf35f260) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561aaf35f260, mutex=0x561aaf35f238) at pthread_cond_wait.c:638
#3  0x00007f5706d5eb5b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f5706d5e75b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f57010fe700 (LWP 2095823)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561aaf35f288) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561aaf35f238, cond=0x561aaf35f260) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561aaf35f260, mutex=0x561aaf35f238) at pthread_cond_wait.c:638
#3  0x00007f5706d5eb5b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f5706d5e75b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f57008fd700 (LWP 2095822)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561aaf35f288) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561aaf35f238, cond=0x561aaf35f260) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561aaf35f260, mutex=0x561aaf35f238) at pthread_cond_wait.c:638
#3  0x00007f5706d5eb5b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f5706d5e75b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f57110e7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f57130b1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f570dd19d00 (LWP 2095793)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f5712fb4859 in __GI_abort () at abort.c:79
#6  0x00007f571340fbf7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f571340f003 in qt_assert_x(char const*, char const*, char const*, int) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f56f00c0c7a in QVector<QSharedPointer<KoResource> >::first() (this=0x7ffccde606f8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:159
#9  KoResourceServer<KisBrush>::resourceByMD5(QByteArray const&) const (this=this@entry=0x561ab4128510, md5=...) at /home/wolthera/krita/src/libs/resources/KoResourceServer.h:268
#10 0x00007f56f00bbedb in KisPredefinedBrushChooser::setBrush(QSharedPointer<KisBrush>) (this=0x561ac7c45370, brush=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:307
#11 0x00007f56f00c4ea8 in KisBrushSelectionWidget::setCurrentBrush(QSharedPointer<KisBrush>) (this=this@entry=0x561ac6c082e0, brush=...) at /usr/include/c++/9/bits/atomic_base.h:318
#12 0x00007f56f00c17af in KisBrushOptionWidget::readOptionSetting(KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=0x561ac7c7d1f0, setting=...) at /home/wolthera/krita/src/plugins/paintops/libpaintop/kis_brush_option_widget.cpp:78
#13 0x00007f5715e90a96 in KisPaintOpOption::startReadOptionSetting(KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=this@entry=0x561ac7c7d1f0, setting=...) at /home/wolthera/krita/src/libs/ui/kis_paintop_option.cpp:68
#14 0x00007f5715e95614 in KisPaintOpSettingsWidget::setConfiguration(KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=0x561ac3d49150, config=...) at /usr/include/c++/9/bits/atomic_base.h:318
#15 0x00007f5714b03e29 in KisPaintOpConfigWidget::setConfigurationSafe(KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=this@entry=0x561ac3d49150, config=...) at /usr/include/c++/9/bits/atomic_base.h:318
#16 0x00007f5714ae72ad in KisPaintOpPreset::setOptionsWidget(KisPaintOpConfigWidget*) (this=0x561aaf42a0e0, widget=0x561ac3d49150) at /usr/include/c++/9/bits/atomic_base.h:318
#17 0x00007f5715e80311 in KisPaintopBox::setCurrentPaintop(QSharedPointer<KisPaintOpPreset>) (this=0x561ab573ccb0, preset=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:307
#18 0x00007f5715e8111f in KisPaintopBox::resourceSelected(QSharedPointer<KoResource>) (this=0x561ab573ccb0, resource=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:326
#19 0x00007f5715c675cb in KisPaintopBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:326
#20 0x00007f5713667730 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f5715c5acd6 in KisPaintOpPresetsChooserPopup::resourceSelected(QSharedPointer<KoResource>) (this=<optimized out>, _t1=...) at /home/wolthera/krita/build/libs/ui/kritaui_autogen/IMAN36LHMA/moc_kis_paintop_presets_chooser_popup.cpp:187
#22 0x00007f5715c6512f in KisPaintOpPresetsChooserPopup::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:318
#23 0x00007f5713667730 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f5715c5ae36 in KisPresetChooser::resourceSelected(QSharedPointer<KoResource>) (this=<optimized out>, _t1=...) at /home/wolthera/krita/build/libs/ui/kritaui_autogen/IMAN36LHMA/moc_kis_preset_chooser.cpp:185
#25 0x00007f5715c61f82 in KisPresetChooser::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:318
#26 0x00007f5713667730 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f5712474516 in KisResourceItemChooser::resourceSelected(QSharedPointer<KoResource>) (this=this@entry=0x561ab551f7e0, _t1=...) at /home/wolthera/krita/build/libs/resourcewidgets/kritaresourcewidgets_autogen/EWIEGA46WW/moc_KisResourceItemChooser.cpp:209
#28 0x00007f571247f504 in KisResourceItemChooser::activate(QModelIndex const&) (this=0x561ab551f7e0, index=...) at /usr/include/c++/9/bits/atomic_base.h:318
#29 0x00007f5712476091 in KisResourceItemChooser::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/wolthera/krita/build/libs/resourcewidgets/kritaresourcewidgets_autogen/EWIEGA46WW/moc_KisResourceItemChooser.cpp:131
#30 0x00007f5713667730 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f57124749c9 in KisResourceItemListView::currentResourceChanged(QModelIndex const&) (this=this@entry=0x561ab574a660, _t1=...) at /home/wolthera/krita/build/libs/resourcewidgets/kritaresourcewidgets_autogen/EWIEGA46WW/moc_KisResourceItemListView.cpp:185
#32 0x00007f57124810d1 in KisResourceItemListView::selectionChanged(QItemSelection const&, QItemSelection const&) (this=0x561ab574a660, selected=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:253
#33 0x00007f5714381589 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007f5713667730 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f57135e18b4 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007f57135e700b in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f57135ea6c2 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f57143bc914 in QListView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007f571437f5ba in QAbstractItemView::mousePressEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007f571414ac21 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007f57141faf82 in QFrame::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007f57143855b2 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007f5712481567 in KisResourceItemListView::viewportEvent(QEvent*) (this=0x561ab574a660, event=0x7ffccde62200) at /home/wolthera/krita/src/libs/resourcewidgets/KisResourceItemListView.cpp:80
#44 0x00007f5713630443 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007f5714107db2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007f5714110e77 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007f5716152b3d in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x561ab56527e0, event=0x7ffccde62200) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:709
#48 0x00007f57136306da in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007f57141100a7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#50 0x00007f57141668ee in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#51 0x00007f5714169174 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#52 0x00007f5714107dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#53 0x00007f5714110bb8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#54 0x00007f5716152b3d in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x561ac3792c10, event=0x7ffccde62700) at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:709
#55 0x00007f57136306da in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#56 0x00007f5713a124e8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#57 0x00007f5713a1335e in QGuiApplicationPrivate::processTabletEvent(QWindowSystemInterfacePrivate::TabletEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#58 0x00007f5713a13b14 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#59 0x00007f57139eb7ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#60 0x00007f570d8c4d7e in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#61 0x00007f571076a17d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f571076a400 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007f571076a4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007f571368afe2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#65 0x00007f571362f1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#66 0x00007f5713637394 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#67 0x0000561aabe6f5ed in main(int, char**) (argc=<optimized out>, argv=0x7ffccde62f38) at /home/wolthera/krita/src/krita/main.cc:663
[Inferior 1 (process 2095793) detached]

Possible duplicates by query: bug 436583, bug 434648, bug 434601, bug 434562, bug 434342.

Reported using DrKonqi
Comment 1 wolthera 2021-05-08 16:25:57 UTC
It's reproducable, even with cleared resource db cache, linking the bundle now.

https://www.dropbox.com/s/nb2c89klq6nw2d7/Wolthera_Painting_Pack_1_2.bundle?dl=0

Culprit is paint_textured_mid
Comment 2 wolthera 2021-05-08 18:08:11 UTC
Also getting this with 

charcoal_rock_soft

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

Thread 1 (Thread 0x7f0999b7ed00 (LWP 2812617)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f099ee19859 in __GI_abort () at abort.c:79
#6  0x00007f099f274bf7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f099f274003 in qt_assert_x(char const*, char const*, char const*, int) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f0975a2cc7a in QVector<QSharedPointer<KoResource> >::first() (this=0x7ffc68c5ad48) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:159
#9  KoResourceServer<KisBrush>::resourceByMD5(QByteArray const&) const (this=this@entry=0x559651882180, md5=...) at /home/wolthera/krita/src/libs/resources/KoResourceServer.h:268
#10 0x00007f0975a27edb in KisPredefinedBrushChooser::setBrush(QSharedPointer<KisBrush>) (this=0x5596641ed170, brush=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:307
#11 0x00007f0975a30ea8 in KisBrushSelectionWidget::setCurrentBrush(QSharedPointer<KisBrush>) (this=this@entry=0x5596641ec5e0, brush=...) at /usr/include/c++/9/bits/atomic_base.h:318
#12 0x00007f0975a2d7af in KisBrushOptionWidget::readOptionSetting(KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=0x559662008d20, setting=...) at /home/wolthera/krita/src/plugins/paintops/libpaintop/kis_brush_option_widget.cpp:78
#13 0x00007f09a1cf5a96 in KisPaintOpOption::startReadOptionSetting(KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=this@entry=0x559662008d20, setting=...) at /home/wolthera/krita/src/libs/ui/kis_paintop_option.cpp:68
#14 0x00007f09a1cfa614 in KisPaintOpSettingsWidget::setConfiguration(KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=0x559662271a70, config=...) at /usr/include/c++/9/bits/atomic_base.h:318
#15 0x00007f09a0968e29 in KisPaintOpConfigWidget::setConfigurationSafe(KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=this@entry=0x559662271a70, config=...) at /usr/include/c++/9/bits/atomic_base.h:318
#16 0x00007f09a094c2ad in KisPaintOpPreset::setOptionsWidget(KisPaintOpConfigWidget*) (this=0x559654f539d0, widget=0x559662271a70) at /usr/include/c++/9/bits/atomic_base.h:318
#17 0x00007f09a1ce5311 in KisPaintopBox::setCurrentPaintop(QSharedPointer<KisPaintOpPreset>) (this=0x55965334cd80, preset=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:307
#18 0x00007f09a1ce611f in KisPaintopBox::resourceSelected(QSharedPointer<KoResource>) (this=0x55965334cd80, resource=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:326
#19 0x00007f09a1acc5cb in KisPaintopBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:326
#20 0x00007f099f4cc730 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f09a1abfcd6 in KisPaintOpPresetsChooserPopup::resourceSelected(QSharedPointer<KoResource>) (this=<optimized out>, _t1=...) at /home/wolthera/krita/build/libs/ui/kritaui_autogen/IMAN36LHMA/moc_kis_paintop_presets_chooser_popup.cpp:187

---------------------
Comment 3 Halla Rempt 2021-05-09 10:16:32 UTC
It means your bundle is broken: it contains presets that refer to brush tips that don't exist. Still, we should not assert on this. Fix is coming up.
Comment 4 Halla Rempt 2021-05-09 10:17:10 UTC
Git commit 41f9c4a13a6158aae3539d2237baf59c3b8f1011 by Halla Rempt.
Committed on 09/05/2021 at 10:15.
Pushed by rempt into branch 'master'.

Fix assert if resource could not be found

M  +21   -8    libs/resources/KoResourceServer.h

https://invent.kde.org/graphics/krita/commit/41f9c4a13a6158aae3539d2237baf59c3b8f1011