The stream pointer passed to the fwide() function is not a valid file pointer and posix is enabled.
Pass a valid file pointer to fwide().
JrEdcFwidEbadf02