[cairo] cairo 1.12 crashes X server

Chris Wilson chris at chris-wilson.co.uk
Thu May 17 03:54:00 PDT 2012


On Wed, 16 May 2012 22:31:33 -0400, cu <cairouser at yahoo.com> wrote:
> Another one of "those" issues. I tried to switch Linux version of my
> program from cairo 1.10 to cairo 1.12.
> The program is built as a dynamic executable, using shared libcairo. It
> is also using libgtk (which in turn also needs cairo, hence the shared
> version).
> When using cairo 1.10 - program works, no issuse. With cairo 1.12 -
> attempting to launch the program crashes X server, of all things.
> 
> Any ideas as to why this may be happening or even how to track this
> issue down would be greatly appreciated!

I'm shocked, X crashing...

In the Xorg.0.log file there will a rudimentary backtrace (no symbols),
but at least it will indicate which part of the call chain needs
investigation (driver vs extension vs core). However, to get any useful
information out we need to attach gdb. This can be done either by
attaching gdb to X one it is running or by generating a corefile upon
crash (with X -core and appropriate ulimits). To attach gdb post-mortem,
use gdb X $corefile . Once you have the crash inside gdb, type 'bt full'
and send the stacktrace to the guilty parties and xorg-dev at lists.x.org.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list