[cairo] Cairo crash with a simple stroke (win32)

Hakki Dogusan hakki at dogusan.net
Fri Oct 19 08:03:34 PDT 2012


19-10-2012 17:40 tarihinde, Fred bca21 yazdı:
> Hi,
> I am new to this list but I have been using cairo and monitoring posts
> for a couple of months now. I have a strange issue on windows when the
> intersection between the clipping region and the drawing is very
> small, so I am posting here with the hope that someone can help (I am
> a bit too new to cairo's internals to debug this problem).
> Typically, the simple code below crashes (I am using a DDB bitmap for
> the example, but it also crashes with any DC).
> [code snipped]
> If it may help, am using the static lib version of the latest release
> (1.12.4 - pixman 26.2), and it crashes in debug or release mode, 32 or
> 64-bit windows. It's too bad because this crash occurs all the time in
> my code that extensively uses clipping regions!
> This crash also occurs with the previous version of cairo (1.12.2) and
> pixman 26.0, but at a different stage (in pixman if I remember well),

Did you test your code with 1.10.2?

My code too crashes with 1.12.2/4 but not with 1.10.2.

(using MinGW, WinXP)

Hakki Dogusan

More information about the cairo mailing list