famez / J1939-Framework

Framework to work with J1939 Frames used in CAN bus in bus, car and trucks industries
MIT License
158 stars 55 forks source link

segmentation fault when CanSniffer::sniff() exits #17

Open Ironic266 opened 10 months ago

Ironic266 commented 10 months ago

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