[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Maposmatic-dev] cairo null pointer
From: |
Florian Lohoff |
Subject: |
Re: [Maposmatic-dev] cairo null pointer |
Date: |
Thu, 19 Sep 2013 14:12:17 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi,
On Thu, Sep 19, 2013 at 12:34:39PM +0200, Florian Lohoff wrote:
> On Thu, Sep 19, 2013 at 10:41:00AM +0200, Florian Lohoff wrote:
> >
> > Hi,
> > i am trying to run render.py on a Debian/Wheezy with mapnik of yesterday
> > and get a "very helpful" error message of cairo. As the path implies
> > its the Debian/Wheezy cairo.
> >
> > Too old cairo? Too new mapnik?
>
> Same behaviour with mapnik 2.2 from sid compiled for wheezy ...
Okay - gets more strange - Using the sid mapnik 2.2 with sid cairo
now and mapnik with logging:
Mapnik LOG> 2013-09-19 11:59:06: pool: Borrow instance=0x2f8cda0
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer:start style processing
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer:end style processing
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer_base: End layer processing
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer_base: Start processing
layer=shade.shp
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer_base: -- datasource=0x3417e90
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer_base: --
query_extent=box2d(8.1996153009645987,51.7705478670171146,8.4008738572187376,51.9169927796253319)
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer:start style processing
Mapnik LOG> 2013-09-19 11:59:06: shape_featureset: Total shapes read=1
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer:end style processing
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer_base: End layer processing
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer_base: Start processing
layer=grid.shp
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer_base: -- datasource=0x3413100
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer_base: --
query_extent=box2d(8.1996153009645987,51.7705478670171146,8.4008738572187376,51.9169927796253319)
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer:start style processing
Mapnik LOG> 2013-09-19 11:59:06: shape_featureset: Total shapes read=120
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer:end style processing
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer_base: End layer processing
Mapnik LOG> 2013-09-19 11:59:06: cairo_renderer_base: End map processing
DEBUG:ocitysmap:Cleaning up /tmp/ocitysmaplJqtNb...
Traceback (most recent call last):
File "./render.py", line 243, in <module>
sys.exit(main())
File "./render.py", line 238, in main
options.output_prefix)
File "/home/maposmatic/ocitysmap/ocitysmap/__init__.py", line 462, in render
file_prefix)
File "/home/maposmatic/ocitysmap/ocitysmap/__init__.py", line 521, in
_render_one
renderer.render(surface, dpi, osm_date)
File
"/home/maposmatic/ocitysmap/ocitysmap/layoutlib/single_page_renderers.py", line
408, in render
ctx.restore()
cairo.Error: NULL pointer
python: /home/maposmatic/cairo/cairo-1.12.16/src/cairo.c:301: cairo_destroy:
Assertion `((*&(&cr->ref_count)->ref_count) > 0)' failed.
Aborted
From what i can read we are done with rendering and while cleaning up
we stumble on something with ref counting with a count > 0.
Flo
--
Florian Lohoff address@hidden
signature.asc
Description: Digital signature