Bug forwarded from Evince: https://bugzilla.gnome.org/show_bug.cgi?id=625849 "Created an attachment (id=166995) [details] Corrupt PDF from http://www.jailbreakme.com/_/ which causes evince to crash. I just read there is a bug in the apple iOS pdf reader which can be used to jailbreak an iPhone [1]. If you open these corrupt files with evince, it crashes leaving the following message: $ evince iPod3,1_3.1.3.pdf Error: PDF file is damaged - attempting to reconstruct xref table... Error: Bad color space 'Cs1' Error (94): Bad color space (fill) Error (103): Incorrect number of arguments in 'sc' command Segmentation fault This happens with probably all (didn't try them all to be honest) files at http://www.jailbreakme.com/_/ Just in case the website is down (due to heavy traffic or whatever) I attached one of the pdfs. I did a quick search if the bug has already been reported but I can't decide if any of the "crashes on opening pdf-file" is related to this bug. Sorry if its a duplicate. [1]http://www.h-online.com/security/news/item/iPhone-jailbroken-by-Safari-vulnerability-again-Update-1049234.html" File is also attached to the original bug report.
The crash seems to happen inside freetype, if i compile Freetype 2.4.1 without optimization, everything works, if i use -O2 it crashes. The thing is that neither gdb nor valgrind give much info on where is crashing, probably we'll have to contact freetype devels for some advice.
Works with Freetype 2.4.2
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.