Processed: Re: Bug#771705: osm2pgsql: Import fails in PolygonBuilder.cpp:261

2014-12-05 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 771705 geos
Bug #771705 [osm2pgsql] osm2pgsql: Import fails in PolygonBuilder.cpp:261
Bug reassigned from package 'osm2pgsql' to 'geos'.
No longer marked as found in versions osm2pgsql/0.86.0-1.
Ignoring request to alter fixed versions of bug #771705 to the same values 
previously set
 notfound 771705 osm2pgsql/0.86.0-1
Bug #771705 [geos] osm2pgsql: Import fails in PolygonBuilder.cpp:261
Ignoring request to alter found versions of bug #771705 to the same values 
previously set
 found 771705 geos/3.2.2-1
Bug #771705 [geos] osm2pgsql: Import fails in PolygonBuilder.cpp:261
Marked as found in versions geos/3.2.2-1.
 fixed 771705 geos/3.3.1-1
Bug #771705 [geos] osm2pgsql: Import fails in PolygonBuilder.cpp:261
Marked as fixed in versions geos/3.3.1-1.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
771705: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771705
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#771705: osm2pgsql: Import fails in PolygonBuilder.cpp:261

2014-12-01 Thread Daniel Baur
Package: osm2pgsql
Version: 0.86.0-1
Severity: important

Hello,

I try to import the last planet-dump into the database. The import fails
with

--snip

Reading in file: /data/dump/planet-latest.osm.pbf
Processing: Node(2614096k 177.8k/s) Way(261025k 27.43k/s) Relation(46730
40.49/s)osm2pgsql: PolygonBuilder.cpp:261: geos::geomgraph::EdgeRing*
geos::operation::overlay::PolygonBuilder::findShell(std::vectorgeos::operation::overlay::MinimalEdgeRing*,
std::allocatorgeos::operation::overlay::MinimalEdgeRing* *): Assertion
`shellCount = 1' failed.

--snap---

after a few hours. If you need more data, please tell.

Thank you in advantage.

Sincerely,
DaB.


-- System Information:
Debian Release: 6.0.10
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable'), (400, 'stable'), 
(200, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/16 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages osm2pgsql depends on:
ii  libbz2-1.0 1.0.5-6+squeeze1  high-quality block-sorting file co
ii  libc6  2.19-13   GNU C Library: Shared libraries
ii  libgcc11:4.7.2-5 GCC support library
ii  libgeos-3.4.2  3.4.2-6   Geometry engine for Geographic Inf
ii  liblua5.2-05.2.3-1.1 Shared library for the Lua interpr
ii  libpq5 9.4~beta3-3   PostgreSQL C client library
ii  libproj0   4.8.0-5   Cartographic projection library
ii  libprotobuf-c1 1.0.2-1   Protocol Buffers C shared library 
ii  libstdc++6 4.9.1-19  GNU Standard C++ Library v3
ii  libxml22.7.8.dfsg-2+squeeze8 GNOME XML library
ii  zlib1g 1:1.2.7.dfsg-13   compression library - runtime

Versions of packages osm2pgsql recommends:
ii  postgis   1.5.1-5geographic objects support for Pos

osm2pgsql suggests no packages.

-- no debconf information

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#771705: osm2pgsql: Import fails in PolygonBuilder.cpp:261

2014-12-01 Thread Sebastiaan Couwenberg
Hi Daniel,

On 12/01/2014 08:22 PM, Daniel Baur wrote:
 I try to import the last planet-dump into the database. The import fails
 with
 
 --snip
 
 Reading in file: /data/dump/planet-latest.osm.pbf
 Processing: Node(2614096k 177.8k/s) Way(261025k 27.43k/s) Relation(46730
 40.49/s)osm2pgsql: PolygonBuilder.cpp:261: geos::geomgraph::EdgeRing*
 geos::operation::overlay::PolygonBuilder::findShell(std::vectorgeos::operation::overlay::MinimalEdgeRing*,
 std::allocatorgeos::operation::overlay::MinimalEdgeRing* *): Assertion
 `shellCount = 1' failed.
 
 --snap---
 
 after a few hours. If you need more data, please tell.

This looks like an issue in GEOS, not osm2pgsql.

Searching for the error message turns up several threads marking this
issue as fixed in GEOS = 3.3.3. E.g.

https://github.com/openstreetmap/osm2pgsql/issues/124

This change in GEOS removes the `shellCount = 1' assert, that is
triggered on your system:

http://trac.osgeo.org/geos/changeset/3286

This leads me to think that the mix of squeeze, wheezy and jessie
packages on your system is the actual cause.

To rule out your esoteric mix of package from different Debian releases,
having a smaller test case than importing a full planet dump would be
most helpful. We can't expect anybody to perform full planet imports to
troubleshoot this issue. I for instance don't have the disk space
available for a full planet import.

If you can pinpoint which OSM objects were being processed at the time
of the failure, reproducing the failure with a smaller extract for the
area should be doable.

Reproducing the issue on a proper jessie system would be even more helpful.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/E88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel