Skip to content

[Bug]: When using IRremote and Adafruit_NeoPixel together [ESP32 Arduino Core 3.2.0], the app crashes #1295

Closed
@Nourbakhsh-Rad

Description

@Nourbakhsh-Rad

The type of board you are using.

ESP32 Devkitc V4

What IDE are you using?

Arduino IDE

What IR protocol are you using?

NEC

Pin(s) used for IR-receive, if not default.

Arduino pin number: IO4

The library version you are working with.

I use the latest Arduino library version 4.4.1 and verified this!

What are the steps to reproduce this issue?

  1. ESP32 Arduino Core 3.2.0
  2. Using IRremote and Adafruit_NeoPixel to change LED color and brightness
  3. IRremote pin = IO4
  4. WS2812 LED pin = IO0

What happens?

After the board is turned on, as soon as the LED lights up (Adafruit_NeoPixel::show() ), the board will restart
Note: There is no problem if ESP32 Arduino Core 3.13 is used

Decoding stack results
0x40082b90: panic_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/panic.c line 54
0x4008f6e1: esp_system_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/port/esp_system_chip.c line 87
0x40095b09: assert_func at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/newlib/assert.c line 80
0x40092642: vTaskPriorityDisinheritAfterTimeout at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/FreeRTOS-Kernel/tasks.c line 5267
0x4008ff57: xQueueSemaphoreTake at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c line 1842
0x400eb7ba: espShow at d:\Sketchbook\Arduino\libraries\Adafruit_NeoPixel\esp.c line 52
0x400eb6ff: Adafruit_NeoPixel::show() at d:\Sketchbook\Arduino\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp line 3176
0x400e5cd3: OneLEDpx_state(LEDpx_State, unsigned char, LEDpx_color_t, unsigned char, LEDpx_color_t, unsigned char) at d:\Sketchbook\Arduino\libraries\SHNlibs\LPXutil.cpp line 509
0x400e452a: Initial() at F:\Electronic\SAAT co!_2025
\T24M22h/T24M22h.ino line 413
0x400e454b: setup() at F:\Electronic\SAAT co!_2025
\T24M22h/T24M22h.ino line 56
0x400f6ec7: loopTask(void*) at C:\Users\SAATco\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.0\cores\esp32\main.cpp line 59
0x40090366: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c line 139

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions