Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault of osrm-routed after reload with osrm-datastore #1235

Closed
frodrigo opened this issue Oct 21, 2014 · 11 comments
Closed

Segmentation fault of osrm-routed after reload with osrm-datastore #1235

frodrigo opened this issue Oct 21, 2014 · 11 comments

Comments

@frodrigo
Copy link
Member

I have a running setup on andorra for testing purpus with 0.4.3.

I run the data store

./build/osrm-datastore andorra-latest.osrm

[debug] Checking input parameters
[debug] deallocating prev memory
[debug] writeable memory allocated 256 bytes
[info] load names from: "andorra-latest.osrm.names"
[info] name offsets size: 15
[debug] Fingerprint checked out ok
[info] allocating shared memory of 697538 bytes
[debug] deallocating prev memory
[debug] writeable memory allocated 697538 bytes
[debug] writeable memory allocated 12 bytes
[debug] deallocating prev memory
[debug] deallocating prev memory
[info] all data loaded
[debug] -
[debug] name_offsets_size:          15
[debug] name_blocks_size:           15
[debug] name_char_list_size:        4159
[debug] name_id_list_size:          7364
[debug] via_node_list_size:         7364
[debug] graph_node_list_size:       4269
[debug] graph_edge_list_size:       14497
[debug] timestamp_length:           3
[debug] coordinate_list_size:       25641
[debug] turn_instruction_list_size: 7364
[debug] r_search_tree_size:         27
[debug] geometries_indicators:      7364/921
[debug] geometries_index_list_size: 4401
[debug] geometries_list_size:       51066
[debug] sizeof(checksum):           4
[debug] NAME_OFFSETS         : 60
[debug] NAME_BLOCKS          : 240
[debug] NAME_CHAR_LIST       : 4159
[debug] NAME_ID_LIST         : 29456
[debug] VIA_NODE_LIST        : 29456
[debug] GRAPH_NODE_LIST      : 17076
[debug] GRAPH_EDGE_LIST      : 173964
[debug] COORDINATE_LIST      : 205128
[debug] TURN_INSTRUCTION     : 7364
[debug] R_SEARCH_TREE        : 7452
[debug] GEOMETRIES_INDEX     : 17604
[debug] GEOMETRIES_LIST      : 204264
[debug] GEOMETRIES_INDICATORS: 924
[debug] HSGR_CHECKSUM        : 4
[debug] TIMESTAMP            : 3
[debug] FILE_INDEX_PATH      : 59

Now I run routed and to some query on it
./build/osrm-routed -p 6000 --sharedmemory

[info] starting up engines, v0.4.3, compiled at Oct 21 2014, 17:58:40
[debug] Loading from shared memory
[debug] writeable memory allocated 12 bytes
[debug] deallocating prev memory
[debug] deallocating prev memory
[info] set checksum: 14287553
[debug] -
[debug] name_offsets_size:          15
[debug] name_blocks_size:           15
[debug] name_char_list_size:        4159
[debug] name_id_list_size:          7364
[debug] via_node_list_size:         7364
[debug] graph_node_list_size:       4269
[debug] graph_edge_list_size:       14497
[debug] timestamp_length:           3
[debug] coordinate_list_size:       25641
[debug] turn_instruction_list_size: 7364
[debug] r_search_tree_size:         27
[debug] geometries_indicators:      7364/921
[debug] geometries_index_list_size: 4401
[debug] geometries_list_size:       51066
[debug] sizeof(checksum):           4
[debug] NAME_OFFSETS         : 60
[debug] NAME_BLOCKS          : 240
[debug] NAME_CHAR_LIST       : 4159
[debug] NAME_ID_LIST         : 29456
[debug] VIA_NODE_LIST        : 29456
[debug] GRAPH_NODE_LIST      : 17076
[debug] GRAPH_EDGE_LIST      : 173964
[debug] COORDINATE_LIST      : 205128
[debug] TURN_INSTRUCTION     : 7364
[debug] R_SEARCH_TREE        : 7452
[debug] GEOMETRIES_INDEX     : 17604
[debug] GEOMETRIES_LIST      : 204264
[debug] GEOMETRIES_INDICATORS: 924
[debug] HSGR_CHECKSUM        : 4
[debug] TIMESTAMP            : 3
[debug] FILE_INDEX_PATH      : 59
[info] number of geometries: 25641
[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.7
[info] running and waiting for requests
[info] 21-10-2014 18:03:29 127.0.0.1 - Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 /viaroute?z=12&output=json&jsonp=OSRM.JSONP.callbacks.dragging&checksum=14287553&loc=42.535627,1.520233&loc=42.566230,1.601257&alt=false&instructions=false
[debug] rendering took: 0
[info] 21-10-2014 18:03:30 127.0.0.1 - Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 /viaroute?z=12&output=json&jsonp=OSRM.JSONP.callbacks.dragging&checksum=14287553&loc=42.534615,1.520233&loc=42.566230,1.601257&hint=uwQAAMEEAAAAAAAAEgAAAEsAAADtAAAAswAAALoIAAAYg4kCpm0YAAMAAAA&alt=false&instructions=false
[debug] rendering took: 0
[info] 21-10-2014 18:03:30 127.0.0.1 - Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 /viaroute?z=12&output=json&jsonp=OSRM.JSONP.callbacks.route&checksum=14287553&loc=42.534615,1.520233&loc=42.566230,1.601257&hint=uwQAAMEEAAAAAAAAEgAAAEsAAADtAAAAswAAALoIAAAYg4kCpm0YAAMAAAA&instructions=true
[debug] rendering took: 0

I change nothing anaywhere. No update, no chnage on files.
Then run again 
./build/osrm-datastore andorra-latest.osrm

And then on next query on routed, it seg-fault

[info] 21-10-2014 18:05:15 127.0.0.1 - Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 /viaroute?z=12&output=json&jsonp=OSRM.JSONP.callbacks.dragging&checksum=14287553&loc=42.538410,1.515427&loc=42.566425,1.600934&alt=false&instructions=false
[debug] deallocating prev memory
[debug] deallocating prev memory
[info] set checksum: 14287553
[debug] -
[debug] name_offsets_size:          15
[debug] name_blocks_size:           15
[debug] name_char_list_size:        4159
[debug] name_id_list_size:          7364
[debug] via_node_list_size:         7364
[debug] graph_node_list_size:       4269
[debug] graph_edge_list_size:       14497
[debug] timestamp_length:           3
[debug] coordinate_list_size:       25641
[debug] turn_instruction_list_size: 7364
[debug] r_search_tree_size:         27
[debug] geometries_indicators:      7364/921
[debug] geometries_index_list_size: 4401
[debug] geometries_list_size:       51066
[debug] sizeof(checksum):           4
[debug] NAME_OFFSETS         : 60
[debug] NAME_BLOCKS          : 240
[debug] NAME_CHAR_LIST       : 4159
[debug] NAME_ID_LIST         : 29456
[debug] VIA_NODE_LIST        : 29456
[debug] GRAPH_NODE_LIST      : 17076
[debug] GRAPH_EDGE_LIST      : 173964
[debug] COORDINATE_LIST      : 205128
[debug] TURN_INSTRUCTION     : 7364
[debug] R_SEARCH_TREE        : 7452
[debug] GEOMETRIES_INDEX     : 17604
[debug] GEOMETRIES_LIST      : 204264
[debug] GEOMETRIES_INDICATORS: 924
[debug] HSGR_CHECKSUM        : 4
[debug] TIMESTAMP            : 3
[debug] FILE_INDEX_PATH      : 59
[info] number of geometries: 25641
Segmentation fault

(gdb) where
#0  0x00000000009566d3 in StaticRTree<EdgeBasedNode, SharedMemoryWrapper<FixedPointCoordinate>, true, 64u, 1024u>::FindPhantomNodeForCoordinate (
    this=0xf6e0a0, input_coordinate=..., result_phantom_node=..., zoom_level=12)
    at /home/mapotempo/osrm-backend/Library/../Server/DataStructures/../../DataStructures/StaticRTree.h:1058
#1  0x0000000000948d66 in SharedDataFacade<QueryEdge::EdgeData>::FindPhantomNodeForCoordinate (this=0xf6b3f0, input_coordinate=..., 
    resulting_phantom_node=..., zoom_level=12) at /home/mapotempo/osrm-backend/Library/../Server/DataStructures/SharedDataFacade.h:374
#2  0x00000000009430fc in ViaRoutePlugin<BaseDataFacade<QueryEdge::EdgeData> >::HandleRequest (this=0xf69370, route_parameters=..., reply=...)
    at /home/mapotempo/osrm-backend/Library/../Plugins/ViaRoutePlugin.h:106
#3  0x00000000008ee86e in OSRM_impl::RunQuery (this=0xf68f00, route_parameters=..., reply=...)
    at /home/mapotempo/osrm-backend/Library/OSRM_impl.cpp:131
#4  0x00000000008eecfc in OSRM::RunQuery (this=0x7fffffffc4c0, route_parameters=..., reply=...)
    at /home/mapotempo/osrm-backend/Library/OSRM_impl.cpp:166
#5  0x00000000008180f0 in RequestHandler::handle_request (this=0xf69208, req=..., reply=...)
    at /home/mapotempo/osrm-backend/Server/RequestHandler.cpp:108
#6  0x00000000008b9c4e in http::Connection::handle_read (this=0xf8d7b0, error=..., bytes_transferred=467)
    at /home/mapotempo/osrm-backend/Server/Connection.cpp:81
#7  0x00000000008e15cf in boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>::call<std::shared_ptr<http::Connection>, boost::system::error_code const, unsigned long> (this=0x7ffff4347220, u=..., b1=..., b2=@0x7ffff4347020: 467)
    at /usr/include/boost/bind/mem_fn_template.hpp:271
#8  0x00000000008e1503 in boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>::operator()<std::shared_ptr<http::Connection> > (this=0x7ffff4347220, u=..., a1=..., a2=467) at /usr/include/boost/bind/mem_fn_template.hpp:286
#9  0x00000000008e13fe in boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()>::operator()<boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list2<boost::system::error_code const&, unsigned long const&> > (this=0x7ffff4347230, f=..., a=...) at /usr/include/boost/bind/bind.hpp:392
#10 0x00000000008e12d4 in boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >::operator()<boost::system::error_code, unsigned long> (this=0x7ffff4347220, a1=..., a2=@0x7ffff4347250: 467) at /usr/include/boost/bind/bind_template.hpp:102
#11 0x00000000008e124f in boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>::operator() (this=0x7ffff4347220) at /usr/include/boost/asio/detail/bind_handler.hpp:118
#12 0x00000000008e10fb in boost::asio::asio_handler_invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long> > (function=...) at /usr/include/boost/asio/handler_invoke_hook.hpp:64
#13 0x00000000008e0f0e in boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > (function=..., context=...) at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:39
#14 0x00000000008e0bcc in boost::asio::detail::asio_handler_invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long> (function=..., this_handler=0x7ffff4347390) at /usr/include/boost/asio/detail/bind_handler.hpp:153
#15 0x00000000008e044e in boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::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:39
#16 0x00000000008dfc43 in boost::asio::detail::strand_service::dispatch<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long> > (this=0xf6ad20, impl=@0x7ffff43475d8: 0xf71060, handler=...)
    at /usr/include/boost/asio/detail/impl/strand_service.hpp:66
#17 0x00000000008decb8 in boost::asio::io_service::strand::dispatch<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>&&) (this=0x7ffff43475d0, handler=...)
    at /usr/include/boost/asio/strand.hpp:150
#18 0x00000000008de3dc in boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >::operator()<boost::system::error_code, unsigned long> (this=0x7ffff43475d0, arg1=..., arg2=@0x7ffff4347610: 467)
    at /usr/include/boost/asio/detail/wrapped_handler.hpp:79
#19 0x00000000008ddb89 in boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_tboost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>::operator() (this=0x7ffff43475d0)
    at /usr/include/boost/asio/detail/bind_handler.hpp:118
#20 0x00000000008dd222 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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >::operator() (this=0x7ffff43475b0)
    at /usr/include/boost/asio/detail/wrapped_handler.hpp:171
#21 0x00000000008dc822 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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > > (function=...)
    at /usr/include/boost/asio/handler_invoke_hook.hpp:64
#22 0x00000000008dbd5d 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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > (function=..., context=...) at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:39
#23 0x00000000008dad96 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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > (function=..., 
    this_handler=0x7ffff43476a0) at /usr/include/boost/asio/detail/wrapped_handler.hpp:238
#24 0x00000000008d9ac4 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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > > (function=..., context=...) at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:39
#25 0x00000000008d9e01 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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > >::do_complete (
    owner=0xf69220, base=0xf70ed0) at /usr/include/boost/asio/detail/completion_handler.hpp:67
#26 0x00000000008d77a2 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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > > (this=0xf6ad20, 
    impl=@0x7ffff4347998: 0xf71060, handler=...) at /usr/include/boost/asio/detail/impl/strand_service.hpp:92
#27 0x00000000008d4254 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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&&) (this=0x7ffff4347990, handler=...) at /usr/include/boost/asio/strand.hpp:150
#28 0x00000000008d120f 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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::system::error_code, unsigned long>, boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > (function=..., 
    this_handler=0x7ffff4347990) at /usr/include/boost/asio/detail/wrapped_handler.hpp:204
#29 0x00000000008ce4ff 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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, 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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > > (function=..., context=...) at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:39
#30 0x00000000008cb8a3 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, http::Connection, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<std::shared_ptr<http::Connection> >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > >::do_complete (owner=0xf69220, 
    base=0xf6a6f0) at /usr/include/boost/asio/detail/reactive_socket_recv_op.hpp:110
#31 0x00000000007bbdca in boost::asio::detail::task_io_service_operation::complete (this=0xf6a6f0, owner=..., ec=..., bytes_transferred=0)
    at /usr/include/boost/asio/detail/task_io_service_operation.hpp:37
#32 0x00000000007bfb79 in boost::asio::detail::epoll_reactor::descriptor_state::do_complete (owner=0xf69220, base=0xf6a560, ec=..., 
    bytes_transferred=5) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:624
#33 0x00000000007bbdca in boost::asio::detail::task_io_service_operation::complete (this=0xf6a560, owner=..., ec=..., bytes_transferred=5)
    at /usr/include/boost/asio/detail/task_io_service_operation.hpp:37
#34 0x00000000007c146f in boost::asio::detail::task_io_service::do_run_one (this=0xf69220, lock=..., this_thread=..., private_op_queue=..., ec=...)
    at /usr/include/boost/asio/detail/impl/task_io_service.ipp:369
#35 0x00000000007c06c7 in boost::asio::detail::task_io_service::run (this=0xf69220, ec=...)
    at /usr/include/boost/asio/detail/impl/task_io_service.ipp:146
#36 0x00000000007c1c69 in boost::asio::io_service::run (this=0xf691c8) at /usr/include/boost/asio/impl/io_service.ipp:59
#37 0x0000000000812b55 in boost::_mfi::mf0<unsigned long, boost::asio::io_service>::operator() (this=0xf6a1a0, p=0xf691c8)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#38 0x0000000000811c8f in boost::_bi::list1<boost::_bi::value<boost::asio::io_service*> >::operator()<unsigned long, boost::_mfi::mf0<unsigned long, boost::asio::io_service>, boost::_bi::list0> (this=0xf6a1b0, f=..., a=...) at /usr/include/boost/bind/bind.hpp:243
#39 0x00000000008108c9 in 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=0xf6a1a0) at /usr/include/boost/bind/bind_template.hpp:20
#40 0x000000000080efae 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*> > > ()>::_M_invoke<>(std::_Index_tuple<>) (this=0xf6a1a0) at /usr/include/c++/4.7/functional:1598
#41 0x000000000080d7c5 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=0xf6a1a0) at /usr/include/c++/4.7/functional:1586
#42 0x00000000008093d0 in std::thread::_Impl<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*> > > ()> >::_M_run() (this=0xf6a188) at /usr/include/c++/4.7/thread:115
#43 0x00007ffff6d96400 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#44 0x00007ffff7baab50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#45 0x00007ffff6598e6d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#46 0x0000000000000000 in ?? ()
@DennisOSRM
Copy link
Collaborator

should be fixed upstream in develop branch.

@DennisOSRM
Copy link
Collaborator

Meant to add:

Please test with the latest revision from develop branch. If the error persists, I am very interested in your data files.

@frodrigo
Copy link
Member Author

I tested it on develop branch but it's fail with an other error. Some thing like no single route.

@TheMarex
Copy link
Member

Does the request work against the demo server (or using no shared memory)?

@DennisOSRM
Copy link
Collaborator

Were the data files prepared with the same software revision?

@frodrigo
Copy link
Member Author

Yes, it's work before the second run of osrm-datastore.

Yes, the data was prepared with the same version.

@emiltin
Copy link
Contributor

emiltin commented Oct 22, 2014

do you get a "no route found" response, or a crash?

@frodrigo
Copy link
Member Author

On 0.4.3 a Segmentation fault

@DennisOSRM
Copy link
Collaborator

Please try with the latest revision from develop branch. I am pretty sure this was fixed some time ago.

@frodrigo
Copy link
Member Author

Today develop branch is ok for me

@DennisOSRM
Copy link
Collaborator

Thanks for the feedback. We will have a new release coming up soon that includes this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants