Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19975 - xpdf segfaults on most pdfs (ppc)
Summary: xpdf segfaults on most pdfs (ppc)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-25 20:51 UTC by Steven Lucy
Modified: 2003-05-01 22:30 UTC (History)
1 user (show)

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


Attachments
strace of "xpdf rearrang.pdf" (xpdf.strace.out,294.54 KB, text/plain)
2003-04-27 16:45 UTC, Steven Lucy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Lucy 2003-04-25 20:51:22 UTC
xpdf segfaults on most pdfs i try to open on my ppc.  i've tried unmerging
lesstif, unmerging xpdf, remerging openmotif, and merging xpdf, but to no avail.
i've also tried CFLAGS="":  same thing.  some very simple pdfs (like from pdftex)
work fine, but 90% cause a crash.  this is on 2.02 (the only version in portage)

Reproducible: Always
Steps to Reproduce:
url of example pdf:
http://ecademy.agnesscott.edu/~lriddle/series/rearrang.pdf



selene:~$ emerge info
Portage 2.0.47-r10 (default-ppc-1.4, gcc-3.2.1, glibc-2.2.5-r4,2.3.1-r4)
=================================================================
System uname: 2.4.20-ppc-r2 ppc 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/var/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="oss dvd xv jpeg nls mitshm gif sdl png truetype ppc gdbm berkdb slang
readline tetex aalib java mysql gpm tcpd pam libwww ssl perl python esd imlib
oggvorbis motif opengl mozilla X gtk gtk2 -gnome -alsa -kde -qt"
COMPILER="gcc3"
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt
-fsigned-char"
ACCEPT_KEYWORDS="ppc"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync3.us.gentoo.org/gentoo-portage"
FEATURES="ccache sandbox userpriv usersandbox"
Comment 1 Luca Barbato gentoo-dev 2003-04-26 20:52:36 UTC
tried your pdf here everything is fine, could you strace or catchsegv it please?
Comment 2 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2003-04-27 01:40:05 UTC
that pdf works just fine for me. i'm using:

CFLAGS="-O3 -pipe -mcpu=750"
Comment 3 Todd Heim (RETIRED) gentoo-dev 2003-04-27 10:36:55 UTC
Just another "works for me"

Portage 2.0.47-r10 (default-ppc-1.4, gcc-3.2.1, glibc-2.3.1-r4)
System uname: 2.4.19-r6 ppc 
CFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char"
Comment 4 Steven Lucy 2003-04-27 16:43:59 UTC
here is the strace.  sorry i didn't include it originaly.  i have at one friend
who i (think) is experiencing the same trouble, but he's been out of contact
for the last few days, so i've been unable to verify.  i'll see if i can get him
to post here.
Comment 5 Steven Lucy 2003-04-27 16:45:11 UTC
Created attachment 11230 [details]
strace of "xpdf rearrang.pdf"
Comment 6 Bartosch Pixa (RETIRED) gentoo-dev 2003-04-27 22:35:03 UTC
call it a wild guess, but could you try to remerge freetype ?
Comment 7 Steven Lucy 2003-04-27 23:48:28 UTC
remerged freetype -- same problem.
Comment 8 Justin Blanchard 2003-04-28 00:11:48 UTC
I'm the friend Steven mentioned. It's totally broken on my (ppc) system too.
My strace isn't identical, but it looks a lot like his.

COMPILER="gcc3"
CHOST="powerpc-unknown-linux-gnu"
CFLAGS=" -O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring -fsigned-char"CXXFLAGS=" -O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring -fsigned-char"
ACCEPT_KEYWORDS="ppc ~ppc"
Comment 9 Bartosch Pixa (RETIRED) gentoo-dev 2003-04-28 00:40:44 UTC
ok, now there's not much left waht it could be, beside the stuff you already recompiled there's only xfree, gcc, glibc and t1lib, maybe it's t1lib, or maybe
your ghostscript is messed up, but we realy can't reproduce your segfaults.
Comment 10 Steven Lucy 2003-05-01 03:05:40 UTC
recompiling t1lib seems to have done the trick.  if justin can replicate
then i guess the problem is solved.  thanks for your help.
Comment 11 Justin Blanchard 2003-05-01 21:16:07 UTC
That did the trick for me too.
Comment 12 Bartosch Pixa (RETIRED) gentoo-dev 2003-05-01 22:30:51 UTC
heh, if it wasn't t1lib i'd realy be lost with no clues left ;)