danielaparker / jsoncons

A C++, header-only library for constructing JSON and JSON-like data formats, with JSON Pointer, JSON Patch, JSON Schema, JSONPath, JMESPath, CSV, MessagePack, CBOR, BSON, UBJSON
https://danielaparker.github.io/jsoncons
Other
715 stars 163 forks source link

AddressSanitizer: stack-overflow #417

Closed to-s closed 1 year ago

to-s commented 1 year ago

Since a few hours, the current master fails with the following unit test:

#include <fstream>
#include <iostream>
#include <jsoncons/byte_string.hpp>
#include <jsoncons_ext/jsonschema/jsonschema.hpp>
#include <regex>

#include "gtest/gtest.h"

TEST(http, _mwProcessReadSocket)
{
    jsoncons::json schema = jsoncons::json::parse(R"(
{
  "$id": "https://example.com/polygon",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$defs": {
    "point": {
      "type": "object",
      "properties": {
        "x": { "type": "number" },
        "y": { "type": "number" }
      },
      "additionalProperties": false,
      "required": [ "x", "y" ]
    }
  },
  "type": "array",
  "items": { "$ref": "#/$defs/point" },
  "minItems": 3,
  "maxItems": 1
}
        )");

    jsoncons::json instance = jsoncons::json::parse(R"(
[
  {
    "x": 2.5,
    "y": 1.3
  },
  {
    "x": 1,
    "z": 6.7
  }
]
        )");

    auto sch = jsoncons::jsonschema::make_schema(schema);
    jsoncons::jsonschema::json_validator<jsoncons::json> validator(sch);

    EXPECT_FALSE(validator.is_valid(instance));
}

CMakeList:

...
# download and unpack jsoncons at configure time
include(FetchContent)
FetchContent_Declare(
  jsoncons
  GIT_REPOSITORY https://github.com/danielaparker/jsoncons.git
  GIT_TAG master
)
FetchContent_Populate(jsoncons)
include_directories(SYSTEM ${jsoncons_SOURCE_DIR}/include)
...

Output running the unit test with address sanitizer activated:

└─$ ./build/tests/unit/third_party/jsoncons_test                                                                                                                                                                          130 ⨯
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from http
[ RUN      ] http._mwProcessReadSocket
AddressSanitizer:DEADLYSIGNAL
=================================================================
==302958==ERROR: AddressSanitizer: stack-overflow on address 0x7ffda8bc9fe8 (pc 0x5611d97f83c8 bp 0x7ffda8bca000 sp 0x7ffda8bc9fe0 T0)
    #0 0x5611d97f83c8 in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c23c8)
    #1 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #2 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #3 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #4 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #5 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #6 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #7 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #8 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #9 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #10 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #11 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #12 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #13 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #14 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #15 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #16 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #17 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #18 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #19 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #20 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #21 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #22 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #23 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #24 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #25 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #26 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #27 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #28 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #29 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #30 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #31 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #32 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #33 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #34 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #35 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #36 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #37 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #38 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #39 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #40 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #41 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #42 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #43 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #44 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #45 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #46 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #47 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #48 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #49 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #50 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #51 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #52 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #53 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #54 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #55 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #56 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #57 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #58 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #59 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #60 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #61 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #62 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #63 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #64 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #65 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #66 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #67 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #68 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #69 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #70 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #71 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #72 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #73 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #74 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #75 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #76 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #77 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #78 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #79 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #80 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #81 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #82 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #83 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #84 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #85 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #86 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #87 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #88 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #89 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #90 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #91 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #92 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #93 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #94 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #95 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #96 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #97 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #98 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #99 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #100 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #101 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #102 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #103 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #104 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #105 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #106 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #107 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #108 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #109 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #110 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #111 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #112 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #113 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #114 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #115 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #116 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #117 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #118 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #119 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #120 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #121 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #122 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #123 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #124 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #125 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #126 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #127 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #128 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #129 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #130 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #131 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #132 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #133 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #134 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #135 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #136 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #137 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #138 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #139 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #140 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #141 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #142 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #143 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #144 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #145 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #146 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #147 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #148 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #149 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #150 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #151 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #152 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #153 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #154 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #155 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #156 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #157 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #158 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #159 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #160 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #161 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #162 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #163 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #164 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #165 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #166 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #167 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #168 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #169 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #170 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #171 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #172 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #173 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #174 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #175 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #176 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #177 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #178 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #179 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #180 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #181 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #182 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #183 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #184 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #185 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #186 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #187 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #188 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #189 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #190 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #191 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #192 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #193 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #194 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #195 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #196 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #197 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #198 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #199 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #200 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #201 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #202 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #203 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #204 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #205 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #206 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #207 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #208 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #209 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #210 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #211 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #212 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #213 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #214 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #215 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #216 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #217 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #218 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #219 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #220 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #221 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #222 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #223 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #224 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #225 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #226 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #227 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #228 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #229 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #230 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #231 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #232 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #233 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #234 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #235 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #236 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #237 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #238 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #239 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #240 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #241 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #242 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #243 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #244 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #245 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #246 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)
    #247 0x5611d9807cdb in jsoncons::json_type_traits<jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >, jsoncons::null_type, void>::to_json(jsoncons::null_type) (./build/tests/unit/third_party/jsoncons_test+0x3d1cdb)
    #248 0x5611d97f840c in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&) (./build/tests/unit/third_party/jsoncons_test+0x3c240c)

SUMMARY: AddressSanitizer: stack-overflow (./build/tests/unit/third_party/jsoncons_test+0x3c23c8) in jsoncons::basic_json<char, jsoncons::sorted_policy, std::allocator<char> >::basic_json<jsoncons::null_type, void>(jsoncons::null_type const&)
==302958==ABORTING

What jsoncons library version?

danielaparker commented 1 year ago

Thanks for reporting, fixed on master.

to-s commented 1 year ago

Thanks for reporting, fixed on master.

Perfekt, thanks for that quite fast fix.