gs segfault trying to print test page on Epson printer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ghostscript (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ghostscript
When trying to print a test page (or print anything), gs segfaults whith the following error:
bob kernel: [ 1239.764389] gs[5280]: segfault at 0 ip 00000000 sp bfe9c29c error 4 in gs[8048000+1000]
I tried to shutdown the printer, remove the printer driver, reboot, and turn on the printer again. The printer installed ok:
Mar 24 17:31:28 bob kernel: [ 993.660024] usb 1-1: new high speed USB device using ehci_hcd and address 4
Mar 24 17:31:28 bob kernel: [ 993.794826] usb 1-1: configuration #1 chosen from 1 choice
Mar 24 17:31:28 bob kernel: [ 993.843378] Initializing USB Mass Storage driver...
Mar 24 17:31:28 bob kernel: [ 993.843536] scsi6 : SCSI emulation for USB Mass Storage devices
Mar 24 17:31:28 bob kernel: [ 993.843626] usb-storage: device found at 4
Mar 24 17:31:28 bob kernel: [ 993.843629] usb-storage: waiting for device to settle before scanning
Mar 24 17:31:28 bob kernel: [ 993.843634] usbcore: registered new interface driver usb-storage
Mar 24 17:31:28 bob kernel: [ 993.843637] USB Mass Storage support registered.
Mar 24 17:31:28 bob kernel: [ 993.856179] usblp0: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0803
Mar 24 17:31:28 bob kernel: [ 993.856196] usbcore: registered new interface driver usblp
Mar 24 17:31:28 bob hal_lpadmin: Running hal_lpadmin
Mar 24 17:31:29 bob hal_lpadmin: hal_lpadmin triggered by low-level USB device
Mar 24 17:31:30 bob hal_lpadmin: Getting device ID from the usblp HAL entry ...
Mar 24 17:31:30 bob hal_lpadmin: Device ID for /dev/usb/lp0: MFG:EPSON;
Mar 24 17:31:30 bob hal_lpadmin: Written device ID into HAL database entry: MFG:EPSON;
Mar 24 17:31:30 bob hal_lpadmin: add
Mar 24 17:31:30 bob hal_lpadmin: Printer reported by HAL: EPSON Stylus Photo R300 L14P20502071215330
Mar 24 17:31:30 bob hal_lpadmin: URIs: ['usb:/
Mar 24 17:31:30 bob hal_lpadmin: HPLIP Fax URIs: None
Mar 24 17:31:30 bob hal_lpadmin: Calling GetReady
Mar 24 17:31:33 bob kernel: [ 998.840249] usb-storage: device scan complete
Mar 24 17:31:33 bob kernel: [ 998.842335] scsi 6:0:0:0: Direct-Access EPSON Stylus Storage 1.00 PQ: 0 ANSI: 2
Mar 24 17:31:33 bob kernel: [ 998.852158] sd 6:0:0:0: [sde] Attached SCSI removable disk
Mar 24 17:31:33 bob kernel: [ 998.852334] sd 6:0:0:0: Attached scsi generic sg5 type 0
Mar 24 17:31:39 bob hal_lpadmin: Device ID: MFG:EPSON;
Mar 24 17:31:40 bob hal_lpadmin: PPD: gutenprint.
Mar 24 17:31:41 bob hal_lpadmin: Added printer Stylus-Photo-R300
But the same gs segfault error mentioned earlier occured on every attempt to print anything.
I'm running jaunty, fully patched from "de.archive.
#lsb_release -rd
Description: Ubuntu jaunty (development branch)
Release: 9.04
#apt-cache policy gs
gs:
Installed: 8.64.dfsg.
Candidate: 8.64.dfsg.
Version table:
*** 8.64.dfsg.
500 http://
100 /var/lib/
ProblemType: Crash
Architecture: i386
CrashCounter: 1
CupsErrorLog:
Disassembly: 0x0:
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/gs
Lpstat: device for Stylus-Photo-R300: usb://EPSON/
Lsusb:
Bus 001 Device 002: ID 04b8:0803 Seiko Epson Corp. Printer (Composite Device)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 002 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: MSI MS-7250
Package: ghostscript 8.64.dfsg.
Papersize: a4
PpdFiles: Stylus-Photo-R300: Epson Stylus Photo R300 - CUPS+Gutenprint v5.2.3
ProcCmdLine: root=UUID=
ProcCmdline: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=cups -sstdout=%stderr -sOutputFile=
ProcEnviron:
PATH=(custom, no user)
LANG=en_DK.UTF8
ProcVersionSign
Signal: 11
SourcePackage: ghostscript
StacktraceTop:
?? ()
gs_setcolortra
?? () from /usr/lib/libgs.so.8
?? () from /usr/lib/libgs.so.8
gs_interpret () from /usr/lib/libgs.so.8
Title: gs crashed with SIGSEGV in gs_setcolortran
UserGroups:
visibility: | private → public |
I updated Ubuntu with the latest unofficial patch on Till Kamppeter's site, and now it's 'kind of' working again, at least I get to print a test page...
But I had to remove the printer, and install it again manually, because the autoinstaller could'nt find a valid model name.
Here is my syslog from that session:
First, I deleted the printer, then powered it off, and then on. And here the log begins:
Mar 25 21:06:51 bob kernel: [ 9120.924020] usb 1-1: new high speed USB device using ehci_hcd and address 5 /Seiko% 20Epson% 20Corp. /Printer% 20(Composite% 20Device) ?serial= L14P20502071215 330', 'hal:// /org/freedeskto p/Hal/devices/ usb_device_ 4b8_803_ L14P20502071215 330_if1_ printer_ noserial' ] .DBus.Error. ServiceUnknown: The name com.redhat. NewPrinterNotif ication was not provided by any .service files //Seiko% 20Epson% 20Corp. /Printer% 20(Composite% 20Device) ?serial= L14P20502071215 330 cups-included/ textonly. ppd; Status: 3 20Epson% 20Corp. /Printer% 20(Composite% 20Device) ?serial= L14P20502071215 330, no exact model fit found
Mar 25 21:06:51 bob kernel: [ 9121.059221] usb 1-1: configuration #1 chosen from 1 choice
Mar 25 21:06:51 bob kernel: [ 9121.059686] scsi7 : SCSI emulation for USB Mass Storage devices
Mar 25 21:06:51 bob kernel: [ 9121.059844] usb-storage: device found at 5
Mar 25 21:06:51 bob kernel: [ 9121.059846] usb-storage: waiting for device to settle before scanning
Mar 25 21:06:51 bob hal_lpadmin: Running hal_lpadmin
Mar 25 21:06:52 bob hal_lpadmin: hal_lpadmin triggered by low-level USB device
Mar 25 21:06:52 bob hal_lpadmin: Polling device ID from the printer ...
Mar 25 21:06:56 bob kernel: [ 9126.061144] usblp0: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0803
Mar 25 21:06:56 bob kernel: [ 9126.067852] usb-storage: device scan complete
Mar 25 21:06:56 bob kernel: [ 9126.069502] scsi 7:0:0:0: Direct-Access EPSON Stylus Storage 1.00 PQ: 0 ANSI: 2
Mar 25 21:06:56 bob kernel: [ 9126.076466] sd 7:0:0:0: [sde] Attached SCSI removable disk
Mar 25 21:06:56 bob kernel: [ 9126.076537] sd 7:0:0:0: Attached scsi generic sg5 type 0
Mar 25 21:06:56 bob hal_lpadmin: Written device ID into HAL database entry: MFG:Seiko Epson Corp.;MDL:Printer (Composite Device);DES:;CMD:;
Mar 25 21:06:56 bob hal_lpadmin: add
Mar 25 21:06:56 bob hal_lpadmin: Printer reported by HAL: Seiko Epson Corp. Printer (Composite Device) L14P20502071215330
Mar 25 21:06:56 bob hal_lpadmin: URIs: ['usb:/
Mar 25 21:06:56 bob hal_lpadmin: HPLIP Fax URIs: None
Mar 25 21:06:56 bob hal_lpadmin: Calling GetReady
Mar 25 21:06:56 bob hal_lpadmin: D-Bus method call failed: org.freedesktop
Mar 25 21:06:59 bob hal_lpadmin: Device ID: MFG:Seiko Epson Corp.;MDL:Printer (Composite Device);DES:;CMD:; URI:usb:
Mar 25 21:07:00 bob hal_lpadmin: PPD: lsb/usr/
Mar 25 21:07:00 bob hal_lpadmin: Did not add printer with URI usb://Seiko%
Then I chose to add the printer manually, and the model name turned up in the list automatically (R300), so I chose it.
Here is the syslog after that:
Mar 25 21:07:54 bob kernel: [ 9184.079703] ppdev0: registered pardevice
Mar 25 21:07:54 bob hp: io/hpmud/pp.c 627: unable to read device-id ret=-1
Mar 25 21:07:54 bob kernel: [ 9184.124162] ppdev0: unregis...