Simple-scan hangs after reading first line

Bug #1334710 reported by Giovanni Campagna on 2014-06-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Simple Scan
Fix Released
Fix Released
simple-scan (Ubuntu)

Bug Description

Simple scan fails to read from scanners using Vala >= 0.24

[Test Case]
1. Scan document

Expected result:
Scan completes

Observed result:
Scan fails

[Regression Potential]
Low. Fix has been in newer versions without issue.

Giovanni Campagna (gcampax) wrote :
Robert Ancell (robert-ancell) wrote :

The second part of this patch was fixed in revision 726.

Changed in simple-scan:
milestone: none →
importance: Undecided → Critical
status: New → Fix Released
Robert Ancell (robert-ancell) wrote :

I don't think we need the first part of the patch - a "full read" is when you manage to read the entire buffer in one go. This causes us to increase the buffer size and do bigger reads. The change in your patch will cause the buffer to increase every time we fill the buffer.

Changed in simple-scan (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in simple-scan (Ubuntu Trusty):
status: New → Triaged
Changed in simple-scan (Ubuntu):
status: Triaged → Fix Released
Changed in simple-scan (Ubuntu Trusty):
importance: Undecided → Medium
description: updated
description: updated

Hello Giovanni, or anyone else affected,

Accepted simple-scan into trusty-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at . Thank you in advance!

Changed in simple-scan (Ubuntu Trusty):
status: Triaged → Fix Committed
tags: added: verification-needed
tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package simple-scan - 3.12.3-0ubuntu1

simple-scan (3.12.3-0ubuntu1) trusty; urgency=medium

  * New upstream bugfix release:
    [ 3.12.2 ]
    - Add non-standard option names for duplex scanning on HP And Brother
      scanners (LP: #1343773) (LP: #1353599)
    - Don't access a variable after ownership is transferred - was breaking
      scans (LP: #1334710)
    - Stop configure if Vala not found
    [ 3.12.3 ]
    - Correctly select the previous device after the device list is updated
      (LP: #1485977)
    - Fix error dialogs not showing.
    - Fix save button being inactive on pages restored after a crash
      (LP: #1435794)
    - Fix error where document was discarded if warning dialog was closed
      (LP: #1386738)
    - Store density information in bitmap formats (JPEG, PNG, TIFF). Requires
      gdk-pixbuf 2.32.2 (LP: #484616)

 -- Robert Ancell <email address hidden> Thu, 24 Mar 2016 11:44:22 +1300

Changed in simple-scan (Ubuntu Trusty):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for simple-scan has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers