Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main leds artnet: fix busyloop on state->artnet->timeout_tick if conf… #95

Merged
merged 1 commit into from
Dec 22, 2024

Conversation

SpComb
Copy link
Member

@SpComb SpComb commented Dec 22, 2024

Fixes leds task busyloop -> task_wdt trigger if the artnet_dmx_timeout config is changed to 0 at runtime with artnet->timeout_tick set.

 E (210435) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (210435) task_wdt:  - IDLE (CPU 1)
E (210435) task_wdt: Tasks currently running:
E (210435) task_wdt: CPU 0: IDLE
E (210435) task_wdt: CPU 1: leds1
E (210435) task_wdt: Print CPU 0 (current core) backtrace


Backtrace: 0x4010F046:0x3FFB0B20 0x40083221:0x3FFB0B40 0x4017342F:0x3FFBB8B0 0x400D50EE:0x3FFBB8D0 0x4008CB99:0x3FFBB8F0 0x4008FD3D:0x3FFBB910
0x4010f046: task_wdt_isr at /opt/esp-idf/components/esp_system/task_wdt.c:183 (discriminator 3)

0x40083221: _xt_lowint1 at /opt/esp-idf/components/freertos/port/xtensa/xtensa_vectors.S:1114

0x4017342f: cpu_ll_waiti at /opt/esp-idf/components/hal/esp32/include/hal/cpu_ll.h:183
 (inlined by) esp_pm_impl_waiti at /opt/esp-idf/components/esp_pm/pm_impl.c:847

0x400d50ee: esp_vApplicationIdleHook at /opt/esp-idf/components/esp_system/freertos_hooks.c:63

0x4008cb99: prvIdleTask at /opt/esp-idf/components/freertos/tasks.c:3987 (discriminator 1)

0x4008fd3d: vPortTaskWrapper at /opt/esp-idf/components/freertos/port/xtensa/port.c:142


E (210435) task_wdt: Print CPU 1 backtrace


Backtrace: 0x40086B35:0x3FFB1120 0x40083221:0x3FFB1140 0x4000BFED:0x3FFE2DB0 0x4008FFEE:0x3FFE2DC0 0x4008EEDA:0x3FFE2DE0 0x400E1ADE:0x3FFE2E10 0x400E1AF1:0x3FFE2E30 0x4008FD3D:0x3FFE2F20
0x40086b35: esp_crosscore_isr at /opt/esp-idf/components/esp_system/crosscore_int.c:92

0x40083221: _xt_lowint1 at /opt/esp-idf/components/freertos/port/xtensa/xtensa_vectors.S:1114

0x4008ffee: vPortClearInterruptMaskFromISR at /opt/esp-idf/components/freertos/port/xtensa/include/freertos/portmacro.h:571
 (inlined by) vPortExitCritical at /opt/esp-idf/components/freertos/port/xtensa/port.c:332

0x4008eeda: xEventGroupWaitBits at /opt/esp-idf/components/freertos/event_groups.c:451

0x400e1ade: leds_task_wait at /build/main/leds_task.c:87 (discriminator 3)

0x400e1af1: leds_main at /build/main/leds_task.c:104 (discriminator 1)

0x4008fd3d: vPortTaskWrapper at /opt/esp-idf/components/freertos/port/xtensa/port.c:142

@SpComb SpComb merged commit 5db3208 into master Dec 22, 2024
3 checks passed
@SpComb SpComb deleted the leds-artnet-timeout-config-busyloop-fix branch December 22, 2024 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant