https://bugs.kde.org/show_bug.cgi?id=505722

            Bug ID: 505722
           Summary: Skanpage segfault when open Kodak Alaris scanner
    Classification: Applications
           Product: Skanpage
      Version First 25.04.2
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to