***ERROR*** A stack overflow in task main has been detected.

venkatesha kj
Posts: 7
Joined: Thu Mar 03, 2022 6:27 am

***ERROR*** A stack overflow in task main has been detected.

Postby venkatesha kj » Mon Sep 05, 2022 10:29 am

I (11645) GATTS_DEMO: ESP_GATTS_CONNECT_EVT, conn_id 0, remote 54:7b:9c:73:8e:79 :
I (12035) GATTS_DEMO: update connection params status = 0, min_int = 16, max_int = 32,conn_int = 6,latency = 0, timeout = 500
I (12395) GATTS_DEMO: update connection params status = 0, min_int = 0, max_int = 0,conn_int = 24,latency = 0, timeout = 400
I (38875) GATTS_DEMO: GATT_WRITE_EVT, conn_id 0, trans_id 1, handle 42
I (38875) GATTS_DEMO: GATT_WRITE_EVT, value len 10, value :
I (53485) GATTS_DEMO: GATT_WRITE_EVT, conn_id 0, trans_id 2, handle 42
I (53485) GATTS_DEMO: GATT_WRITE_EVT, value len 11, value :
I (53485) GATTS_BLE: accesspoint POCO C3:
I (53495) GATTS_BLE: password venki@14:
I (53515) wifi_init: rx ba win: 6
I (53515) wifi_init: tcpip mbox: 32
I (53515) wifi_init: udp mbox: 6
I (53525) wifi_init: tcp mbox: 6
I (53525) wifi_init: tcp tx win: 5744
I (53525) wifi_init: tcp rx win: 5744
I (53535) wifi_init: tcp mss: 1440
I (53535) wifi_init: WiFi IRAM OP enabled
I (53545) wifi_init: WiFi RX IRAM OP enabled
I (56755) WI-FI: Total APs scanned = 10
I (56755) WI-FI: SSID ACT102536647370
I (56755) WI-FI: RSSI -41
I (56755) WI-FI: SSID ARKA
I (56755) WI-FI: RSSI -60
I (56755) WI-FI: SSID ACTFIBERNET
I (56765) WI-FI: RSSI -68
I (56765) WI-FI: SSID DIRECT-ylDCP-B7535DW_BR6024

***ERROR*** A stack overflow in task main has been detected.

Backtrace:0x40081d87:0x3ffbb3b0 0x400908c5:0x3ffbb3d0 0x400940f9:0x3ffbb3f0 0x40 0927ca:0x3ffbb470 0x400909bc:0x3ffbb490 0x4009096e:0x00000000 |<-CORRUPTED
i am getting error like this when i try to execute the program how one could increase the main stack size?

Craige Hales
Posts: 94
Joined: Tue Sep 07, 2021 12:07 pm

Re: ***ERROR*** A stack overflow in task main has been detected.

Postby Craige Hales » Mon Sep 05, 2022 10:59 am

Craige

filo_gr
Posts: 110
Joined: Wed Jul 28, 2021 12:25 pm
Location: Italy

Re: ***ERROR*** A stack overflow in task main has been detected.

Postby filo_gr » Mon Sep 05, 2022 11:40 am

venkatesha kj wrote:
Mon Sep 05, 2022 10:29 am
i am getting error like this when i try to execute the program how one could increase the main stack size?
You could use dynamic memory allocation to reduce the stack memory used.
Filippo

Who is online

Users browsing this forum: No registered users and 73 guests