Skip to content

Instantly share code, notes, and snippets.

@emiltin
Created June 30, 2014 11:35
Show Gist options
  • Select an option

  • Save emiltin/9673c4629cd6f8b18864 to your computer and use it in GitHub Desktop.

Select an option

Save emiltin/9673c4629cd6f8b18864 to your computer and use it in GitHub Desktop.
~/code/Project-OSRM$ (experimental/cuke_datastore *) cd test/cache
~/code/Project-OSRM/test/cache$ (experimental/cuke_datastore *) ../../build/osrm-extract Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osm -p ../../profiles/testbot.lua
[info] Input file: Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osm
[info] Profile: testbot.lua
[info] Threads: 4
[info] Using script ../../profiles/testbot.lua
[STXXL-MSG] STXXL v1.3.1 (release)
[STXXL-ERRMSG] Warning: no config file found.
[STXXL-ERRMSG] Using default disk configuration.
[STXXL-MSG] 1 disks are allocated, total space: 1000 MiB
[info] Using turn restrictions
[info] Found no exceptions to turn restrictions
[info] Parsing in progress..
[info] Parsing finished after 0 seconds
[extractor] Sorting used nodes ... ok, after 0.014s
[extractor] Erasing duplicate nodes ... ok, after 0s
[extractor] Sorting all nodes ... ok, after 0.013s
[extractor] Sorting used ways ... ok, after 0.014s
[extractor] Sorting restrictions. by from... ok, after 0s
[extractor] Fixing restriction starts ... ok, after 0s
[extractor] Sorting restrictions. by to ... ok, after 0s
[extractor] Fixing restriction ends ... ok, after 0s
[info] usable restrictions: 0
[extractor] Confirming/Writing used nodes ... ok, after 0s
[extractor] setting number of nodes ... ok
[extractor] Sorting edges by start ... ok, after 0.012s
[extractor] Setting start coords ... ok, after 0s
[extractor] Sorting edges by target ... ok, after 0.012s
[extractor] Setting target coords ... ok, after 0s
[extractor] setting number of edges ... ok
[extractor] writing street name index ... ok, after 0s
[info] Processed 2 nodes and 1 edges
[info] extraction finished after 0.77s
[info] To prepare the data for routing, run: ./osrm-prepare Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm
[STXXL-ERRMSG] Removing disk file created from default configuration: /var/tmp/stxxl
~/code/Project-OSRM/test/cache$ (experimental/cuke_datastore *) ../../build/osrm-prepare Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm -p ../../profiles/testbot.lua
[info] Input file: Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm
[info] Restrictions file: Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm.restrictions
[info] Profile: testbot.lua
[info] Threads: 4
[debug] traffic_signal_penalty: 70
[info] Importing n = 2 nodes
[info] and 1 edges
[info] Graph loaded ok and has 1 edges
[info] 0 restrictions, 0 bollard nodes, 0 traffic lights
[info] Generating edge-expanded graph representation
[info] merged 0 edges out of 2
[info] Removing graph geometry while preserving topology
. 10% . 20% . 30% . 40% . 50% 100%
[info] removed 0 nodes
[info] Geometry successfully removed:
compressed edges: 100
compressed geometries: 0
longest chain length: 0
cmpr ratio: 100
avg chain length: 0
[info] new nodes: 2, edges 2
[info] Node compression ratio: 1
[info] Edge compression ratio: 1
[info] Identifying components of the road network
[info] identified: 1 many components
[info] generating edge-expanded nodes
. 10% . 20% . 30% . 40% . 50% 100%
. 60% . 70% . 80% . 90% . 100% [info] Generated 1 nodes in edge-expanded graph
[info] generating edge-expanded edges
. 10% . 20% . 30% . 40% . 50% 100%
. 60% . 70% . 80% . 90% . 100% [info] Generated 1 edge based nodes
[info] Node-based graph contains 2 edges
[info] Edge-expanded graph ...
[info] contains 2 edges
[info] skips 0 turns, defined by 0 restrictions
[info] skips 0 U turns
[info] skips 0 turns over barriers
[info] Timing statistics for edge-expanded graph:
[info] Geometry compression: 0s
[info] Renumbering edges: 0s
[info] Generating nodes: 0s
[info] Generating edges: 0s
[info] building r-tree ...
[info] constructing r-tree of 1 edge elements build on-top of 2 coordinates
[info] finished r-tree construction in 0 seconds
[info] using hardware based CRC32 computation
[info] CRC32: 2169198918
[info] writing node map ...
[info] initializing contractor
merged 2 edges out of 4
contractor finished initalization
initializing elimination PQ ...ok
preprocessing 2 nodes ...[info] Contraction took 0.077 sec
[info] Getting edges of minimized graph
. 10% . 20% . 30% . 40% . 50% 100%
[info] Serializing compacted graph of 2 edges
[debug] input graph has 2 nodes
[debug] contracted graph has 1 nodes
[info] Building node array
[info] Building edge array
[info] Preprocessing : 0.229 seconds
[info] Expansion : 31.25 nodes/sec and 31.25 edges/sec
[info] Contraction: 25.974 nodes/sec and 25.974 edges/sec
[info] finished preprocessing
~/code/Project-OSRM$ (experimental/cuke_datastore *) build/osrm-routed test/cache/Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm
[info] starting up engines, v0.4.2b-5-g31dd139, compiled at Jun 30 2014, 12:52:35
[info] HSGR file: "test/cache/Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm.hsgr"
[debug] Nodes file: "test/cache/Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm.nodes"
[debug] Edges file: "test/cache/Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm.edges"
[debug] Geometry file: "test/cache/Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm.geometry"
[debug] RAM file: "test/cache/Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm.ramIndex"
[debug] Index file: "test/cache/Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm.fileIndex"
[debug] Names file: "test/cache/Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm.names"
[debug] Timestamp file: "test/cache/Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm.timestamp"
[debug] Threads: 8
[debug] IP address: 0.0.0.0
[debug] IP port: 5000
[info] loading graph data
[info] loading graph from test/cache/Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm.hsgr
[info] number_of_nodes: 3, number_of_edges: 2
[info] loaded 4 nodes and 2 edges
. 10% . 20% . 30% . 40% . 50% 100%
. 60% . 70% . 80% . 90% . 100% [info] Data checksum is 2169198918
[info] loading egde information
[info] loading geometries
[info] loading r-tree
[info] loading timestamp
[info] loading street names
[info] loaded plugin: table
[info] loaded plugin: hello
[info] loaded plugin: locate
[info] loaded plugin: nearest
[info] loaded plugin: timestamp
[info] loaded plugin: viaroute
[info] http 1.1 compression handled by zlib version 1.2.5
[info] running and waiting for requests
^C[info] initiating shutdown
[info] stopping threads
[info] freeing objects
[info] shutdown completed
~/code/Project-OSRM$ (experimental/cuke_datastore *) build/osrm-datastore --springclean
[debug] Checking input parameters
[info] spring-cleaning all shared memory regions
~/code/Project-OSRM$ (experimental/cuke_datastore *) build/osrm-datastore test/cache/Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm
[debug] Checking input parameters
[debug] deallocating prev memory
[debug] writeable memory allocated 256 bytes
[info] load names from: "test/cache/Scenario_ab_aa8743a8cb54c0557e3a777a72e19ab9d5195caf.osrm.names"
[info] name offsets size: 1
[debug] Fingerprint checked out ok
[info] allocating shared memory of 1217 bytes
[debug] deallocating prev memory
[debug] writeable memory allocated 1217 bytes
[debug] writeable memory allocated 12 bytes
[info] all data loaded
[debug] -
[debug] name_offsets_size: 1
[debug] name_blocks_size: 1
[debug] name_char_list_size: 2
[debug] name_id_list_size: 2
[debug] via_node_list_size: 2
[debug] graph_node_list_size: 3
[debug] graph_edge_list_size: 2
[debug] timestamp_length: 3
[debug] coordinate_list_size: 2
[debug] turn_instruction_list_size: 2
[debug] r_search_tree_size: 1
[debug] geometries_indicators: 2/1
[debug] geometries_index_list_size: 101
[debug] geometries_list_size: 0
[debug] sizeof(checksum): 4
[debug] NAME_OFFSETS : 4
[debug] NAME_BLOCKS : 16
[debug] NAME_CHAR_LIST : 2
[debug] NAME_ID_LIST : 8
[debug] VIA_NODE_LIST : 8
[debug] GRAPH_NODE_LIST : 12
[debug] GRAPH_EDGE_LIST : 24
[debug] COORDINATE_LIST : 16
[debug] TURN_INSTRUCTION : 2
[debug] R_SEARCH_TREE : 276
[debug] GEOMETRIES_INDEX : 404
[debug] GEOMETRIES_LIST : 0
[debug] GEOMETRIES_INDICATORS: 4
[debug] HSGR_CHECKSUM : 4
[debug] TIMESTAMP : 3
[debug] FILE_INDEX_PATH : 109
~/code/Project-OSRM$ (experimental/cuke_datastore *) build/osrm-routed --sharedmemory
[info] starting up engines, v0.4.2b-5-g31dd139, compiled at Jun 30 2014, 12:52:35
[debug] Loading from shared memory
[debug] writeable memory allocated 12 bytes
[debug] deallocating prev memory
[debug] deallocating prev memory
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100% [info] set checksum: 2169198918
***** Internal Program Error - assertion (m_size != 0 || other.size() != 0) failed in void SharedMemoryWrapper<unsigned int>::swap(SharedMemoryWrapper<DataT> &) [DataT = unsigned int]:
/Users/emil/code/Project-OSRM/Library/../Server/DataStructures/../../DataStructures/SharedMemoryVectorWrapper.h(81): size invalid
Abort trap: 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment