Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76793 - ghostscript-7.07.1-r7 with hpoj does not print! Rendere Dumped Core Error
Summary: ghostscript-7.07.1-r7 with hpoj does not print! Rendere Dumped Core Error
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
: 80192 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-05 10:47 UTC by Alessio Caiazza
Modified: 2006-01-21 06:17 UTC (History)
4 users (show)

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 Alessio Caiazza 2005-01-05 10:47:18 UTC
When i try to print whith my HP psc 2510 if I've installed ghostscript-7.07.1-r7 the renderer crash

using ghostscript-7.07.1-r1 works well

Reproducible: Always
Steps to Reproduce:
1.emerge cups hpoj and last version of ghostscript
2.configure the HP printer
3.print something

Actual Results:  
#cat /var/log/cupsd/error_log
cups says:
D [05/Jan/2005:19:39:31 +0100] [Job 30] Starting renderer
D [05/Jan/2005:19:39:31 +0100] [Job 30] JCL: <job data>
D [05/Jan/2005:19:39:31 +0100] [Job 30]
D [05/Jan/2005:19:39:31 +0100] [Job 30] renderer PID kid4=21858
D [05/Jan/2005:19:39:31 +0100] [Job 30] renderer command: gs -q -dBATCH
-dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs
-sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 5550"
-dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dDuplex=false -r300
-sIjsParams=Quality:Quality=4,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2
-dIjsUseOutputFD -sOutputFile=- -
D [05/Jan/2005:19:39:31 +0100] [Job 30] perl: warning: Setting locale failed.
D [05/Jan/2005:19:39:31 +0100] [Job 30] perl: warning: Please check that your
locale settings:
D [05/Jan/2005:19:39:31 +0100] [Job 30] LANGUAGE = (unset),
D [05/Jan/2005:19:39:31 +0100] [Job 30] LC_ALL = (unset),
D [05/Jan/2005:19:39:31 +0100] [Job 30] LANG = "it"
D [05/Jan/2005:19:39:31 +0100] [Job 30] are supported and installed on your system.
D [05/Jan/2005:19:39:31 +0100] [Job 30] perl: warning: Falling back to the
standard locale ("C").
D [05/Jan/2005:19:39:31 +0100] [Job 30] foomatic-gswrapper: gs '-dBATCH'
'-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs'
'-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 5550'
'-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-dDuplex=false' '-r300'
'-sIjsParams=Quality:Quality=4,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2'
'-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2
D [05/Jan/2005:19:39:31 +0100] AcceptClient: 10 from localhost:631.
D [05/Jan/2005:19:39:31 +0100] ReadClient: 10 POST / HTTP/1.1
D [05/Jan/2005:19:39:31 +0100] ProcessIPPRequest: 10 status_code=1
D [05/Jan/2005:19:39:31 +0100] ReadClient: 10 POST / HTTP/1.1
D [05/Jan/2005:19:39:31 +0100] ProcessIPPRequest: 10 status_code=1
D [05/Jan/2005:19:39:31 +0100] ReadClient: 10 POST / HTTP/1.1
D [05/Jan/2005:19:39:31 +0100] ProcessIPPRequest: 10 status_code=0
D [05/Jan/2005:19:39:31 +0100] ReadClient: 5 POST / HTTP/1.1
D [05/Jan/2005:19:39:31 +0100] ProcessIPPRequest: 5 status_code=0
D [05/Jan/2005:19:39:31 +0100] CloseClient: 10
D [05/Jan/2005:19:39:32 +0100] CloseClient: 5
D [05/Jan/2005:19:39:32 +0100] CloseClient: 7
D [05/Jan/2005:19:39:35 +0100] [Job 30] renderer return value: 139
D [05/Jan/2005:19:39:35 +0100] [Job 30] renderer received signal: 139
D [05/Jan/2005:19:39:35 +0100] [Job 30] Process dying with "The renderer may
have dumped core.", exit stat: 3
D [05/Jan/2005:19:39:35 +0100] [Job 30] The renderer may have dumped core.
D [05/Jan/2005:19:39:35 +0100] [Job 30] tail process done writing data to
STDOUTD [05/Jan/2005:19:39:35 +0100] [Job 30] KID4 finished
D [05/Jan/2005:19:39:35 +0100] [Job 30] 0
%%@oVm!'H/LDr,&GkrjsFq85(q:b8<>WrZh7/pf17FS$8_A<HH^b%pCbq$m#?J^Ae
D [05/Jan/2005:19:39:35 +0100] [Job 30] 0 %%PageTrailer
D [05/Jan/2005:19:39:35 +0100] [Job 30] 0 %%Trailer
D [05/Jan/2005:19:39:35 +0100] [Job 30] Saw Trailer!
D [05/Jan/2005:19:39:35 +0100] [Job 30] Saw EOF!
D [05/Jan/2005:19:39:35 +0100] [Job 30]
D [05/Jan/2005:19:39:35 +0100] [Job 30] Closing renderer
D [05/Jan/2005:19:39:35 +0100] [Job 30] KID3 exited with status 3
D [05/Jan/2005:19:39:35 +0100] [Job 30] Renderer exit stat: 3
D [05/Jan/2005:19:39:35 +0100] [Job 30] Renderer process finished
D [05/Jan/2005:19:39:35 +0100] [Job 30] Killing process 21857 (KID3)
D [05/Jan/2005:19:39:35 +0100] [Job 30] Process dying with "Error closing
renderer", exit stat: 3
D [05/Jan/2005:19:39:35 +0100] [Job 30] Error closing renderer
E [05/Jan/2005:19:39:35 +0100] PID 21757 stopped with status 3!
D [05/Jan/2005:19:39:35 +0100] UpdateJob: job 30, file 0 is complete.
D [05/Jan/2005:19:39:35 +0100] CancelJob: id = 30
D [05/Jan/2005:19:39:35 +0100] StopJob: id = 30, force = 0
D [05/Jan/2005:19:39:35 +0100] StopJob: printer state is 3
 

Expected Results:  
a working print

Portage 2.0.51-r3 (default-ppc-2004.3, gcc-3.4.1, glibc-2.3.3.20040420-r2,
2.6.9-gentoo-r9-sleep ppc)
=================================================================
System uname: 2.6.9-gentoo-r9-sleep ppc 7447A, altivec supported
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.3-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-Os -mcpu=G4 -maltivec -mabi=altivec         -mpowerpc-gfxopt
-fomit-frame-pointer      -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=G4 -maltivec -mabi=altivec         -mpowerpc-gfxopt
-fomit-frame-pointer    -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/
http://gentoo.mirror.icd.hu/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="S3TC X aac alsa altivec bash-completion berkdb bitmap-fonts bluetooth
bootsplash cdparanoia cdr codecs crypt cscope css cups divx4linux dmx dts dvd
dvdread encode esd ethereal fbcon flac font-server foomaticdb fortran gdbm gif
gimp gimpprint gmail gnome gnutls gpm gtk gtk2 hal icq ieee1394 imap imlib
jabber java javascript jpeg lcd libwww mad mime mono mozilla moznoirc moznomail
mozsvg mozxmlterm mp3 mpeg mplayer msn nas ncurses nls nntp no-old-linux nowin
offensive oggvorbis opengl oss pam perl png ppc ppds python readline samba
scanner sdl snmp socks5 softmmu spell sqlite ssl svg tcpd tetex theora tools
truetype unicode usb v4l v4l2 vim vim-with-x vnc xanim xine xscreensaver xvid
yahoo zlib"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-04 03:25:50 UTC
please try ghostscript-7.05.6-r2
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-04 03:27:28 UTC
*** Bug 80192 has been marked as a duplicate of this bug. ***
Comment 3 Alessio Caiazza 2005-03-06 05:54:51 UTC
>please try ghostscript-7.05.6-r2

Works well
Comment 4 Simone Piunno 2005-03-07 13:57:49 UTC
Ok but 7.07 is required by xpdf 3.00, which in turn is requred by kdegraphics-3.4
So downgrading is not an option.
So how do we move on?

Comment 5 Simone Piunno 2005-03-07 14:33:45 UTC
Oh, by the way, 7.05.6-r2 has a bug in that it tries to load gs_init.ps from

/var/tmp/portage/ghostscript-7.05.6-r2/image//usr/share/ghostscript/7.05/lib/gs_init.ps

and fails to load it from

/mnt/mdk/usr/share/ghostscript/7.05/lib/gs_init.ps

so the end result is this:

pioppo@roentgen ~ $ gs
ESP Ghostscript 7.05.6: Can't find initialization file gs_init.ps.

This is how I know it still points to the image directory:

pioppo@roentgen ~ $ strace gs 2>&1 |grep init
open("./gs_init.ps", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/home/pioppo/.fonts/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/tmp/portage/ghostscript-7.05.6-r2/image//usr/share/ghostscript/7.05/lib/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/default/ghostscript/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/default/ghostscript/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/default/Type1/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/default/TrueType/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/DPS/outline/base/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/openwin/lib/X11/fonts/Type1/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/openwin/lib/X11/fonts/TrueType/gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Can\'t find initialization file g"..., 43Can't find initialization file gs_init.ps.

Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 14:42:07)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -march=k8 -funit-at-a-time -frename-registers -fweb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=k8 -funit-at-a-time -frename-registers -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks parallel-fetch sandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aalib acl acpi adns alsa apache2 app-crypt/gnupg:idea app-crypt/gpgme:smime arts artswrappersuid audiofile avi bash-completion berkdb bidi bigger-fonts bitmap-fonts bootsplash caps cdda cddb cdio cdparanoia cdr cluster crypt cups curl dba dev-dotnet/mono:nptl dev-util/eric:idl directfb divx4linux doc dts dv dvd dvdr dvdread encode esd f77 faad fam fbcon ffmpeg flac font-server fortran fpx freetype gd gdbm gdm gif gimpprint gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 guile hal httpd icq imagemagick imap imlib innodb ipv6 ithreads jabber jack java jbig jp2 jpeg jpeg2k junit kde kde-base/kdeadmin:foreign-package kde-base/kdeadmin:foreign-sysvinit kde-base/kdemultimedia:cdparanoia ladcca lcms ldap libcaca libwww live lzo lzw lzw-tiff mad maildir makecheck media-sound/museseq:fluidsynth mikmod motif mozilla mp3 mpeg multilib mysql ncurses net-misc/openssh:X509 net-misc/openssh:chroot net-misc/openssh:sftplogging net-misc/openssh:skey net-www/apache:threads net-www/mozilla-firefox:xprint net-www/mozilla:mozp3p net-www/mozilla:mozsvg network nls nptl nsl nvidia ogg oggvorbis openexr opengl oss pam pcre pdflib perl png python qt readline rrdtool rtc samba sasl sdl slang speex spell ssl stream svg sys-devel/libperl:threads tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vim-with-x vorbis wmf xine xml xml2 xmms xpm xprint xrandr xv xvid xvmc zeo zlib linguas_en linguas_it"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 6 Simone Piunno 2005-03-07 14:35:31 UTC
Of course I meant 

/usr/share/ghostscript/7.05/lib/gs_init.ps

not

/mnt/mdk/usr/share/ghostscript/7.05/lib/gs_init.ps

sorry.
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-31 17:07:13 UTC
you could please check which ghostscript versin exactly causes this error? 
Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-31 17:43:51 UTC
try the patch from bug #89089 
Comment 9 Heinrich Wendel (RETIRED) gentoo-dev 2005-06-06 06:08:13 UTC
please try the patch from bug #89089  
Comment 10 Lars Weiler (RETIRED) gentoo-dev 2006-01-21 06:17:50 UTC
Just closing, as there was no reply.