MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.31k stars 21.49k forks source link

Kernal Panic Issue even with ESP-IDF V4.3 #96306

Closed naakhtar closed 2 years ago

naakhtar commented 2 years ago

I have tested same Kernal panic issue in V4.3 and below is the outcome.

TELE Timer 0 Val is = 3930 TELE Timer 0 Val is = 3931 I (3932412) fota: Running Fota Stack! E (3933392) tls_freertos: Reading failed, errno= 128 E (3933392) MQTT: A single byte was not read from the transport: transportStatus=-1. E (3933392) MQTT: Receiving incoming packet length failed. Status=MQTTRecvFailed E (3933402) MQTT: Exiting process loop due to failure: ErrorStatus=MQTTRecvFailed E (3933412) AZ IOT: AzureIoTMQTT_ProcessLoop failed: ProcessLoopDuration=500, MQTT error=0x00000004

assert failed: lum_prvAzureDemoTask lum_app_esp32_provisioning.c:416 (xResult == eAzureIoTSuccess)

Backtrace:0x400816a3:0x3ffcea40 0x40089f95:0x3ffcea60 0x40090e7d:0x3ffcea80 0x400dad19:0x3ffceba0 0x4008d465:0x3ffcec50 0x400816a3: panic_abort at D:/Work/1-Projects/3-ESP-IDF-v4.3.3/Espressif/frameworks/esp-idf-v4.3.3/components/esp_system/panic.c:393

0x40089f95: esp_system_abort at D:/Work/1-Projects/3-ESP-IDF-v4.3.3/Espressif/frameworks/esp-idf-v4.3.3/components/esp_system/system_api.c:112

0x40090e7d: __assert_func at D:/Work/1-Projects/3-ESP-IDF-v4.3.3/Espressif/frameworks/esp-idf-v4.3.3/components/newlib/assert.c:85

0x400dad19: lum_prvAzureDemoTask at D:/Work/1-Projects/3-ESP-IDF-v4.3.3/Espressif/frameworks/esp-idf-v4.3.3/iot-middleware-freertos-samples/demos/projects/ESPRESSIF/aziotkit/components/lum_app/src/lum_app_esp32_provisioning.c:416 (discriminator 1)

0x4008d465: vPortTaskWrapper at D:/Work/1-Projects/3-ESP-IDF-v4.3.3/Espressif/frameworks/esp-idf-v4.3.3/components/freertos/port/xtensa/port.c:168

ELF file SHA256: 9e9b6aa864b62428

Rebooting... ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:7568 load:0x40078000,len:14888 load:0x40080400,len:3688 0x40080400: _init at ??:?

entry 0x4008067c

mikeurnun commented 2 years ago

@naakhtar Thank you for your feedback. Since this channel is more for driving improvements towards MS Docs, could you provide us with a URL of the documentation that your feedback is most applicable to? That way, we're able to locate the right team that's better suited to address your feedback.

naakhtar commented 2 years ago

@mike-urnun-msft Pls refer below link for your reference. Facing Kernal Panic issue while executing code.

https://github.com/Azure-Samples/iot-middleware-freertos-samples/tree/main/demos/projects/ESPRESSIF/aziotkit

mikeurnun commented 2 years ago

Thanks, @naakhtar - In this case, since this repo is for driving improvements toward the MS Docs, it’d be best to open an issue on the repo itself: https://github.com/Azure-Samples/iot-middleware-freertos-samples/issues

mikeurnun commented 2 years ago

We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.