Multiple applications crash on 17.10 with "Not a JPEG file: starts with 0xff 0xff"

Bug #1724078 reported by Vincent Louviaux on 2017-10-16
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
sane-backends (Ubuntu)
Undecided
Unassigned

Bug Description

Each time I try to use simple-scan on 17.10, I have got a crash.

$ simple-scan
Not a JPEG file: starts with 0xff 0xff

same error (crash) with gscan2pdf

$ gscan2pdf
/usr/share/themes/Ambiance/gtk-2.0/apps/mate-panel.rc:30: error: invalid string constant "murrine-scrollbar", expected valid string constant
Not a JPEG file: starts with 0xff 0xff

and same error with xscanimage

$ xscanimage
/usr/share/themes/Ambiance/gtk-2.0/apps/mate-panel.rc:30: error: invalid string constant "murrine-scrollbar", expected valid string constant
Not a JPEG file: starts with 0xff 0xff

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: libsane1 1.0.27-1~experimental2ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 16 22:55:43 2017
InstallationDate: Installed on 2017-10-05 (11 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Beta amd64 (20171004)
SourcePackage: sane-backends
UpgradeStatus: No upgrade log present (probably fresh install)

Chris Hermansen (c-hermansen) wrote :

I get this same message when I start the Groovy Shell, also under 17.10

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sane-backends (Ubuntu):
status: New → Confirmed
Chris Hermansen (c-hermansen) wrote :

Sorry pushed enter too soon. I can make the problem go away by changing the line in mate-panel.rc from

class "GtkScrollbar" style "murrine-scrollbar"

to

class "GtkScrollbar" style "scrollbar"

which is what is shown e.g. here

https://github.com/lemonsqueeze/Ambiant-MATE-Orange/blob/master/gtk-2.0/apps/mate-panel.rc

I have the trouble with a samsung scannner

# sane-find-scanner
 found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], product=0x3430 [SCX-5635 Series]) at libusb:001:002

I have installed the samsung driver coming from samsung website but sane continue to use the xerox driver

# scanimage -L
device `xerox_mfp:libusb:001:002' is a Samsung Samsung SCX-5635 Series multi-function peripheral

When I try another output format, I have the same error
# scanimage --format pnm > /tmp/out.pnm
Not a JPEG file: starts with 0xff 0xff

dino99 (9d9) wrote :

Possible dupe of lp:1723422

xsane on Xerox WorkCentre 3225 does crash with similar message:
Not a JPEG file: starts with 0x00 0x00

For Xerox Workcentre 3225 the solution is:
1. Link the files in /usr/lib/sane to /usr/lib/x86_64-linux-gnu/sane,
2. Add the user that needs to use the scanner to the "lp" group.
Otherwise the "Not a JPEG file: starts with 0x00 0x00" issue persists.

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

Other bug subscribers