SUMMARY After the crash happens, no scanners are detected after relaunching the app. STEPS TO REPRODUCE 1. Scan an image. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Application: skanlite (skanlite), signal: Segmentation fault [New LWP 1751] [New LWP 1752] [New LWP 1754] [New LWP 1755] [New LWP 1756] [New LWP 1757] [New LWP 1758] [New LWP 1759] [New LWP 1760] [New LWP 1761] [New LWP 1762] [New LWP 1793] [New LWP 1919] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007f081189daff in __GI___poll (fds=0x7ffff2953e48, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 [Current thread is 1 (Thread 0x7f080dd41240 (LWP 1749))] Thread 14 (Thread 0x7f07eb431700 (LWP 1919)): [KCrash Handler] #4 __strncmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:101 #5 0x00007f07f03f28ad in e2_dev_model () from /usr/lib/x86_64-linux-gnu/sane/libsane-epson2.so.1 #6 0x00007f07f03f550f in e2_ext_read () from /usr/lib/x86_64-linux-gnu/sane/libsane-epson2.so.1 #7 0x00007f07f03ee9cd in sane_epson2_read () from /usr/lib/x86_64-linux-gnu/sane/libsane-epson2.so.1 #8 0x00007f08136fbb26 in ?? () from /lib/x86_64-linux-gnu/libKF5Sane.so.5 #9 0x00007f08136fc648 in ?? () from /lib/x86_64-linux-gnu/libKF5Sane.so.5 #10 0x00007f0811c28d4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #11 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #12 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 13 (Thread 0x7f07ebfff700 (LWP 1793)): #0 0x00007f081189daff in __GI___poll (fds=0x7f07c4000b60, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f080400809e in ?? () from /lib/x86_64-linux-gnu/libavahi-common.so.3 #2 0x00007f0804007c11 in avahi_simple_poll_run () from /lib/x86_64-linux-gnu/libavahi-common.so.3 #3 0x00007f0804007df0 in avahi_simple_poll_iterate () from /lib/x86_64-linux-gnu/libavahi-common.so.3 #4 0x00007f0804008025 in avahi_simple_poll_loop () from /lib/x86_64-linux-gnu/libavahi-common.so.3 #5 0x00007f08040080fb in ?? () from /lib/x86_64-linux-gnu/libavahi-common.so.3 #6 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #7 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 12 (Thread 0x7f07f2059700 (LWP 1762)): #0 futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f07f2058c50, clockid=<optimized out>, expected=0, futex_word=0x55b749f271f0) at ../sysdeps/nptl/futex-internal.h:320 #1 __pthread_cond_wait_common (abstime=0x7f07f2058c50, clockid=<optimized out>, mutex=0x55b749f271a0, cond=0x55b749f271c8) at pthread_cond_wait.c:520 #2 __pthread_cond_timedwait (cond=0x55b749f271c8, mutex=0x55b749f271a0, abstime=0x7f07f2058c50) at pthread_cond_wait.c:656 #3 0x00007f0811c2ee48 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f0811c2c351 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f0811c28d4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #7 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 11 (Thread 0x7f07f285a700 (LWP 1761)): #0 futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f07f2859c50, clockid=<optimized out>, expected=0, futex_word=0x55b749f26dd0) at ../sysdeps/nptl/futex-internal.h:320 #1 __pthread_cond_wait_common (abstime=0x7f07f2859c50, clockid=<optimized out>, mutex=0x55b749f26d80, cond=0x55b749f26da8) at pthread_cond_wait.c:520 #2 __pthread_cond_timedwait (cond=0x55b749f26da8, mutex=0x55b749f26d80, abstime=0x7f07f2859c50) at pthread_cond_wait.c:656 #3 0x00007f0811c2ee48 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f0811c2c351 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f0811c28d4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #7 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 10 (Thread 0x7f07f305b700 (LWP 1760)): #0 futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f07f305ac50, clockid=<optimized out>, expected=0, futex_word=0x55b749f24f30) at ../sysdeps/nptl/futex-internal.h:320 #1 __pthread_cond_wait_common (abstime=0x7f07f305ac50, clockid=<optimized out>, mutex=0x55b749f24ee0, cond=0x55b749f24f08) at pthread_cond_wait.c:520 #2 __pthread_cond_timedwait (cond=0x55b749f24f08, mutex=0x55b749f24ee0, abstime=0x7f07f305ac50) at pthread_cond_wait.c:656 #3 0x00007f0811c2ee48 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f0811c2c351 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f0811c28d4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #7 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 9 (Thread 0x7f07fc89f700 (LWP 1759)): #0 futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f07fc89ec50, clockid=<optimized out>, expected=0, futex_word=0x55b749fdc380) at ../sysdeps/nptl/futex-internal.h:320 #1 __pthread_cond_wait_common (abstime=0x7f07fc89ec50, clockid=<optimized out>, mutex=0x55b749fdc330, cond=0x55b749fdc358) at pthread_cond_wait.c:520 #2 __pthread_cond_timedwait (cond=0x55b749fdc358, mutex=0x55b749fdc330, abstime=0x7f07fc89ec50) at pthread_cond_wait.c:656 #3 0x00007f0811c2ee48 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f0811c2c351 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f0811c28d4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #7 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 8 (Thread 0x7f07fd0a0700 (LWP 1758)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b74a0fe6a8) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55b74a0fe658, cond=0x55b74a0fe680) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55b74a0fe680, mutex=0x55b74a0fe658) at pthread_cond_wait.c:638 #3 0x00007f07fed5eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #4 0x00007f07fed5e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #5 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7f07fd8a1700 (LWP 1757)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b74a0fe6a8) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55b74a0fe658, cond=0x55b74a0fe680) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55b74a0fe680, mutex=0x55b74a0fe658) at pthread_cond_wait.c:638 #3 0x00007f07fed5eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #4 0x00007f07fed5e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #5 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7f07fe0a2700 (LWP 1756)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b74a0fe6a8) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55b74a0fe658, cond=0x55b74a0fe680) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55b74a0fe680, mutex=0x55b74a0fe658) at pthread_cond_wait.c:638 #3 0x00007f07fed5eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #4 0x00007f07fed5e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #5 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7f07fe8a3700 (LWP 1755)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b74a0fe6a8) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55b74a0fe658, cond=0x55b74a0fe680) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55b74a0fe680, mutex=0x55b74a0fe658) at pthread_cond_wait.c:638 #3 0x00007f07fed5eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #4 0x00007f07fed5e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #5 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f0805d04700 (LWP 1754)): #0 0x00007f081189daff in __GI___poll (fds=0x7f0805d03d40, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f08105381a2 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0 #2 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #3 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f080786f700 (LWP 1752)): #0 0x00007ffff297768a in ?? () #1 0x00007ffff2977918 in clock_gettime () #2 0x00007f0811868235 in __GI___clock_gettime (clock_id=1, tp=0x7f080786ea20) at ../sysdeps/unix/sysv/linux/clock_gettime.c:38 #3 0x00007f0811e69405 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f0811e67c9d in QTimerInfoList::updateCurrentTime() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f0811e68279 in QTimerInfoList::timerWait(timespec&) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f0811e69896 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f08105948ef in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #8 0x00007f081059529b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #9 0x00007f08105954a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #10 0x00007f0811e69b3b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #11 0x00007f0811e0ddcb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x00007f0811c27bb2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #13 0x00007f0812fb0f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5 #14 0x00007f0811c28d4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #15 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #16 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f080d1d4700 (LWP 1751)): #0 0x00007f081189daff in __GI___poll (fds=0x7f080d1d3be8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f080dfdec1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007f080dfe090a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007f080d91de88 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007f0811c28d4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f0810f62609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f08118aa293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f080dd41240 (LWP 1749)): #0 0x00007f081189daff in __GI___poll (fds=0x7ffff2953e48, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f080dfdec1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007f080dfdf329 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007f080dfdf5b7 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1 #4 0x00007f080dfdfe20 in xcb_flush () from /lib/x86_64-linux-gnu/libxcb.so.1 #5 0x00007f080d9113dd in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #6 0x00007f08123b4497 in QBackingStore::flush(QRegion const&, QWindow*, QPoint const&) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5 #7 0x00007f08128f749d in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #8 0x00007f08128f82a5 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #9 0x00007f08128fa4ac in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #10 0x00007f08128faf44 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #11 0x00007f0812924775 in QWidgetPrivate::syncBackingStore() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #12 0x00007f081292b6ec in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #13 0x00007f08128e7dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #14 0x00007f08128f0bb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x00007f0811e0f2ca in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007f0811e11bd1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x00007f0811e6a4c7 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007f081059517d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #19 0x00007f0810595400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #20 0x00007f08105954a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007f0811e69b22 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #22 0x00007f0811e0ddcb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #23 0x00007f0811e15f84 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x000055b74897c540 in ?? () #25 0x00007f08117af0b3 in __libc_start_main (main=0x55b74897bcc0, argc=5, argv=0x7ffff2954fb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff2954fa8) at ../csu/libc-start.c:308 #26 0x000055b74897c69e in _start () [Inferior 1 (process 1749) detached] ADDITIONAL INFORMATION Operating System: KDE neon 5.21 KDE Plasma Version: 5.21.5 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.3 Kernel Version: 5.4.0-74-generic OS Type: 64-bit Graphics Platform: X11 Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz Memory: 15,5 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620
Git commit 6aa6909286203e4520e70c69207d9ae57e8b516c by Alexander Stippich. Committed on 20/06/2021 at 15:49. Pushed by astippich into branch 'master'. do not allow to query for new devices when a device is opened M +6 -1 src/ksanewidget.cpp https://invent.kde.org/graphics/libksane/commit/6aa6909286203e4520e70c69207d9ae57e8b516c
Git commit c9d8e2e6a3d24d5f204c8020a46d40e9cea070e4 by Alexander Stippich. Committed on 20/06/2021 at 15:50. Pushed by astippich into branch 'release/21.04'. do not allow to query for new devices when a device is opened M +6 -1 src/ksanewidget.cpp https://invent.kde.org/graphics/libksane/commit/c9d8e2e6a3d24d5f204c8020a46d40e9cea070e4
This issue should be fixed. Please reopen if this issue persists with KDE Gear >= 21.04.3