There must be something with the UARTSerial class.
The default console which uses the UARTSerial class acquire mutex … which could be the reason … But why your example doesn’t crashes and mine does?
My code works fine if I don’t fire up the interrupt… so It is very difficult to debug.