[osmosis-dev] Osmosis crash: OsmosisRuntimeException: An output error has occurred

Simon Nuttall info at cyclestreets.net
Tue Jun 10 09:35:55 UTC 2014


I'm getting this report from running the osmosis command below. The
timings indicate that it crashes after 75 minutes. If I run the
osmosis for only the British Isles that takes two hours - that may be
a clue to where the crashing is occuring. But I do not know what to do
to debug this problem.

Simon

Output:

09-Jun-2014 16:55:11
org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager
waitForCompletion
FINE: Waiting for task 1-read-pbf to complete.

09-Jun-2014 18:10:23
org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager
waitForCompletion
SEVERE: Thread for task 1-read-pbf failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output
error has occurred, aborting.
        at org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors(DataPostbox.java:160)
        at org.openstreetmap.osmosis.core.store.DataPostbox.populateCentralQueue(DataPostbox.java:216)
        at org.openstreetmap.osmosis.core.store.DataPostbox.put(DataPostbox.java:303)
        at org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxSink.process(DataPostboxSink.java:45)
        at org.openstreetmap.osmosis.core.sort.v0_6.SortedEntityPipeValidator.process(SortedEntityPipeValidator.java:68)
        at org.openstreetmap.osmosis.tagfilter.v0_6.TagFilter.process(TagFilter.java:141)
        at org.openstreetmap.osmosis.tagfilter.v0_6.TagFilter.process(TagFilter.java:141)
        at crosby.binary.osmosis.OsmosisBinaryParser.parseDense(OsmosisBinaryParser.java:138)
        at org.openstreetmap.osmosis.osmbinary.BinaryParser.parse(BinaryParser.java:124)
        at org.openstreetmap.osmosis.osmbinary.BinaryParser.handleBlock(BinaryParser.java:68)
        at org.openstreetmap.osmosis.osmbinary.file.FileBlock.process(FileBlock.java:135)
        at org.openstreetmap.osmosis.osmbinary.file.BlockInputStream.process(BlockInputStream.java:34)
        at crosby.binary.osmosis.OsmosisReader.run(OsmosisReader.java:45)
        at java.lang.Thread.run(Thread.java:701)



Command:

[09-Jun-2014 15:55:10 UTC] reconnectExec About to execute
/usr/local/bin/osmosis -v 100 --read-pbf
/websites/www/content/data/osm/downloads/europe/british-isles-latest.os
m.pbf  --tag-filter accept-ways highway=* leisure=* aerialway=*
route=ferry man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --read-pbf /website
s/www/content/data/osm/downloads/europe/denmark-latest.osm.pbf
--tag-filter accept-ways highway=* leisure=* aerialway=* route=ferry
man_made=pier,jetty --tag-filter reje
ct-ways highway=motorway,construction --merge --read-pbf
/websites/www/content/data/osm/downloads/europe/estonia-latest.osm.pbf
 --tag-filter accept-ways highway=* leisur
e=* aerialway=* route=ferry man_made=pier,jetty --tag-filter
reject-ways highway=motorway,construction --merge --read-pbf
/websites/www/content/data/osm/downloads/europe/
germany-latest.osm.pbf  --tag-filter accept-ways highway=* leisure=*
aerialway=* route=ferry man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --
merge --read-pbf
/websites/www/content/data/osm/downloads/europe/czech-republic-latest.osm.pbf
 --tag-filter accept-ways highway=* leisure=* aerialway=* route=ferry
man_m
ade=pier,jetty --tag-filter reject-ways highway=motorway,construction
--merge --read-pbf
/websites/www/content/data/osm/downloads/europe/croatia-latest.osm.pbf
 --tag-fil
ter accept-ways highway=* leisure=* aerialway=* route=ferry
man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --merge --read-pbf /websites/www/co
ntent/data/osm/downloads/europe/lithuania-latest.osm.pbf  --tag-filter
accept-ways highway=* leisure=* aerialway=* route=ferry
man_made=pier,jetty --tag-filter reject-way
s highway=motorway,construction --merge --read-pbf
/websites/www/content/data/osm/downloads/europe/iceland-latest.osm.pbf
 --tag-filter accept-ways highway=* leisure=* ae
rialway=* route=ferry man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --merge --read-pbf
/websites/www/content/data/osm/downloads/europe/norway
-latest.osm.pbf  --tag-filter accept-ways highway=* leisure=*
aerialway=* route=ferry man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --merge -
-read-pbf /websites/www/content/data/osm/downloads/europe/sweden-latest.osm.pbf
 --tag-filter accept-ways highway=* leisure=* aerialway=* route=ferry
man_made=pier,jetty
--tag-filter reject-ways highway=motorway,construction --merge
--read-pbf /websites/www/content/data/osm/downloads/europe/netherlands-latest.osm.pbf
 --tag-filter accept-
ways highway=* leisure=* aerialway=* route=ferry man_made=pier,jetty
--tag-filter reject-ways highway=motorway,construction --merge
--read-pbf /websites/www/content/data/
osm/downloads/europe/belgium-latest.osm.pbf  --tag-filter accept-ways
highway=* leisure=* aerialway=* route=ferry man_made=pier,jetty
--tag-filter reject-ways highway=mot
orway,construction --merge --read-pbf
/websites/www/content/data/osm/downloads/europe/luxembourg-latest.osm.pbf
 --tag-filter accept-ways highway=* leisure=* aerialway=*
route=ferry man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --merge --read-pbf
/websites/www/content/data/osm/downloads/europe/france-latest.os
m.pbf  --tag-filter accept-ways highway=* leisure=* aerialway=*
route=ferry man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --merge --read-pbf
/websites/www/content/data/osm/downloads/europe/switzerland-latest.osm.pbf
 --tag-filter accept-ways highway=* leisure=* aerialway=* route=ferry
man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --merge --read-pbf
/websites/www/content/data/osm/downloads/north-america/us/new-york-latest.osm.pbf
 --tag-filter accept-ways highway=* leisure=* aerialway=* route=ferry
man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --bounding-polygon
file="import/fz_ny_cm.txt" --merge --read-pbf
/websites/www/content/data/osm/downloads/north-america/us/new-jersey-latest.osm.pbf
 --tag-filter accept-ways highway=* leisure=* aerialway=* route=ferry
man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --bounding-polygon
file="import/fz_nj_cm.txt" --merge --read-pbf
/websites/www/content/data/osm/downloads/europe/spain-latest.osm.pbf
--tag-filter accept-ways highway=* leisure=* aerialway=* route=ferry
man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --bounding-polygon
file="import/fz_spain_cm.txt" --merge --read-pbf
/websites/www/content/data/osm/downloads/north-america/us/massachusetts-latest.osm.pbf
 --tag-filter accept-ways highway=* leisure=* aerialway=* route=ferry
man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --bounding-polygon
file="import/fz_boston_cm.txt" --merge --read-pbf
/websites/www/content/data/osm/downloads/north-america/us/district-of-columbia-latest.osm.pbf
 --tag-filter accept-ways highway=* leisure=* aerialway=* route=ferry
man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --merge  --buffer --write-apidb
dbType=mysql populateCurrentTables=no host=localhost
database=planetExtractOSM140609 user=import password=
validateSchemaVersion=no



More information about the osmosis-dev mailing list