Advertisement
vanandel

wt_boost_TcpConnection_race

Feb 18th, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.66 KB | None | 0 0
  1. ==9708== Possible data race during write of size 8 at 0xE33BD50 by thread #10
  2. ==9708== Locks held: none
  3. ==9708== at 0x51414C6: http::server::TcpConnection::~TcpConnection() (in /net/src/eol/ui_server_deps/wt-3.3.4-rc1/build_boost_1_57_0/src/http/libwthttpd.so.3.3.4)
  4. ==9708== by 0x5141537: http::server::TcpConnection::~TcpConnection() (TcpConnection.h:37)
  5. ==9708== by 0x50FEA21: void boost::checked_delete<http::server::TcpConnection>(http::server::TcpConnection*) (checked_delete.hpp:34)
  6. ==9708== by 0x51045DB: boost::detail::sp_counted_impl_p<http::server::TcpConnection>::dispose() (sp_counted_impl.hpp:78)
  7. ==9708== by 0x583F17: boost::detail::sp_counted_base::release() (sp_counted_base_gcc_x86.hpp:146)
  8. ==9708== by 0x583FDA: boost::detail::shared_count::~shared_count() (shared_count.hpp:443)
  9. ==9708== by 0x50B3DFB: boost::shared_ptr<http::server::Connection>::~shared_ptr() (shared_ptr.hpp:323)
  10. ==9708== by 0x50B4047: boost::_bi::value<boost::shared_ptr<http::server::Connection> >::~value() (bind.hpp:112)
  11. ==9708== by 0x50B4061: boost::_bi::storage1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > >::~storage1() (storage.hpp:40)
  12. ==9708== by 0x50B41B5: boost::_bi::storage2<boost::_bi::value<boost::shared_ptr<http::server::Connection> >, boost::arg<1> (*)()>::~storage2() (storage.hpp:107)
  13. ==9708== by 0x50B41CF: boost::_bi::list2<boost::_bi::value<boost::shared_ptr<http::server::Connection> >, boost::arg<1> (*)()>::~list2() (bind.hpp:275)
  14. ==9708== by 0x50B41ED: boost::_bi::bind_t<void, boost::_mfi::mf1<void, http::server::Connection, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<boost::shared_ptr<http::server::Connection> >, boost::arg<1> (*)()> >::~bind_t() (bind.hpp:864)
  15. ==9708==
  16. ==9708== This conflicts with a previous read of size 8 by thread #3
  17. ==9708== Locks held: none
  18. ==9708== at 0x50C0DA8: void boost::_mfi::mf0<void, http::server::Connection>::call<boost::shared_ptr<http::server::Connection> >(boost::shared_ptr<http::server::Connection>&, void const*) const (mem_fn_template.hpp:40)
  19. ==9708== by 0x50C091C: void boost::_mfi::mf0<void, http::server::Connection>::operator()<boost::shared_ptr<http::server::Connection> >(boost::shared_ptr<http::server::Connection>&) const (mem_fn_template.hpp:55)
  20. ==9708== by 0x50C027F: void boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > >::operator()<boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, http::server::Connection>&, boost::_bi::list0&, int) (bind.hpp:253)
  21. ==9708== by 0x50BFCD2: boost::_bi::bind_t<void, boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > > >::operator()() (bind_template.hpp:20)
  22. ==9708== by 0x50BF86E: void boost::asio::asio_handler_invoke<boost::_bi::bind_t<void, boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > > > >(boost::_bi::bind_t<void, boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > > >&, ...) (handler_invoke_hook.hpp:69)
  23. ==9708== by 0x50BF010: void boost_asio_handler_invoke_helpers::invoke<boost::_bi::bind_t<void, boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > > >, boost::_bi::bind_t<void, boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > > > >(boost::_bi::bind_t<void, boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > > >&, boost::_bi::bind_t<void, boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > > >&) (handler_invoke_helpers.hpp:37)
  24. ==9708== by 0x50C14B1: void boost::asio::detail::strand_service::dispatch<boost::_bi::bind_t<void, boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > > > >(boost::asio::detail::strand_service::strand_impl*&, boost::_bi::bind_t<void, boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > > >&) (strand_service.hpp:62)
  25. ==9708== by 0x50C1367: boost::asio::async_result<boost::asio::handler_type<boost::_bi::bind_t<void, boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > > >, void ()>::type>::type boost::asio::io_service::strand::dispatch<boost::_bi::bind_t<void, boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > > > >(boost::_bi::bind_t<void, boost::_mfi::mf0<void, http::server::Connection>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<http::server::Connection> > > > const&) (strand.hpp:158)
  26. ==9708== Address 0xe33bd50 is 0 bytes inside a block of size 544 alloc'd
  27. ==9708== at 0x4C2A4F5: operator new(unsigned long) (vg_replace_malloc.c:324)
  28. ==9708== by 0x50F06EC: http::server::Server::start() (Server.C:172)
  29. ==9708== by 0x50EFEF1: http::server::Server::Server(http::server::Configuration const&, Wt::WServer&) (Server.C:108)
  30. ==9708== by 0x51425B5: Wt::WServer::start() (WServer.C:171)
  31. ==9708== by 0x51432B7: Wt::WServer::run() (WServer.C:250)
  32. ==9708== by 0x63FC5B: main (blog.C:63)
  33. ==9708== Block was alloc'd by thread #1
  34. ==9708==
  35. ==9708== (action on error) vgdb me ...
  36. =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement