I created a thread that calls CanSniffer::sniff().
I can see my ontimeout() callback being called by the sniffer. When I call CanSniffer::finish() from another thread, I get a segmentation fault at the caller of CanSniffer::sniff().
My code is compiled using CMake, on Yocto, linking with LibCan.so and LibJ1939.so
I created a thread that calls CanSniffer::sniff(). I can see my ontimeout() callback being called by the sniffer. When I call CanSniffer::finish() from another thread, I get a segmentation fault at the caller of CanSniffer::sniff(). My code is compiled using CMake, on Yocto, linking with LibCan.so and LibJ1939.so
Any clues? Thanks