[Tile-serving] [osm2pgsql] update to libosmium 2.3.0 (#444)
Paul Norman
notifications at github.com
Wed Aug 19 02:18:54 UTC 2015
On my dev box
```
[pnorman at pippin /usr/home/pnorman/osm/osm2pgsql]$ createdb gis && psql -d gis -c 'create extension postgis;'
CREATE EXTENSION
[pnorman at pippin /usr/home/pnorman/osm/osm2pgsql]$ time ./osm2pgsql -O null -d gis --cache 27000 -S empty.style ~/osm/planet/canada-150520.osm.pbf
osm2pgsql SVN version 0.89.0-dev (64bit id space)
Using projection SRS 900913 (Spherical Mercator)
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=27000MB, maxblocks=3456000*8192, allocation method=3
Mid: Ram, scale=100
Reading in file: /home/pnorman/osm/planet/canada-150520.osm.pbf
Using unknown parser.
```
And it just sits there.
If I runin gdb and interrupt, I get
```
(gdb) thread apply all bt
Thread 3 (Thread 803c06800 (LWP 100903/osm2pgsql)):
#0 0x0000000802d878ba in nanosleep () from /lib/libc.so.7
#1 0x0000000802a4b64c in nanosleep () from /lib/libthr.so.3
#2 0x00000008023a1d3b in std::__1::this_thread::sleep_for () from /usr/lib/libc++.so.1
#3 0x0000000000540200 in std::__1::this_thread::sleep_for<long long, std::__1::ratio<1l, 1000l> > ()
#4 0x0000000000578364 in osmium::io::detail::ReadThread::operator() ()
#5 0x0000000000577dcd in _ZNSt3__112__async_funcIN6osmium2io6detail10ReadThreadEJEE9__executeIJEEEbNS_15__tuple_indicesIJXspT_EEEE ()
#6 0x0000000000577d85 in _ZNSt3__112__async_funcIN6osmium2io6detail10ReadThreadEJEEclEv ()
#7 0x000000000057d103 in _ZNSt3__119__async_assoc_stateIbNS_12__async_funcIN6osmium2io6detail10ReadThreadEJEEEE9__executeEv ()
#8 0x000000000057ce05 in _ZNSt3__114__thread_proxyINS_5tupleIJMNS_19__async_assoc_stateIbNS_12__async_funcIN6osmium2io6detail10ReadThreadEJEEEEEFvvEPS9_EEEEEPvSE_ ()
#9 0x0000000802a494f5 in pthread_create () from /lib/libthr.so.3
#10 0x0000000000000000 in ?? ()
Thread 2 (Thread 803c06400 (LWP 100574/osm2pgsql)):
#0 0x0000000802a548cc in __error () from /lib/libthr.so.3
#1 0x0000000802a52d8e in _pthread_cond_wait () from /lib/libthr.so.3
#2 0x00000008023ea82f in std::__1::condition_variable::wait () from /usr/lib/libc++.so.1
#3 0x00000008023a2e1b in std::__1::__assoc_sub_state::wait () from /usr/lib/libc++.so.1
#4 0x000000000057d0b8 in _ZNSt3__119__async_assoc_stateIbNS_12__async_funcIN6osmium2io6detail10ReadThreadEJEEEE16__on_zero_sharedEv ()
#5 0x00000008023d0ad0 in std::__1::__shared_count::__release_shared () from /usr/lib/libc++.so.1
#6 0x00000000005368a0 in std::__1::future<bool>::~future ()
#7 0x000000000052c067 in osmium::io::Reader::Reader ()
#8 0x000000000051f5ee in parse_osmium_t::stream_file ()
#9 0x0000000000517ea6 in parse_delegate_t::stream_file ()
#10 0x0000000000421464 in main ()
#0 0x0000000802d878ba in nanosleep () from /lib/libc.so.7
```
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/444#issuecomment-132418020
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150818/deb0543d/attachment.html>
More information about the Tile-serving
mailing list