Repair a verified behavior in earlephilhower/arduino-pico.
Repair a verified behavior in earlephilhower/arduino-pico.: a task in OriGent-RL-Data (Harbor dataset). The RP2040 Newlib retargetable-lock implementation initializes its global locks from a C/C++ constructor. Constructor order is not guaranteed, so a user-defined global constructor may run before…
The task
The RP2040 Newlib retargetable-lock implementation initializes its global locks from a C/C++ constructor. Constructor order is not guaranteed, so a user-defined global constructor may run before that initialization. If such a constructor calls malloc(), Newlib attempts to use __lock___malloc_recursive_mutex while its…
Part of henryen/OriGent-RL-Data.