[Tile-serving] [openstreetmap/osm2pgsql] Segmentation fault while importing diff with tiles expire option (#651)

jendrusk notifications at github.com
Sat Nov 19 11:20:03 UTC 2016


In some cases (not always) osm2pgsql is rising segmentation fault error.
`4808 Segmentation fault      (core dumped)`
Full command is:
`/usr/local/bin/osm2pgsql --number-processes 1 -v -C 2000 -G -K -j -x -s -S ./default.style --append -d osm2pgsql --bbox 13.50,48.50,24.50,55.50 --expire-tiles 5-17 --expire-output /home/osm/scripts/osm/expire_list_tmp current.osc`
Version of osm2pgsql:
```
$ osm2pgsql -v
osm2pgsql version 0.91.0-dev (64 bit id space)

Osm2pgsql failed due to ERROR: Usage error. For further information see:
        osm2pgsql -h|--help

```
System:
```
$ uname -a
Linux mapa 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
```
The same command without --expire-tiles and --expire-output options working fine

Attached two diff files (made by osmosis) causing error
[current.zip](https://github.com/openstreetmap/osm2pgsql/files/601389/current.zip)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/651
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20161119/3fd2864f/attachment-0001.html>


More information about the Tile-serving mailing list