The clearerr_unlocked() function was called on a thread other than the one that opened the stream.
Use the proper thread to access the stream or do not use the samethread keyword on the open.
JrEdcFlgsEwrongthd02