So somehow through my chain of execution I end up herevoid _exit (int status){ _kill(status, -1); while (1) {} /* Make sure we hang here */}From disassembly it seems that the functions preceeding it areITM_SendChar()and before thatHAL_CAN_Rx...
I use malloc for circular buffers, they are used constantly and are not freed.Not sure about _sbrk, I didn't touch it in any way."Disassemble the complete object code, and cross-reference where _exit is being called" how to do thate exactly?