You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iotconnect_sdk_send_packet(ack) [ attempts to get lock which is not released]
Somewhere this ends up releasing with message "get_event_payload: EAGAIN", but only after a long time.
I am also concerned about calling iotc_nrf_mqtt_loop() inside iotc_nrf_mqtt_publish(). We may end up using up too much stack because this could also result in an inbound mqtt message from broker. iotc_nrf_mqtt_loop() should probably only be called from main to be able to better estimate stack usage. This could maybe even cause recursion. I am not sure how much of an impact this change would have on MQTT confirmation code.
@syjen Assigning to you, but feel free to reassign this ticket to someone else on your team.
The text was updated successfully, but these errors were encountered:
When command is received while telemetry is being published, this deadlock could occur:
Somewhere this ends up releasing with message "get_event_payload: EAGAIN", but only after a long time.
I am also concerned about calling iotc_nrf_mqtt_loop() inside iotc_nrf_mqtt_publish(). We may end up using up too much stack because this could also result in an inbound mqtt message from broker. iotc_nrf_mqtt_loop() should probably only be called from main to be able to better estimate stack usage. This could maybe even cause recursion. I am not sure how much of an impact this change would have on MQTT confirmation code.
@syjen Assigning to you, but feel free to reassign this ticket to someone else on your team.
The text was updated successfully, but these errors were encountered: