{"action":"created","issue":{"url":"https://api.github.com/repos/lazka/pgi/issues/20","labels_url":"https://api.github.com/repos/lazka/pgi/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/lazka/pgi/issues/20/comments","events_url":"https://api.github.com/repos/lazka/pgi/issues/20/events","html_url":"https://github.com/lazka/pgi/issues/20","id":99518016,"number":20,"title":"Cairo Segfaults","user":{"login":"OceanWolf","id":3758703,"avatar_url":"https://avatars.githubusercontent.com/u/3758703?v=3","gravatar_id":"","url":"https://api.github.com/users/OceanWolf","html_url":"https://github.com/OceanWolf","followers_url":"https://api.github.com/users/OceanWolf/followers","following_url":"https://api.github.com/users/OceanWolf/following{/other_user}","gists_url":"https://api.github.com/users/OceanWolf/gists{/gist_id}","starred_url":"https://api.github.com/users/OceanWolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OceanWolf/subscriptions","organizations_url":"https://api.github.com/users/OceanWolf/orgs","repos_url":"https://api.github.com/users/OceanWolf/repos","events_url":"https://api.github.com/users/OceanWolf/events{/privacy}","received_events_url":"https://api.github.com/users/OceanWolf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lazka/pgi/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-06T20:26:32Z","updated_at":"2015-08-06T20:31:48Z","closed_at":null,"body":"Running the matplotlib example, cairo segfaults on my machine (debian-jessie)\r\n```\r\nProgram received signal SIGSEGV, Segmentation fault.\r\nin cairo_save () from /usr/lib/x86_64-linux-gnu/libcairo.so.2\r\n(gdb) backtrace\r\n#0  in cairo_save () from /usr/lib/x86_64-linux-gnu/libcairo.so.2\r\n#1  in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6\r\n#2  in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6\r\n#3  in ?? () from /usr/lib/python2.7/dist-packages/_cffi_backend.x86_64-linux-gnu.so\r\n#4  in PyObject_Call (kw=<optimized out>, arg=<optimized out>, func=<optimized out>) at ../Objects/abstract.c:2529\r\n#5  do_call (nk=<optimized out>, na=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at ../Python/ceval.c:4251\r\n#6  call_function (oparg=<optimized out>, pp_stack=<optimized out>) at ../Python/ceval.c:4056\r\n#7  PyEval_EvalFrameEx () at ../Python/ceval.c:2679\r\n#8  in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at ../Python/ceval.c:4119\r\n#9  call_function (oparg=<optimized out>, pp_stack=<optimized out>) at ../Python/ceval.c:4054\r\n#10 PyEval_EvalFrameEx () at ../Python/ceval.c:2679\r\n#11 in PyEval_EvalCodeEx () at ../Python/ceval.c:3265\r\n```\r\n\r\nIf you want more of the backtrace, let me know (I have 133 lines of it).\r\nOther people who have tried to use it (or similar code) have got:\r\n```\r\nBUG: PySequence_LengthSystemError: null argument to internal routine\r\n```\r\nor\r\n```\r\n.../cairo-1.10.2/src/cairo.c:173: _cairo_error: Assertion `(status != CAIRO_STATUS_SUCCESS && status <= CAIRO_STATUS_LAST_STATUS)' failed\r\n```"},"comment":{"url":"https://api.github.com/repos/lazka/pgi/issues/comments/128498892","html_url":"https://github.com/lazka/pgi/issues/20#issuecomment-128498892","issue_url":"https://api.github.com/repos/lazka/pgi/issues/20","id":128498892,"user":{"login":"lazka","id":991986,"avatar_url":"https://avatars.githubusercontent.com/u/991986?v=3","gravatar_id":"","url":"https://api.github.com/users/lazka","html_url":"https://github.com/lazka","followers_url":"https://api.github.com/users/lazka/followers","following_url":"https://api.github.com/users/lazka/following{/other_user}","gists_url":"https://api.github.com/users/lazka/gists{/gist_id}","starred_url":"https://api.github.com/users/lazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazka/subscriptions","organizations_url":"https://api.github.com/users/lazka/orgs","repos_url":"https://api.github.com/users/lazka/repos","events_url":"https://api.github.com/users/lazka/events{/privacy}","received_events_url":"https://api.github.com/users/lazka/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T20:31:48Z","updated_at":"2015-08-06T20:31:48Z","body":"Thanks. Yeah, lots of things missing there.. that's also why the GC gets disabled in the example to make it at least kinda work."}}