[Bug 1030357] Re: evince crashed with SIGSEGV when trying to print this PDF file

2012-07-28 Thread Edward Donovan
** Attachment added: PDF that Evince can't print without crashing https://bugs.launchpad.net/bugs/1030357/+attachment/3240125/+files/Prepaid-eng.pdf ** Attachment removed: KernLog.txt https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1030357/+attachment/3240129/+files/KernLog.txt **

[Bug 1030357] Re: evince crashed with SIGSEGV when trying to print this PDF file

2012-07-28 Thread Edward Donovan
I'm not not too practiced at reading stacktraces, but maybe this bug is in cairo, and not actually in the evince code. I'll look into that more if I get a chance. ** Also affects: cairo (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are

[Bug 1030357] Re: evince crashed with SIGSEGV when trying to print this PDF file

2012-07-28 Thread Dave Gilbert
Seems trivially repeatable given the instructions; I'm on Quantal; looking in the source of cairo I see (cairo-cff-subset.c:1181): operand = cff_dict_get_operands (font-top_dict, CHARSET_OP, size); if (font-is_cid !operand) return CAIRO_INT_STATUS_UNSUPPORTED;

[Bug 1030357] Re: evince crashed with SIGSEGV when trying to print this PDF file

2012-07-28 Thread Edward Donovan
I think you nailed it right away! I patched and built cairo, and evince doesn't crash. :) ** Patch added: one-line patch for cairo-cff-subset.c, as suggested by Dave Gilbert https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1030357/+attachment/3240374/+files/cairo-crash-fix.patch **