You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: milo[at]opengeo.nl [Submitted to the original trac issue database at 6.29pm, Wednesday, 16th September 2009]
Today I installed gaul, gcal and boost. And now I can no longer use osm2pgsql, it crashes. Don't know if this is osm2pgsql related, but I would like to eliminate possibilities.
Password:
Using projection SRS 4326 (Latlong)
Setting up table: planet_osm_point
Setting up table: planet_osm_line
Setting up table: planet_osm_polygon
Setting up table: planet_osm_roads
Mid: pgsql, scale=10000000, cache=800MB, maxblocks=102401*8192
Setting up table: planet_osm_nodes
*** WARNING: intarray contrib module not installed
*** The resulting database will not be usable for applying diffs.
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_nodes_pkey" for table "planet_osm_nodes"
Setting up table: planet_osm_ways
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_ways_pkey" for table "planet_osm_ways"
Setting up table: planet_osm_rels
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_rels_pkey" for table "planet_osm_rels"
Reading in file: ../planet-bonaire-latest.osm.gz
Processing: Node(13k) Way(1k) Relation(0k)
Node stats: total(13863), max(493515593)
Way stats: total(1220), max(40631148)
Relation stats: total(0), max(0)
I will try to reproduce the issue myself. Could you provide a link to where I could download planet-aruba-latest.osm.gz?
Are you using the standard OSM default.style? If modified, can you provide a copy?
Author: jburgess777[at]googlemail.com [Added to the original trac issue at 8.06pm, Thursday, 17th September 2009]
I tried downloading a copy of planet-aruba-latest.osm.gz from http://planet.openstreet.nl/ & rebuilt osm2pgsql against geos-3.1.1 and was able to run the command line you specified without error. I even ran it with valgrind and that reported no errors either.
Can you be specific about your setup: OS, gcc, boost, glibc versions etc?
Reporter: milo[at]opengeo.nl
[Submitted to the original trac issue database at 6.29pm, Wednesday, 16th September 2009]
Today I installed gaul, gcal and boost. And now I can no longer use osm2pgsql, it crashes. Don't know if this is osm2pgsql related, but I would like to eliminate possibilities.
./osm2pgsql -H localhost -l -s -d aruba_routing -U postgres -W ../planet-aruba-latest.osm.gz
osm2pgsql SVN version 0.67-17664
Password:
Using projection SRS 4326 (Latlong)
Setting up table: planet_osm_point
Setting up table: planet_osm_line
Setting up table: planet_osm_polygon
Setting up table: planet_osm_roads
Mid: pgsql, scale=10000000, cache=800MB, maxblocks=102401*8192
Setting up table: planet_osm_nodes
*** WARNING: intarray contrib module not installed
*** The resulting database will not be usable for applying diffs.
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_nodes_pkey" for table "planet_osm_nodes"
Setting up table: planet_osm_ways
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_ways_pkey" for table "planet_osm_ways"
Setting up table: planet_osm_rels
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_rels_pkey" for table "planet_osm_rels"
Reading in file: ../planet-bonaire-latest.osm.gz
Processing: Node(13k) Way(1k) Relation(0k)
Node stats: total(13863), max(493515593)
Way stats: total(1220), max(40631148)
Relation stats: total(0), max(0)
Going over pending ways
processing way (0k)*** glibc detected *** ./osm2pgsql: munmap_chunk(): invalid pointer: 0x00007fff7b706530 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f8571930258]
/usr/lib/libgeos-3.1.1.so(_ZNK4geos4geom7Polygon8apply_roEPNS0_23GeometryComponentFilterE+0x1c)[0x7f8572cd6100]
./osm2pgsql[0x412027]
./osm2pgsql[0x40e811]
./osm2pgsql[0x4067fd]
./osm2pgsql[0x40cc96]
./osm2pgsql[0x40acde]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f85718daa26]
./osm2pgsql[0x403b89]
======= Memory map: ========
00400000-0041a000 r-xp 00000000 08:07 11879111 /home/milo/osm2pgsql/osm2pgsql
00619000-0061a000 r--p 00019000 08:07 11879111 /home/milo/osm2pgsql/osm2pgsql
0061a000-0061c000 rw-p 0001a000 08:07 11879111 /home/milo/osm2pgsql/osm2pgsql
0061c000-04c1e000 rw-p 0061c000 00:00 0
066a3000-06c9a000 rw-p 066a3000 00:00 0 [heap]
7f8570ca9000-7f8570cb4000 r-xp 00000000 08:05 1019936 /lib64/libnss_files-2.10.1.so
7f8570cb4000-7f8570eb4000 ---p 0000b000 08:05 1019936 /lib64/libnss_files-2.10.1.so
7f8570eb4000-7f8570eb5000 r--p 0000b000 08:05 1019936 /lib64/libnss_files-2.10.1.so
7f8570eb5000-7f8570eb6000 rw-p 0000c000 08:05 1019936 /lib64/libnss_files-2.10.1.so
7f8570eb6000-7f8570ebe000 r-xp 00000000 08:05 1019892 /lib64/libcrypt-2.10.1.so
7f8570ebe000-7f85710be000 ---p 00008000 08:05 1019892 /lib64/libcrypt-2.10.1.so
7f85710be000-7f85710bf000 r--p 00008000 08:05 1019892 /lib64/libcrypt-2.10.1.so
7f85710bf000-7f85710c0000 rw-p 00009000 08:05 1019892 /lib64/libcrypt-2.10.1.so
7f85710c0000-7f85710ee000 rw-p 7f85710c0000 00:00 0
7f85710ee000-7f8571240000 r-xp 00000000 08:05 956131 /usr/lib64/libcrypto.so.0.9.8
7f8571240000-7f8571440000 ---p 00152000 08:05 956131 /usr/lib64/libcrypto.so.0.9.8
7f8571440000-7f857144e000 r--p 00152000 08:05 956131 /usr/lib64/libcrypto.so.0.9.8
7f857144e000-7f8571466000 rw-p 00160000 08:05 956131 /usr/lib64/libcrypto.so.0.9.8
7f8571466000-7f857146a000 rw-p 7f8571466000 00:00 0
7f857146a000-7f85714b1000 r-xp 00000000 08:05 956134 /usr/lib64/libssl.so.0.9.8
7f85714b1000-7f85716b0000 ---p 00047000 08:05 956134 /usr/lib64/libssl.so.0.9.8
7f85716b0000-7f85716b2000 r--p 00046000 08:05 956134 /usr/lib64/libssl.so.0.9.8
7f85716b2000-7f85716b8000 rw-p 00048000 08:05 956134 /usr/lib64/libssl.so.0.9.8
7f85716b8000-7f85716ba000 r-xp 00000000 08:05 1019593 /lib64/libdl-2.10.1.so
7f85716ba000-7f85718ba000 ---p 00002000 08:05 1019593 /lib64/libdl-2.10.1.so
7f85718ba000-7f85718bb000 r--p 00002000 08:05 1019593 /lib64/libdl-2.10.1.so
7f85718bb000-7f85718bc000 rw-p 00003000 08:05 1019593 /lib64/libdl-2.10.1.so
7f85718bc000-7f8571a0d000 r-xp 00000000 08:05 1019934 /lib64/libc-2.10.1.so
7f8571a0d000-7f8571c0d000 ---p 00151000 08:05 1019934 /lib64/libc-2.10.1.so
7f8571c0d000-7f8571c11000 r--p 00151000 08:05 1019934 /lib64/libc-2.10.1.so
7f8571c11000-7f8571c12000 rw-p 00155000 08:05 1019934 /lib64/libc-2.10.1.so
7f8571c12000-7f8571c17000 rw-p 7f8571c12000 00:00 0
7f8571c17000-7f8571c2c000 r-xp 00000000 08:05 610234 /lib64/libgcc_s.so.1
7f8571c2c000-7f8571e2b000 ---p 00015000 08:05 610234 /lib64/libgcc_s.so.1
7f8571e2b000-7f8571e2c000 r--p 00014000 08:05 610234 /lib64/libgcc_s.so.1
7f8571e2c000-7f8571e2d000 rw-p 00015000 08:05 610234 /lib64/libgcc_s.so.1
7f8571e2d000-7f8571eaf000 r-xp 00000000 08:05 1019932 /lib64/libm-2.10.1.so
7f8571eaf000-7f85720ae000 ---p 00082000 08:05 1019932 /lib64/libm-2.10.1.so
7f85720ae000-7f85720af000 r--p 00081000 08:05 1019932 /lib64/libm-2.10.1.so
7f85720af000-7f85720b0000 rw-p 00082000 08:05 1019932 /lib64/libm-2.10.1.so
7f85720b0000-7f85720c7000 r-xp 00000000 08:05 1019412 /lib64/libpthread-2.10.1.so
7f85720c7000-7f85722c6000 ---p 00017000 08:05 1019412 /lib64/libpthread-2.10.1.so
7f85722c6000-7f85722c7000 r--p 00016000 08:05 1019412 /lib64/libpthread-2.10.1.so
7f85722c7000-7f85722c8000 rw-p 00017000 08:05 1019412 /lib64/libpthread-2.10.1.so
7f85722c8000-7f85722cc000 rw-p 7f85722c8000 00:00 0
7f85722cc000-7f85723b3000 r-xp 00000000 08:05 933226 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.3/libstdc++.so.6.0.10
7f85723b3000-7f85725b3000 ---p 000e7000 08:05 933226 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.3/libstdc++.so.6.0.10
7f85725b3000-7f85725ba000 r--p 000e7000 08:05 933226 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.3/libstdc++.so.6.0.10
7f85725ba000-7f85725bc000 rw-p 000ee000 08:05 933226 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.3/libstdc++.so.6.0.10
7f85725bc000-7f85725cf000 rw-p 7f85725bc000 00:00 0
7f85725cf000-7f857260d000 r-xp 00000000 08:05 898388 /usr/lib64/libproj.so.0.5.5
7f857260d000-7f857280c000 ---p 0003e000 08:05 898388 /usr/lib64/libproj.so.0.5.5
7f857280c000-7f857280d000 r--p 0003d000 08:05 898388 /usr/lib64/libproj.so.0.5.5
7f857280d000-7f857280f000 rw-p 0003e000 08:05 898388 /usr/lib64/libproj.so.0.5.5
7f857280f000-7f857281e000 r-xp 00000000 08:05 871706 /lib64/libbz2.so.1.0.5
7f857281e000-7f8572a1d000 ---p 0000f000 08:05 871706 /lib64/libbz2.so.1.0.5
7f8572a1d000-7f8572a1e000 r--p 0000e000 08:05 871706 /lib64/libbz2.so.1.0.5
7f8572a1e000-7f8572a1f000 rw-p 0000f000 08:05 871706 /lib64/libbz2.so.1.0.5
7f8572a1f000-7f8572a3d000 r-xp 00000000 08:05 980590 /usr/lib64/postgresql-8.3/lib64/libpq.so.5.1
7f8572a3d000-7f8572c3d000 ---p 0001e000 08:05 980590 /usr/lib64/postgresql-8.3/lib64/libpq.so.5.1
7f8572c3d000-7f8572c3e000 r--p 0001e000 08:05 980590 /usr/lib64/postgresql-8.3/lib64/libpq.so.5.1
7f8572c3e000-7f8572c40000 rw-p 0001f000 08:05 980590 /usr/lib64/postgresql-8.3/lib64/libpq.so.5.1
7f8572c40000-7f8572d81000 r-xp 00000000 08:05 922802 /usr/lib64/libgeos-3.1.1.so
7f8572d81000-7f8572f80000 ---p 00141000 08:05 922802 /usr/lib64/libgeos-3.1.1.so
7f8572f80000-7f8572f87000 r--p 00140000 08:05 922802 /usr/lib64/libgeos-3.1.1.so
7f8572f87000-7f8572f8b000 rw-p 00147000 08:05 922802 /usr/lib64/libgeos-3.1.1.so
7f8572f8b000-7f8572f9f000 r-xp 00000000 08:05 871412 /lib64/libz.so.1.2.3
7f8572f9f000-7f857319e000 ---p 00014000 08:05 871412 /lib64/libz.so.1.2.3
7f857319e000-7f857319f000 r--p 00013000 08:05 871412 /lib64/libz.so.1.2.3
7f857319f000-7f85731a0000 rw-p 00014000 08:05 871412 /lib64/libz.so.1.2.3
7f85731a0000-7f85732e0000 r-xp 00000000 08:05 953072 /usr/lib64/libxml2.so.2.7.3
7f85732e0000-7f85734df000 ---p 00140000 08:05 953072 /usr/lib64/libxml2.so.2.7.3
7f85734df000-7f85734e7000 r--p 0013f000 08:05 953072 /usr/lib64/libxml2.so.2.7.3
7f85734e7000-7f85734e9000 rw-p 00147000 08:05 953072 /usr/lib64/libxml2.so.2.7.3
7f85734e9000-7f85734ea000 rw-p 7f85734e9000 00:00 0
7f85734ea000-7f8573507000 r-xp 00000000 08:05 1019436 /lib64/ld-2.10.1.so
7f857355f000-7f85736f7000 rw-p 7f857355f000 00:00 0
7f8573704000-7f8573706000 rw-p 7f8573704000 00:00 0
7f8573706000-7f8573707000 r--p 0001c000 08:05 1019436 /lib64/ld-2.10.1.so
7f8573707000-7f8573708000 rw-p 0001d000 08:05 1019436 /lib64/ld-2.10.1.so
7fff7b6f3000-7fff7b708000 rw-p 7ffffffea000 00:00 0 [stack]
7fff7b7ff000-7fff7b800000 r-xp 7fff7b7ff000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted
The text was updated successfully, but these errors were encountered: