[Tile-serving] [osm2pgsql] Address boundary error after processing nodes (#451)
Florian Richter
notifications at github.com
Tue Sep 15 08:00:02 UTC 2015
Hi,
I am experiencing a strange segfault (Address boundary error) after processing all nodes. I am trying to import a ~400MB file that contains only nodes into the postgres database.
The file is based on the current planet-latest.osm.pbf after running osmconvert with `--all-to-nodes` and osmosis to filter certain tags. I tried running osm2pgsql with or without slim mode and different amount of cache.
For example like this: `osm2pgsql -csk -C 16000 -d osm_planet planet.pbf`
I run `osm2pgsql SVN version 0.82.0 (64bit id space)` on a Intel Xeon E5-1650 with 128GB of memory and ~270GB of free SSD space.
The program crashes and the console shows this error: `“osm2pgsql -csk -C 16000 -d osm_planet temp.pbf” terminated by signal SIGSEGV (Address boundary error)`
------------
`Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
NOTICE: table "planet_osm_point" does not exist, skipping
NOTICE: table "planet_osm_point_tmp" does not exist, skipping
Setting up table: planet_osm_line
NOTICE: table "planet_osm_line" does not exist, skipping
NOTICE: table "planet_osm_line_tmp" does not exist, skipping
Setting up table: planet_osm_polygon
NOTICE: table "planet_osm_polygon" does not exist, skipping
NOTICE: table "planet_osm_polygon_tmp" does not exist, skipping
Setting up table: planet_osm_roads
NOTICE: table "planet_osm_roads" does not exist, skipping
NOTICE: table "planet_osm_roads_tmp" does not exist, skipping
Allocating memory for dense node cache
Allocating dense node cache in one big chunk
Allocating memory for sparse node cache
Sharing dense sparse
Node-cache: cache=16000MB, maxblocks=2048001*8192, allocation method=11
Mid: pgsql, scale=100 cache=16000
Setting up table: planet_osm_nodes
NOTICE: table "planet_osm_nodes" does not exist, skipping
Setting up table: planet_osm_ways
NOTICE: table "planet_osm_ways" does not exist, skipping
Setting up table: planet_osm_rels
NOTICE: table "planet_osm_rels" does not exist, skipping
Reading in file: temp.pbf
Processing: Node(8090k 110.8k/s) Way(0k 0.00k/s) Relation(0 0.00/s)fish: Job 1, “osm2pgsql -csk -C 16000 -U postgres -d osm_planet planet.pbf” terminated by signal SIGSEGV (Address boundary error)`
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/451
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150915/a4264556/attachment.html>
More information about the Tile-serving
mailing list