[SOLVED] Simple Scan segfaults when scanning on "Photo"(24-bit) quality.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
simple-scan (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Simple Scan seg-faults when scanning at 24-bit(Photo) depth using the latest driver for my:
Model: Brother DCP-L2550DW
Driver: brscan4-
$ grep -i scan /var/log/syslog
<snip...>
Nov 25 12:42:45 CKR-1 systemd-udevd[496]: Invalid rule /etc/udev/
Nov 25 12:43:18 CKR-1 dbus-daemon[2323]: [session uid=1000 pid=2323] Activating via systemd: service name='org.
Nov 25 12:43:26 CKR-1 simple-scan: io/hpmud/model.c 532: no ther_dcp-
Nov 25 12:43:26 CKR-1 simple-scan: io/hpmud/model.c 543: no ther_dcp-
Nov 25 12:43:53 CKR-1 kernel: [ 603.879672] scan-thread[6118]: segfault at 3ec ip 00007f9d432b29d2 sp 00007f9d43bbd810 error 4 in libsane-
Nov 25 12:44:00 CKR-1 whoopsie-
Nov 25 12:44:00 CKR-1 whoopsie-
Nov 25 12:44:00 CKR-1 whoopsie[1825]: [12:44:00] Parsing /var/crash/
Nov 25 12:44:00 CKR-1 whoopsie[1825]: [12:44:00] Uploading /var/crash/
Nov 25 12:44:09 CKR-1 simple-scan: io/hpmud/model.c 532: no ther_dcp-
Nov 25 12:44:09 CKR-1 simple-scan: io/hpmud/model.c 543: no ther_dcp-
Nov 25 12:44:29 CKR-1 kernel: [ 640.437150] scan-thread[7013]: segfault at 3ec ip 00007f7dc012c9d2 sp 00007f7dab7fd810 error 4 in libsane-
<...snip>
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: simple-scan 3.30.1.1-1
ProcVersionSign
Uname: Linux 4.18.0-11-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Nov 25 12:44:45 2018
InstallationDate: Installed on 2018-11-23 (1 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
MachineType: HP HP Slimline Desktop PC 270-p0xx
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: simple-scan
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/01/2018
dmi.bios.vendor: AMI
dmi.bios.version: F.35
dmi.board.
dmi.board.name: 82F2
dmi.board.vendor: HP
dmi.board.version: 00
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnAMI:
dmi.product.family: 103C_53311M HP Desktop
dmi.product.name: HP Slimline Desktop PC 270-p0xx
dmi.product.sku: Z5N91AA#ABA
dmi.sys.vendor: HP
Output from simple-scan run in debug mode:
$ simple-scan -d scan.vala: 638: Starting Simple Scan 3.30.1.1, PID=29211
[+0.00s] DEBUG: simple-
(simple- scan:29211) : Gtk-WARNING **: 14:56:04.684: Failed to register client: GDBus.Error: org.gnome. SessionManager. AlreadyRegister ed: Unable to register client vala:1715: Loading state from /home/chris/ .cache/ simple- scan/state vala:1672: Restoring window to 600x400 pixels vala:1676: Restoring window to maximized manager. vala:64: Loading autosave information manager. vala:259: Waiting to autosave... manager. vala:281: Autosaving book information vala:1776: Saving state to /home/chris/ .cache/ simple- scan/state net1;dev0" vendor="Brother" model=" *dcp-l2550dw" type="dcp-l2550dw" scan.vala: 455: Requesting scan at 300 dpi from device 'brother4: net1;dev0' net1;dev0" , dpi=300, scan_mode= ScanMode. COLOR, depth=8, type=ScanType. SINGLE, paper_width=2159, paper_height=2794, brightness=0, contrast=0, delay=10000ms) net1;dev0" ) -> SANE_STATUS_GOOD option_ descriptor (0) option_ descriptor (1) option_ descriptor (2) select, soft-detect option_ descriptor (3) select, soft-detect option_ descriptor (4)
[+0.04s] DEBUG: app-window.
[+0.04s] DEBUG: app-window.
[+0.04s] DEBUG: app-window.
[+0.04s] DEBUG: autosave-
[+0.04s] DEBUG: autosave-
[+0.07s] DEBUG: scanner.vala:1461: sane_init () -> SANE_STATUS_GOOD
[+0.07s] DEBUG: scanner.vala:1467: SANE version 1.0.27
[+0.07s] DEBUG: scanner.vala:1528: Requesting redetection of scan devices
[+0.07s] DEBUG: scanner.vala:806: Processing request
[+0.14s] DEBUG: autosave-
[+0.18s] DEBUG: app-window.
[+8.26s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
[+8.26s] DEBUG: scanner.vala:353: Device: name="brother4:
[+9.48s] DEBUG: simple-
[+9.48s] DEBUG: scanner.vala:1576: Scanner.scan ("brother4:
[+9.48s] DEBUG: scanner.vala:806: Processing request
[+10.72s] DEBUG: scanner.vala:867: sane_open ("brother4:
[+10.72s] DEBUG: scanner.vala:888: sane_get_
[+10.72s] DEBUG: scanner.vala:738: Option 0: name='(null)' title='Number of options' type=bool size=4 cap=soft-detect
[+10.72s] DEBUG: scanner.vala:741: Description: Read-only option that specifies how many options a specific devices supports.
[+10.72s] DEBUG: scanner.vala:888: sane_get_
[+10.72s] DEBUG: scanner.vala:738: Option 1: name='(null)' title='Mode' type=group size=4 cap=advanced
[+10.72s] DEBUG: scanner.vala:741: Description:
[+10.72s] DEBUG: scanner.vala:888: sane_get_
[+10.72s] DEBUG: scanner.vala:738: Option 2: name='mode' title='Scan mode' type=string size=30 values=["Black & White", "Gray[Error Diffusion]", "True Gray", "24bit Color", "24bit Color[Fast]"] cap=soft-
[+10.72s] DEBUG: scanner.vala:741: Description: Select the scan mode
[+10.72s] DEBUG: scanner.vala:888: sane_get_
[+10.72s] DEBUG: scanner.vala:738: Option 3: name='resolution' title='Scan resolution' type=int size=4 unit=dpi values=[100, 150, 200, 300, 400, 600, 1200, 2400, 4800, 9600] cap=soft-
[+10.72s] DEBUG: scanner.vala:741: Description: Sets the resolution of the scanned image.
[+10.72s] DEBUG: scanner.vala:888: sane_get_
[+10.72s] DEBUG: scanner.vala:738: Option 4: name='source' title='Scan source' type=string size=64 values=["FlatBed", "Automatic Document Feeder...