Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154928 - pstoraster crashes with signal 10 (bus error)
Summary: pstoraster crashes with signal 10 (bus error)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: Sparc64 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: unaligned-access
  Show dependency tree
 
Reported: 2006-11-12 12:47 UTC by seraph@xs4all.nl
Modified: 2023-05-08 17:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description seraph@xs4all.nl 2006-11-12 12:47:25 UTC
I have an Epson Stylus C66 printer connected to my Sun Blade 100 through USB. I've set it up with cups, ghostscript and gimp-print, according to the instructions in the Gentoo handbook, and in exactly the same way I previously had it set up on my Athlon desktop PC.

Every printjob on the Blade 100 fails with /usr/libexec/cups/filter/pstoraster receiving signal 10 (bus error). It always worked fine on the Athlon.

Software versions (I've tried some other versions as well, with the same result):
net-print/cups-1.2.6
app-text/ghostscript-esp-8.15.3
media-gfx/gimp-print-4.2.7

Cups error log:

E [12/Nov/2006:21:25:25 +0100] PID 30847 (/usr/libexec/cups/filter/pstoraster) crashed on signal 10!
E [12/Nov/2006:21:25:25 +0100] [Job 11] No pages found!
D [12/Nov/2006:21:25:25 +0100] Discarding unused printer-state-changed event...
E [12/Nov/2006:21:25:25 +0100] PID 30848 (/usr/libexec/cups/filter/rastertoprinter) stopped with status 1!
D [12/Nov/2006:21:25:25 +0100] PID 30849 (/usr/libexec/cups/backend/usb) exited with no errors.
D [12/Nov/2006:21:25:25 +0100] [Job 11] File 0 is complete.


Emerge info:

Portage 2.1.1-r1 (default-linux/sparc/sparc64/2006.1, gcc-3.4.6, glibc-2.3.6-r5, 2.6.18.2 sparc64)
=================================================================
System uname: 2.6.18.2 sparc64 sun4u
Gentoo Base System version 1.12.6
Last Sync: Sun, 12 Nov 2006 07:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.6.3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r6
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe -frename-registers"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="sparc apache2 arts berkdb bitmap-fonts cli cracklib crypt cups dlloader dri eds elibc_glibc emboss encode esd fbcon foomaticdb fortran gcc64 gdbm gif gnome gstreamer gtk2 iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux libwww linguas_en_US mad mikmod motif ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 readline reflection samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev userland_GNU video_cards_ati video_cards_dummy video_cards_fbdev video_cards_glint video_cards_mga video_cards_savage video_cards_sisusb video_cards_sunbw2 video_cards_suncg14 video_cards_suncg3 video_cards_suncg6 video_cards_sunffb video_cards_sunleo video_cards_tdfx video_cards_v4l video_cards_voodoo vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2007-04-07 17:53:52 UTC
Can you please update to the latest versions and try again?
Comment 2 seraph@xs4all.nl 2007-04-10 06:22:08 UTC
I did a fresh install of cups, ghostscript and gimp-print. Versions are:
net-print/cups-1.2.9
app-text/ghostscript-esp-8.15.3
media-gfx/gimp-print-4.2.7

It still doesn't work. I also tried the unstable (~sparc) versions, with exactly the same results.

Exactly the same setup on a x86 system works just fine, so I expect the problem to be sparc-specific. The exact error is:

[10/Apr/2007:08:04:45 +0200] PID 607 (/usr/libexec/cups/filter/pstoraster) crashed on signal 10!

I can't find exactly where it was again, but I did read somewhere that ghostscript doesn't always play nice with 64 bit systems. Perhaps the problem lies there?
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2007-10-14 06:57:39 UTC
yeah most likely ghostscript related. You could play around with ghostscript-gpl/-gnu or -esp different versions as you like :)

If you still care feel free to post something about it then.
Comment 4 seraph@xs4all.nl 2007-10-14 07:31:42 UTC
Well, I'm in the middle of updating my systems anyway, might as well give this one another try. I'll test it ASAP. Now where did I put that USB cable...
Comment 5 seraph@xs4all.nl 2007-10-14 19:04:56 UTC
Well, I tried all the latest versions of ghostscript-esp, ghostscript-gpl and ghostscript-gnu. They all fail in exactly the same way, with a SIGBUS in pstoraster. :-(
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2007-10-17 20:39:30 UTC
could you try gimp-print-5 please?
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-06-01 22:29:47 UTC
Last comment was in 2007, all versions referenced are not in the tree anymore. I think we can resolve this. If you disagree, please reopen.