Bug 508188

Summary: Skanlite crashes when trying to scan
Product: [Applications] Skanlite Reporter: Elias <eliaszoro>
Component: generalAssignee: Kåre Särs <kare.sars>
Status: REPORTED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 23.08.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Elias 2025-08-13 06:35:48 UTC
Application: skanlite (23.08.5)

Qt Version: 5.15.13
Frameworks Version: 5.115.0
Operating System: Linux 6.11.0-1012-oem x86_64
Windowing System: Wayland
Distribution: Ubuntu 24.04.2 LTS
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
When I hit the scan button, it tries to scan for a while, says device busy, dr konqi popup comes up.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Skanlite (skanlite), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x000074d8ca64527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x000074d8ca6288ff in __GI_abort () at ./stdlib/abort.c:79
#9  0x000074d8ca6297b6 in __libc_message_impl (fmt=fmt@entry=0x74d8ca7ce765 "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:134
#10 0x000074d8ca736c19 in __GI___fortify_fail (msg=msg@entry=0x74d8ca7ce77d "stack smashing detected") at ./debug/fortify_fail.c:24
#11 0x000074d8ca737ea4 in __stack_chk_fail () at ./debug/stack_chk_fail.c:24
#12 0x000074d8b4ca0a79 in get_size () at /usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1
#13 0x000074d8b4ca0b03 in bb_get_image_data () at /usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1
#14 0x000074d8b4c9d620 in ??? () at /usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1
#15 0x000074d8b4c9de94 in ledm_read () at /usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1
#16 0x000074d8cbb78491 in ??? () at /lib/x86_64-linux-gnu/libKSaneCore.so.1
#17 0x000074d8caedb674 in ??? () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x000074d8ca69caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#19 0x000074d8ca729c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x74d8a20006c0 (LWP 3461) "KSaneCore::Find"):
#1  0x000074d8b4c4c1af in ??? () at /lib/x86_64-linux-gnu/libavahi-common.so.3
#2  0x000074d8b4c4bd13 in avahi_simple_poll_run () at /lib/x86_64-linux-gnu/libavahi-common.so.3
#3  0x000074d8b4c4bf08 in avahi_simple_poll_iterate () at /lib/x86_64-linux-gnu/libavahi-common.so.3
#4  0x000074d8b4c4c145 in avahi_simple_poll_loop () at /lib/x86_64-linux-gnu/libavahi-common.so.3
#5  0x000074d8b4c4c211 in ??? () at /lib/x86_64-linux-gnu/libavahi-common.so.3
#6  0x000074d8ca69caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#7  0x000074d8ca729c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x74d8966006c0 (LWP 3462) "KSaneCore::Find"):
#1  __libc_recvmsg (fd=128, msg=0x74d8965fd920, flags=0) at ../sysdeps/unix/sysv/linux/recvmsg.c:41
#2  0x000074d894c8b49f in ??? () at /usr/lib/x86_64-linux-gnu/sane/libsane-airscan.so.1
#3  0x000074d8b4c4be55 in avahi_simple_poll_dispatch () at /lib/x86_64-linux-gnu/libavahi-common.so.3
#4  0x000074d894c6af9f in ??? () at /usr/lib/x86_64-linux-gnu/sane/libsane-airscan.so.1
#5  0x000074d8ca69caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#6  0x000074d8ca729c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x74d8cbbfb340 (LWP 3422) "skanlite"):
#1  0x000074d8c9712252 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x000074d8c9770647 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x000074d8c9710a63 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x000074d8cb135296 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x000074d8cb0d6a7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x000074d8cb0df3e8 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x000062746e3e15c4 in ??? ()
#8  0x000074d8ca62a1ca in __libc_start_call_main (main=main@entry=0x62746e3ded00, argc=argc@entry=1, argv=argv@entry=0x7ffed14ef348) at ../sysdeps/nptl/libc_start_call_main.h:58
#9  0x000074d8ca62a28b in __libc_start_main_impl (main=0x62746e3ded00, argc=1, argv=0x7ffed14ef348, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffed14ef338) at ../csu/libc-start.c:360
#10 0x000062746e3e1dd5 in ??? ()
[Inferior 1 (process 3422) detached]

Reported using DrKonqi