I've been seeing this Visual C++ runtime assertion failure with GST_DEBUG_FILE env on Windows 10.
GST_DEBUG_FILE
Visual Studio 2019 is pointing that the problem is around colored output.