You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sanitizedTitle, body and conversation screened; review text requires separate screening.status: triageNeeds initial assessmenttype: bugSomething is broken
This may be the ESP32 C++ runtime/LTO bug already fixed in #5007, with hardware regression coverage added in #5006 (tracked in #4994).
FastLED 3.10.9 enables NEED_CXX_BITS on ESP32, which supplies weak, non-thread-safe __cxa_guard_acquire/release implementations. These are process-wide C++ runtime symbols, so linking FastLED can affect local-static initialization outside the LED drivers too. #5007 removes that override on ESP32/ESP8266 so the SDK supplies its thread-safe implementation. The hardware LTO regression reproduced two constructions before the fix and one afterward. This is a plausible explanation for the reported interaction, but we have not reproduced the HTTPS failure itself.
Please retest with current FastLED master containing #5007, using the same Arduino-ESP32 3.x core and repeated HTTPS requests. If it still hangs, please provide the complete minimal sketch (Wi-Fi credentials removed), exact ESP32 board and Arduino-ESP32 core version, and serial/debug output showing where the second request stops. In particular, include the HTTP client setup, response handling, and connection cleanup.
Leaving this open until the HTTPS behavior is confirmed.
Confirmed on the attached ESP32dev: the ESP32 C++ runtime/LTO guard defect is present in FastLED 3.10.9 and fixed on master by #5007. Under concurrent local-static initialization, 3.10.9 constructed the same object twice; master constructed it once, with both callers completing.
We also used an ESP32-C6 as the Wi-Fi access point and tested the ESP32dev against both a local TLS server and the actual aviationweather.gov endpoint. Across the release/master comparisons, the tests passed 120 local requests and 40 real-endpoint requests. The real-endpoint tests verified the server certificate and covered fresh and reused TLS connections on Arduino-ESP32 3.3.11. The specific second-request HTTPS hang was not independently reproduced, so its causal connection to the guard defect remains unconfirmed.
Closing with the confirmed ESP32 guard fix available on master. Please retest with master; if the HTTPS hang persists, reopen with a minimal sketch (credentials removed), the exact Arduino-ESP32 core version, and serial output.
@patrice916 Sorry your replies here weren't answered after this issue was closed. Your follow-up report #5365 is now the single tracking issue for this HTTPS problem; please continue there.
On core 3.3.12, your HTTPS loop was A/B tested on hardware (ESP32-C6, on-device HTTPS server): 10/10 200 with no FastLED, FastLED master and FastLED 3.10.10. FastLED's code made no measurable difference.
The most likely cause is TLS running out of heap on a classic ESP32 after the 2.0.17 → 3.3.12 core upgrade. Please post ESP.getMaxAllocHeap() and client.lastError() on Https and fasled #5365.
sanitizedTitle, body and conversation screened; review text requires separate screening.status: triageNeeds initial assessmenttype: bugSomething is broken
Activity
zackees commentedon Nov 4, 2026
This may be the ESP32 C++ runtime/LTO bug already fixed in #5007, with hardware regression coverage added in #5006 (tracked in #4994).
FastLED 3.10.9 enables
NEED_CXX_BITSon ESP32, which supplies weak, non-thread-safe__cxa_guard_acquire/releaseimplementations. These are process-wide C++ runtime symbols, so linking FastLED can affect local-static initialization outside the LED drivers too. #5007 removes that override on ESP32/ESP8266 so the SDK supplies its thread-safe implementation. The hardware LTO regression reproduced two constructions before the fix and one afterward. This is a plausible explanation for the reported interaction, but we have not reproduced the HTTPS failure itself.Please retest with current FastLED master containing #5007, using the same Arduino-ESP32 3.x core and repeated HTTPS requests. If it still hangs, please provide the complete minimal sketch (Wi-Fi credentials removed), exact ESP32 board and Arduino-ESP32 core version, and serial/debug output showing where the second request stops. In particular, include the HTTP client setup, response handling, and connection cleanup.
Leaving this open until the HTTPS behavior is confirmed.
zackees commentedon Nov 4, 2026
Confirmed on the attached ESP32dev: the ESP32 C++ runtime/LTO guard defect is present in FastLED 3.10.9 and fixed on master by #5007. Under concurrent local-static initialization, 3.10.9 constructed the same object twice; master constructed it once, with both callers completing.
We also used an ESP32-C6 as the Wi-Fi access point and tested the ESP32dev against both a local TLS server and the actual aviationweather.gov endpoint. Across the release/master comparisons, the tests passed 120 local requests and 40 real-endpoint requests. The real-endpoint tests verified the server certificate and covered fresh and reused TLS connections on Arduino-ESP32 3.3.11. The specific second-request HTTPS hang was not independently reproduced, so its causal connection to the guard defect remains unconfirmed.
Closing with the confirmed ESP32 guard fix available on master. Please retest with master; if the HTTPS hang persists, reopen with a minimal sketch (credentials removed), the exact Arduino-ESP32 core version, and serial output.
patrice916 commentedon Nov 9, 2026
Arduino 2.3.10
Expressif 3.3.12
Fastled master
same problem
200
-1
-1
patrice916 commentedon Nov 21, 2026
Arduino 2.3.11
Expressif 3.3.12
Fastled 3.10.10
same problem
200
200
-1
-1
-1
zackees commentedon Nov 22, 2026
@patrice916 Sorry your replies here weren't answered after this issue was closed. Your follow-up report #5365 is now the single tracking issue for this HTTPS problem; please continue there.
Summary of where things stand (details in #5365 (comment)):
200with no FastLED, FastLED master and FastLED 3.10.10. FastLED's code made no measurable difference.FastLED.hon cores 3.3.2–3.3.12 only adds FastLED's copy of the Arduino startup code (app_main/loopTask). To rule it out on your board, put#define FL_ESP32_STOCK_ARDUINO_MAIN 1before#include "FastLED.h". Until fix(esp32): keep weak app_main out of FastLED library objects so the stock-startup opt-out works (#5365) #5385 this setting did not take effect in the Arduino IDE; it does on current master.ESP.getMaxAllocHeap()andclient.lastError()on Https and fasled #5365.