Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Paho C: keepalive deadlock

Hi all,

I found a mqttclient_mutex deadlock inside the C library, version 1.0.3.
Here is the stack trace:
0 MQTTClient_disconnect1 MQTTClient.c 1129
1 MQTTClient_disconnect_internal MQTTClient.c 1182
2 MQTTProtocol_closeSession MQTTClient.c 1188
3 MQTTProtocol_keepalive MQTTProtocolClient.c 541
4 MQTTClient_retry MQTTClient.c 1530
5 MQTTClient_cycle MQTTClient.c 1613
6 MQTTClient_run MQTTClient.c 491
7 start_thread /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.19.so 312
8 clone /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so 111

In my case, this happens after a network interface is disconnected. I'm not sure for other cases.
Someone is familiar with this?

Best regards,
Milan

Back to the top