Scanner: Canon Lide 200
With sane-backends-1.0.25-r1 everything looks fine. Updating sane-backends to 1.0.27 produces a green vertical bar on the scan result.
Created attachment 499986 [details]
scan result - 1.0.25-r1
perfect scan result
Created attachment 499988 [details]
scan result - 1.0.27
green vertical bar on the scan result
Posted the problem to the sane-devel mailing list:
Created attachment 514774 [details]
1.0.25-r1 (ok) vs. 1.0.27 (broken)
Another example of the bug.
I tried to find the breaking commit by bisecting the code from the git repo.
Things turned really mysterious quickly. If I had one successful scan, all the following scans would be OK no matter the version. If I had one broken scan, all the following scans would be broken no matter the version. I realized I had to restart my computer every time I compiled a new version to get a real result.
This seemed to work for a while, until I realized it wasn't enough - I started to get mixed results after searching for a while. Then I started re-plugging the scanner after every reboot. And suddenly, the problem went away. I just did a fresh reboot, plugged in the scanner, and, using the sane-backends-1.0.27, I did a successful scan.
This is all very strange as the problem seemed to be 100% reproducible yesterday. I also have had it always since upgrading to 1.0.27. I will try a few more times if I find something, but at the moment, I'm baffled.
can you try this patch?
[master aa225b06c94] media-gfx/sane-backends: Multiple bug fixes
Date: Mon Apr 2 14:21:34 2018 +0200
3 files changed, 399 insertions(+)
create mode 100644 media-gfx/sane-backends/files/sane-backends-1.0.27-canon-lide-100.patch
create mode 100644 media-gfx/sane-backends/files/sane-backends-1.0.27-network.patch
create mode 100644 media-gfx/sane-backends/sane-backends-1.0.27-r1.ebuild
(In reply to Pacho Ramos from comment #6)
> can you try this patch?
Ah sorry I had missed the email notification completely about the issue and was away from my desktop for a while. In the meantime you had even patched the ebuild. Just tested it, works like a champ. Thank you very much!