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
core dump #3
Comments
I'll check it |
Hmm... myRPC needs a patch to work with latest boost library on win32 platform. Did you make some changes in sources? Anyway, I checked on Win7 64bit, MSVS Express 2010, Boost 1.48, MsgPack 0.5.4. Everything was compiled in 32-bit mode. Can not reproduce this issue. |
Thank you for investigating. I will try to take it in smaller steps and see where I made a mistake. |
Also checked in 64bit mode. Everything was recompiled to 64bit (boost/msgpack/myrpc). Still no issues. |
I tried to start from scratch but got stuck with a compiler error, and no header files are in msgpack/type.hpp so can't proceed.
1>------ Build started: Project: myrpc, Configuration: Debug Win32 ------ |
Nice description. It's a bug in |
Thank you that was helpful for getting ride of the missing type.hpp. I also have problems since int8_t seems to be defined in both Visual Studio 10's stdint.h and msgpack's sysdep.h. Compiler output stdint.h contains this typedef: typedef signed char int8_t; |
Your |
Cool now I can build myrpc successfuly. i = 1 and on the debug out I have this: First-chance exception at 0x76b4b9bc in test.exe: Microsoft C++ exception: msgpack::type_error at memory location 0x028df7c8.. |
"internal catch" is just a part of the test. It's expected to see it here. "First-chance exception" is ok as well. MS debugger prints it every time when a exception is thrown. This test tries to call a function with wrong arguments, this is the reason of the exceptions. |
I tried to take the newst version of msgpack from git and added the files that configure will amend from msgpack 0.5.4. |
OK, I will close this ticket. Thank you! |
Ok, I'll change the test to make its output more clear. |
Acually it would be nice to have the original cpp unit tests from msgpack-rpc added to myrpc. |
That makes sense. |
I updated the test a little. Output now is better. |
I have a core dump when I call the tests project, at the place where run_client_test calls cli.call.
What is the best way to setup the build environment?
try {
i = cli.call("add", 12).get(); <----- here
}
catch (const std::exception& e)
{
printf("internal catch: %s\n", e.what());
}
void* msgpack_zone_malloc_expand(msgpack_zone* zone, size_t size)
{
msgpack_zone_chunk_list* const cl = &zone->chunk_list;
}
My platform is Windows 7 64 bit (using 32 only ... i think), Visual Studio 2010 SP1, Boost 1.48, MsgPack 0.5.4
The text was updated successfully, but these errors were encountered: