Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

http_client failing on MSVC 10 #22

Closed
Labels
@glynos

Description

@glynos

Another issue reported on the Boost user's list:

Hi there, I'm trying to run http_client.cpp taken from the netlib
examples. But unfortunately it's throwing a lot of exceptions.

The line:

cout << body(response) << endl;

results into the following exceptions:

First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception:
boost::exception_detail::clone_implboost::system::system_error at
memory location 0x00bddcd0..
First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception: [rethrow] at memory location 0x00000000..
First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception:
boost::exception_detail::clone_implboost::system::system_error at
memory location 0x00bddcd0..
First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception: [rethrow] at memory location 0x00000000..
First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception:
boost::exception_detail::clone_implboost::system::system_error at
memory location 0x00bddcd0..
First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception: [rethrow] at memory location 0x00000000..
First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception:
boost::exception_detail::clone_implboost::system::system_error at
memory location 0x00bddcd0..
First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception: [rethrow] at memory location 0x00000000..
First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception:
boost::exception_detail::clone_implboost::system::system_error at
memory location 0x00bddcd0..
First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception: [rethrow] at memory location 0x00000000..
First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception:
boost::exception_detail::clone_implboost::system::system_error at
memory location 0x002cece0..
First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception:
boost::exception_detail::clone_implboost::system::system_error at
memory location 0x00bddcd0..
First-chance exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception: [rethrow] at memory location 0x00000000..
Unhandled exception at 0x000007fefdd0aa7d in test_netlib_vc10.exe:
Microsoft C++ exception:
boost::exception_detail::clone_implboost::system::system_error at
memory location 0x002cece0..

here is my stack:

msvcr100d.dll!_CxxThrowException(void *
pExceptionObject=0x000000000030ee20, const _s__ThrowInfo *
pThrowInfo=0x000000013f526cd8) Line 157 C++
test_netlib_vc10.exe!boost::exception_detail::clone_implboost::system::system_error::rethrow()
Line 421 C++
test_netlib_vc10.exe!boost::rethrow_exception(const
boost::shared_ptr<boost::exception_detail::clone_base const > &
p={...}) Line 413 C++
test_netlib_vc10.exe!boost::detail::future_object_base::wait(bool
rethrow=true) Line 170 + 0x11 bytes C++
test_netlib_vc10.exe!boost::detail::future_objectstd::basic_string<char,std::char_traits<char,std::allocator

::get() Line 331 C++
test_netlib_vc10.exe!boost::shared_futurestd::basic_string<char,std::char_traits<char,std::allocator
::get() Line 847 + 0x12 bytes C++
test_netlib_vc10.exe!boost::network::http::async_messageboost::mpl::inherit2<boost::mpl::inherit2<boost::mpl::inherit2<boost::mpl::inherit2boost::network::tags::http,boost::network::tags::simple,boost::network::tags::async,boost::network::tags::tcp>,boost::network::tags::default_string>
::body() Line 107 + 0x18 bytes C++
test_netlib_vc10.exe!boost::network::http::impl::body_wrapperboost::network::http::basic_response<boost::mpl::inherit2<boost::mpl::inherit2<boost::mpl::inherit2<boost::mpl::inherit2boost::network::tags::http,boost::network::tags::simple,boost::network::tags::async,boost::network::tags::tcp>,boost::network::tags::default_string>
::operator std::basic_string<char,std::char_traits,std::allocator
() Line 30 + 0x12 bytes C++
test_netlib_vc10.exe!boost::network::http::bodyboost::mpl::inherit2<boost::mpl::inherit2<boost::mpl::inherit2<boost::mpl::inherit2boost::network::tags::http,boost::network::tags::simple,boost::network::tags::async,boost::network::tags::tcp>,boost::network::tags::default_string>
(const boost::network::http::basic_responseboost::mpl::inherit2<boost::mpl::inherit2<boost::mpl::inherit2<boost::mpl::inherit2boost::network::tags::http,boost::network::tags::simple,boost::network::tags::async,boost::network::tags::tcp>,boost::network::tags::default_string>
& message={...}) Line 41 + 0x1f bytes C++
test_netlib_vc10.exe!main(int argc=2, char * *
argv=0x00000000004f7850) Line 86 + 0x15 bytes C++
test_netlib_vc10.exe!__tmainCRTStartup() Line 555 + 0x19 bytes C
test_netlib_vc10.exe!mainCRTStartup() Line 371 C

I'm using boost trunk with Visual Studio 10 compiling x64 bit code.

Anyone any idea what going on here?

Thanks,

Christian

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp