Search found 3 matches

by haircuts4men
Thu Jul 11, 2024 1:47 pm
Forum: ESP-IDF
Topic: uxTaskGetSystemState leads to Guru Meditation Error
Replies: 4
Views: 1866

Re: uxTaskGetSystemState leads to Guru Meditation Error

Figured out the issue. The problem was that because all task's entire stack space and "personal information" were layed out sequentially in memory, in a big 45KB block of statically-allocated ram, an out-of-bounds array access on another task (which sat in memory right before the task that panicked)...
by haircuts4men
Wed Jul 10, 2024 9:23 pm
Forum: ESP-IDF
Topic: uxTaskGetSystemState leads to Guru Meditation Error
Replies: 4
Views: 1866

Re: uxTaskGetSystemState leads to Guru Meditation Error

I am facing an eerily similar issue, where a task that looks something like this (pseudocode): while (true) { log_stack(); // this gathers the task name and stack watermark, which eventually calls into `prvTaskCheckFreeStackSpace`, causing the same exact panic auto event = receive_event_from_freerto...
by haircuts4men
Fri Jan 12, 2024 2:46 pm
Forum: ESP-IDF
Topic: failing to open gattc connection to ble device (ESP_GATT_CONN_FAIL_ESTABLISH and ESP_GATT_ERROR)
Replies: 0
Views: 52511

failing to open gattc connection to ble device (ESP_GATT_CONN_FAIL_ESTABLISH and ESP_GATT_ERROR)

github issue : https://github.com/espressif/esp-idf/issues/12970 IDF version: release/v5.2 Board: ESP-WROOM-32D I am trying to connect my board to a DiFluid Microbalance scale that uses BLE. I used the bluedroid BLE gatt_client example as the base for my code with minor adaptations (I have ensured ...