Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 49227
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Frank Hollenbach <Frank@hollenbach.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 49227 depends on: Show dependency tree
Bug 49227 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-27 18:44 0000
the cups log :
LANGUAGE = (unset),
D [28/Apr/2004:01:44:35 +0200] [Job 230] LC_ALL = (unset),
D [28/Apr/2004:01:44:35 +0200] [Job 230] LANG = "de"
D [28/Apr/2004:01:44:35 +0200] [Job 230] are supported and installed on your sys
tem.
D [28/Apr/2004:01:44:35 +0200] [Job 230] perl: warning: Falling back to the stan
dard locale ("C").
D [28/Apr/2004:01:44:35 +0200] [Job 230] foomatic-gswrapper: gs '-dBATCH' '-dPAR
ANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceMa
nufacturer=HEWLETT-PACKARD' '-sDeviceModel=DESKJET 3820' '-dDEVICEWIDTHPOINTS=59
5' '-dDEVICEHEIGHTPOINTS=842' '-dDuplex=false' '-r600' '-sIjsParams=Quality:Qual
ity=2,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2' '-dIjsUseOutputF
D' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2
D [28/Apr/2004:01:44:35 +0200] [Job 230] renderer return value: 139
D [28/Apr/2004:01:44:35 +0200] [Job 230] renderer received signal: 139


so I tried by hand (just gs ...a.s.o), got as result a memory error.


BTW, would be nice not only to have the 7.07 Versions as ebuilds, also the last without probs in the portage tree....(there are just 7.07-r1 and 7.07-r2.
Don't missunderstand me, but it would be nice going back to version before 7.07, cause, sorry, I need to print. (yes, right, dont use testing ppc...OK ;-) ) Sorry, but would it be possibe to have just one of the older ebuilds, checked for running, avaible in the portage tree ?

cheers Frank

Reproducible: Always
Steps to Reproduce:
1. print via cups via ghoscript
2. dito
3. dito

Actual Results:  
it does'nt print using ghostscript  

Expected Results:  

------- Comment #1 From Frank Hollenbach 2004-04-27 18:44:38 0000 -------
the cups log :
LANGUAGE = (unset),
D [28/Apr/2004:01:44:35 +0200] [Job 230] LC_ALL = (unset),
D [28/Apr/2004:01:44:35 +0200] [Job 230] LANG = "de"
D [28/Apr/2004:01:44:35 +0200] [Job 230] are supported and installed on your sys
tem.
D [28/Apr/2004:01:44:35 +0200] [Job 230] perl: warning: Falling back to the stan
dard locale ("C").
D [28/Apr/2004:01:44:35 +0200] [Job 230] foomatic-gswrapper: gs '-dBATCH' '-dPAR
ANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceMa
nufacturer=HEWLETT-PACKARD' '-sDeviceModel=DESKJET 3820' '-dDEVICEWIDTHPOINTS=59
5' '-dDEVICEHEIGHTPOINTS=842' '-dDuplex=false' '-r600' '-sIjsParams=Quality:Qual
ity=2,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2' '-dIjsUseOutputF
D' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2
D [28/Apr/2004:01:44:35 +0200] [Job 230] renderer return value: 139
D [28/Apr/2004:01:44:35 +0200] [Job 230] renderer received signal: 139


so I tried by hand (just gs ...a.s.o), got as result a memory error.


BTW, would be nice not only to have the 7.07 Versions as ebuilds, also the last without probs in the portage tree....(there are just 7.07-r1 and 7.07-r2.
Don't missunderstand me, but it would be nice going back to version before 7.07, cause, sorry, I need to print. (yes, right, dont use testing ppc...OK ;-) ) Sorry, but would it be possibe to have just one of the older ebuilds, checked for running, avaible in the portage tree ?

cheers Frank

Reproducible: Always
Steps to Reproduce:
1. print via cups via ghoscript
2. dito
3. dito

Actual Results:  
it does'nt print using ghostscript  

Expected Results:  
ähm, printing with ghostscript as renderer. 
I also just tried to produce a valid postscriptfile via printing using KDE 
(which uses cups, which uses ghostscript, fails also too). It seems realy be a 
hard bug to ghostscript 7.07. I don't know if it would run on other Platforms, 
like AMDINTEL, so I can't say its "just one of these Endianess things". 

 
some info : 
 
emerge info 
Portage 2.0.50-r6 (default-ppc-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 
2.4.22-ben2) 
================================================================= 
System uname: 2.4.22-ben2 ppc 7400, altivec supported 
Gentoo Base System version 1.4.10 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="ppc ~ppc" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" 
CHOST="powerpc-unknown-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="ccache" 
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ 
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://gentoo.mirror.sdv.fr 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
http://ftp.easynet.nl/mirror/gentoo/ 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.heanet.ie/pub/gentoo/ 
http://ftp.caliu.info/pub/gentoo/ 
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ 
http://ftp.lug.ro/gentoo http://gentoo.math.bme.hu 
http://ftp.gentoo.skynet.be/pub/gentoo/ http://gentoo.tiscali.nl/gentoo/ 
http://ftp.iasi.roedu.net/mirrors/gentoo.org/ 
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://ftp.rhnet.is/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/ 
http://trumpetti.atm.tut.fi/gentoo/ http://src.gentoo.pl 
http://mirror.datapipe.net/gentoo http://gentoo.spb.ru/rsync 
http://darkstar.ist.utl.pt/gentoo/ 
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ 
http://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.datapipe.net/gentoo 
http://gentoo.netnitco.net http://mirror.pudas.net/gentoo 
http://gentoo.mirrors.pair.com/" 
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="X aalib apache2 arts berkdb bonobo cdr cups dvd esd foomaticdb gdbm gif 
gnome gnome-libs gnome2 gpm gtk gtk2 gtkhtml guile imlib jpeg kde libwww mitshm 
motif mozilla mysql nls oggvorbis opengl oss pam perl png ppc ppds python qt 
rage128 readline scanner sdl slang ssl tcltk tcpd tetex truetype usb 
video_cards_rage128 xv"

------- Comment #2 From Frank Hollenbach 2004-04-28 02:18:19 0000 -------
I tried it on an different PPC (gentoo Linux too, what else ? ), same result
when producing a postscript file. After that I installed ghostscript 7.06 which
runs fine. The postscript file was produced correctly with 7.06.
unfortunatly, there is no ebuild for 7.06 any longer. 

Cheers Frank

------- Comment #3 From Heinrich Wendel (RETIRED) 2004-04-28 04:22:21 0000 -------
you can fetch the old ebuild from http://www.gentoo.org/cgi-bin/viewcvs.cgi

------- Comment #4 From Frank Hollenbach 2004-04-28 05:57:35 0000 -------
Hi,
thanks,

as, for now, I can see that ghostscript 7.06 is function as expected ( on this system, after work I will try at with my private System). so I try to setup an ebuild file for myself in the local portage tree, as
version 7.06 was "overjumped", but runs (for me). So I guess I will get my portage respository just "in sync" with the system.

------- Comment #5 From Frank Hollenbach 2004-04-28 12:47:09 0000 -------
I tried it now at my private system.
I installed espgs-7.05.6 and it runs as expected.
So I seriously guess its ghostscript 7.07-rc? making the trouble.
Cheers Frank

------- Comment #6 From Luca Barbato 2004-04-30 03:28:54 0000 -------
trace following

#0  0x10099be0 in ialloc_init ()
#1  0x1009a61c in gs_gc_reclaim ()
#2  0x100e1da4 in gs_image2_t_init ()
#3  0x10076b00 in array_indexed_param_list_read ()
#4  0x10072a74 in gs_errorname ()
#5  0x100739fc in gs_interpret ()
#6  0x10069b0c in gs_push_boolean ()
#7  0x1006aa7c in gs_main_init2 ()
#8  0x1006b318 in gs_main_run_start ()
#9  0x1006b5c0 in gs_main_run_start ()
#10 0x1006cc98 in gs_main_init_with_args ()
#11 0x10028494 in main ()

------- Comment #7 From blubbfisch 2004-05-03 16:42:17 0000 -------
strangely enough ghostscript-afpl-8.14 shows the the segfault as well, although
in a different module:
#0  0x100898c8 in jpeg_mem_term ()
#1  0x100898e4 in jpeg_mem_term ()
#2  0x100d0360 in md5_finish ()
#3  0x10065a20 in jpeg_mem_term ()
#4  0x100657cc in jpeg_mem_term ()
#5  0x100615d8 in jpeg_mem_term ()
#6  0x100618c0 in jpeg_mem_term ()
#7  0x10061694 in jpeg_mem_term ()
#8  0x100581ac in jpeg_mem_term ()
#9  0x10058a1c in jpeg_mem_term ()
#10 0x10058440 in jpeg_mem_term ()
#11 0x1005b1d4 in jpeg_mem_term ()
#12 0x10059e18 in jpeg_mem_term ()
#13 0x10003400 in ?? ()

And I used to have ghostscript 7.07.1 installed _and_ working before I got a
replacement powerbook and had to reinstall last week. So maybe this isn't
directly ghostscript related?

------- Comment #8 From David Holm (RETIRED) 2004-05-16 06:39:28 0000 -------
I can verify this error. When trying to preview figures in LaTeX documents
using xdvi I get the following error:
xdvik gs_io: Broken pipe
xdvik gs_io: Broken pipe
xdvik gs_io: Broken pipe
ghostscript died unexpectedly.

I am using ghostscript-7.07.1-r2. Unless this can be resolved I suggest we mask
7.07* on ppc and revert to the older, working version.

------- Comment #9 From Marko Vallius 2004-06-06 00:20:23 0000 -------
I get a segfault just by running gs on ghostscript-7.07.1-r1 and
ghostscript-7.07.1-r2:

$ gs
ESP Ghostscript 7.07 (2003-07-12)
Copyright 2003 artofcode LLC and Easy Software Products, all rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Segmentation fault (core dumped)

(I can send the core dump if needed.)

No problems with ghostscript-7.05.6-r4.

# emerge info
Portage 2.0.50-r7 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3_pre20040420-r1,
2.
4.22-ben2)
=================================================================
System uname: 2.4.22-ben2 ppc 750FX
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="ppc" 
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mcpu=750"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.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/lib/pbbuttonsd
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=750"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X arts berkdb cups dvd esd foomaticdb gdbm gif gnome gnome-libs gpg gpm
gtk gtk2 imlib jpeg kde libwww mitshm motif mozilla mysql nls oggvorbis opengl
oss pam perl png ppc python qt readline sdl slang ssl tcltk tcpd tetex truetype
video_cards_radeon xv"

------- Comment #10 From Luca Barbato 2004-06-06 09:40:16 0000 -------
Reproduced here to, the garbage collector looks QUITE messy and I couldn't find
a proper fix yet.

------- Comment #11 From Giao Phan 2004-06-24 12:18:50 0000 -------
Can we at least pull in the old 7.05.6-r4 and mark that as the stable and
testing ppc package?

------- Comment #12 From Chris White (RETIRED) 2004-06-24 13:11:02 0000 -------
I'm contacting upstream right now on the situation.  Let's see what happens :).

------- Comment #13 From Luca Barbato 2004-06-29 17:03:40 0000 -------
In the mean time since the problems seems not to have a quick solution I'll
rollback to the 7.05.6

------- Comment #14 From Pieter Van den Abeele 2004-09-22 15:47:44 0000 -------
What's the current status of this bug?

------- Comment #15 From Pieter Van den Abeele 2004-09-25 04:51:48 0000 -------
This bug is still valid. Tried with 2004.3 toolchain.

------- Comment #16 From Heinrich Wendel (RETIRED) 2004-10-07 08:14:34 0000 -------
maybe anybody has a fix for this bug? there was a security vulnerably in 7.07.1
which maybe is in 7.05.6 as well, but we don't have a patch for it

------- Comment #17 From Luca Barbato 2004-10-07 13:35:09 0000 -------
Solved using a yet to be committed patch from upstream the latest ghostscript
is marked ~ppc

Once is tested enough it can go ppc.

------- Comment #18 From Heinrich Wendel (RETIRED) 2004-10-24 15:30:44 0000 -------
can you please point me to the patch, so i can include it?

------- Comment #19 From Luca Barbato 2004-10-24 23:38:05 0000 -------
already in portage and already applied

app-text/ghostscript/files/gs-fix-gc.patch

I think we can mark it ppc now.


Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug