[SOLVED] Simple Scan segfaults when scanning on "Photo"(24-bit) quality.

Bug #1805039 reported by Chris Rainey
10
This bug affects 2 people
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-0.4.6-1.amd64.deb

$ grep -i scan /var/log/syslog

<snip...>
Nov 25 12:42:45 CKR-1 systemd-udevd[496]: Invalid rule /etc/udev/rules.d/60-brother-brscan4-libsane-type1.rules:9: unknown key 'SYSFS{idVendor}'
Nov 25 12:43:18 CKR-1 dbus-daemon[2323]: [session uid=1000 pid=2323] Activating via systemd: service name='org.freedesktop.portal.Desktop' unit='xdg-desktop-portal.service' requested by ':1.106' (uid=1000 pid=6089 comm="simple-scan " label="unconfined")
Nov 25 12:43:26 CKR-1 simple-scan: io/hpmud/model.c 532: no ther_dcp-l2550dw_series attributes found in /usr/share/hplip/data/models/models.dat
Nov 25 12:43:26 CKR-1 simple-scan: io/hpmud/model.c 543: no ther_dcp-l2550dw_series attributes found in /usr/share/hplip/data/models/unreleased/unreleased.dat
Nov 25 12:43:53 CKR-1 kernel: [ 603.879672] scan-thread[6118]: segfault at 3ec ip 00007f9d432b29d2 sp 00007f9d43bbd810 error 4 in libsane-brother4.so.1.0.7[7f9d4328d000+2e000]
Nov 25 12:44:00 CKR-1 whoopsie-upload-all[6133]: Collecting info for /var/crash/_usr_bin_simple-scan.1000.crash...
Nov 25 12:44:00 CKR-1 whoopsie-upload-all[6133]: Marking /var/crash/_usr_bin_simple-scan.1000.crash for whoopsie upload
Nov 25 12:44:00 CKR-1 whoopsie[1825]: [12:44:00] Parsing /var/crash/_usr_bin_simple-scan.1000.crash.
Nov 25 12:44:00 CKR-1 whoopsie[1825]: [12:44:00] Uploading /var/crash/_usr_bin_simple-scan.1000.crash.
Nov 25 12:44:09 CKR-1 simple-scan: io/hpmud/model.c 532: no ther_dcp-l2550dw_series attributes found in /usr/share/hplip/data/models/models.dat
Nov 25 12:44:09 CKR-1 simple-scan: io/hpmud/model.c 543: no ther_dcp-l2550dw_series attributes found in /usr/share/hplip/data/models/unreleased/unreleased.dat
Nov 25 12:44:29 CKR-1 kernel: [ 640.437150] scan-thread[7013]: segfault at 3ec ip 00007f7dc012c9d2 sp 00007f7dab7fd810 error 4 in libsane-brother4.so.1.0.7[7f7dc0107000+2e000]
<...snip>

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: simple-scan 3.30.1.1-1
ProcVersionSignature: Ubuntu 4.18.0-11.12-generic 4.18.12
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-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.18.0-11-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=1
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.asset.tag: CNV7280FKD
dmi.board.name: 82F2
dmi.board.vendor: HP
dmi.board.version: 00
dmi.chassis.asset.tag: CNV7280FKD
dmi.chassis.type: 3
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnAMI:bvrF.35:bd11/01/2018:svnHP:pnHPSlimlineDesktopPC270-p0xx:pvr:rvnHP:rn82F2:rvr00:cvnHP:ct3:cvr:
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

Revision history for this message
Chris Rainey (ckrzen) wrote :
Revision history for this message
Chris Rainey (ckrzen) wrote :
Download full text (7.0 KiB)

Output from simple-scan run in debug mode:

$ simple-scan -d
[+0.00s] DEBUG: simple-scan.vala:638: Starting Simple Scan 3.30.1.1, PID=29211

(simple-scan:29211): Gtk-WARNING **: 14:56:04.684: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
[+0.04s] DEBUG: app-window.vala:1715: Loading state from /home/chris/.cache/simple-scan/state
[+0.04s] DEBUG: app-window.vala:1672: Restoring window to 600x400 pixels
[+0.04s] DEBUG: app-window.vala:1676: Restoring window to maximized
[+0.04s] DEBUG: autosave-manager.vala:64: Loading autosave information
[+0.04s] DEBUG: autosave-manager.vala:259: Waiting to 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-manager.vala:281: Autosaving book information
[+0.18s] DEBUG: app-window.vala:1776: Saving state to /home/chris/.cache/simple-scan/state
[+8.26s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
[+8.26s] DEBUG: scanner.vala:353: Device: name="brother4:net1;dev0" vendor="Brother" model="*dcp-l2550dw" type="dcp-l2550dw"
[+9.48s] DEBUG: simple-scan.vala:455: Requesting scan at 300 dpi from device 'brother4:net1;dev0'
[+9.48s] DEBUG: scanner.vala:1576: Scanner.scan ("brother4: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)
[+9.48s] DEBUG: scanner.vala:806: Processing request
[+10.72s] DEBUG: scanner.vala:867: sane_open ("brother4:net1;dev0") -> SANE_STATUS_GOOD
[+10.72s] DEBUG: scanner.vala:888: sane_get_option_descriptor (0)
[+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_option_descriptor (1)
[+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_option_descriptor (2)
[+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-select,soft-detect
[+10.72s] DEBUG: scanner.vala:741: Description: Select the scan mode
[+10.72s] DEBUG: scanner.vala:888: sane_get_option_descriptor (3)
[+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-select,soft-detect
[+10.72s] DEBUG: scanner.vala:741: Description: Sets the resolution of the scanned image.
[+10.72s] DEBUG: scanner.vala:888: sane_get_option_descriptor (4)
[+10.72s] DEBUG: scanner.vala:738: Option 4: name='source' title='Scan source' type=string size=64 values=["FlatBed", "Automatic Document Feeder...

Read more...

Revision history for this message
Chris Rainey (ckrzen) wrote :

***

SOLVED !!

***

All that was needed was to 'apt purge' the manually installed drivers:

$ sudo apt --auto-remove purge brscan4 dcpl2550dwpdrv

Then *BE SURE* to use the Brother installer script: linux-brprinter-installer-2.2.1-1.gz

(or whatever your current version is from the support.brother.com website, etc.)

Follow the instructions from the Brother download site and during the script installation to-the-letter(EXACTLY)!

*** CAVEAT: use the printer I.P. addy if on a LAN and _NOT_ the auto-detected mDNS addy if you have an AT&T Fiber residential gateway such as mine(BGW210-700) which has a ".local" domain hard-coded in the DNS. This effectively kills mDNS(Avahi) broadcasts and so I'm not able to connect to the printer using that system.

i.e.:

CUPS Connection: lpd://192.168.1.220/BINARY_P1

in my case.

Good Luck !!

summary: - Simple Scan seg-faults when scnanning on "Photo"(24-bit) quality.
+ [SOLVED] Simple Scan seg-faults when scnanning on "Photo"(24-bit)
+ quality.
summary: - [SOLVED] Simple Scan seg-faults when scnanning on "Photo"(24-bit)
+ [SOLVED] Simple Scan segfaults when scanning on "Photo"(24-bit)
quality.
Revision history for this message
Chris Rainey (ckrzen) wrote :

See comment #3

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.