Bug 17337 - Crash in CairoOutputDev::setDefaultCTM
Summary: Crash in CairoOutputDev::setDefaultCTM
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-08-28 07:31 UTC by Vincent Untz
Modified: 2009-02-22 09:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vincent Untz 2008-08-28 07:31:22 UTC
#0  cairo_transform (cr=0x0, matrix=0xb67f1fa8) at cairo.c:1242
#1  0xb73b0fda in CairoOutputDev::setDefaultCTM ()
   from /usr/lib/libpoppler-glib.so.3
#2  0xb6b25531 in Gfx::Gfx () from /usr/lib/libpoppler.so.3
#3  0xb6b6c125 in Page::createGfx () from /usr/lib/libpoppler.so.3
#4  0xb6b6c325 in Page::displaySlice () from /usr/lib/libpoppler.so.3
#5  0xb73a7896 in ?? () from /usr/lib/libpoppler-glib.so.3
#6  0xb5fdd55d in ?? () from /usr/lib/evince/backends/libpdfdocument.so
#7  0xb7fc06f2 in ev_document_thumbnails_get_thumbnail ()
   from /usr/lib/libevbackend.so.0
#8  0x08062ade in ?? ()
#9  0x08060044 in ?? ()
#10 0x08060699 in ?? ()
#11 0xb6e3350f in g_thread_create_proxy (data=0x834ef80) at gthread.c:635
#12 0xb7417175 in start_thread () from /lib/libpthread.so.0
#13 0xb6d160ae in clone () from /lib/libc.so.6

I can't post the PDF here, unfortunately.
Comment 1 Sebastien Bacher 2009-01-12 02:41:55 UTC
There is a crash similar on https://bugs.launchpad.net/ubuntu/+source/libcairo/+bug/312989

"Crashing PDF file is http://www.urbanvelo.org/issue11/urbanvelo11.pdf

Scroll through the PDF with spacebar. I didn't fully display the pdf, so I had to scroll through the pages before it automatically switched the pages.

#0  0x00007f15aaaef7a4 in cairo_transform () from /usr/lib/libcairo.so.2
#1  0x00007f15ab900955 in CairoOutputDev::setDefaultCTM (this=0x1470dc0, 
    ctm=0x7f159417aab0) at CairoOutputDev.cc:218
	matrix = {xx = 1, yx = 0, xy = 0, yy = -1, x0 = -0, y0 = 594}
#2  0x00007f15a7582a4c in Gfx (this=0x1875340, xrefA=<value optimized out>, 
    outA=0x1470dc0, pageNum=46, resDict=<value optimized out>, 
    catalogA=<value optimized out>, hDPI=72, vDPI=72, box=0x41c54e20, 
    cropBox=0x0, rotate=0, abortCheckCbkA=0, abortCheckCbkDataA=0x0)
    at Gfx.cc:484
No locals.
#3  0x00007f15a75c9b8d in Page::createGfx (this=0x14cbb10, out=0x1470dc0, 
    hDPI=72, vDPI=72, rotate=0, useMediaBox=<value optimized out>, crop=0, 
    sliceX=<value optimized out>, sliceY=-1, sliceW=-1, sliceH=-1, printing=0, 
    catalog=0x1470640, abortCheckCbk=0, abortCheckCbkData=0x0, 
    annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:381
	box = {x1 = 0, y1 = 0, x2 = 495, y2 = 594}
	gfx = (Gfx *) 0x1875340
#4  0x00007f15a75c9e04 in Page::displaySlice (this=0x14cbb10, out=0x1470dc0, 
    hDPI=72, vDPI=72, rotate=<value optimized out>, useMediaBox=0, crop=1, 
    sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=0, catalog=0x1470640, 
    abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, 
    annotDisplayDecideCbkData=0x0) at Page.cc:410
	gfx = <value optimized out>
	obj = {type = objNone, {booln = 0, intg = 0, real = 0, string = 0x0, 
    name = 0x0, array = 0x0, dict = 0x0, stream = 0x0, ref = {num = 0, 
      gen = 0}, cmd = 0x0}}
	annotList = <value optimized out>
	i = <value optimized out>
#5  0x00007f15ab8f917f in _poppler_page_render (page=0x7f159c105ca0, 
    cairo=0x1abd3e0, printing=0) at poppler-page.cc:529
	output_dev = (class CairoOutputDev *) 0x1470dc0
	__PRETTY_FUNCTION__ = "void _poppler_page_render(PopplerPage*, cairo_t*, GBool)"
#6  0x00007f15a36cc73d in pdf_document_render (document=<value optimized out>, 
    rc=0x7f159c04d240) at ev-poppler.cc:477
	poppler_page = (PopplerPage *) 0x7f159c105ca0
	width_points = 495
	height_points = 594
	width = 608
	height = 729
#7  0x0000000000422d91 in ev_job_render_run (job=0x15c3e30) at ev-jobs.c:512
	job_render = (EvJobRender *) 0x15c3e30
	rc = <value optimized out>
#8  0x0000000000420620 in ev_job_thread_proxy (data=<value optimized out>)
    at ev-job-scheduler.c:183
	job = (EvSchedulerJob *) 0x185e7d0"
Comment 2 Carlos Garcia Campos 2009-02-22 09:19:01 UTC
Fixed in both master and poppler-0.10. 

Thanks for reporting. 


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.