-
Notifications
You must be signed in to change notification settings - Fork 124
Description
Describe the bug
I am working with stm32 nucleo_f767zi board. Which is having the Zenoh session to handle for the subscriber and queryable message handling. The application works fine when there is no network disturbance. But when the network goes down and comes back, it is getting USAGE FAULT, which is having an invalid load to the PC (program counter) and the application crashing and restarting.

As per the Zenoh standard, the link should recover automatically, and it should work normally.
To reproduce
Initiate the Zenoh router (Python app), which has a publisher and query-related session.
The Zenoh client in STM32 has a subscriber and query handler for message communication.
Start the MCU, and do any message transaction between the MCU and the router; it works fine.
Disconnect and connect the Ethernet cable, and we see the dead and alive message in the router.
But after reconnecting, the MCU gets the usage fault, and the application crashes, which is shown in the above image.
System info
Development platform: PlatformIO development environment for STM32 Nucleo F767ZI in the Ubuntu 24.04 in a VirtualBox environment.
Zenoh router: a Python application running in Windows 10
