Closed
Description
This minimal program crashes:
#include "cpprest/uri.h"
int main()
{
web::uri uri(U("http://127.0.0.1:34568/"));
}
The crash happens when the program is compiled with Visual Studio 2017 in Debug mode with Runtime Library set to "Multi-Threaded Debug (/MTd)" (Project properties -> C/C++ -> Code Generation -> Runtime Library)
The program crashes with error message
Debug Assertion Failed!
File: minkernel/crts/ucrt/src/appcrt/heap/debug_heap.cpp
Line: 996
Expression: __acrt_first_block == header
Metadata
Metadata
Assignees
Labels
No labels