-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Description
Environment
- Development Kit: ESP32-DevKitC
- Kit version: v1
- Module or chip used: ESP32-WROOM-32
- IDF version (run
git describe --tags
to find it): v4.2.2 - Build System: idf.py
- Compiler version (run
xtensa-esp32-elf-gcc --version
to find it): 8.4.0 - Operating System: Linux
- Using an IDE?: VSCode with the ESP-IDF extension
- Power Supply: USB
Problem Description
The pppos_client example in the esp_modem example crashes and issues a core dump while connected to mqtt. It happens when the mqtt client receives a message.
//Detailed problem description goes here.
I am running an ESP32 connected to a Monarch Sequans GSM, communicating through UART. Then after a while it suddenly issues a core dump when trying to handle a received message (normally on an incoming ping response). I have attached a photo of the core dump issue, and it seems like it occurs within the pppos.c file.
Code to reproduce this issue
The pppos_client_main.c example from the (esp_modem)[https://components.espressif.com/component/espressif/esp_modem] component (v.0.1.13). The only modification I have done to the code is removing the xEventGroupSet within the mqtt_handler to avoid disconnecting from the server.