Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68601 - xpdf crashes on certain pdf files, segfault, caused by gentoo patch(es)
Summary: xpdf crashes on certain pdf files, segfault, caused by gentoo patch(es)
Status: RESOLVED DUPLICATE of bug 67799
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-22 16:55 UTC by caspar-gentoo-bugs
Modified: 2005-07-17 13:06 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 caspar-gentoo-bugs 2004-10-22 16:55:33 UTC
System: i686, Athlon, compiled as i586
application: xpdf-3.00-r3


I stumbled over two pdf files I can't view with xpdf due to a segfault right after startup.

It seems as one or more of the patches are causing the problem for I compiled vanilla xpdf and it worked fine and after applying the patches it didn't work anymore.

The testfiles I used are available online (as of 22.10.2004):

1,9MB: http://www.springeronline.com/sgw/cda/pageitems/document/cda_downloaddocument/0,11996,0-0-45-78009-0,00.pdf

3,4MB:
http://www.digium.com/handbook-draft.pdf


bye

caspar

Reproducible: Always
Steps to Reproduce:
1. get the pdf files
2. view pdf with xpdf-3.00-r3
3. compile vanilla xpdf
4. view pdf

Actual Results:  
with gentoo patched xpdf: crash
with vanilla xpdf: no crash

Expected Results:  
both should not crash
Comment 1 caspar-gentoo-bugs 2004-10-24 05:50:44 UTC
Ok, I can provide some further information:

a) the truetype patch causes the crashes.

I did test compilations on xpdf, using the sources from distfiles and applying the patches from portage.

- no patch: works fine
- only truetype patch: crash
- all patches but truetype patch: works fine

The crashes are highly similar to each other, looking at strace output and gdb backtraces.


b) I can't reproduce the crashes on another machine.  But the binary from this non-affected machine crashes on the affected one.  So it's likely not to be an xpdf problem but a truetype one.

I did research on both machines but couldn't find a hint for this difference in behaviour yet, mostly the same packages in the same versions, similar use flags.  Nothing obviously cause for the crashes on one machine.


caspar
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-10-24 06:21:12 UTC

*** This bug has been marked as a duplicate of 67799 ***