{"comment":{"created_at":"2011-10-11T07:53:53Z","body":"[jbglaw] Just started to work, while I don't recognize any changes :(","updated_at":"2011-10-11T07:53:53Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/comments/2357679","id":2357679,"user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"}},"action":"created","issue":{"number":404,"created_at":"2011-10-11T07:53:52Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Hi!\r\n\r\nI have a small application [1,2] which uses Mapnik with OSM data, convertes via osm2pgsql, off a PostgreSQL database. I'm basically using the osm.xml file [3] from OpenStreetMaps SVN server (with pathes to the images changed). This used to work with Debian's 0.5.0 mapnik, until the osm.xml file started to use multi-line SQL queries.\r\n\r\nAfter an update to 0.6.0 (Debian package), only the background got drawn. (The same osm.xml, with the multi-line SQL squeezed to a single line, worked with 0.5.0) It didn't even try to access the PostgreSQL database.\r\n\r\nI then installed Mapnik from yesterday's SVN, with debugging turned on. This makes the program abort.\r\n\r\nThis is the (full) output, a GDB backtrace is below the trace:\r\n\r\n{{{\r\nregistered datasource : raster\r\nregistered datasource : shape\r\nregistered datasource : postgis\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=2\r\nbit_depth=8 color_type=2\r\nbit_depth=4 color_type=3\r\nbit_depth=4 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=3\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nbit_depth=8 color_type=6\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,aeroway,amenity,landuse,leisure,man_made,military,\"natural\",power,tourism,name\r\n       from planet_osm_polygon\r\n       where landuse is not null\r\n          or leisure is not null\r\n          or aeroway='apron'\r\n          or man_made='pier'\r\n          or amenity in ('parking','university','college','school','hospital','grave_yard')\r\n          or military in ('barracks','danger_area')\r\n          or \"natural\" in ('field','beach','glacier','heath','mud','wood')\r\n          or power in ('station','sub_station')\r\n          or tourism in ('attraction','camp_site','caravan_site','picnic_site','zoo')\r\n       order by z_order,way_area desc\r\n      ) as leisure\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x914ff40 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=(select way,leisure from planet_osm_polygon where leisure in ('sports_centre','stadium') order by z_order,way_area desc) as sports_grounds\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9189fd8 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=(select way,\"natural\",waterway,landuse,name from planet_osm_polygon where waterway in ('dock','mill_pond','riverbank','canal') or landuse in ('reservoir','water') or \"natural\" in ('lake','water','land','marsh','scrub','wetland','glacier') order by z_order,way_area desc) as water_areas\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9187030 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=(select way,waterway,disused,name,case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel from planet_osm_line where waterway IS NOT NULL order by z_order) as water_lines\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x914f158 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way from planet_osm_line where man_made='pier') as piers\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x914dae8 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,highway from planet_osm_roads where highway in ('motorway','motorway_link','trunk','trunk_link','primary','primary_link','secondary','secondary_link') and tunnel in ('yes','true','1') order by z_order) as roads\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9188878 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=(select way from planet_osm_line where \"historic\"='citywalls') as citywalls\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9172738 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=(select way from planet_osm_point where highway='turning_circle') as turning_circle\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9156988 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,highway,horse,foot,bicycle from planet_osm_line where highway in ('bridleway','footway','cycleway','path') and tunnel in ('yes','true','1') order by z_order) as roads\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9157570 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,tracktype from planet_osm_line where highway='track' and (bridge is null or bridge in ('no','false','0')) and (tunnel is null or tunnel in ('no','false','0'))) as tracks\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x915e060 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,tracktype from planet_osm_line where highway='track' and tunnel in ('yes','true','1')) as tracks\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x91623f0 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,building,leisure,railway,amenity,aeroway from planet_osm_polygon\r\n       where building is not null\r\n          or leisure in ('pitch','track')\r\n          or railway='station'\r\n          or amenity='place_of_worship'\r\n          or aeroway='terminal'\r\n       order by z_order,way_area desc) as buildings\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9160520 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,barrier,\"natural\",man_made from planet_osm_line where barrier is not null or \"natural\" in ('hedge','cliff') or man_made='embankment') as roads\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x91624d0 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n       (select way,barrier,\"natural\" from planet_osm_polygon where barrier is not null or \"natural\"='hedge') as barriers\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9174c28 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,highway from planet_osm_polygon\r\n       where highway in ('residential','unclassified','pedestrian','service','footway','track')\r\n       order by z_order,way_area desc) as roads\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9188288 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,highway,service,\r\n       case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel\r\n       from planet_osm_line\r\n       where highway in ('motorway','motorway_link','trunk','trunk_link','primary','primary_link','secondary','secondary_link','tertiary','residential','unclassified','minor','road','service','pedestrian','raceway')\r\n       order by z_order) as roads\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918a170 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,highway from planet_osm_polygon\r\n       where highway in ('residential','unclassified','pedestrian','service','footway','living_street','track')\r\n       order by z_order,way_area desc) as roads\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918a768 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,highway,horse,bicycle,foot,construction,railway,aeroway,service,route,\r\n       case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel,\r\n       case when bridge in ('yes','true','1') then 'yes'::text else bridge end as bridge\r\n       from planet_osm_line\r\n       where highway is not null\r\n          or aeroway in ('runway','taxiway')\r\n          or railway in ('light_rail','narrow_gauge','rail','subway','tram')\r\n          or route='ferry'\r\n       order by z_order) as roads\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918a460 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,aerialway from planet_osm_line where aerialway is not null) as aerialways\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9185738 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,highway,railway,\r\n       case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel\r\n       from planet_osm_roads\r\n       where highway is not null\r\n          or railway is not null\r\n       order by z_order\r\n      ) as roads\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x91858f0 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=(select way,name from planet_osm_line where waterway='canal' and bridge in ('yes','true','1','aqueduct') order by z_order) as water\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9185ce8 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,highway,aeroway,railway,layer,horse,bicycle,foot,bridge\r\n       from planet_osm_line where (highway is not null\r\n              or aeroway in ('runway','taxiway')\r\n              or railway in ('light_rail','subway'))\r\n         and (bridge is null or bridge not in ('no','false','0'))\r\n       order by z_order\r\n      ) as roads\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9186220 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,tracktype from planet_osm_line where highway='track' and bridge in ('yes','true','1')) as tracks\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918ee70 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,access,highway from planet_osm_line where access is not null) as access\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918f060 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way from planet_osm_line where railway='tram' and (tunnel is null or tunnel not in ('yes','true','1'))) as trams\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918f4c0 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=(select * from planet_osm_point where barrier IS NOT NULL or amenity IS NOT NULL or tourism is NOT NULL or railway is NOT NULL or \"natural\" is NOT NULL or highway is NOT NULL or aeroway is NOT NULL or aerialway is NOT NULL or power_source is NOT NULL or man_made is NOT NULL) as amenity\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918f860 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=(select way from planet_osm_line where \"power\"='line') as power\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918faf0 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=(select way from planet_osm_point where power='tower') as power_towers\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918c688 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=(select way,place,capital,name from planet_osm_point where place is not null) as placenames\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918ca50 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway from planet_osm_line where oneway is not null) as directions\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918cd60 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,highway,name,ref,char_length(ref) as length from planet_osm_line where waterway IS NULL and leisure IS NULL and landuse IS NULL and (name is not null or ref is not null)) as roads\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918d0d0 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,amenity,military,way_area,waterway,name\r\n       from planet_osm_polygon\r\n       where name is not null\r\n       order by z_order,way_area desc\r\n      ) as text\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918ddd0 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n       (select way from planet_osm_line where \"addr:interpolation\" is not null) as interpolation\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918e3e0 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=(select way,\"addr:housenumber\" from planet_osm_polygon where \"addr:housenumber\" is not null and building is not null) as way_numbers\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918e6e8 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=(select way,\"addr:housenumber\" from planet_osm_point where \"addr:housenumber\" is not null) as node_numbers\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x918eac8 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,amenity,highway,leisure,landuse,man_made,\"natural\",place,tourism,ele,name,ref\r\n       from planet_osm_point\r\n       where amenity is not null\r\n          or leisure is not null\r\n          or landuse is not null\r\n          or tourism is not null\r\n          or \"natural\" is not null\r\n          or man_made='lighthouse'\r\n          or place='island'\r\n          or highway='motorway_junction'\r\n      ) as text\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x9188ee8 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,name from planet_osm_polygon where boundary='national_park') as boundary\r\n\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x91891f0 type=1\r\nsize = 6\r\ndbname=gis\r\nestimate_extent=false\r\nextent=-20037508,-19929239,20037508,19929239\r\nhost=/var/run/postgresql\r\ntable=\r\n      (select way,admin_level from planet_osm_roads where \"boundary\"='administrative') as admin\r\ntype=postgis\r\nborrow 0x8e08b90\r\nunknown type_oid=179013\r\nreturn 0x8e08b90\r\ndatasource=0x919bea0 type=1\r\nscale=1120\r\nstart map processing bbox=Envelope(944951.1306855947,6806358.911506363,946071.1306855947,6807478.911506363)\r\nstart layer processing : leisure\r\ndatasource = 0x914ff40\r\ngpsdisplay: /usr/include/boost/variant/detail/visitation_impl.hpp:203: typename Visitor::result_type boost::detail::variant::visitation_impl(int, int, Visitor&, VPCV, mpl_::true_, NBF, W*, S*) [with W = boost::detail::variant::visitation_impl(int, int, Visitor&, VoidPtrCV, mpl_::false_, NoBackupFlag, Which*, step0*) [with Which = boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::internal_apply_visitor_impl(int, int, Visitor&, VoidPtrCV) [with Visitor = boost::detail::variant::invoke_visitor<mapnik::symbolizer_attributes>, VoidPtrCV = const void*, T0_ = mapnik::point_symbolizer, T1 = mapnik::line_symbolizer, T2 = mapnik::line_pattern_symbolizer, T3 = mapnik::polygon_symbolizer, T4 = mapnik::polygon_pattern_symbolizer, T5 = mapnik::raster_symbolizer, T6 = mapnik::shield_symbolizer, T7 = mapnik::text_symbolizer, T8 = mapnik::building_symbolizer, T9 = mapnik::markers_symbolizer, T10 = boost::detail::variant::void_, T11 = boost::detail::variant::void_, T12 = boost::detail::variant::void_, T13 = boost::detail::variant::void_, T14 = boost::detail::variant::void_, T15 = boost::detail::variant::void_, T16 = boost::detail::variant::void_, T17 = boost::detail::variant::void_, T18 = boost::detail::variant::void_, T19 = boost::detail::variant::void_]::first_which, step0 = boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::internal_apply_visitor_impl(int, int, Visitor&, VoidPtrCV) [with Visitor = boost::detail::variant::invoke_visitor<mapnik::symbolizer_attributes>, VoidPtrCV = const void*, T0_ = mapnik::point_symbolizer, T1 = mapnik::line_symbolizer, T2 = mapnik::line_pattern_symbolizer, T3 = mapnik::polygon_symbolizer, T4 = mapnik::polygon_pattern_symbolizer, T5 = mapnik::raster_symbolizer, T6 = mapnik::shield_symbolizer, T7 = mapnik::text_symbolizer, T8 = mapnik::building_symbolizer, T9 = mapnik::markers_symbolizer, T10 = boost::detail::variant::void_, T11 = boost::detail::variant::void_, T12 = boost::detail::variant::void_, T13 = boost::detail::variant::void_, T14 = boost::detail::variant::void_, T15 = boost::detail::variant::void_, T16 = boost::detail::variant::void_, T17 = boost::detail::variant::void_, T18 = boost::detail::variant::void_, T19 = boost::detail::variant::void_]::first_step, Visitor = boost::detail::variant::invoke_visitor<mapnik::symbolizer_attributes>, VoidPtrCV = const void*, NoBackupFlag = boost::variant<mapnik::point_symbolizer, mapnik::line_symbolizer, mapnik::line_pattern_symbolizer, mapnik::polygon_symbolizer, mapnik::polygon_pattern_symbolizer, mapnik::raster_symbolizer, mapnik::shield_symbolizer, mapnik::text_symbolizer, mapnik::building_symbolizer, mapnik::markers_symbolizer, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>::has_fallback_type_]::next_which, S = boost::detail::variant::visitation_impl(int, int, Visitor&, VoidPtrCV, mpl_::false_, NoBackupFlag, Which*, step0*) [with Which = boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::internal_apply_visitor_impl(int, int, Visitor&, VoidPtrCV) [with Visitor = boost::detail::variant::invoke_visitor<mapnik::symbolizer_attributes>, VoidPtrCV = const void*, T0_ = mapnik::point_symbolizer, T1 = mapnik::line_symbolizer, T2 = mapnik::line_pattern_symbolizer, T3 = mapnik::polygon_symbolizer, T4 = mapnik::polygon_pattern_symbolizer, T5 = mapnik::raster_symbolizer, T6 = mapnik::shield_symbolizer, T7 = mapnik::text_symbolizer, T8 = mapnik::building_symbolizer, T9 = mapnik::markers_symbolizer, T10 = boost::detail::variant::void_, T11 = boost::detail::variant::void_, T12 = boost::detail::variant::void_, T13 = boost::detail::variant::void_, T14 = boost::detail::variant::void_, T15 = boost::detail::variant::void_, T16 = boost::detail::variant::void_, T17 = boost::detail::variant::void_, T18 = boost::detail::variant::void_, T19 = boost::detail::variant::void_]::first_which, step0 = boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::internal_apply_visitor_impl(int, int, Visitor&, VoidPtrCV) [with Visitor = boost::detail::variant::invoke_visitor<mapnik::symbolizer_attributes>, VoidPtrCV = const void*, T0_ = mapnik::point_symbolizer, T1 = mapnik::line_symbolizer, T2 = mapnik::line_pattern_symbolizer, T3 = mapnik::polygon_symbolizer, T4 = mapnik::polygon_pattern_symbolizer, T5 = mapnik::raster_symbolizer, T6 = mapnik::shield_symbolizer, T7 = mapnik::text_symbolizer, T8 = mapnik::building_symbolizer, T9 = mapnik::markers_symbolizer, T10 = boost::detail::variant::void_, T11 = boost::detail::variant::void_, T12 = boost::detail::variant::void_, T13 = boost::detail::variant::void_, T14 = boost::detail::variant::void_, T15 = boost::detail::variant::void_, T16 = boost::detail::variant::void_, T17 = boost::detail::variant::void_, T18 = boost::detail::variant::void_, T19 = boost::detail::variant::void_]::first_step, Visitor = boost::detail::variant::invoke_visitor<mapnik::symbolizer_attributes>, VoidPtrCV = const void*, NoBackupFlag = boost::variant<mapnik::point_symbolizer, mapnik::line_symbolizer, mapnik::line_pattern_symbolizer, mapnik::polygon_symbolizer, mapnik::polygon_pattern_symbolizer, mapnik::raster_symbolizer, mapnik::shield_symbolizer, mapnik::text_symbolizer, mapnik::building_symbolizer, mapnik::markers_symbolizer, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>::has_fallback_type_]::next_step, Visitor = boost::detail::variant::invoke_visitor<mapnik::symbolizer_attributes>, VPCV = const void*, NBF = boost::variant<mapnik::point_symbolizer, mapnik::line_symbolizer, mapnik::line_pattern_symbolizer, mapnik::polygon_symbolizer, mapnik::polygon_pattern_symbolizer, mapnik::raster_symbolizer, mapnik::shield_symbolizer, mapnik::text_symbolizer, mapnik::building_symbolizer, mapnik::markers_symbolizer, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>::has_fallback_type_]: Assertion `false' failed.\r\n}}}\r\n\r\nHere's a GDB backtrace:\r\n{{{\r\n(gdb) bt\r\n#0  0xb7fe1424 in __kernel_vsyscall ()\r\n#1  0xb68a33d0 in raise () from /lib/i686/cmov/libc.so.6\r\n#2  0xb68a6a85 in abort () from /lib/i686/cmov/libc.so.6\r\n#3  0xb689c4ee in __assert_fail () from /lib/i686/cmov/libc.so.6\r\n#4  0x0805676b in boost::detail::variant::visitation_impl<mpl_::int_<20>, boost::detail::variant::visitation_impl_step<boost::mpl::l_iter<boost::mpl::l_end>, boost::mpl::l_iter<boost::mpl::l_end> >, boost::detail::variant::invoke_visitor<mapnik::symbolizer_attributes>, void const*, boost::variant<mapnik::point_symbolizer, mapnik::line_symbolizer, mapnik::line_pattern_symbolizer, mapnik::polygon_symbolizer, mapnik::polygon_pattern_symbolizer, mapnik::raster_symbolizer, mapnik::shield_symbolizer, mapnik::text_symbolizer, mapnik::building_symbolizer, mapnik::markers_symbolizer, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>::has_fallback_type_> () at /usr/include/boost/variant/detail/visitation_impl.hpp:203\r\n#5  0x08056bfb in boost::detail::variant::visitation_impl<mpl_::int_<0>, boost::detail::variant::visitation_impl_step<boost::mpl::l_iter<boost::mpl::l_item<mpl_::long_<10l>, mapnik::point_symbolizer, boost::mpl::l_item<mpl_::long_<9l>, mapnik::line_symbolizer, boost::mpl::l_item<mpl_::long_<8l>, mapnik::line_pattern_symbolizer, boost::mpl::l_item<mpl_::long_<7l>, mapnik::polygon_symbolizer, boost::mpl::l_item<mpl_::long_<6l>, mapnik::polygon_pattern_symbolizer, boost::mpl::l_item<mpl_::long_<5l>, mapnik::raster_symbolizer, boost::mpl::l_item<mpl_::long_<4l>, mapnik::shield_symbolizer, boost::mpl::l_item<mpl_::long_<3l>, mapnik::text_symbolizer, boost::mpl::l_item<mpl_::long_<2l>, mapnik::building_symbolizer, boost::mpl::l_item<mpl_::long_<1l>, mapnik::markers_symbolizer, boost::mpl::l_end> > > > > > > > > > >, boost::mpl::l_iter<boost::mpl::l_end> >, boost::detail::variant::invoke_visitor<mapnik::symbolizer_attributes>, void const*, boost::variant<mapnik::point_symbolizer, mapnik::line_symbolizer, mapnik::line_pattern_symbolizer, mapnik::polygon_symbolizer, mapnik::polygon_pattern_symbolizer, mapnik::raster_symbolizer, mapnik::shield_symbolizer, mapnik::text_symbolizer, mapnik::building_symbolizer, mapnik::markers_symbolizer, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>::has_fallback_type_> (\r\n    internal_which=6357090, logical_which=6357090, visitor=..., storage=0x83cfbd4, \r\n    no_backup_flag=...) at /usr/include/boost/variant/detail/visitation_impl.hpp:280\r\n#6  0x08056c43 in boost::variant<mapnik::point_symbolizer, mapnik::line_symbolizer, mapnik::line_pattern_symbolizer, mapnik::polygon_symbolizer, mapnik::polygon_pattern_symbolizer, mapnik::raster_symbolizer, mapnik::shield_symbolizer, mapnik::text_symbolizer, mapnik::building_symbolizer, mapnik::markers_symbolizer, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>::internal_apply_visitor_impl<boost::detail::variant::invoke_visitor<mapnik::symbolizer_attributes>, void const*> (internal_which=6357090, logical_which=6357090, \r\n---Type <return> to continue, or q <return> to quit---\r\n    visitor=..., storage=0x83cfbd4) at /usr/include/boost/variant/variant.hpp:1738\r\n#7  0x08056c86 in boost::variant<mapnik::point_symbolizer, mapnik::line_symbolizer, mapnik::line_pattern_symbolizer, mapnik::polygon_symbolizer, mapnik::polygon_pattern_symbolizer, mapnik::raster_symbolizer, mapnik::shield_symbolizer, mapnik::text_symbolizer, mapnik::building_symbolizer, mapnik::markers_symbolizer, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>::internal_apply_visitor<boost::detail::variant::invoke_visitor<mapnik::symbolizer_attributes> > (this=0x83cfbd0, visitor=...) at /usr/include/boost/variant/variant.hpp:1760\r\n#8  0x08056cb6 in boost::variant<mapnik::point_symbolizer, mapnik::line_symbolizer, mapnik::line_pattern_symbolizer, mapnik::polygon_symbolizer, mapnik::polygon_pattern_symbolizer, mapnik::raster_symbolizer, mapnik::shield_symbolizer, mapnik::text_symbolizer, mapnik::building_symbolizer, mapnik::markers_symbolizer, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>::apply_visitor<mapnik::symbolizer_attributes> (this=0x83cfbd0, visitor=...)\r\n    at /usr/include/boost/variant/variant.hpp:1782\r\n#9  0x08056cd0 in boost::apply_visitor<mapnik::symbolizer_attributes, boost::variant<mapnik::point_symbolizer, mapnik::line_symbolizer, mapnik::line_pattern_symbolizer, mapnik::polygon_symbolizer, mapnik::polygon_pattern_symbolizer, mapnik::raster_symbolizer, mapnik::shield_symbolizer, mapnik::text_symbolizer, mapnik::building_symbolizer, mapnik::markers_symbolizer, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> const> (visitor=..., \r\n    visitable=...) at /usr/include/boost/variant/detail/apply_visitor_unary.hpp:56\r\n#10 0x08056e1d in mapnik::attribute_collector<mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2> >, boost::shared_ptr<mapnik::raster> > >::visit (this=0xb40e7f38, r=...)\r\n    at /usr/include/mapnik/attribute_collector.hpp:88\r\n#11 0x08053917 in mapnik::rule<mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2> >, boost::shared_ptr<mapnik::raster> >, mapnik::filter>::accept (this=0x83ccf94, v=...)\r\n    at /usr/include/mapnik/rule.hpp:294\r\n#12 0x080589fb in mapnik::feature_style_processor<mapnik::agg_renderer<mapnik::Image32> >::apply_to_layer (this=0xb40e8100, lay=..., p=..., proj0=..., \r\n    scale_denom=4000000.0000000005)\r\n    at /usr/include/mapnik/feature_style_processor.hpp:170\r\n#13 0x080594cc in mapnik::feature_style_processor<mapnik::agg_renderer<mapnik::Image32> >::apply (this=0xb40e8100) at /usr/include/mapnik/feature_style_processor.hpp:92\r\n#14 0x0805283c in gpsdisplay_mapnik_draw_map (_osm_xml=0x805eb3e \"osm.xml\", \r\n    _projection=0x805eb48 \"+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over\", _long=8.4936710000000009, \r\n    _lat=52.037556000000002, scale=20000, width=200, height=200) at mapnik.cpp:101\r\n---Type <return> to continue, or q <return> to quit---\r\n#15 0x080504ca in update_image_thread (arg=0x0) at gpsdisplay.c:184\r\n#16 0xb781f4b5 in start_thread () from /lib/i686/cmov/libpthread.so.0\r\n#17 0xb6959a4e in clone () from /lib/i686/cmov/libc.so.6\r\n}}}\r\n\r\n\r\n[1] http://lug-owl.de/~jbglaw/gpsdisplay/gpsdisplay-0.1.8.tar.gz\r\n\r\n[2] git clone http://lug-owl.de/~jbglaw/gpsdisplay.git\r\n\r\n[3] http://svn.openstreetmap.org/applications/rendering/mapnik/osm.xml","comments":1,"title":"Empty map / Assertion after upgrading from 0.5.0 to 0.6.0 / SVN Trunk","updated_at":"2011-10-11T07:53:55Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/404","id":1871995,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"},"html_url":"https://github.com/mapnik-org/mapnik/issues/404","labels":[{"name":"Core_Library","url":"https://api.github.com/repos/mapnik-org/mapnik/labels/Core_Library","color":"FFFFFF"}],"state":"open"},"legacy":{"issue_id":1871995,"comment_id":2357679}}