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

Crash at websocketpp::endpoint on Chinese Windows7 64bit OS #881

Closed
hg98-park opened this issue Apr 14, 2020 · 1 comment
Closed

Crash at websocketpp::endpoint on Chinese Windows7 64bit OS #881

hg98-park opened this issue Apr 14, 2020 · 1 comment

Comments

@hg98-park
Copy link

Thank you for making websocketpp. It is great.

My app crashed at Chinese customer site on Chinese Windows7 OS (64bit).
This app use websocketpp 0.8.1 and it runs well on my PC using Korean Windows7 OS.
The app is built using VisualStudio2010 x86 build.

The call-stack from the dump file shows my app(TMSClient100) called websocketpp::endpoint, then it called boost::random::random_device then ThrowException.

14 001cf6ac 7113872d e06d7363 00000001 00000003 KERNELBASE!RaiseException+0x58
15 001cf6e4 713b7c5a 001cf704 713d9350 b621b77b msvcr100!_CxxThrowException+0x48 [f:\dd\vctools\crt_bld\self_x86\crt\prebuild\eh\throw.cpp @ 157] 
16 001cf814 713b7da3 001cf840 b621b9a7 002a19bc TMSClient100!boost::random::random_device::impl::error+0x15a
17 001cf8b8 713b7f7b 001cf8dc b621b94b 00000000 TMSClient100!boost::random::random_device::impl::impl+0x143
18 001cf904 71383901 b621b8ab 001cfac4 002a17e8 TMSClient100!boost::random::random_device::random_device+0x8b
19 001cf928 7137eb2c 002a17e8 b621b8ef 001cfac4 TMSClient100!websocketpp::endpoint<websocketpp::connection<websocketpp::config::asio_client>,websocketpp::config::asio_client>::endpoint<websocketpp::connection<websocketpp::config::asio_client>,websocketpp::config::asio_client>+0x191 [d:\dev\tms\trunk\library\library_c++_3\websocketpp\websocketpp\endpoint.hpp @ 101] 
1a 001cf96c 713598c2 002a1790 b621b83b 001cfa08 TMSClient100!TMS::CWebSocketClient::CWebSocketClient+0x9c [d:\dev\tms\trunk\library\library_c++_3\tmsclient100\websocketclient.cpp @ 15] 
1b 001cf9b8 010316cd b620327e 00388fa8 0103c908 TMSClient100!TMS::CTMSClient::CTMSClient+0xf2 [d:\dev\tms\trunk\library\library_c++_3\src\tmsclient.cpp @ 25] 

Any suggestion how to debug this problem will be greatly appreciated.
callstack.txt

@hg98-park
Copy link
Author

[Fixed] The problem was Boost 1.55.
Upgrade to Boost 1.65 solved the problem.

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

No branches or pull requests

1 participant