When running onnxruntime.dll in a sandboxed process on Windows, for example, in an Edge or Chrome child utility process, the OS API TraceLoggingRegisterEx fails in //onnxruntime/core/platform/windows/logging/etw_sink.cc. This results in an exception, which can fail fast and then crash the process.
Could we please make ETW tracing build configurable or make this failure non-fatal?
Tagging @ivberg who worked on recent ETW changes.
Thank you,
Steve Becker
Software Engineer, Microsoft
When running onnxruntime.dll in a sandboxed process on Windows, for example, in an Edge or Chrome child utility process, the OS API TraceLoggingRegisterEx fails in //onnxruntime/core/platform/windows/logging/etw_sink.cc. This results in an exception, which can fail fast and then crash the process.
Could we please make ETW tracing build configurable or make this failure non-fatal?
Tagging @ivberg who worked on recent ETW changes.
Thank you,
Steve Becker
Software Engineer, Microsoft