[cairo] segmentation fault during poppler_page_render()
Dan Raymond
draymond at foxvalley.net
Tue Mar 10 07:51:29 PDT 2015
Here is more GDB info showing the faulting instruction, the contents of
the bad pointer, and the full backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x68fe680d in _fill_xrgb32_lerp_opaque_spans ()
from C:\msys2\usr\local\bin\libcairo-2.dll
(gdb) x/i $pc
=> 0x68fe680d <_fill_xrgb32_lerp_opaque_spans+281>: mov (%eax),%ecx
(gdb) info registers
eax 0x30b5000 51073024
ecx 0x0 0
edx 0xfff57b52 -689326
ebx 0x165 357
esp 0x28d960 0x28d960
ebp 0x28d9c8 0x28d9c8
esi 0x194 404
edi 0x28da80 2677376
eip 0x68fe680d 0x68fe680d
<_fill_xrgb32_lerp_opaque_spans+281>
eflags 0x10286 [ PF SF IF RF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x53 83
gs 0x2b 43
(gdb) bt
#0 0x68fe680d in _fill_xrgb32_lerp_opaque_spans ()
from C:\msys2\usr\local\bin\libcairo-2.dll
#1 0x69038015 in blit_a8 () from C:\msys2\usr\local\bin\libcairo-2.dll
#2 0x69038593 in glitter_scan_converter_render ()
from C:\msys2\usr\local\bin\libcairo-2.dll
#3 0x6903872e in _cairo_tor_scan_converter_generate ()
from C:\msys2\usr\local\bin\libcairo-2.dll
#4 0x690279ae in composite_polygon ()
from C:\msys2\usr\local\bin\libcairo-2.dll
#5 0x69027e5b in clip_and_composite_polygon ()
from C:\msys2\usr\local\bin\libcairo-2.dll
#6 0x690281fc in _cairo_spans_compositor_stroke ()
from C:\msys2\usr\local\bin\libcairo-2.dll
#7 0x68fd7386 in _cairo_compositor_stroke ()
from C:\msys2\usr\local\bin\libcairo-2.dll
#8 0x68fecf54 in _cairo_image_surface_stroke ()
from C:\msys2\usr\local\bin\libcairo-2.dll
#9 0x6902cb09 in _cairo_surface_stroke ()
from C:\msys2\usr\local\bin\libcairo-2.dll
#10 0x68fdfdad in _cairo_gstate_stroke ()
from C:\msys2\usr\local\bin\libcairo-2.dll
#11 0x68fda87c in _cairo_default_context_stroke ()
from C:\msys2\usr\local\bin\libcairo-2.dll
#12 0x68fd0d04 in cairo_stroke () from C:\msys2\usr\local\bin\libcairo-2.dll
#13 0x6cc1b143 in CairoOutputDev::stroke (this=0x289e5d8, state=0x30e6ea8)
at CairoOutputDev.cc:783
#14 0x008764ff in Gfx::opStroke (this=0x31079c0, args=0x28fa80, numArgs=0)
at Gfx.cc:1856
#15 0x0086a599 in Gfx::execOp (this=this at entry=0x31079c0,
cmd=cmd at entry=0x28fa58, args=args at entry=0x28fa80,
numArgs=numArgs at entry=0)
at Gfx.cc:904
#16 0x00872c3f in Gfx::go (this=this at entry=0x31079c0,
topLevel=topLevel at entry=true) at Gfx.cc:763
#17 0x0087312e in Gfx::display (this=0x31079c0, obj=0x28fd80, topLevel=true)
at Gfx.cc:729
#18 0x008b5849 in Page::displaySlice (this=0x289fda8, out=0x289e5d8,
hDPI=72,
vDPI=72, rotate=0, useMediaBox=false, crop=true, sliceX=-1, sliceY=-1,
sliceW=-1, sliceH=-1, printing=false, abortCheckCbk=0x0,
abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0,
annotDisplayDecideCbkData=0x0, copyXRef=false) at Page.cc:585
#19 0x6cc07e67 in _poppler_page_render (page=0x2867020, cairo=0x28d4fe8,
printing=<optimized out>, print_flags=POPPLER_PRINT_DOCUMENT)
at poppler-page.cc:362
#20 0x00401840 in main ()
More information about the cairo
mailing list