Stack overflow (infinite recursion) on Windows
I get a silent stack overflow crash on Windows. Reproduced with 3.13.1. My box has Windows 10 18290, MSVC 2017 15.9.2, and ROS for Windows from aka.ms/ros.
The full source tree (cartographer_superbuild), as well as a minidump along with the .exe and .pdb I used (CMake built from 3.13.1 source, debug), are available at https://ferhr-my.sharepoint.com/:f:/g/personal/jorsulic_fer_hr/ErkAwXrRFNNKmpDqhJ7ruNABH-BpspvzhIuEEY_1nvRJfQ?e=AIQY2c
The build commands are invoking MSVC vcvars64.bat, the ROS environment (call C:\opt\ros\melodic\x64\setup.bat
)
and cmake .. -DCMAKE_BUILD_TYPE=Release -G Ninja
Curiously, changing set(BUILD_SHARED_LIBS ON)
to OFF
in root CMakeLists.txt stops it from crashing.
Edited by Juraj Oršulić