Closed Ravbug closed 3 years ago
Hi,
this seems pretty similar to #111 (prebuilt packages vs _GLIBCXX_DEBUG flag), have you checked already ?
Guillaume
Disabling line 102 of compiler_settings.cmake
fixed it on Linux, thanks!
# disable this line:
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS "$<$<CONFIG:Debug>:_GLIBCXX_DEBUG>")
On GCC 10.2.1 and Clang 10.0.1 on Linux, executing the following code results in a segmentation fault:
This code works correctly on macOS, iOS, and tvOS with Apple Clang and Windows with MSVC.
Linux stack trace in gdb:
Printing out the value of
raw_skeleton
with gdb results in$1 = {roots = std::vector of length 0, capacity 1465970764458}
, so maybe the RawSkeleton was not properly initialized in the allocator?