Closed
Description
What is the issue you have?
9/61 Test #9: test-cbor ....................................***Failed 3.83 sec
[doctest] doctest version is "2.4.6"
[doctest] run with "--help" for options
===============================================================================
test\src\unit-cbor.cpp(1914):
TEST CASE: single CBOR roundtrip
sample.json
test\src\unit-cbor.cpp(1914): FATAL ERROR: test case CRASHED: SIGSEGV - Stack overflow
===============================================================================
test\src\unit-cbor.cpp(1914):
TEST CASE: single CBOR roundtrip
DEEPEST SUBCASE STACK REACHED (DIFFERENT FROM THE CURRENT ONE):
sample.json
===============================================================================
[doctest] test cases: 2 | 1 passed | 1 failed | 5 skipped
[doctest] assertions: 1640539 | 1640539 passed | 0 failed |
[doctest] Status: FAILURE!
Please describe the steps to reproduce the issue.
- cmake .. -D JSON_Install:BOOL=OFF -D JSON_ImplicitConversions:BOOL=OFF -D JSON_BuildTests:BOOL=ON
- cmake --build . --config Debug
- ctest -C Debug -LE not_reproducible -LE git_required --output-on-failure
Can you provide a small but working code example?
What is the expected behavior?
Test should not fail in debug mode
And what is the actual behavior instead?
Test fails in debug mode
Which compiler and operating system are you using?
- Compiler: Visual Studio 2019 16.11.0 Professional
- Operating system: Windows 10 21H1
Which version of the library did you use?
- latest release version 3.10.0 (zip file)
- other release - please state the version: ___
- the
develop
branch
If you experience a compilation error: can you compile and run the unit tests?
- yes
- no - please copy/paste the error message below