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
so message was received, but it generates an exception what I don't understand, ESP decoder tool show me more info like this:
Exception 9: LoadStoreAlignmentCause: Load or store to an unaligned address
Decoding 48 results
0x4021f89e: espconn_disconnect at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/app/espconn.c line 949
0x4021f48b: espconn_sent at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/app/espconn.c line 415
0x402050eb: QUEUE_Gets at /home/rak/Arduino/libraries/uMQTTBroker/src/queue.c line 47
0x40203f89: MQTT_ServerTask at /home/rak/Arduino/libraries/uMQTTBroker/src/mqtt_server.c line 878
0x4020714b: pp_attach at ?? line ?
0x4020714b: pp_attach at ?? line ?
0x4020719e: pp_attach at ?? line ?
0x402072aa: pp_attach at ?? line ?
0x40101612: pp_post at ?? line ?
0x402065f3: ppTxPkt at ?? line ?
0x4020e364: ieee80211_output_pbuf at ?? line ?
0x40225a6c: etharp_send_ip at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/netif/etharp.c line 435
0x4010268c: wDev_ProcessFiq at ?? line ?
0x40225d51: etharp_output_to_arp_index at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/netif/etharp.c line 890
0x401048ef: lmacRxDone at ?? line ?
0x40102325: trc_NeedRTS at ?? line ?
0x40225fb8: etharp_output at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/netif/etharp.c line 995
0x4010385c: lmacProcessTXStartData at ?? line ?
0x40103859: lmacProcessTXStartData at ?? line ?
0x40226f00: ip_output_if_opt at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/ipv4/ip.c line 780
0x40102836: wDev_ProcessFiq at ?? line ?
0x401004d8: malloc at /home/rak/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266/umm_malloc/umm_malloc.c line 1664
0x4010268c: wDev_ProcessFiq at ?? line ?
0x4021fbd7: espconn_delete at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/app/espconn.c line 1225
0x40203dc4: MQTT_server_deleteClientCon at /home/rak/Arduino/libraries/uMQTTBroker/src/mqtt_server.c line 176
0x40224aa6: tcp_output at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/tcp_out.c line 990
0x402287b8: tcp_input at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/tcp_in.c line 423
0x4021f73c: espconn_get_connection_info at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/app/espconn.c line 833
0x40223191: pbuf_alloc at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/pbuf.c line 388
0x40220c3c: espconn_tcp_delete at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/app/espconn_tcp.c line 1372
0x4010020c: _umm_free at /home/rak/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266/umm_malloc/umm_malloc.c line 1287
0x4010020c: _umm_free at /home/rak/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266/umm_malloc/umm_malloc.c line 1287
0x4010068c: free at /home/rak/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266/umm_malloc/umm_malloc.c line 1733
0x40106d24: vPortFree at /home/rak/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266/heap.c line 18
0x4021f0e2: espconn_copy_partial at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/app/espconn.c line 55
0x402205a6: espconn_tcp_memp_free at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/app/espconn_tcp.c line 244
0x40220765: espconn_tcp_disconnect_successful at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/app/espconn_tcp.c line 385
: (inlined by) espconn_Task at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/app/espconn_tcp.c line 424
0x40100fae: ppProcessTxQ at ?? line ?
0x402062b2: ppPeocessRxPktHdr at ?? line ?
but I could not see what is wrong, the code is very simple and if I'm publishing messages in loop method all looks just fine. So problem is only if I receive message via WiFi.
Any idea what could be wrong?
The text was updated successfully, but these errors were encountered:
Can confirm this problem. Obviously, it has something to do with the disconnect, not the publish itself. If I try it with other clients (e.g. mqtt-spy) everything works fine. I guess, it has to do with the timing (immediate disconnect?).
Think, I found it: a race condition when client and broker are disconnecting at nearly the same time. Should be resolved now. Thank you for your report, was an important issue!
thank you for your lib, looks very usefull, still I have very simple code like this what does not work and I have no idea what I do wrong
however I connect the AP from my computer I use
mosquitto_pub
for send a simple message, all looks OK in terminalon the serial console I see message like
so message was received, but it generates an exception what I don't understand, ESP decoder tool show me more info like this:
but I could not see what is wrong, the code is very simple and if I'm publishing messages in
loop
method all looks just fine. So problem is only if I receive message via WiFi.Any idea what could be wrong?
The text was updated successfully, but these errors were encountered: