[cairo] Overflow bug painting from PixBuf?

Arjen Nienhuis a.g.nienhuis at gmail.com
Thu Oct 15 06:22:05 PDT 2009


It's probably because i'm doing this:

http://cairographics.org/freetypepython/

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2669774 in cairo_set_font_face () from /usr/lib/libcairo.so.2
(gdb) bt
#0  0x00007ffff2669774 in cairo_set_font_face () from /usr/lib/libcairo.so.2
#1  0x00007fffea682bec in ffi_call_unix64 () from
/usr/lib/python2.6/lib-dynload/_ctypes.so
#2  0x00007fffea6822d3 in ffi_call () from
/usr/lib/python2.6/lib-dynload/_ctypes.so
#3  0x00007fffea67cd64 in _CallProc () from
/usr/lib/python2.6/lib-dynload/_ctypes.so
#4  0x00007fffea674bf7 in ?? () from /usr/lib/python2.6/lib-dynload/_ctypes.so
#5  0x000000000041d6e7 in PyObject_Call ()
#6  0x00000000004a199c in PyEval_EvalFrameEx ()
#7  0x00000000004a40e0 in PyEval_EvalCodeEx ()
#8  0x00000000004a245f in PyEval_EvalFrameEx ()
#9  0x00000000004a40e0 in PyEval_EvalCodeEx ()
#10 0x00000000004a245f in PyEval_EvalFrameEx ()
#11 0x00000000004a40e0 in PyEval_EvalCodeEx ()
#12 0x00000000004a41b2 in PyEval_EvalCode ()
#13 0x00000000004b5d5e in PyImport_ExecCodeModuleEx ()
#14 0x00000000004b7bee in ?? ()
#15 0x00000000004b8a23 in ?? ()
#16 0x00000000004b8caf in ?? ()
#17 0x00000000004b924c in ?? ()
#18 0x00000000004b98b4 in PyImport_ImportModuleLevel ()
#19 0x000000000049c1cb in ?? ()
#20 0x000000000041d6e7 in PyObject_Call ()
#21 0x000000000049cd8f in ?? ()
#22 0x000000000049fc8e in PyEval_EvalFrameEx ()
#23 0x00000000004a40e0 in PyEval_EvalCodeEx ()
#24 0x00000000004a41b2 in PyEval_EvalCode ()
#25 0x00000000004b5d5e in PyImport_ExecCodeModuleEx ()
#26 0x00000000004b7bee in ?? ()
#27 0x00000000004b8a23 in ?? ()
#28 0x00000000004b8caf in ?? ()
#29 0x00000000004b924c in ?? ()
#30 0x00000000004b98b4 in PyImport_ImportModuleLevel ()
#31 0x000000000049c1cb in ?? ()
#32 0x000000000041d6e7 in PyObject_Call ()
#33 0x000000000049cd8f in ?? ()
#34 0x000000000049fc8e in PyEval_EvalFrameEx ()
#35 0x00000000004a40e0 in PyEval_EvalCodeEx ()
#36 0x00000000004a41b2 in PyEval_EvalCode ()
#37 0x00000000004c33a0 in PyRun_FileExFlags ()
#38 0x00000000004c3564 in PyRun_SimpleFileExFlags ()
#39 0x0000000000418ab7 in Py_Main ()
#40 0x00007ffff6fd0abd in __libc_start_main () from /lib/libc.so.6
#41 0x0000000000417ca9 in _start ()


On Thu, Oct 15, 2009 at 2:15 PM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> Excerpts from Arjen Nienhuis's message of Thu Oct 15 13:07:41 +0100 2009:
>> Hmm, after an hour of dpkg, easy_install, git clone and all sorts of
>> dependency problems I finally got:
>>
>> cairo.cairo_version_string() == '1.9.2'
>>
>> and then I got a segfault.
>
> Well it shouldn't be doing that! Can you grab a backtrace as it is
> hopefully a trivial build/system issue.
> -ickle
> --
> Chris Wilson, Intel Open Source Technology Centre
>


More information about the cairo mailing list