crashes after click on the scan symbol

Bug #1346795 reported by Randy-andy-
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Simple Scan
New
Undecided
Unassigned

Bug Description

since about two month, simple scan crashes immediately after pushing the scan button symbol.
In earlier times it worked well, but I update my system very often.
If I use diffent scan tools, like scangui, from the kipi-plugins or XSane, everthing works fine, but I like to use simple-scan more often than the others.

The curious thing: If I start simple-scan using strace, it works well - why?

If I start logging simple-scan with the help of the debug mode the last entries before crashing are these:

[+3,43s] DEBUG: scanner.vala:884: sane_get_option_descriptor (45)
[+3,43s] DEBUG: scanner.vala:895: SCAN_SOURCE not available, trying alternative "doc-source"
[+3,43s] DEBUG: scanner.vala:546: sane_control_option (2, SANE_ACTION_SET_VALUE, "Gray") -> (SANE_STATUS_GOOD, "Gray")
[+3,43s] DEBUG: scanner.vala:462: sane_control_option (5, SANE_ACTION_SET_VALUE, 150) -> (SANE_STATUS_GOOD, 150)
[+3,43s] DEBUG: scanner.vala:462: sane_control_option (3, SANE_ACTION_SET_VALUE, 2) -> (SANE_STATUS_GOOD, 8)
[+3,43s] DEBUG: scanner.vala:530: sane_control_option (10, SANE_ACTION_SET_VALUE, option.range.max) -> (SANE_STATUS_GOOD)
[+3,43s] DEBUG: scanner.vala:530: sane_control_option (11, SANE_ACTION_SET_VALUE, option.range.max) -> (SANE_STATUS_GOOD)
[+3,45s] DEBUG: scanner.vala:1209: sane_start (page=0, pass=0) -> SANE_STATUS_GOOD
[+3,45s] DEBUG: scanner.vala:1226: sane_get_parameters () -> SANE_STATUS_GOOD
[+3,45s] DEBUG: scanner.vala:1238: Parameters: format=SANE_FRAME_GRAY last_frame=SANE_TRUE bytes_per_line=1269 pixels_per_line=1269 lines=1753 depth=8

If I start simple-scan with strace, so that it works, but log only the output of the debug mode for comparison, I got instead:
Code:

[+4,60s] DEBUG: scanner.vala:884: sane_get_option_descriptor (45)
[+4,60s] DEBUG: scanner.vala:895: SCAN_SOURCE not available, trying alternative "doc-source"
[+4,60s] DEBUG: scanner.vala:546: sane_control_option (2, SANE_ACTION_SET_VALUE, "Gray") -> (SANE_STATUS_GOOD, "Gray")
[+4,60s] DEBUG: scanner.vala:462: sane_control_option (5, SANE_ACTION_SET_VALUE, 150) -> (SANE_STATUS_GOOD, 150)
[+4,60s] DEBUG: scanner.vala:462: sane_control_option (3, SANE_ACTION_SET_VALUE, 2) -> (SANE_STATUS_GOOD, 8)
[+4,60s] DEBUG: scanner.vala:530: sane_control_option (10, SANE_ACTION_SET_VALUE, option.range.max) -> (SANE_STATUS_GOOD)
[+4,60s] DEBUG: scanner.vala:530: sane_control_option (11, SANE_ACTION_SET_VALUE, option.range.max) -> (SANE_STATUS_GOOD)
[+4,61s] DEBUG: scanner.vala:1209: sane_start (page=0, pass=0) -> SANE_STATUS_GOOD
[+4,61s] DEBUG: scanner.vala:1226: sane_get_parameters () -> SANE_STATUS_GOOD
[+4,61s] DEBUG: scanner.vala:1238: Parameters: format=SANE_FRAME_GRAY last_frame=SANE_TRUE bytes_per_line=1269 pixels_per_line=1269 lines=1753 depth=8

here it starts to differ, cause the scanning starts to work:

[+4,62s] DEBUG: simple-scan.vala:254: Page is 1269 pixels wide, 1753 pixels high, 2 bits per pixel
[+4,62s] DEBUG: simple-scan.vala:188: Getting color profile for device plustek:libusb:008:002
[+4,62s] DEBUG: simple-scan.vala:208: Unable to find colord device plustek:libusb:008:002: property match 'Serial'='sane:plustek:libusb:008:002' does not exist
[+4,72s] DEBUG: ui.vala:1739: Saving state to /home/andy/.cache/simple-scan/state
[+18,04s] DEBUG: scanner.vala:1310: sane_read (1270) -> (SANE_STATUS_GOOD, 1270)
[+18,04s] DEBUG: scanner.vala:1310: sane_read (2538) -> (SANE_STATUS_GOOD, 2538)
[+18,04s] DEBUG: scanner.vala:1310: sane_read (2538) -> (SANE_STATUS_GOOD, 2538)

If you are interested in more details, you could read it here:
http://forums.gentoo.org/viewtopic-t-993304-highlight-.html

It would be great if you don't drop my report only cause I'm using a different distro. Hey it's open-source and we all follow the same target, to improve the stability of a great peace of software - right?

Best regards, Andy.

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.