`scanimage -h' core dumps with Kodak ESP2510 scanner

Bug #1775629 reported by inopem
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sane-backends (Ubuntu)
New
Undecided
Unassigned

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).

Tags: artful
Revision history for this message
Paul White (paulw2u) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1775629

When reporting bugs please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

tags: added: artful
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.