Bug 505722 - Skanpage segfault when open Kodak Alaris scanner
Summary: Skanpage segfault when open Kodak Alaris scanner
Status: REPORTED
Alias: None
Product: Skanpage
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Alexander Stippich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-18 06:25 UTC by Ninjoe
Modified: 2025-07-07 08:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ninjoe 2025-06-18 06:25:18 UTC
In Fedora 42, Skanpage 25.04 produce "Segmentation fault (core dumped)" when opening Kodak Alaris S2070 scanner. The same scanner work fine with Simple Scan and XSane (also in Fedora 42) and also with Skanpage 24.08 before the upgrade.

Skanlite also crash the same way. So, it's probably something to do with the KDE framework library.

Fedora Linux 42 (KDE Plasma Desktop Edition)
kernel: 6.14.11-300.fc42.x86_64
skanpage-25.04.2-1.fc42

crash_function: void doActivate<false>(QObject*, int, void**)

Log from enabling SANE debug is very long (SANE_DEBUG_DLL=5 SANE_DEBUG_kds_s2000=10). But it seem to stuck in a loop doing these (with option iterating from 1 to 27 and repeat again):

[09:56:58.895858] [dll] sane_open: trying to open `kds_s2000:S2000'
[09:57:02.483751] [dll] sane_open: open successful
[09:57:02.483803] [dll] sane_get_option_descriptor(handle=0x55fd6eca2680,option=0)
[09:57:02.483833] [dll] sane_control_option(handle=0x55fd6eca2680,option=0,action=0,value=0x7ffd4f7b0c48,info=0x7ffd4f7b0b90)
[09:57:02.483863] [dll] sane_get_option_descriptor(handle=0x55fd6eca2680,option=1)
[09:57:02.483883] [dll] sane_get_option_descriptor(handle=0x55fd6eca2680,option=1)
[09:57:02.483916] [dll] sane_get_option_descriptor(handle=0x55fd6eca2680,option=2)
[09:57:02.483934] [dll] sane_get_option_descriptor(handle=0x55fd6eca2680,option=2)
[09:57:02.483955] [dll] sane_get_option_descriptor(handle=0x55fd6eca2680,option=3)
[09:57:02.483971] [dll] sane_get_option_descriptor(handle=0x55fd6eca2680,option=3)
[09:57:02.483988] [dll] sane_control_option(handle=0x55fd6eca2680,option=3,action=0,value=0x7ffd4f7b0538,info=0x7ffd4f7b0474)

... (lots of sane_get_option_descriptor) ..

[11:32:11.404205] [dll] sane_get_option_descriptor(handle=0x562842f47210,option=25)
[11:32:11.404235] [dll] sane_control_option(handle=0x562842f47210,option=25,action=0,value=0x7fff6eca4e38,info=0x7fff6eca4dec)
[11:32:11.404249] [dll] sane_get_option_descriptor(handle=0x562842f47210,option=26)
[11:32:11.404262] [dll] sane_control_option(handle=0x562842f47210,option=26,action=0,value=0x7fff6eca4e38,info=0x7fff6eca4d74)
[11:32:11.404280] [dll] sane_get_option_descriptor(handle=0x562842f47210,option=27)
[11:32:11.404304] [dll] sane_control_option(handle=0x562842f47210,option=27,action=0,value=0x7fff6eca4e38,info=0x7fff6eca4dec)
Segmentation fault (core dumped)


Reproducible: Always

Steps to Reproduce:
1. Open Skanpage
2. Choose Kodak Alaris S2070 scanner
3. Wait a bit and then segfault
Actual Results:
Segmentation fault (core dumped)

Expected Results:
Able to scan
Comment 1 Ninjoe 2025-06-20 04:54:30 UTC
Test again with Plasma 6.4, still crash.

This time I get this report fro ABRT:
https://retrace.fedoraproject.org/faf/reports/1221075/
Comment 2 Ninjoe 2025-07-07 08:42:26 UTC
Upgraded to Skanpage 25.04.3 and libksane 25.04.3. The problem is still there.