Stops scanning after a few pages, requires restart

Bug #1418932 reported by Marius Gedminas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
simple-scan (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

1. Try to scan an 18-page document: launch simple-scan
2. Press the scan button, get a page
3. Repeat for pages 2 to 7
4. Press the scan button again, get an error
5. Futilely retry a few times, try to unplug and re-plug the USB cable, nothing helps
6. Launch xsane, try to acquire image preview -- it works
7. Close xsane, Alt-Tab back to simple-scan, try again a few times -- same error
8. Save the incomplete document, close simple-scan, launch simple-scan agani
9. Try to scan again, it works now
10. Repeat for pages 9 to 18
11. Save the second incomplete half, search the Internet for solutions for stitching two PDF files together

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: simple-scan 3.14.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3
Uname: Linux 3.16.0-30-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Feb 6 13:09:30 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-07-25 (925 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
Lsusb:
 Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 4291WJF
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-30-generic root=UUID=36079681-53fc-4ca2-80ac-98321c07e8d2 ro quiet splash vt.handoff=7
SourcePackage: simple-scan
UpgradeStatus: Upgraded to utopic on 2015-02-05 (1 days ago)
dmi.bios.date: 07/18/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET69WW (1.39 )
dmi.board.asset.tag: Not Available
dmi.board.name: 4291WJF
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr8DET69WW(1.39):bd07/18/2013:svnLENOVO:pn4291WJF:pvrThinkPadX220:rvnLENOVO:rn4291WJF:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4291WJF
dmi.product.version: ThinkPad X220
dmi.sys.vendor: LENOVO

Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :

Unfortunately simple-scan doesn't do log rotation, so I don't have a copy of ~/.cache/simple-scan/simple-scan.log with the failures.

Revision history for this message
Marius Gedminas (mgedmin) wrote :

I have vague memories of filing this bug in the past, reproducing the issue, attaching a log file, and seeing libsane getting all the blame (since it's libsane returning error codes from sane_read).

Revision history for this message
Marius Gedminas (mgedmin) wrote :

Ah, the bug I filed last time was #1261440 and it was a different situation (scanning failed in the middle of a page).

It's the same office scanner, though (HP Color LaserJet 2840).

The fact that simple-scan failed to scan the page several times in a row and then succeeded after I restarted simple-scan (without touching the USB cable or any scanner buttons) makes me suspect a software bug rather than a hardware quirk. If not in simple-scan itself, then maybe some global state in libsane didn't get reset properly.

(I'm sure there are multiple bugs that interfere with my scanning. I had situations in the past where restarting simple-scan didn't help either.)

Revision history for this message
penalvch (penalvch) wrote :

Marius Gedminas, thank you for reporting this and helping make Ubuntu better.

As per https://wiki.ubuntu.com/Releases your release is EOL.

If you have an issue in a supported release (ex. 16.04) please file a new report, and feel free to subscribe me to it.

Changed in simple-scan (Ubuntu):
status: New → Invalid
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.