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
I can't tell from this information. Is the scenario different at all from issue #1541? It evidently ends on a disconnection so there's obviously a connection problem, but I would need more - like where exactly did it crash for instance.
I can't build the application to try it out myself because there are header files and some functions not included.
Runtime environment: arm-linux
Version: 1.3.13
Code:https://github.com/SeaAndSand/mqtt_test/blob/main/mqtt_client.c
err.log:https://github.com/SeaAndSand/mqtt_test/blob/main/err.log
Why did it crash?
[16:31:19.839]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[4]: 20241225 163118.957 5 mqtt_client_local_ems <- PUBLISH msgid: 0 qos: 0 retained: 0 payload len(153): { "head": { "SID": "
[16:31:19.839]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[3]: 20241225 163118.957 Calling messageArrived for client mqtt_client_local_ems, queue depth 0
[16:31:19.840]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[3]: 20241225 163118.957 m->c->connect_state = 0
[16:31:19.840]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[1]: 20241225 163118.957 queueChar: index is now 1, headerlen 1
[16:31:19.840]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[1]: 20241225 163118.957 queueChar: index is now 2, headerlen 2
[16:31:19.840]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[1]: 20241225 163118.957 queueChar: index is now 3, headerlen 3
[16:31:19.840]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[4]: 20241225 163118.957 6 1c8776585421 <- PUBLISH msgid: 9 qos: 2 retained: 0 payload len(836): {"head":{"SID":"HUAS
[16:31:19.840]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[3]: 20241225 163118.957 Calling messageArrived for client 1c8776585421, queue depth 0
[16:31:19.840]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[4]: 20241225 163119.653 6 1c8776585421 -> PUBREC msgid: 9 (0)
[16:31:19.840]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[3]: 20241225 163119.653 Socket error Broken pipe(32) in writev - putdatas for socket 5
[16:31:19.841]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[4]: 20241225 163119.653 5 mqtt_client_local_ems -> PUBLISH msgid: 23 qos: 2 retained: 0 rc -1 payload len(836): {"head":{"SID":"HUAS
[16:31:19.841]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[3]: 20241225 163119.653 Calling command failure for client mqtt_client_local_ems
[16:31:19.841]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: [tcp://localhost:1883] [mqtt_client_local_ems] Failed to send message
[16:31:19.841]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[3]: 20241225 163119.653 Socket error Broken pipe(32) in writev - putdatas for socket 5
[16:31:19.841]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[4]: 20241225 163119.653 5 mqtt_client_local_ems -> DISCONNECT (-1)
[16:31:19.841]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[3]: 20241225 163119.653 Removed socket 5
[16:31:19.841]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[3]: 20241225 163119.653 Removed socket 5
[16:31:19.841]Dec 25 16:31:19 myimx6ek200-ecu user.info app_mqtt_bridge[1305]: Trace[3]: 20241225 163119.653 0 inflight messages deleted for client mqtt_client_local_ems
The text was updated successfully, but these errors were encountered: