Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98009 - Images cause ghostscript-7 to fail
Summary: Images cause ghostscript-7 to fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-05 07:27 UTC by Douglas Russell (RETIRED)
Modified: 2006-01-14 12:43 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 Douglas Russell (RETIRED) gentoo-dev 2005-07-05 07:27:49 UTC
Affects ghostscript-7.05.6-r2 - 7.07.1-r9 inclusive.

dmesg says:

gs[26714]: segfault at 0000000000000008 rip 00000000005b6870 rsp 00007fffffc58a98 error 4 
 gs[26713]: segfault at 0000000000000008 rip 00000000005b6870 rsp 00007fffffbcbca8 error 4

when I've tried to print using ghostscript (via kdeprint in this case, which just says that ghostscript has crashed). It only seems to happen on pages with images. It may or may not be linked to bug 89089 (http://bugs.gentoo.org/show_bug.cgi?id=89089), but the fix in that bug does not resolve this issue. http://forums.gentoo.org/viewtopic-p-2549322.html#2549322 for (not much) more info.

This also, may or may not be an AMD64 issue. Certainly, this machine and the other guy on the forums with the problem are both amd64. It does not happen on my ppc or x86, it could very well happen on other 64bit architectures.

emerge info:

Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.13-rc1 x86_64)
=================================================================
System uname: 2.6.13-rc1 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.12
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -msse -msse2 -mmmx -m3dnow"
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/globus-2.4/etc /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -msse -msse2 -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LINGUAS="en_GB"
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 acpi alsa avi bash-completion berkdb bitmap-fonts bluetooth cdr crypt cups curl dbus dvd dvdr dvdread encode fam font-server fortran gdbm gif gimp gphoto2 gpm gtk gtk2 hal ieee1394 imagemagick imlib java jp2 jpeg junit kde libwww lm_sensors lzw lzw-tiff mad mjpeg motif mp3 mpeg ncurses nls offensive ogg oggvorbis opengl pam perl png postgres python qt quicktime readline samba sdl spell ssl subversion tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd vidix vorbis xine xinerama xml xml2 xpm xrandr xv xvid zeroconf zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Douglas Russell (RETIRED) gentoo-dev 2005-07-05 08:32:32 UTC
ghostscript-gnu-8.16 works perfectly though. 
Comment 2 Scott Jubenville 2005-09-12 14:33:40 UTC
I patched gnu-ghostscript-8.16 with the gdi driver I needed and this corrected 
the image printing problems I had also. 
 
(previously used ghostscipt-7.x on amd64 and noted at 
http://bugs.kde.org/show_bug.cgi?id=106302) 
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-14 12:43:52 UTC
Can you please tell me how to add the gdi patch to ghostscript-gnu?
Where can I find it?
Why is it not added there?

I think this is fixed on gs-esp-8 which is currently masked
Please reopen if not.