How to fix segmentation fault in mqtt paho rust?

Finished dev [unoptimized + debuginfo] target(s) in 14.47s Running /home/pi/rust/mqtt_test/target/debug/mqtt_test Connecting to the MQTT server... Connection succeeded Subscribing to topics: ["test", "hello"] Segmentation fault


I am getting this fault using paho mqtt rust when trying to publish and subscribe why? I have used separate publish and subscribe functions and called them in main.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.