[OSRM-talk] integer overflow with weight

michael spreng mailinglists at m.spreng.ch
Wed Feb 27 19:34:24 UTC 2019


Hi

I currently have OSRM often stopping on the assert:
                    BOOST_ASSERT(to_weight >= weight);
in relaxOutgoingEdges in routing_base_mld.hpp

looking into it with a debugger shows to_weight = -1958185565 and weight
= 1418390085 which means that shortcut_weight was probably 918391646
which lead to an overflow.

I use forward/backward_rate from 0 up to 1.2 so I thought that should
not be excessive? What could be the problem?

What could be a workaround for this overflow? ++destination; continue;?

A stack trace is below this message.

Michael



Thread 6 "osrm-routed" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fe970a9b700 (LWP 31177)]
0x00007ffff6089428 in __GI_raise (sig=sig at entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
54      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) where
#0  0x00007ffff6089428 in __GI_raise (sig=sig at entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff608b02a in __GI_abort () at abort.c:89
#2  0x00007ffff69cc84d in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff69ca6b6 in ?? () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff69ca701 in std::terminate() () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x0000000001158ac2 in (anonymous
namespace)::assertion_failed_msg_helper (expr=expr at entry=0x1267c25
"to_weight >= weight", msg=msg at entry=0x1265491 "",
    function=function at entry=0x12a80c0 <void
osrm::engine::routing_algorithms::mld::relaxOutgoingEdges<false,
osrm::engine::routing_algorithms::mld::Algorithm,
osrm::engine::PhantomNodes>(osrm::engine::datafacade::ContiguousInternalMemoryDataFacade<osrm::engine::routing_algorithms::mld::Algorithm>
const&,
osrm::engine::SearchEngineData<osrm::engine::routing_algorithms::mld::Algorithm>::QueryHeap&,
unsigned int, int, osrm::engine::PhantomNodes)::__PRETTY_FUNCTION__>
"void
osrm::engine::routing_algorithms::mld::relaxOutgoingEdges(osrm::engine::DataFacade<Algorithm>&,
typename osrm::engine::SearchEngineData<Algorithm>::QueryHeap&, NodeID,
EdgeWeight, Args ...) [with"..., file=file at entry=0x126e1c8
"/srv/osrm/osrm-backend/include/engine/routing_algorithms/routing_base_mld.hpp",
line=line at entry=284)
    at /srv/osrm/osrm-backend/src/util/assert.cpp:19
#6  0x0000000001158ae9 in boost::assertion_failed
(expr=expr at entry=0x1267c25 "to_weight >= weight",
    function=function at entry=0x12a80c0 <void
osrm::engine::routing_algorithms::mld::relaxOutgoingEdges<false,
osrm::engine::routing_algorithms::mld::Algorithm,
osrm::engine::PhantomNodes>(osrm::engine::datafacade::ContiguousInternalMemoryDataFacade<osrm::engine::routing_algorithms::mld::Algorithm>
const&,
osrm::engine::SearchEngineData<osrm::engine::routing_algorithms::mld::Algorithm>::QueryHeap&,
unsigned int, int, osrm::engine::PhantomNodes)::__PRETTY_FUNCTION__>
"void
osrm::engine::routing_algorithms::mld::relaxOutgoingEdges(osrm::engine::DataFacade<Algorithm>&,
typename osrm::engine::SearchEngineData<Algorithm>::QueryHeap&, NodeID,
EdgeWeight, Args ...) [with"..., file=file at entry=0x126e1c8
"/srv/osrm/osrm-backend/include/engine/routing_algorithms/routing_base_mld.hpp",
line=line at entry=284)
    at /srv/osrm/osrm-backend/src/util/assert.cpp:28
#7  0x0000000001211d37 in
osrm::engine::routing_algorithms::mld::relaxOutgoingEdges<false,
osrm::engine::routing_algorithms::mld::Algorithm,
osrm::engine::PhantomNodes> (facade=..., forward_heap=...,
node=node at entry=12463, weight=weight at entry=1418390085)
    at
/srv/osrm/osrm-backend/include/engine/routing_algorithms/routing_base_mld.hpp:284
#8  0x0000000001211dd9 in
osrm::engine::routing_algorithms::mld::routingStep<false,
osrm::engine::routing_algorithms::mld::Algorithm,
osrm::engine::PhantomNodes>
    (facade=..., forward_heap=..., reverse_heap=...,
middle_node=@0x7fe970a99408: 4294967295,
path_upper_bound=@0x7fe970a9940c: 2147483647,
    force_loop_forward=force_loop_forward at entry=false,
force_loop_reverse=false)
    at
/srv/osrm/osrm-backend/include/engine/routing_algorithms/routing_base_mld.hpp:372
#9  0x0000000001213c9e in
osrm::engine::routing_algorithms::mld::search<osrm::engine::routing_algorithms::mld::Algorithm,
osrm::engine::PhantomNodes> (
    engine_working_data=..., facade=..., forward_heap=...,
reverse_heap=..., force_loop_forward=force_loop_forward at entry=false,
force_loop_reverse=false,
    weight_upper_bound=2147483647) at
/srv/osrm/osrm-backend/include/engine/routing_algorithms/routing_base_mld.hpp:427
#10 0x0000000001231512 in
osrm::engine::routing_algorithms::directShortestPathSearch<osrm::engine::routing_algorithms::mld::Algorithm>
(engine_working_data=...,
    facade=..., phantom_nodes=...) at
/srv/osrm/osrm-backend/src/engine/routing_algorithms/direct_shortest_path.cpp:82
#11 0x0000000001177b76 in
osrm::engine::RoutingAlgorithms<osrm::engine::routing_algorithms::mld::Algorithm>::DirectShortestPathSearch
(
    this=this at entry=0x7fe970a99b30, phantom_nodes=...) at
/srv/osrm/osrm-backend/include/engine/routing_algorithms.hpp:176
#12 0x00000000011e813a in
osrm::engine::plugins::ViaRoutePlugin::HandleRequest
(this=this at entry=0x1483724, algorithms=..., route_parameters=...,
json_result=...)
    at /srv/osrm/osrm-backend/src/engine/plugins/viaroute.cpp:119
#13 0x00000000011897cb in
osrm::engine::Engine<osrm::engine::routing_algorithms::mld::Algorithm>::Route
(this=0x1483710, params=..., result=...)
    at /srv/osrm/osrm-backend/include/engine/engine.hpp:91
#14 0x00000000010fcb4a in osrm::server::service::RouteService::RunQuery
(this=0x147fee0, prefix_length=18,

query="114.0440677,22.3131517;-1.9914632,52.7475385?hints=T816hmfNeoYAAAAAHQcAAFQD",
'A' <repeats 13 times>,
"MA9rkGLoyNBAAAAAAAAAACvAAAAUgAAAAAAAAADAAAA_5wj-yvksAFhqSP7zumwAQEADwr2S3U1;OQm4gI4JuIDhBAAAAAAAAPkDAABiFwAAqqtv"...,
result=...) at
/srv/osrm/osrm-backend/src/server/service/route_service.cpp:69
#15 0x000000000102658f in osrm::server::ServiceHandler::RunQuery
(this=this at entry=0x1482020, parsed_url=..., result=...)
    at /srv/osrm/osrm-backend/src/server/service_handler.cpp:52
#16 0x000000000102c5eb in osrm::server::RequestHandler::HandleRequest
(this=<optimized out>, current_request=..., current_reply=...)
    at /srv/osrm/osrm-backend/src/server/request_handler.cpp:70
#17 0x0000000001021f43 in osrm::server::Connection::handle_read
(this=0x7fe964005b40, error=..., bytes_transferred=<optimized out>)
    at /srv/osrm/osrm-backend/src/server/connection.cpp:56
#18 0x000000000101c188 in boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()>
>::operator()<boost::system::error_code const&, unsigned long const&>
(this=this at entry=0x7fe970a9a900, a1=..., a2=@0x7fe970a9a930: 457) at
/usr/include/boost/bind/bind.hpp:917
#19 0x000000000101c1c2 in
boost::asio::detail::binder2<boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::system::error_code, unsigned long>::operator()
(this=this at entry=0x7fe970a9a900) at
/usr/include/boost/asio/detail/bind_handler.hpp:127
#20 0x000000000101c1d9 in
boost::asio::asio_handler_invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::system::error_code, unsigned long> > (function=...) at
/usr/include/boost/asio/handler_invoke_hook.hpp:69
#21 0x000000000101c8f7 in
boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > > (
    function=..., context=...) at
/usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37
#22 0x000000000101c90a in
boost::asio::detail::asio_handler_invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system---Type
<return> to continue, or q <return> to quit---
::error_code, unsigned long> (function=..., this_handler=<optimized
out>) at /usr/include/boost/asio/detail/bind_handler.hpp:170
#23 0x000000000101c935 in
boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::system::error_code, unsigned long>,
boost::asio::detail::binder2<boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::system::error_code, unsigned long> > (function=..., context=...)
at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37
#24 0x000000000101ca6d in
boost::asio::detail::strand_service::dispatch<boost::asio::detail::binder2<boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::system::error_code, unsigned long> > (this=0x148bfe0,
impl=@0x7fe970a9aa78: 0x7fe9440144a0, handler=...)
    at /usr/include/boost/asio/detail/impl/strand_service.hpp:62
#25 0x000000000101cbea in
boost::asio::io_service::strand::dispatch<boost::asio::detail::binder2<boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::system::error_code, unsigned long>
>(boost::asio::detail::binder2<boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::system::error_code, unsigned long>&&)
(this=this at entry=0x7fe970a9aa70,
    handler=handler at entry=<unknown type in
/srv/osrm/osrm-backend/build/osrm-routed, CU 0xbc762, DIE 0x116a8c>) at
/usr/include/boost/asio/strand.hpp:158
#26 0x000000000101cc8c in
boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>::operator()<boost::system::error_code,
unsigned long> (this=this at entry=0x7fe970a9aa70,
    arg1=..., arg2=@0x7fe970a9aab0: 457) at
/usr/include/boost/asio/detail/wrapped_handler.hpp:99
#27 0x000000000101ccf2 in
boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>::operator() (
    this=this at entry=0x7fe970a9aa70) at
/usr/include/boost/asio/detail/bind_handler.hpp:127
#28 0x000000000101cd0e in
boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > >::operator()
(this=this at entry=0x7fe970a9aa50)
    at /usr/include/boost/asio/detail/wrapped_handler.hpp:191
#29 0x000000000101cd19 in
boost::asio::asio_handler_invoke<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > > > (function=...)
    at /usr/include/boost/asio/handler_invoke_hook.hpp:69
#30 0x000000000101cd47 in
boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > >,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > > (function=..., context=...)
    at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37
#31 0x000000000101cd5a in
boost::asio::detail::asio_handler_invoke<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > >,
boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > > (function=...,
this_handler=<optimized out>) at
/usr/include/boost/asio/detail/wrapped_handler.hpp:275
#32 0x000000000101cd85 in
boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > >,
boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > > > (function=...,
context=...) at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37
---Type <return> to continue, or q <return> to quit---
#33 0x000000000101ce16 in
boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > > >::do_complete (
    owner=0x1481700, base=base at entry=0x7fe95c035920) at
/usr/include/boost/asio/detail/completion_handler.hpp:68
#34 0x000000000101cfa7 in
boost::asio::detail::strand_service::dispatch<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > > > (
    this=0x148bfe0, impl=@0x7fe970a9ace8: 0x7fe9440144a0, handler=...)
at /usr/include/boost/asio/detail/impl/strand_service.hpp:88
#35 0x000000000101d04d in
boost::asio::io_service::strand::dispatch<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > >
>(boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&&)
(this=this at entry=0x7fe970a9ace0,
    handler=handler at entry=<unknown type in
/srv/osrm/osrm-backend/build/osrm-routed, CU 0xbc762, DIE 0x117418>) at
/usr/include/boost/asio/strand.hpp:158
#36 0x000000000101d0cb in
boost::asio::detail::asio_handler_invoke<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>,
boost::asio::io_service::strand, boost::_bi::bind_t<void,
boost::_mfi::mf2<void, osrm::server::Connection,
boost::system::error_code const&, unsigned long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running> (function=...,
this_handler=0x7fe970a9ace0) at
/usr/include/boost/asio/detail/wrapped_handler.hpp:232
#37 0x000000000101d6a5 in
boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running>,
boost::system::error_code, unsigned long>,
boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running> > (function=...,
context=...) at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37
#38 0x000000000101d7c8 in
boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1,
boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,
boost::_bi::bind_t<void, boost::_mfi::mf2<void,
osrm::server::Connection, boost::system::error_code const&, unsigned
long>,
boost::_bi::list3<boost::_bi::value<std::shared_ptr<osrm::server::Connection>
>, boost::arg<1> (*)(), boost::arg<2> (*)()> >,
boost::asio::detail::is_continuation_if_running> >::do_complete (
    owner=0x1481700, base=<optimized out>) at
/usr/include/boost/asio/detail/reactive_socket_recv_op.hpp:110
#39 0x0000000000ff8e4c in
boost::asio::detail::task_io_service::do_run_one
(this=this at entry=0x1481700, lock=..., this_thread=..., ec=...)
    at /usr/include/boost/asio/detail/impl/task_io_service.ipp:372
#40 0x0000000000ff8f6a in boost::asio::detail::task_io_service::run
(this=0x1481700, ec=...) at
/usr/include/boost/asio/detail/impl/task_io_service.ipp:149
#41 0x0000000000ffbab6 in boost::asio::io_service::run (this=0x1486928)
at /usr/include/boost/asio/impl/io_service.ipp:59
#42 0x000000000100997f in std::_Bind_simple<boost::_bi::bind_t<unsigned
long, boost::_mfi::mf0<unsigned long, boost::asio::io_service>,
boost::_bi::list1<boost::_bi::value<boost::asio::io_service*> > >
()>::operator()() (this=<optimized out>) at
/usr/include/c++/5/functional:1520
#43 0x00007ffff69f5c80 in ?? () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#44 0x00007ffff6ece6ba in start_thread (arg=0x7fe970a9b700) at
pthread_create.c:333
#45 0x00007ffff615b41d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109



More information about the OSRM-talk mailing list