Bug 14398 - evince crashs when opening a PDF: evince: CairoOutputDev.cc:923: void CairoOutputDev::drawImageMaskPrescaled(GfxState*, Object*, Stream*, int, int, GBool, GBool): Assertion `0 && "over run\n"' failed.
Summary: evince crashs when opening a PDF: evince: CairoOutputDev.cc:923: void CairoOu...
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-06 01:15 UTC by Sebastien Bacher
Modified: 2008-03-02 17:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sebastien Bacher 2008-02-06 01:15:57 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/183318

"evince crashs when I open a specific test.pdf file:

1 1
evince: CairoOutputDev.cc:923: void CairoOutputDev::drawImageMaskPrescaled(GfxState*, Object*, Stream*, int, int, GBool, GBool): Assertion `0 && "over run\n"' failed.

(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7104875 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7106201 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb70fdb6e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4 0xb76ee1a8 in CairoOutputDev::drawImageMaskPrescaled () from /usr/lib/libpoppler-glib.so.2
#5 0xb76ee540 in CairoOutputDev::drawImageMask () from /usr/lib/libpoppler-glib.so.2
#6 0xb6b7cd10 in Gfx::doImage () from /usr/lib/libpoppler.so.2
#7 0xb6b7d9b1 in Gfx::opBeginImage () from /usr/lib/libpoppler.so.2
#8 0xb6b7b833 in Gfx::execOp () from /usr/lib/libpoppler.so.2
#9 0xb6b7b9fc in Gfx::go () from /usr/lib/libpoppler.so.2
#10 0xb6b7bfa7 in Gfx::display () from /usr/lib/libpoppler.so.2
#11 0xb6b7e7a5 in Gfx::doShowText () from /usr/lib/libpoppler.so.2
#12 0xb6b7ed5e in Gfx::opShowText () from /usr/lib/libpoppler.so.2
#13 0xb6b7b833 in Gfx::execOp () from /usr/lib/libpoppler.so.2
#14 0xb6b7b9fc in Gfx::go () from /usr/lib/libpoppler.so.2
#15 0xb6b7bfa7 in Gfx::display () from /usr/lib/libpoppler.so.2
#16 0xb6bc14c6 in Page::displaySlice () from /usr/lib/libpoppler.so.2
#17 0xb76e81af in poppler_page_render_to_pixbuf () from /usr/lib/libpoppler-glib.so.2
#18 0x080a02c3 in pdf_document_thumbnails_get_thumbnail (document_thumbnails=0x8306740, rc=0x8306600, border=1)
    at /build/buildd/evince-2.20.1/./backend/pdf/ev-poppler.cc:1215
#19 0x0809a2da in ev_document_thumbnails_get_thumbnail (document=0x8306740, rc=0x8306600, border=1)
    at /build/buildd/evince-2.20.1/./libdocument/ev-document-thumbnails.c:57
#20 0x0806333d in ev_job_thumbnail_run (job=0x8391d00) at /build/buildd/evince-2.20.1/./shell/ev-jobs.c:437
#21 0x080617c7 in handle_job (job=0x8391d00) at /build/buildd/evince-2.20.1/./shell/ev-job-queue.c:128
#22 0x08061e8c in ev_render_thread (data=0x0) at /build/buildd/evince-2.20.1/./shell/ev-job-queue.c:263
#23 0xb72df5af in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x00000000 in ?? ()

./poppler/CairoOutputDev.cc:
            printf("%d %d\n", n, total);
            assert(0 && "over run\n");

From the printf, I know that n==1 and total==1.

http://launchpadlibrarian.net/11360097/test.pdf.bz2
The PDF file that crashs evince (148.7 KiB, application/octet-stream)

The attached PDF file crashes evince: 100% reproductible.

I use Ubuntu Gutsy, evince 2.20.1-0ubuntu1 and libpopple 0.6-0ubuntu2.1."

The current libpoppler version has the same issue
Comment 1 Jeff Muizelaar 2008-03-02 17:15:53 UTC
Should be fixed in git.


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.