Hi Everyone,
Update: I've figured out the issue. The issue is caused by running out of space on the stack.
I'm working on a library for reading from a fat32 file system. The library works as expected when executing on a linux computer, but causes a hardware exception when running on an embedded ARM stm32 discovery board (www.st.com/stm32f3discovery).
To help explain the issue I'm seeing I recorded a gdb debug session: https://asciinema.org/a/sEI0soChD8McdbRRTM8wivrC2
The project is here: https://github.com/WimbledonLabs/arm-rustlang-issue
The repository of the library where the error occurs is here, and the line of the file that I set the breakpoint is here.
What could be causing this exception?
If there's any more detail that I can provide please let me know.
Thanks in advance.