Description
Describe your environment.
We are using win10-cs solution of 1DS in our UWP app. We are getting high volume of fast fail c0000409
exceptions from 1DS while we are trying to log telemetry via UWP background tasks.
Steps to reproduce.
Build win10-cs solution and added it as nuget in UWP app.
Foreground tasks are working without any issue, but high volume of exceptions are logged by background tasks.
What is the actual behavior?
Multiple exceptions seen on Watson with slightly different flavors
- fail_fast_invalid_arg_c0000409_microsoft.applications.telemetry.windows.dll! microsoft :: applications :: events :: activeloggercall :: activeloggercall
- fail_fast_fatal_app_exit_c0000409_microsoft.applications.telemetry.windows.dll! microsoft :: applications :: events :: activeloggercall :: activeloggercall
- fail_fast_guard_icall_check_failure_c0000409_microsoft.applications.telemetry.windows.dll! microsoft :: applications :: events :: activeloggercall :: activeloggercall
- invalid_pointer_read_fail_fast_guard_icall_check_failure_c0000409_microsoft.applications.telemetry.windows.dll! microsoft :: applications :: events :: activeloggercall :: activeloggercall
Additional context.
Stack trace 1
Frame | Image | Function | Offset |
---|---|---|---|
0 | Microsoft.Applications.Telemetry.Windows.dll | Microsoft::Applications::Events::ActiveLoggerCall::ActiveLoggerCall | 0x000000000000001A |
1 | Microsoft.Applications.Telemetry.Windows.dll | Microsoft::Applications::Events::Logger::LogEvent | 0x000000000000003E |
2 | Microsoft.Applications.Telemetry.Windows.dll | Microsoft::Applications::Telemetry::Windows::Logger::[Microsoft::Applications::Telemetry::Windows::ILogger]::LogEvent | 0x0000000000000119 |
3 | Microsoft.Applications.Telemetry.Windows.dll | Microsoft::Applications::Telemetry::Windows::Logger::[Microsoft::Applications::Telemetry::Windows::ILogger]::__abi_Microsoft_Applications_Telemetry_Windows_ILogger____abi___LogEvent__1 | 0x000000000000000D |
LogConfiguration is as follows:
LogManager.SetTransmitProfile(TransmitProfile.RealTime);
LogConfiguration config = new LogConfiguration()
{
MaxTeardownUploadTimeInSec = 5,
MinTraceLevel = ACTTraceLevel.ACTTraceLevel_Trace,
TraceLevelMask = 0xFFFFFFFF, // API calls & Global mask for general messages
SdkMode = SdkModeTypes.SdkModeTypes_CS, // Direct upload rather than through UTC
};