$100 reward to get Boost libraries to run in Windows 7 with Visual Studio 2008 Express Edition

DeviceManager.exe!std::allocator<char>::deallocate(char * _Ptr=0x00d554d0, unsigned int __formal=64) Line 140 + 0x9 bytes C++ DeviceManager.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> ::_Tidy(bool _Built=true, unsigned int _Newsize=0) Line 2158 C++ DeviceManager.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> ::~basic_string<char,std::char_traits<char>,std::allocator<char> >() Line 907 C++ DeviceManager.exe!http::server3::connection::handle_read(const boost::system::error_code & e={...}, unsigned int bytes_transferred=0) Line 190 C++ DeviceManager.exe!boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>::call<boost::shared_ptr<http::server3::connection>,boost::system::error_code const ,unsigned int>(boost::shared_ptr<http::server3::connection> & u={...}, const void * __formal=0x00000000, const boost::system::error_code & b1={...}, unsigned int & b2=0) Line 271 + 0x27 bytes C++ DeviceManager.exe!boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>::operator()<boost::shared_ptr<http::server3::connection> (boost::shared_ptr<http::server3::connection> & u={...}, const boost::system::error_code & a1={...}, unsigned int a2=0) Line 287 C++ DeviceManager.exe!boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> ::operator()<boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list2<boost::system::error_code const &,unsigned int const &> >(boost::_bi::type<void> __formal={...}, boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int> & f={...}, boost::_bi::list2<boost::system::error_code const &,unsigned int const &> & a={...}, boost::_bi::type<void> __formal={...}) Line 393 C++ DeviceManager.exe!boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > ::operator()<boost::system::error_code,unsigned int>(const boost::system::error_code & a1={...}, const unsigned int & a2=0) Line 103 C++ DeviceManager.exe!boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int>::operator()() Line 99 C++ DeviceManager.exe!boost::asio::asio_handler_invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int> >(boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int> function={...}, ...) Line 65 C++ DeviceManager.exe!boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >(const boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int> & function={...}, boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > & context={...}) Line 39 + 0x2c bytes C++ DeviceManager.exe!boost::asio::detail::asio_handler_invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int>(const boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int> & function={...}, boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int> * this_handler=0x030ce8a4) Line 133 + 0xd bytes C++ DeviceManager.exe!boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int>,boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int> >(const boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int> & function={...}, boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int> & context={...}) Line 39 + 0x16 bytes C++ DeviceManager.exe!boost::asio::detail::strand_service::dispatch<boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int> >(boost::asio::detail::strand_service::strand_impl * & impl=0x022dbc78, boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int> handler={...}) Line 65 + 0xd bytes C++ DeviceManager.exe!boost::asio::io_service::strand::dispatch<boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int> >(boost::asio::detail::binder2<boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > >,boost::system::error_code,unsigned int> handler={...}) Line 160 C++ DeviceManager.exe!boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > ::operator()<boost::system::error_code,unsigned int>(const boost::system::error_code & arg1={...}, const unsigned int & arg2=0) Line 66 C++ DeviceManager.exe!boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>::operator()() Line 99 C++ DeviceManager.exe!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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >::operator()() Line 138 C++ DeviceManager.exe!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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > function={...}, ...) Line 65 C++ DeviceManager.exe!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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > ,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >(const 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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > & function={...}, boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > & context={...}) Line 39 + 0x2c bytes C++ DeviceManager.exe!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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >(const 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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > & function={...}, 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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > * this_handler=0x030cf1e8) Line 196 + 0x10 bytes C++ DeviceManager.exe!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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > >(const 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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > & function={...}, 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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > & context={...}) Line 39 + 0x16 bytes C++ DeviceManager.exe!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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > (boost::asio::detail::strand_service::strand_impl * & impl=0x022dbc78, 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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > handler={...}) Line 97 + 0xd bytes C++ DeviceManager.exe!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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > handler={...}) Line 160 C++ DeviceManager.exe!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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::asio::io_service::strand,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >(const boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int> & function={...}, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > * this_handler=0x030cf600) Line 173 C++ DeviceManager.exe!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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int>,boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > >(const boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int> & function={...}, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand,boost::_bi::bind_t<void,boost::_mfi::mf2<void,http::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > & context={...}) Line 39 + 0x16 bytes C++ DeviceManager.exe!boost::asio::detail::win_iocp_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::server3::connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<http::server3::connection> ,boost::arg<1>,boost::arg<2> > > > ::do_complete(boost::asio::detail::win_iocp_io_service * owner=0x022d19f8, boost::asio::detail::win_iocp_operation *
I'm a veteran c++ coder and don't normally resort to such tactics, but I'm desperate. I've got a looming deadline to finish a big task and need to wrap up a minor utility that's less than 1% of the project but is consuming all my time because it uses boost for socket i/o, but I can't get the boost itself to work on windows 7 with vs2008ee, and it's blocking me from getting my core projects complete. The same code works fine on someone else's windows vista PC with vs2010, and under Linux. Given how popular boost is I can't believe it's simply that boost doesn't run on Windows 7. So, before I go out and buy another PC with Vista, I figured I'd offer a bit of cash for a Boost guru to VNC into my PC and look at it. The problem is that every time I do anything with the boost libraries they crash deep within the boost code. Since I'm a boost/bjam newbie, I'm just struggling trying every combination of bjam option and project option, but nothing seems to generate libraries that actually work, and, after fighting with it for about 15 hours, I'm totally out of time to mess with it anymore or I won't get the rest of my code done. If a seasoned Boost dev agrees to do it, I'll send you money by paypal first, then give you VNC access to my dev box so you can login and see for yourself what's happening. My email is bergen.p0@gmail.com. Basically, I use bjam like this: bjam toolset=msvc-9.0 variant=release threading=multi link=shared --with-system --with-thread --with-date_time --with-regex --with-serialization stage then every time I do anything socket related, it crashes in xmemory, deallocate with the following backtrace: ntdll.dll!77eefadc() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ntdll.dll!77eb272c() ntdll.dll!77e7e1ef() KernelBase.dll!76b9468e() DeviceManager.exe!_CrtIsValidHeapPointer(const void * pUserData=0x00d554d0) Line 2103 C++ DeviceManager.exe!_free_dbg_nolock(void * pUserData=0x00d554d0, int nBlockUse=1) Line 1317 + 0x9 bytes C++ DeviceManager.exe!_free_dbg(void * pUserData=0x00d554d0, int nBlockUse=1) Line 1258 + 0xd bytes C++ DeviceManager.exe!operator delete(void * pUserData=0x00d554d0) Line 54 + 0x10 bytes C++ base=0x022df948, boost::system::error_code ec={...}, unsigned int bytes_transferred=0) Line 91 + 0xd bytes C++ DeviceManager.exe!boost::asio::detail::win_iocp_operation::complete(boost::asio::detail::win_iocp_io_service & owner={...}, const boost::system::error_code & ec={...}, unsigned int bytes_transferred=0) Line 42 + 0x20 bytes C++ DeviceManager.exe!boost::asio::detail::win_iocp_io_service::do_one(bool block=true, boost::system::error_code & ec={...}) Line 387 C++ DeviceManager.exe!boost::asio::detail::win_iocp_io_service::run(boost::system::error_code & ec={...}) Line 160 + 0xe bytes C++ DeviceManager.exe!boost::asio::io_service::run() Line 57 + 0xf bytes C++ DeviceManager.exe!boost::_mfi::mf0<unsigned int,boost::asio::io_service>::operator()(boost::asio::io_service * p=0x0018fb30) Line 49 + 0xc bytes C++ DeviceManager.exe!boost::_bi::list1<boost::_bi::value<boost::asio::io_service *> >::operator()<unsigned int,boost::_mfi::mf0<unsigned int,boost::asio::io_service>,boost::_bi::list0>(boost::_bi::type<unsigned int> __formal={...}, boost::_mfi::mf0<unsigned int,boost::asio::io_service> & f={...}, boost::_bi::list0 & a={...}, boost::_bi::type<unsigned int> __formal={...}) Line 244 C++ DeviceManager.exe!boost::_bi::bind_t<unsigned int,boost::_mfi::mf0<unsigned int,boost::asio::io_service>,boost::_bi::list1<boost::_bi::value<boost::asio::io_service *> > >::operator()() Line 21 C++ DeviceManager.exe!boost::detail::thread_data<boost::_bi::bind_t<unsigned int,boost::_mfi::mf0<unsigned int,boost::asio::io_service>,boost::_bi::list1<boost::_bi::value<boost::asio::io_service *> > > >::run() Line 62 C++ boost_thread-vc90-mt-gd-1_44.dll!boost::`anonymous namespace'::thread_start_function(void * param=0x00748fc0) Line 169 C++ msvcr90d.dll!61e5dfd3() msvcr90d.dll!61e5df69() kernel32.dll!77143677() ntdll.dll!77e59d72() ntdll.dll!77e59d45()

On 12/03/2010 08:10 PM, Paul Bergen wrote:
Basically, I use bjam like this:
bjam toolset=msvc-9.0 variant=release threading=multi link=shared
This would suggest that you're building Boost in "Release" configuration.
boost_thread-vc90-mt-gd-1_44.dll!boost::`anonymous namespace'::thread_start_function(void * param=0x00748fc0) Line 169 C++ msvcr90d.dll!61e5dfd3() msvcr90d.dll!61e5df69()
This suggests that you're linking and running against the "Debug" CRT.
kernel32.dll!77143677()
Run your exe in a good debugger (like WinDbg or NTSD) and see if you have multiple versions of MSVCR*.dll being involved. Or you may have some modules being linked statically and other dynamically. You can probably look at the modules in the MSVS IDE too. The 'depends.exe' tool can be useful for tracking this down, too. Did perhaps you add a linker directive to bring some Boost .libs manually? Did perhaps that get set for both Debug and Release when it really needed to be specified separately? Just some thoughts. - Marsh

On 04/12/10 05:30, Marsh Ray wrote:
On 12/03/2010 08:10 PM, Paul Bergen wrote:
Basically, I use bjam like this:
bjam toolset=msvc-9.0 variant=release threading=multi link=shared
This would suggest that you're building Boost in "Release" configuration.
boost_thread-vc90-mt-gd-1_44.dll!boost::`anonymous namespace'::thread_start_function(void * param=0x00748fc0) Line 169 C++ msvcr90d.dll!61e5dfd3() msvcr90d.dll!61e5df69()
This suggests that you're linking and running against the "Debug" CRT.
Indeed, and this may be causing allocation and deallocation across boundaries of modules using different C/C++ run-time libraries. Paul, I'd suggest you to verify your setup according to the following references: http://vcfaq.mvps.org/lang/9.htm http://blogs.msdn.com/b/oldnewthing/archive/2006/09/15/755966.aspx Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org

Quoting Paul Bergen <bergen.p0@gmail.com>:
[...] If a seasoned Boost dev agrees to do it, I'll send you money by paypal first, then give you VNC access to my dev box so you can login and see for yourself what's happening. My email is bergen.p0@gmail.com.
Basically, I use bjam like this:
bjam toolset=msvc-9.0 variant=release threading=multi link=shared --with-system --with-thread --with-date_time --with-regex --with-serialization stage
then every time I do anything socket related, it crashes in xmemory, deallocate with the following backtrace:
ntdll.dll!77eefadc() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ntdll.dll!77eb272c() ntdll.dll!77e7e1ef()
This smells a bit like link-incompatible compiler options. You might want to make sure you're passing in identical options to your client application as is passed in when building the boost library itself. Particularly important in this case, I imagine, is that both your app and boost links against the run-time library the same way (i.e. statically vs. dynamically, and on windows you have to make sure both debug/release and multi-threaded/single-threaded match as well). The difficult way of doing this is to invoke bjam with -n and look into all the response files (.rsp) and make sure the same settings are passed in when you build the source files of your app. The probably slightly simpler way of solving this (or at least to verify if this is in fact the issue) is to build boost and your app with the same build tool. Either drag all the boost source files you need into your project or build your project with boost build (the latter is probably slightly more reliable). Given that you're building boost with link=shared, make sure you're linking against the multithreaded-release-DLL-runtime library in visual studio as well. -- Arvid Norberg

Paul Bergen wrote:
I'm a veteran c++ coder and don't normally resort to such tactics, but I'm desperate. I've got a looming deadline to finish a big task and need to wrap up a minor utility that's less than 1% of the project but is consuming all my time because it uses boost for socket i/o, but I can't get the boost itself to work on windows 7 with vs2008ee, and it's blocking me from getting my core projects complete. The same code works fine on someone else's windows vista PC with vs2010, and under Linux. Given how popular boost is I can't believe it's simply that boost doesn't run on Windows 7. So, before I go out and buy another PC with Vista, I figured I'd offer a bit of cash for a Boost guru to VNC into my PC and look at it.
You should look to boostpro consulting. I'm sure they can fix you up in no time. Note that I have no commertial interest or connection (or even any real affection for) boostpro consulting. I just think that this would be a good investment of your companies money to get over this hump. This is an common problem which has nothing to do with C++ programming pe se but rather combining all the tools to get what we want. I admit these kinds of problems are just about the only things on earth that make me feel really dumb (other than MS Word and PowerPoint). Solving them is just a question of finding the hidden unintended side effect of something which would/should be entirely unrelated. I'm really sympathetic. Robert Ramey

Hi friends! Between work on my Configurator (beta version on the way) I remembered an old idea to simplify work with STL algorithms. This is not a library, but just a simple wrapperaround algorithms from <algorithm> header. Main purpose of this - deliverance from direct work with iterators. Iterators is the perfect tool, but it is often a source of stupidmistakes: typedef std::vector< int > V; typedef V::iterator Vit; V v1 = list_of( 1 )( 2 )( 3 ); Vitit1 = std::find( v1.begin(), v1.begin(), 2 ); // Oops, we use same iterator... V v2 = list_of( 34 )( 56 )( 78 ); Vitit2 = std::find( v2.begin(), v1.end(), 56 ); // Oops, we use iterators from different containers... The most offensive is that such mistakes are not detected at compile-time (at least in GCC), because, strictly speaking,it is not language error, but logical error.Sometimes I make such mistakes in my code... Possible solution: template < typename Container , typename Value
inline typename Container::const_iterator simple_find( const Container& cont, const Value& value ) { return std::find( cont.begin(), cont.end(), value ); } or like this: template < typename Container , typename Value
inline typename boost::range_iterator< const Container >::type simple_find( const Container& cont, const Value& value ) { return std::find( boost::begin( cont ), boost::end( cont ), value ); } In this case we can write: V v1 = list_of( 1 )( 2 )( 3 ); Vitit1 = simple_find( v1, 2 ); V v2 = list_of( 34 )( 56 )( 78 ); Vitit2 = simple_find( v2, 56 ); Similarly possible to wrap all of the standard algorithms, that will simplify code and improve its reliability. Additionally it is possible to simplify the writing of standard idioms, for example: template < typename Container , typename Value
inline void simple_erase_all( Container& cont, const Value& value ) { cont.erase( std::remove( boost::begin( cont ), boost::end( cont ), value ), boost::end( cont ) ); } Example of code: V v3 = list_of( 111 )( 333)( 333 ); simple_erase_all( v3, 333 ); I think that this wrapper could be a part ofBoost.Utility. What do you think about it?

2010/12/25 Shevchenko Denis <for.dshevchenko@gmail.com>
Hi friends!
Between work on my Configurator (beta version on the way) I remembered an old idea to simplify work with STL algorithms. This is not a library, but just a simple wrapperaround algorithms from <algorithm> header. Main purpose of this - deliverance from direct work with iterators.
Iterators is the perfect tool, but it is often a source of stupidmistakes:
typedef std::vector< int > V; typedef V::iterator Vit; V v1 = list_of( 1 )( 2 )( 3 ); Vitit1 = std::find( v1.begin(), v1.begin(), 2 ); // Oops, we use same iterator...
V v2 = list_of( 34 )( 56 )( 78 ); Vitit2 = std::find( v2.begin(), v1.end(), 56 ); // Oops, we use iterators from different containers...
The most offensive is that such mistakes are not detected at compile-time (at least in GCC), because, strictly speaking,it is not language error, but logical error.Sometimes I make such mistakes in my code...
Possible solution:
template < typename Container , typename Value
inline typename Container::const_iterator simple_find( const Container& cont, const Value& value ) { return std::find( cont.begin(), cont.end(), value ); }
or like this:
template < typename Container , typename Value
inline typename boost::range_iterator< const Container >::type simple_find( const Container& cont, const Value& value ) { return std::find( boost::begin( cont ), boost::end( cont ), value ); }
In this case we can write:
V v1 = list_of( 1 )( 2 )( 3 ); Vitit1 = simple_find( v1, 2 );
V v2 = list_of( 34 )( 56 )( 78 ); Vitit2 = simple_find( v2, 56 );
Similarly possible to wrap all of the standard algorithms, that will simplify code and improve its reliability.
Additionally it is possible to simplify the writing of standard idioms, for example:
template < typename Container , typename Value
inline void simple_erase_all( Container& cont, const Value& value ) { cont.erase( std::remove( boost::begin( cont ), boost::end( cont ), value ), boost::end( cont ) ); }
Example of code:
V v3 = list_of( 111 )( 333)( 333 ); simple_erase_all( v3, 333 );
I think that this wrapper could be a part ofBoost.Utility.
What do you think about it?
If I understand correctly, you might want to take a look into Boost.Range. See: http://www.boost.org/doc/libs/1_45_0/libs/range/doc/html/range/reference/alg...

25.12.2010 06:51, TONGARI пишет:
If I understand correctly, you might want to take a look into Boost.Range. See: http://www.boost.org/doc/libs/1_45_0/libs/range/doc/html/range/reference/alg... _______________________________________________ Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost Ops... Againmy inattention. I read Boost.Range documentation, but not all.
Thank you very much.
participants (7)
-
arvid@cs.umu.se
-
Marsh Ray
-
Mateusz Loskot
-
Paul Bergen
-
Robert Ramey
-
Shevchenko Denis
-
TONGARI