TCP_PCB_PURGE when calling MQTT subscribe

  • I am using the library file from Pycom. While calling subscribe fn for all the topics, in one call, I got this:

    assertion "tcp_pcb_purge: pcb->state == SYN_RCVD but tcp_listen_pcbs is NULL" failed: file "/Users/danicampora/Code/Espressif/IDF/esp-idf-20180112/components/lwip/core/tcp.c", line 1755, function: tcp_pcb_purge
    abort() was called at PC 0x40150fe7 on core 0
    Backtrace: 0x4008ecc3:0x3ffd5f70 0x4008ecf4:0x3ffd5f90 0x40150fe7:0x3ffd5fb0 0x4015dc32:0x3ffd5fe0 0x4015defd:0x3ffd6000 0x4015e426:0x3ffd6030 0x40161f47:0x3ffd6050 0x4016210d:0x3ffd6070 0x4015ab40:0x3ffd6090
    ================= CORE DUMP START =================

    The program restarted after core dump stopped.

    Can anyone help me find out the problem?

Log in to reply

Pycom on Twitter