Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic using most recent code snapshot while loading daily planet file #14

Closed
greenlion opened this issue Jan 14, 2014 · 5 comments
Closed

Comments

@greenlion
Copy link

...
[Jan 14 03:23:27] [21m53s] C: 0/s 0/s ( 0.0%) N: 0/s 0/s ( 0.0%) W: 0/s 0/s ( 0.0%) R: 560/s 390/s[Jan 14 03:23:27] [21m53s] C: 0/s 0/s ( 0.0%) N: 0/s 0/s ( 0.0%) W: 0/s 0/s ( 0.0%) R: 560/s 320/s

panic: runtime error: index out of range

goroutine 63 [running]:
runtime.panic(0x7b2c60, 0xe8ed97)
/home/os/go/src/pkg/runtime/panic.c:266 +0xb6
imposm3/geom.mergeRings(0xc213f4bf40, 0x5, 0x8, 0x4, 0x1, ...)
/home/os/imposm/src/imposm3/geom/ring.go:85 +0x1b00
imposm3/geom.BuildRings(0xc2100b1360, 0x0, 0x0, 0x0, 0x0, ...)
/home/os/imposm/src/imposm3/geom/multipolygon.go:97 +0x4bc
imposm3/geom.PrepareRelation(0xc2100b1360, 0xf11, 0x0, 0x0, 0x0)
/home/os/imposm/src/imposm3/geom/multipolygon.go:32 +0x27
imposm3/writer.(_RelationWriter).loop(0xc216d15d20)
/home/os/imposm/src/imposm3/writer/relations.go:74 +0x2f1
created by imposm3/writer.(_OsmElemWriter).Start
/home/os/imposm/src/imposm3/writer/writer.go:52 +0x8f

command line:

./imposm3 import -cachedir /ssd_cache -connection postgis://xyz:abc@localhost:5432/import -mapping "mapping.json" -read /osm.pbf -write -appendcache -srid 4326

@olt
Copy link
Member

olt commented Jan 14, 2014

Should have been fixed with de4ec76 :-)

@greenlion
Copy link
Author

It successfully parsed all the rings this time. Thanks.

@tds4u
Copy link

tds4u commented Jan 19, 2014

Can someone update static packages for e.g. Debian systems? Can't compile on wheezy without using testing branch :-(

@olt
Copy link
Member

olt commented Jan 22, 2014

Binaries are updated at http://imposm.org/static/rel/
But they won't work on Debian 7 as far as I know (see #5).

@tds4u
Copy link

tds4u commented Jan 22, 2014

They work when you update GLIBC :-)

Package: libc6
Status: install ok installed
Priority: required
Section: libs
Installed-Size: 10234
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: amd64
Multi-Arch: same
Source: eglibc
Version: 2.17-97
Replaces: libc6-amd64
Provides: glibc-2.17-1
Depends: libgcc1
Suggests: glibc-doc, debconf | debconf-2.0, locales
Breaks: hurd (<< 1:0.5.git20130928-2), locales (<< 2.17), locales-all (<< 2.17), lsb-core (<= 3.2-27), nscd (<< 2.17)
Conflicts: prelink (<= 0.0.20090311-1), tzdata (<< 2007k-1), tzdata-etch
Conffiles:
 /etc/ld.so.conf.d/x86_64-linux-gnu.conf 593ad12389ab2b6f952e7ede67b8fbbf
Description: Embedded GNU C Library: Shared libraries
Homepage: http://www.eglibc.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants