artemp/mapnik — Issue #387: Cairo crash on OSX due to floating point/divide by zero when rendering map with labels to PDF/PS
Author: artemp
Created: 2011-10-11 16:15:47+00:00
State: open
Labels: Core_Library

NOTE: this is only happening with pycairo compiled using XCode (part of my Mapnik binary/framework installer project).

Also:
* only on mac osx
* osx versions I'm running: mapnik trunk, Cairo 1.8.8 and Cairomm 1.8.0 from macports linked statically
* pycairo 1.8.4 compiled with XCode
* SVG rendering works, PDF and PS crash but only when rendering a map with labels
* SVG and labels work fine
* test case attached

Run:

{{{
python cairo_test.py
}}}

Crash output: http://dpaste.de/gYst/