Created
March 25, 2017 08:23
-
-
Save pnorman/759d852a0064db20200a424b5d9e7cf8 to your computer and use it in GitHub Desktop.
osmium error with osm2pgsql changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) run -d osm2pgsql_test --number-processes 1 --output multi --style cleartables.json --flat-nodes nodes.bin ~/osm/osm2pgsql/tests/liechtenstein-2013-08-03.osm.pbf | |
Starting program: /home/pnorman/osm/osm2pgsql/build/osm2pgsql -d osm2pgsql_test --number-processes 1 --output multi --style cleartables.json --flat-nodes nodes.bin ~/osm/osm2pgsql/te | |
sts/liechtenstein-2013-08-03.osm.pbf | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
osm2pgsql version 0.93.0-dev (64 bit id space) | |
Using lua based tag processing pipeline with script admin.lua | |
Using lua based tag processing pipeline with script admin.lua | |
Using lua based tag processing pipeline with script place.lua | |
Using lua based tag processing pipeline with script place.lua | |
Using lua based tag processing pipeline with script protected.lua | |
Using lua based tag processing pipeline with script water.lua | |
Using lua based tag processing pipeline with script wetland.lua | |
Using lua based tag processing pipeline with script wood.lua | |
Using lua based tag processing pipeline with script water.lua | |
Using lua based tag processing pipeline with script transportation.lua Using lua based tag processing pipeline with script transportation.lua | |
Using lua based tag processing pipeline with script transportation.lua | |
Using lua based tag processing pipeline with script transportation.lua | |
Using lua based tag processing pipeline with script transit.lua | |
Using lua based tag processing pipeline with script transit.lua | |
Using lua based tag processing pipeline with script barrier.lua | |
Using lua based tag processing pipeline with script pier.lua | |
Using lua based tag processing pipeline with script pier.lua | |
Using lua based tag processing pipeline with script aero.lua | |
Using lua based tag processing pipeline with script aero.lua | |
Using lua based tag processing pipeline with script aero.lua | |
Using lua based tag processing pipeline with script aero.lua | |
Using lua based tag processing pipeline with script address.lua | |
Using lua based tag processing pipeline with script address.lua | |
Using lua based tag processing pipeline with script building.lua | |
Using lua based tag processing pipeline with script landform.lua | |
Using lua based tag processing pipeline with script landform.lua | |
Using lua based tag processing pipeline with script education.lua | |
Using lua based tag processing pipeline with script education.lua | |
Using lua based tag processing pipeline with script recreation.lua | |
Using lua based tag processing pipeline with script recreation.lua | |
Using lua based tag processing pipeline with script healthcare.lua | |
Using lua based tag processing pipeline with script healthcare.lua | |
Using projection SRS 3857 (Spherical Mercator) | |
Setting up table: admin_area | |
Setting up table: admin_line | |
Setting up table: place_point | |
Setting up table: place_polygon | |
Setting up table: protected_area | |
Setting up table: water_areas | |
Setting up table: wetland_areas | |
Setting up table: wood_area | |
Setting up table: waterways | |
Setting up table: rail | |
Setting up table: roads | |
Setting up table: road_areas | |
Setting up table: road_points | |
Setting up table: transit_point Setting up table: transit_polygon | |
Setting up table: barrier_line | |
Setting up table: pier_area | |
Setting up table: pier_line_raw | |
Setting up table: addresses_point | |
Setting up table: addresses_polygon | |
Setting up table: buildings | |
Setting up table: landform_point | |
Setting up table: landform_line | |
Setting up table: education_point | |
Setting up table: education_polygon | |
Setting up table: recreation_point | |
Setting up table: recreation_polygon | |
Setting up table: healthcare_point | |
Setting up table: healthcare_polygon | |
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=800MB, maxblocks=12800*65536, allocation method=3 | |
Reading in file: /home/pnorman/osm/osm2pgsql/tests/liechtenstein-2013-08-03.osm.pbf | |
Using PBF parser. | |
[New Thread 0x7fffb01b9700 (LWP 25817)] | |
[New Thread 0x7fffaf9b8700 (LWP 25818)] | |
[Thread 0x7fffb01b9700 (LWP 25817) exited] | |
[New Thread 0x7fffaf1b7700 (LWP 25819)] | |
[New Thread 0x7fffae9b6700 (LWP 25820)] | |
[New Thread 0x7fffae1b5700 (LWP 25821)] | |
[New Thread 0x7fffad9b4700 (LWP 25822)] | |
[New Thread 0x7fffad1b3700 (LWP 25823)] | |
[New Thread 0x7fffac9b2700 (LWP 25824)] | |
[Thread 0x7fffaf9b8700 (LWP 25818) exited] | |
Processing: Node(65k 65.7k/s) Way(6k 6.00k/s) Relation(0 0.00/s)osm2pgsql: /home/pnorman/osm/osm2pgsql/contrib/libosmium/osmium/memory/buffer.hpp:356: size_t osmium::memory::Buffer::commit(): Assertion `m_builder_count == 0 && "Make sure there are no Builder objects still in scope"' failed. | |
Thread 1 "osm2pgsql" received signal SIGABRT, Aborted. | |
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58 | |
58 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. | |
58 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. | |
(gdb) bt | |
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58 | |
#1 0x00007ffff5a6a40a in __GI_abort () at abort.c:89 | |
#2 0x00007ffff5a61e47 in __assert_fail_base (fmt=<optimized out>, | |
assertion=assertion@entry=0x55555585cb00 "m_builder_count == 0 && \"Make sure there are no Builder objects still in scope\"", | |
file=file@entry=0x55555585ca38 "/home/pnorman/osm/osm2pgsql/contrib/libosmium/osmium/memory/buffer.hpp", line=line@entry=356, | |
function=function@entry=0x555555860da0 <osmium::memory::Buffer::commit()::__PRETTY_FUNCTION__> "size_t osmium::memory::Buffer::commit()") at assert.c:92 | |
#3 0x00007ffff5a61ef2 in __GI___assert_fail (assertion=0x55555585cb00 "m_builder_count == 0 && \"Make sure there are no Builder objects still in scope\"", | |
file=0x55555585ca38 "/home/pnorman/osm/osm2pgsql/contrib/libosmium/osmium/memory/buffer.hpp", line=356, | |
function=0x555555860da0 <osmium::memory::Buffer::commit()::__PRETTY_FUNCTION__> "size_t osmium::memory::Buffer::commit()") at assert.c:101 | |
#4 0x00005555557a320b in osmium::memory::Buffer::commit (this=0x555555b31cf8) at /home/pnorman/osm/osm2pgsql/contrib/libosmium/osmium/memory/buffer.hpp:356 | |
#5 0x000055555582b5ea in geom::osmium_builder_t::get_wkb_multiline[abi:cxx11](osmium::memory::Buffer const&, bool) (this=0x555555b31ce8, ways=..., do_split=false) | |
at /home/pnorman/osm/osm2pgsql/osmium-builder.cpp:257 | |
#6 0x000055555581a315 in processor_line::process_relation[abi:cxx11](osmium::Relation const&, osmium::memory::Buffer const&) (this=0x555555b31cb0, ways=...) | |
at /home/pnorman/osm/osm2pgsql/processor-line.cpp:22 | |
#7 0x000055555580b78a in output_multi_t::process_relation (this=0x555555b93740, rel=..., exists=false, pending=false) at /home/pnorman/osm/osm2pgsql/output-multi.cpp:396 | |
#8 0x000055555580abfa in output_multi_t::relation_add (this=0x555555b93740, rel=...) at /home/pnorman/osm/osm2pgsql/output-multi.cpp:211 | |
#9 0x0000555555775ec8 in osmdata_t::relation_add (this=0x7fffffffde00, rel=...) at /home/pnorman/osm/osm2pgsql/osmdata.cpp:65 | |
#10 0x000055555579f8c2 in parse_osmium_t::relation (this=0x7fffffffde90, rel=...) at /home/pnorman/osm/osm2pgsql/parse-osmium.cpp:185 | |
#11 0x00005555557d231f in osmium::detail::apply_item_impl<parse_osmium_t&, osmium::memory::Item> (item=..., handler=...) | |
at /home/pnorman/osm/osm2pgsql/contrib/libosmium/osmium/visitor.hpp:68 | |
#12 0x00005555557ce6f9 in osmium::apply_item<osmium::memory::Item, parse_osmium_t&> (item=..., handlers#0=...) | |
at /home/pnorman/osm/osm2pgsql/contrib/libosmium/osmium/visitor.hpp:206 | |
#13 0x00005555557c9641 in osmium::apply<osmium::io::InputIterator<osmium::io::Reader, osmium::memory::Item>, parse_osmium_t&> (it=..., end=..., handlers#0=...) | |
at /home/pnorman/osm/osm2pgsql/contrib/libosmium/osmium/visitor.hpp:220 | |
#14 0x00005555557c3325 in osmium::apply<osmium::io::Reader, parse_osmium_t&> (c=..., handlers#0=...) at /home/pnorman/osm/osm2pgsql/contrib/libosmium/osmium/visitor.hpp:227 | |
#15 0x000055555579f506 in parse_osmium_t::stream_file (this=0x7fffffffde90, filename="/home/pnorman/osm/osm2pgsql/tests/liechtenstein-2013-08-03.osm.pbf", fmt="auto") | |
at /home/pnorman/osm/osm2pgsql/parse-osmium.cpp:128 | |
#16 0x0000555555765642 in main (argc=12, argv=0x7fffffffe438) at /home/pnorman/osm/osm2pgsql/osm2pgsql.cpp:86 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment