I've just rebuilt the package with debug symbols and tried to use
--parse-only and --process-only.
It crashes with --process-only:

apache:[~/work/osm/routine]$ pv ../map/planet-latest.osm.bz2 | 
bunzip2|planetsplitter --loggable --parse-only

Parse OSM Data
==============

22,1GB 13:37:38 [ 471kB/s] [=================================>] 100%
Read: Lines=4418786769 Nodes=1517336218 Ways=143432273 Relations=1486052

apache:[~/work/osm/routine]$ planetsplitter --process-only

Process OSM Data
================

Sorting Nodesplanetsplitter: nodesx.c:190: SortNodeList: Assertion 
`nodesx->idata' failed.
zsh: abort (core dumped)  planetsplitter --process-only
apache:[~/work/osm/routine]$ echo bt|gdb planetsplitter core
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/planetsplitter...(no debugging symbols 
found)...done.
[New LWP 13766]

warning: Can't read pathname for load map: Ошибка ввода/вывода.
Core was generated by `planetsplitter --process-only'.
Program terminated with signal 6, Aborted.
#0  0x00007f3c9f68b475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) #0  0x00007f3c9f68b475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f3c9f68e6f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f3c9f684621 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x0000000000402872 in SortNodeList ()
#4  0x0000000000401a49 in main ()
(gdb) quit

-- 

. ''`.                               Dmitry E. Oboukhov
: :’  :   email: un...@debian.org jabber://un...@uvw.ru
`. `~’              GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537

Attachment: signature.asc
Description: Digital signature

Reply via email to