Bug 504671 - Skanpage crash at Startup
Summary: Skanpage crash at Startup
Status: REPORTED
Alias: None
Product: Skanpage
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Alexander Stippich
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-05-22 15:31 UTC by CalT
Modified: 2025-10-02 15:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/185259/events/8e59db09531b4ed3a6d5a377d47c3b54/


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CalT 2025-05-22 15:31:01 UTC
Application: skanpage (25.04.1)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.14.0
Operating System: Linux 6.14.6-300.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (KDE Plasma Desktop Edition)"
DrKonqi: 6.3.5 [CoredumpBackend]

-- Information about the crash:
Skanpage crashes when starting up and USB connected to Brother ADS-2200. The program starts up fine when not connected but won't detect device when connected. Sometimes restarting Skanpage works but most of the time no combination of application,computer or device restart/reconnects works. Using gscan2pdf as it works reliably, but would prefer to use SkanPage.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Skanpage (skanpage), signal: Segmentation fault


This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.fedoraproject.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[New LWP 27330]
[New LWP 27335]
[New LWP 27331]
[New LWP 27333]
[New LWP 27334]
[New LWP 27338]
[New LWP 27340]
[New LWP 27332]
[New LWP 27347]
[New LWP 27336]
[New LWP 27337]
[New LWP 27339]
[New LWP 27348]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/skanpage'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f1ddce8111c in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f1dd928cdc0 (LWP 27330))]
Function(s) ^std::(move|forward|as_const|(__)?addressof) will be skipped when stepping.
Function(s) ^std::(shared|unique)_ptr<.*>::(get|operator) will be skipped when stepping.
Function(s) ^std::(basic_string|vector|array|deque|(forward_)?list|(unordered_|flat_)?(multi)?(map|set)|span)<.*>::(c?r?(begin|end)|front|back|data|size|empty) will be skipped when stepping.
Function(s) ^std::(basic_string|vector|array|deque|span)<.*>::operator.] will be skipped when stepping.
Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:547: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
  boot_time = datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S')
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:564: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  'timestamp': datetime.utcnow().isoformat(),
[Current thread is 1 (Thread 0x7f1dd928cdc0 (LWP 27330))]

Thread 13 (Thread 0x7f1d937fe6c0 (LWP 27348)):
#0  0x00007f1ddce876c2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f1ddce7b9da in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f1ddce7ba24 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f1ddcef4c4e in poll () from /lib64/libc.so.6
#4  0x00007f1ddbfa2af9 in linux_udev_event_thread_main.lto_priv () from /lib64/libusb-1.0.so.0
#5  0x00007f1ddce7f1d4 in start_thread () from /lib64/libc.so.6
#6  0x00007f1ddcf01cec in __clone3 () from /lib64/libc.so.6

Thread 12 (Thread 0x7f1da933a6c0 (LWP 27339)):
#0  0x00007f1ddce876c2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f1ddce7b9da in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f1ddce7c04c in __futex_abstimed_wait_common () from /lib64/libc.so.6
#3  0x00007f1ddce7e71e in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#4  0x00007f1dc0f4071d in cnd_wait () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#5  0x00007f1dc0efb27c in util_queue_thread_func () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#6  0x00007f1dc0f4064c in impl_thrd_routine () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#7  0x00007f1ddce7f1d4 in start_thread () from /lib64/libc.so.6
#8  0x00007f1ddcf01cec in __clone3 () from /lib64/libc.so.6

Thread 11 (Thread 0x7f1daa7fd6c0 (LWP 27337)):
#0  0x00007f1ddce876c2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f1ddce7b9da in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f1ddce7c04c in __futex_abstimed_wait_common () from /lib64/libc.so.6
#3  0x00007f1ddce7e71e in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#4  0x00007f1dc0f4071d in cnd_wait () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#5  0x00007f1dc0efb27c in util_queue_thread_func () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#6  0x00007f1dc0f4064c in impl_thrd_routine () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#7  0x00007f1ddce7f1d4 in start_thread () from /lib64/libc.so.6
#8  0x00007f1ddcf01cec in __clone3 () from /lib64/libc.so.6

Thread 10 (Thread 0x7f1daaffe6c0 (LWP 27336)):
#0  0x00007f1ddce876c2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f1ddce7b9da in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f1ddce7c04c in __futex_abstimed_wait_common () from /lib64/libc.so.6
#3  0x00007f1ddce7e71e in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#4  0x00007f1dc0f4071d in cnd_wait () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#5  0x00007f1dc0efb27c in util_queue_thread_func () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#6  0x00007f1dc0f4064c in impl_thrd_routine () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#7  0x00007f1ddce7f1d4 in start_thread () from /lib64/libc.so.6
#8  0x00007f1ddcf01cec in __clone3 () from /lib64/libc.so.6

Thread 9 (Thread 0x7f1d93fff6c0 (LWP 27347)):
#0  0x00007f1ddce876c2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f1ddce7b9da in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f1ddce7ba24 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f1ddcef5176 in ppoll () from /lib64/libc.so.6
#4  0x00007f1ddc3af210 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#5  0x00007f1ddc3af2d3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f1ddd7ff56d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#7  0x00007f1ddd503783 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#8  0x00007f1ddd6217fd in QThread::exec() () from /lib64/libQt6Core.so.6
#9  0x00007f1ddd6bdde4 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#10 0x00007f1ddce7f1d4 in start_thread () from /lib64/libc.so.6
#11 0x00007f1ddcf01cec in __clone3 () from /lib64/libc.so.6

Thread 8 (Thread 0x7f1dc8b1f6c0 (LWP 27332)):
#0  0x00007f1ddce876c2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f1ddce7b9da in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f1ddce7c04c in __futex_abstimed_wait_common () from /lib64/libc.so.6
#3  0x00007f1ddce7e71e in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#4  0x00007f1ddd6cbb2c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#5  0x00007f1ddb28744e in QtWaylandClient::EventThread::run() () from /lib64/libQt6WaylandClient.so.6
#6  0x00007f1ddd6bdde4 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#7  0x00007f1ddce7f1d4 in start_thread () from /lib64/libc.so.6
#8  0x00007f1ddcf01cec in __clone3 () from /lib64/libc.so.6

Thread 7 (Thread 0x7f1da8b396c0 (LWP 27340)):
#0  0x00007f1ddce876c2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f1ddce7b9da in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f1ddce7c04c in __futex_abstimed_wait_common () from /lib64/libc.so.6
#3  0x00007f1ddce7e71e in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#4  0x00007f1dc0f4071d in cnd_wait () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#5  0x00007f1dc0efb27c in util_queue_thread_func () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#6  0x00007f1dc0f4064c in impl_thrd_routine () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#7  0x00007f1ddce7f1d4 in start_thread () from /lib64/libc.so.6
#8  0x00007f1ddcf01cec in __clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7f1da9bfc6c0 (LWP 27338)):
#0  0x00007f1ddce876c2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f1ddce7b9da in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f1ddce7c04c in __futex_abstimed_wait_common () from /lib64/libc.so.6
#3  0x00007f1ddce7e71e in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#4  0x00007f1dc0f4071d in cnd_wait () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#5  0x00007f1dc0efb27c in util_queue_thread_func () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#6  0x00007f1dc0f4064c in impl_thrd_routine () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#7  0x00007f1ddce7f1d4 in start_thread () from /lib64/libc.so.6
#8  0x00007f1ddcf01cec in __clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7f1dc09ff6c0 (LWP 27334)):
#0  0x00007f1ddce876c2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f1ddce7b9da in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f1ddce7c04c in __futex_abstimed_wait_common () from /lib64/libc.so.6
#3  0x00007f1ddce7e71e in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#4  0x00007f1dc0f4071d in cnd_wait () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#5  0x00007f1dc0efb27c in util_queue_thread_func () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#6  0x00007f1dc0f4064c in impl_thrd_routine () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#7  0x00007f1ddce7f1d4 in start_thread () from /lib64/libc.so.6
#8  0x00007f1ddcf01cec in __clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7f1dc3fff6c0 (LWP 27333)):
#0  0x00007f1ddce876c2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f1ddce7b9da in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f1ddce7ba24 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f1ddcef4c4e in poll () from /lib64/libc.so.6
#4  0x00007f1ddb2874b5 in QtWaylandClient::EventThread::run() () from /lib64/libQt6WaylandClient.so.6
#5  0x00007f1ddd6bdde4 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#6  0x00007f1ddce7f1d4 in start_thread () from /lib64/libc.so.6
#7  0x00007f1ddcf01cec in __clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7f1dc9bff6c0 (LWP 27331)):
#0  0x00007f1ddce876c2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f1ddce7b9da in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f1ddce7ba24 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f1ddcef5176 in ppoll () from /lib64/libc.so.6
#4  0x00007f1ddc3af210 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#5  0x00007f1ddc3af2d3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f1ddd7ff56d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#7  0x00007f1ddd503783 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#8  0x00007f1ddd6217fd in QThread::exec() () from /lib64/libQt6Core.so.6
#9  0x00007f1dddb4e901 in QDBusConnectionManager::run() () from /lib64/libQt6DBus.so.6
#10 0x00007f1ddd6bdde4 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#11 0x00007f1ddce7f1d4 in start_thread () from /lib64/libc.so.6
#12 0x00007f1ddcf01cec in __clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f1dab7ff6c0 (LWP 27335)):
#0  0x00007f1ddce876c2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f1ddce7b9da in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f1ddce7c04c in __futex_abstimed_wait_common () from /lib64/libc.so.6
#3  0x00007f1ddce7e71e in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#4  0x00007f1dc0f4071d in cnd_wait () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#5  0x00007f1dc0efb27c in util_queue_thread_func () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#6  0x00007f1dc0f4064c in impl_thrd_routine () from /usr/lib64/dri-freeworld/libgallium-25.0.4.so
#7  0x00007f1ddce7f1d4 in start_thread () from /lib64/libc.so.6
#8  0x00007f1ddcf01cec in __clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1dd928cdc0 (LWP 27330)):
[KCrash Handler]
#4  0x00007f1ddbf94c99 in libusb_reset_device () from /lib64/libusb-1.0.so.0
#5  0x00007f1de10f61bd in sanei_usb_reset () from /lib64/libsane.so.1
#6  0x00007f1d7721aaeb in USB_Check (sPrefix=0x7ffc8e36d1b0 "[LinuxSane]sane_open", devname=0x562487df2d4f "libusb:001:005") at LinuxSane.cpp:2409
#7  0x00007f1d7721d4cf in sane_BrotherADS2200_open (devicename=0x562487df2d4f "libusb:001:005", handle=0x7ffc8e36d6f0) at LinuxSane.cpp:3537
#8  0x00007f1de10f3a41 in sane_dll_open () from /lib64/libsane.so.1
#9  0x00007f1de12ad434 in KSaneCore::Interface::openDevice(QString const&) () from /lib64/libKSaneCore6.so.1
#10 0x0000562450a4c42c in Skanpage::openDevice(QString const&, QString const&, QString const&) ()
#11 0x0000562450a22d41 in main ()

Reported using DrKonqi
Comment 1 Peta 2025-06-07 11:01:23 UTC
The crash that I'm experiencing could be a dup: https://bugs.kde.org/show_bug.cgi?id=505304 not sure
Comment 2 CalT 2025-06-11 23:53:03 UTC
Downloaded and installed latest installation RPM from Brother but problem persists. Even gScan2Pdf won't recognize the scanner. Scanner works fine connected to a Windows 11 laptop with Brother software installed.
Comment 3 Michael Baumgartner 2025-10-02 15:37:59 UTC
I also have a "segmentation fault (core dumped)  skanpage" on startup. I am using a Samsung CLX-3305W, connected over the local network.
Without the driver package samsung-unified-driver [1] 1.00.39-11, Skanpage cannot detect the scanner. If the package is installed, Skanpage crashes on startup. (Skanlite also crashes on startup: "segmentation fault (core dumped)  skanlite".) As "simple-scan" works on my machine with that scanner, the bug seems not to be in the driver package.

Skanpage: 25.08.1
Skanlite: 25.08.1
Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.15.11-2-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 2600X Six-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 560 Series

I hope these details about another case of this error helps to find a bug fix.

[1] https://aur.archlinux.org/packages/samsung-unified-driver