[X] I searched for similar bug reports and found none was relevant.
What happened?
Running ReadDir via BLE followed by any setting update causes a crash
What should happen instead?
It should save the settings and not crash
Reproduction steps
Simplest way is using itd.
Connect to the Pinetime via itd and look at the filesystem via itgui
Disconnect the Pinetime from Bluetooth
Open Settings, change something and press the Pinetime button
It will hang for a while and then crash
More details?
By closer inspection we found that the issue is unrelated to itd. It can be triggered by issuing an "ls" command directly using the Adafruit protocol (for example with a Python script), and that the crash occurs when there is an attempt to write to the filesystem.
We believe that some data structure of LittleFS becomes corrupted when FS operations are triggered via BLE.
Verification
What happened?
Running ReadDir via BLE followed by any setting update causes a crash
What should happen instead?
It should save the settings and not crash
Reproduction steps
Simplest way is using itd.
More details?
By closer inspection we found that the issue is unrelated to itd. It can be triggered by issuing an "ls" command directly using the Adafruit protocol (for example with a Python script), and that the crash occurs when there is an attempt to write to the filesystem.
We believe that some data structure of LittleFS becomes corrupted when FS operations are triggered via BLE.
Version
1.11.0
Companion app
No response