Using evince-2.25.90, poppler-0.10.3 and cairo-1.8.6 and I experience a crash when trying to open this file: http://www.ondemandbooks.com/docs/EBM_Brochure.pdf. I get the following error: evince: cairo.c:87: _cairo_error: Assertion `(status != CAIRO_STATUS_SUCCESS && status <= CAIRO_STATUS_INVALID_WEIGHT)' failed. Cannot access memory at address 0x0 Just in case it might help, backtrace is bellow. Many thanks for your excellent work, Pablo (gdb) run EBM_Brochure.pdf Starting program: /usr/bin/evince EBM_Brochure.pdf [Thread debugging using libthread_db enabled] [New process 24529] [New Thread -1226901088 (LWP 24529)] [New Thread -1245590640 (LWP 24548)] [New Thread -1255949424 (LWP 24554)] evince: cairo.c:87: _cairo_error: Assertion `(status != CAIRO_STATUS_SUCCESS && status <= CAIRO_STATUS_INVALID_WEIGHT)' failed. Program received signal SIGABRT, Aborted. [Switching to Thread -1245590640 (LWP 24548)] 0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb6f665d5 in raise () from /lib/i686/libc.so.6 #2 0xb6f68021 in abort () from /lib/i686/libc.so.6 #3 0xb6f5f70e in __assert_fail () from /lib/i686/libc.so.6 #4 0xb757fc0c in _cairo_error (status=CAIRO_STATUS_INVALID_STATUS) at cairo.c:87 #5 0xb757fcb8 in _cairo_set_error (cr=0x5fe4, status=CAIRO_STATUS_INVALID_STATUS) at cairo.c:118 #6 0xb75806b0 in cairo_clip (cr=0x85585f0) at cairo.c:2413 #7 0xb7995696 in CairoOutputDev::clip (this=0x8418848, state=0x84df550) at CairoOutputDev.cc:521 #8 0xb784c6a7 in Gfx::doEndPath (this=0x8558980) at Gfx.cc:3066 #9 0xb784c6cb in Gfx::opEndPath (this=0x8558980, args=0xb5c1b620, numArgs=0) at Gfx.cc:1562 #10 0xb784c53c in Gfx::execOp (this=0x8558980, cmd=0xb5c1b7c0, args=0xb5c1b620, numArgs=0) at Gfx.cc:771 #11 0xb784c9a1 in Gfx::go (this=0x8558980, topLevel=0) at Gfx.cc:642 #12 0xb78531e2 in Gfx::display (this=0x8558980, obj=0xb5c1ba2c, topLevel=0) at Gfx.cc:611 #13 0xb78535e4 in Gfx::doForm1 (this=0x8558980, str=0xb5c1ba2c, resDict=0x84e08d0, matrix=0xb5c1b910, bbox=0xb5c1b940, transpGroup=0, softMask=0, blendingColorSpace=0x0, isolated=0, knockout=0, alpha=0, transferFunc=0x0, backdropColor=0x0) at Gfx.cc:4043 #14 0xb78585c9 in Gfx::doForm (this=0x8558980, str=0xb5c1ba2c) at Gfx.cc:3971 #15 0xb7858c08 in Gfx::opXObject (this=0x8558980, args=0xb5c1bad0, numArgs=1) at Gfx.cc:3534 #16 0xb784c53c in Gfx::execOp (this=0x8558980, cmd=0xb5c1bc70, args=0xb5c1bad0, numArgs=1) at Gfx.cc:771 #17 0xb784c9a1 in Gfx::go (this=0x8558980, topLevel=0) at Gfx.cc:642 #18 0xb78531e2 in Gfx::display (this=0x8558980, obj=0xb5c1bedc, topLevel=0) at Gfx.cc:611 #19 0xb78535e4 in Gfx::doForm1 (this=0x8558980, str=0xb5c1bedc, resDict=0x85546a8, matrix=0xb5c1bdc0, bbox=0xb5c1bdf0, transpGroup=0, softMask=0, blendingColorSpace=0x0, isolated=0, knockout=0, alpha=0, transferFunc=0x0, backdropColor=0x0) at Gfx.cc:4043 #20 0xb78585c9 in Gfx::doForm (this=0x8558980, str=0xb5c1bedc) at Gfx.cc:3971 #21 0xb7858c08 in Gfx::opXObject (this=0x8558980, args=0xb5c1bf80, numArgs=1) at Gfx.cc:3534 #22 0xb784c53c in Gfx::execOp (this=0x8558980, cmd=0xb5c1c120, args=0xb5c1bf80, numArgs=1) at Gfx.cc:771 #23 0xb784c9a1 in Gfx::go (this=0x8558980, topLevel=1) at Gfx.cc:642 #24 0xb78531e2 in Gfx::display (this=0x8558980, obj=0xb5c1c1fc, topLevel=1) at Gfx.cc:611 #25 0xb7896dae in Page::displaySlice (this=0x8418b98, out=0x8418848, hDPI=72, vDPI=72, rotate=0, useMediaBox=0, crop=1, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=0, catalog=0x8418458, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:442 #26 0xb798cad7 in _poppler_page_render (page=0x854bc00, cairo=0x85585f0, printing=0) at poppler-page.cc:530 #27 0xb798cc18 in poppler_page_render (page=0x854bc00, cairo=0x85585f0) at poppler-page.cc:552 #28 0xb6c45108 in pdf_document_render (document=0x8449580, rc=0x83d0500) at gmarshal.c:334 #29 0xb7f4ec41 in ev_document_render (document=0x8449580, rc=0x83d0500) at ev-document.c:215 #30 0xb7f27db9 in ev_job_render_run (job=0x80edaa0) at ev-jobs.c:516 #31 0xb7f2563f in ev_job_run (job=0x80edaa0) at ev-jobs.c:207 #32 0xb7f28cb7 in ev_job_thread_proxy (data=0x0) at ev-job-scheduler.c:183 #33 0xb7109244 in g_thread_create_proxy (data=0x80a95c8) at gthread.c:635 #34 0xb7a224e2 in start_thread () from /lib/i686/libpthread.so.0 #35 0xb700f47e in clone () from /lib/i686/libc.so.6
hmm, I get a 404 with the url you provided. Could you attach the pdf here, please?
Created attachment 23390 [details] document that crashes poppler It seems that a new document has been uploaded (http://www.ondemandbooks.com/EBM_Brochure.pdf) and it doesn't crash poppler. But poppler crashes with the attached document. Neither acroread nor xpdf crash with it.
The backtrace for that assertion failure is genuinely baffling -- something extremely weird has happened with the installed libraries. Can anyone reproduce the crash and get a sane backtrace? That attached PDF works-for-me, not even a hint of an error from valgrind.
It doesn't crash for me either.
It seems to be a bug in cairo-1.8.6 (according to http://bugs.gentoo.org/show_bug.cgi?id=250159#c13). After applying the patch (http://cgit.freedesktop.org/cairo/patch/?id=efa9e1088cbf1b5331cc0bab3348520f3b91ae4b), the bug is fixed. Sorry for the noise. Closing the bug as NOTOURBUG. Thanks for your excellent work, Pablo
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.