I am using the Snapdragon LLVM ARM C/C++ toolchain version 4.0.3. The hardware is a Quectel BG96 chip.
The functionality that fails is converting string to number. If you use "strtod" or "strtol" and use the string "123", you get correct values. But if using string "a" then instead of failing to parse, the code gets stuck. The device doesnt crash or anything, its just the compiled application stops working.
Currently there is no way to fix it except to manally check the first character.