Closed MirkoCovizzi closed 10 months ago
I believe this is fixed in the newest release v2.2.1
We had an old free
not changed to use k_free
. It's been changed to use the SS_FREE
macro now.
@peterbornerup Thanks Peter, looks like it fixes the issue. Best regards.
Hi,
we are currently encountering a problem where when issuing a
CFUN=0
after aCFUN=1
the application core will reboot due to a crash in theDEINIT
switch case, in particular while executing thedeinit_fs
function.To reproduce the bug, checkout the branch https://github.com/MirkoCovizzi/nrf-softsim/tree/deinit-crash, point the manifest to
west.yml
and do awest update
. This will pull the NCS branch https://github.com/MirkoCovizzi/sdk-nrf/tree/deinit-crash that contains the application (currently WIP) https://github.com/MirkoCovizzi/sdk-nrf/tree/deinit-crash/applications/serial_lte_modem_softsim.To build the application:
applications/serial_lte_modem_softsim
west build -b nrf9160dk_nrf9160_ns -- -DOVERLAY_CONFIG=overlay-onomondo.conf
To test the application:
Ready
AT+CFUN=1
AT+CFUN=0
Ready
To show that the
deinit_fs
function is the culprit, checkout https://github.com/MirkoCovizzi/nrf-softsim/tree/deinit-no-crash and repeat the steps above. Observe that after executing the same steps, the application will not reboot due to a crash (will not output the stringReady
) after the specific sequence of AT commands.