Skip to content

Instantly share code, notes, and snippets.

@emiltin
Created October 11, 2012 17:08
Show Gist options
  • Select an option

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

Select an option

Save emiltin/3873981 to your computer and use it in GitHub Desktop.
OSRM asserting failing in debug mode
~/code/Project-OSRM$ (develop) git log -n 1
commit f40550b18c5f750a2ef40b003193adf0141e5841
Author: Emil Tin <emil.tin@tmf.kk.dk>
Date: Thu Oct 11 16:50:17 2012 +0200
bike speeds on pedestrian areas
~/code/Project-OSRM$ (develop) scons --cxx=clang++ --buildconfiguration=debug
scons: Reading SConscript files ...
Using user supplied C++ Compiler: clang++
Warning building with clang removes OpenMP parallelization
Checking for C library lua... (cached) yes
Checking for C++ library luabind... (cached) yes
Checking for C header file omp.h... (cached) yes
Checking for C++ library bz2... (cached) yes
Checking for C++ library osmpbf... (cached) yes
Checking for C++ library protobuf... (cached) yes
Checking for Protobuffer version >= 2.3.0... (cached) yes
Checking for C++ library stxxl... (cached) yes
Checking for C++ library xml2... (cached) yes
Checking for C++ library z... (cached) yes
Checking for Boost version >= 1.44... (cached) yes
Checking for C++ library boost_system... (cached) no
Checking for C++ library boost_system-mt... (cached) yes
using boost -mt
Checking for C++ library boost_thread... (cached) no
Checking for C++ library boost_thread-mt... (cached) yes
using boost -mt
Checking for C++ library boost_regex... (cached) no
Checking for C++ library boost_regex-mt... (cached) yes
using boost_regex -mt
Checking for C++ library boost_filesystem... (cached) no
Checking for C++ library boost_filesystem-mt... (cached) yes
using boost -mt
Checking for C++ header file boost/archive/iterators/base64_from_binary.hpp... (cached) yes
Checking for C++ header file boost/archive/iterators/binary_from_base64.hpp... (cached) yes
Checking for C++ header file boost/archive/iterators/transform_width.hpp... (cached) yes
Checking for C++ header file boost/bind.hpp... (cached) yes
Checking for C++ header file boost/circular_buffer.hpp... (cached) yes
Checking for C++ header file boost/enable_shared_from_this.hpp... (cached) yes
Checking for C++ header file boost/foreach.hpp... (cached) yes
Checking for C++ header file boost/lexical_cast.hpp... (cached) yes
Checking for C++ header file boost/logic/tribool.hpp... (cached) yes
Checking for C++ header file boost/math/tr1.hpp... (cached) yes
Checking for C++ header file boost/noncopyable.hpp... (cached) yes
Checking for C++ header file boost/property_tree/ptree.hpp... (cached) yes
Checking for C++ header file boost/property_tree/ini_parser.hpp... (cached) yes
Checking for C++ header file boost/shared_ptr.hpp... (cached) yes
Checking for C++ header file boost/thread/mutex.hpp... (cached) yes
Checking for C++ header file boost/thread/thread.hpp... (cached) yes
Checking for C++ header file boost/thread/condition.hpp... (cached) yes
Checking for C++ header file boost/thread/thread.hpp... (cached) yes
Checking for C++ header file boost/thread.hpp... (cached) yes
Checking for C++ header file boost/tuple/tuple.hpp... (cached) yes
Checking for C++ header file boost/unordered_map.hpp... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
~/code/Project-OSRM$ (develop) rm -r test/cache/
~/code/Project-OSRM$ (develop) cuke --tag @smallest
Using the default profile...
@routing @basic
Feature: Basic Routing
Background: # features/testbot/basic.feature:4
Given the speedprofile "testbot" # features/step_definitions/data.rb:1
@smallest
Scenario: A single way with two nodes # features/testbot/basic.feature:8
Given the node map # features/step_definitions/data.rb:9
| a | b |
And the ways # features/step_definitions/data.rb:50
| nodes |
| ab |
sh: line 1: 13724 Abort trap: 6 ../osrm-prepare cache/A_single_way_with_two_nodes_1faaecd2fa3c47775cdddd9f5afcfba084bb1633.osrm cache/A_single_way_with_two_nodes_1faaecd2fa3c47775cdddd9f5afcfba084bb1633.osrm.restrictions >> preprocessing.log 2>> preprocessing.log
When I route I should get # features/step_definitions/routing.rb:190
| from | to | route |
| a | b | ab |
| b | a | ab |
*** osrm-prepare exited with code 134. The file preprocess.log might contain more info. (OSRMError)
./features/support/data.rb:220:in `block in reprocess'
./features/support/data.rb:202:in `chdir'
./features/support/data.rb:202:in `reprocess'
./features/step_definitions/routing.rb:192:in `/^I route I should get$/'
features/testbot/basic.feature:16:in `When I route I should get'
Failing Scenarios:
cucumber features/testbot/basic.feature:8 # Scenario: A single way with two nodes
1 scenario (1 failed)
4 steps (1 failed, 3 passed)
0m2.693s
~/code/Project-OSRM$ (develop) tail test/preprocessing.log
[debug ./Util/GraphLoader.h:74] and 1 edges
[info ./Util/GraphLoader.h:190] Graph loaded ok and has 1 edges
[info createHierarchy.cpp:117] 0 restrictions, 0 bollard nodes, 0 traffic lights
[info createHierarchy.cpp:135] Parsing speedprofile from profile.lua
[info createHierarchy.cpp:157] Generating edge-expanded graph representation
[info Contractor/EdgeBasedGraphFactory.cpp:173] Identifying small components
. 10% . 20% . 30% . 40% . 50% 100%
. 60% . 70% . 80% . 90% . 100% [info Contractor/EdgeBasedGraphFactory.cpp:227] identified: 1 many components
Assertion failed: (u != w), function Run, file Contractor/EdgeBasedGraphFactory.cpp, line 300.
*** Exited with code 134.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment