Skip to content

osrm-prepare hangs #284

@emiltin

Description

@emiltin

with latest master 82ead0a, osrm-prepare hangs at "Generating edge-expanded graph representation". i'm processing denmark.osm.pbf downloaded today from geofabrik.de, and extraced using osrm-extract.

a smaller file covering copenhagen causes the same behaviour.

here's a gdb run:

~/code/Project-OSRM/sandbox$ ((82ead0a...)) gdb ../osrm-prepare
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul  1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .
warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/thread/build/darwin-4.2.1/release/threading-multi/pthread/thread.o" - no debug information available for "thread.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/thread/build/darwin-4.2.1/release/threading-multi/pthread/once.o" - no debug information available for "once.cpp".

.
warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/c_regex_traits.o" - no debug information available for "c_regex_traits.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/cpp_regex_traits.o" - no debug information available for "cpp_regex_traits.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/cregex.o" - no debug information available for "cregex.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/fileiter.o" - no debug information available for "fileiter.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/instances.o" - no debug information available for "instances.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/posix_api.o" - no debug information available for "posix_api.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/regex.o" - no debug information available for "regex.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/regex_raw_buffer.o" - no debug information available for "regex_raw_buffer.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/regex_traits_defaults.o" - no debug information available for "regex_traits_defaults.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/static_mutex.o" - no debug information available for "static_mutex.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/wc_regex_traits.o" - no debug information available for "wc_regex_traits.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/wide_posix_api.o" - no debug information available for "wide_posix_api.cpp".


warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/winstances.o" - no debug information available for "winstances.cpp".

.
warning: Could not find object file "/private/tmp/homebrew-boost-1.48.0-B17r/boost_1_48_0/bin.v2/libs/system/build/darwin-4.2.1/release/threading-multi/error_code.o" - no debug information available for "error_code.cpp".

......... done

(gdb) run osm_data/denmark.osrm osm_data/denmark.osrm.restrictions
Starting program: /Users/emil/code/Project-OSRM/osrm-prepare osm_data/denmark.osrm osm_data/denmark.osrm.restrictions
Reading symbols for shared libraries +++++++++++.......................... done
[info createHierarchy.cpp:83] Loading SRTM from/to /opt/storage/srtm/Eurasia
[info createHierarchy.cpp:86] Using restrictions from file: osm_data/denmark.osrm.restrictions
[debug Util/GraphLoader.h:55] Importing n = 2152119 nodes 
[debug Util/GraphLoader.h:72]  and 2295274 edges 
[info Util/GraphLoader.h:166] Graph loaded ok and has 2294374 edges
[info createHierarchy.cpp:114] 517 restrictions, 0 bollard nodes, 2640 traffic lights
[info createHierarchy.cpp:126] Generating edge-expanded graph representation
^C
Program received signal SIGINT, Interrupt.
0x00000001000a3904 in DeallocatingVectorIterator<DynamicGraph<EdgeBasedGraphFactory::_NodeBasedEdgeData>::InputEdge, 374491ul, false>::DeallocatingVectorIteratorState::setPointerForIndex (this=0x7fff5fbf6860) at DeallocatingVector.h:51
51              if(bucketSizeC*mBucketList.size() <= mIndex) {

i aborted the process with ^C after 5+ hours.

before aborting, a sampling of the process using Activity Monitor showed:

https://gist.github.com/2863812

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions