Open Timple opened 6 years ago
And since shortly compiling from source also results in segfaults with either compiler flags...
I just made a fresh armbian image for the lime2 board. The resulting binary for twist_mux segfaults.
Interestingly if I copy the physical binary from another board, it does run on my fresh image. Hence, it seems that compilation from source broke and it may be related to some linux updates? (Since the twist_mux source hasn't changed lately?)
We use twist_mux on the lime2 ARM boards. The ROS provided binaries ros-kinetic-twist-mux do not work. Therefor we manually compile twist_mux from source.
Today I discoved that when I enabled
RelWithDebInfo
optimisation the node segfaults as well.Working:
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_CXX_FLAGS=-O3
Not working:
-DCMAKE_BUILD_TYPE=RelWithDebInfo
Full output of test: