Public bug reported:

Running "scanimage -h" on Ubuntu 17.10 with my Kodak ESP5210 returns:

...
Options specific to device `kodakaio:net:192.168.0.12?model=0x4041':
  Standard:
    --mode Color|Gray|Lineart [Color]
        Selects the scan mode (e.g., lineart, monochrome, or color).
    --threshold 0..100% (in steps of 1) [50]
        Select minimum-brightness to get a white point
    --depth 8 [inactive]
        Number of bits per sample, typical values are 1 for "line-art" and 8
        for multibit scans.
    --resolution 75|150|300|600dpi [75]
        Sets the resolution of the scanned image.
Segmentation fault (core dumped)

Here's the core dump:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `scanimage -h'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000563d1c88f82f in print_option (device=0x563d1d627060, opt_num=6, 
opt=0x563d1d70f938) at scanimage.c:413
413     scanimage.c: No such file or directory.
[Current thread is 1 (Thread 0x7fe230837740 (LWP 17187))]

I imagine this causes the error I get when I try to scan in gscan2pdf:
"Error retrieving scanner options: error getting option 6: Invalid argument"
(I get a similar error from xsane).

** Affects: sane-backends (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sane-backends in Ubuntu.
https://bugs.launchpad.net/bugs/1775629

Title:
  `scanimage -h' core dumps with Kodak ESP2510 scanner

Status in sane-backends package in Ubuntu:
  New

Bug description:
  Running "scanimage -h" on Ubuntu 17.10 with my Kodak ESP5210 returns:

  ...
  Options specific to device `kodakaio:net:192.168.0.12?model=0x4041':
    Standard:
      --mode Color|Gray|Lineart [Color]
          Selects the scan mode (e.g., lineart, monochrome, or color).
      --threshold 0..100% (in steps of 1) [50]
          Select minimum-brightness to get a white point
      --depth 8 [inactive]
          Number of bits per sample, typical values are 1 for "line-art" and 8
          for multibit scans.
      --resolution 75|150|300|600dpi [75]
          Sets the resolution of the scanned image.
  Segmentation fault (core dumped)

  Here's the core dump:

  [Thread debugging using libthread_db enabled]
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  Core was generated by `scanimage -h'.
  Program terminated with signal SIGSEGV, Segmentation fault.
  #0  0x0000563d1c88f82f in print_option (device=0x563d1d627060, opt_num=6, 
opt=0x563d1d70f938) at scanimage.c:413
  413   scanimage.c: No such file or directory.
  [Current thread is 1 (Thread 0x7fe230837740 (LWP 17187))]

  I imagine this causes the error I get when I try to scan in gscan2pdf:
  "Error retrieving scanner options: error getting option 6: Invalid argument"
  (I get a similar error from xsane).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1775629/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to