[main] Update dependencies from dotnet/runtime (#4743)
authordotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Thu, 11 Jul 2024 04:05:54 +0000 (21:05 -0700)
committerGitHub <noreply@github.com>
Thu, 11 Jul 2024 04:05:54 +0000 (21:05 -0700)
This pull request updates the following dependencies

[marker]: <> (Begin:a9fe20fc-c5cb-441c-a7ce-08dc4e3fac2f)
## From https://github.com/dotnet/runtime
- **Subscription**: a9fe20fc-c5cb-441c-a7ce-08dc4e3fac2f
- **Build**: 20240709.11
- **Date Produced**: July 10, 2024 9:37:07 AM UTC
- **Commit**: c52fd37cc835a13bcfa9a64fdfe7520809a75345
- **Branch**: refs/heads/main

[DependencyUpdate]: <> (Begin)

- **Updates**:
- **Microsoft.NETCore.App.Runtime.win-x64**: [from
9.0.0-preview.6.24307.2 to 9.0.0-preview.7.24359.11][25]
- **VS.Redist.Common.NetCore.SharedFramework.x64.9.0**: [from
9.0.0-preview.6.24307.2 to 9.0.0-preview.7.24359.11][25]

[25]: https://github.com/dotnet/runtime/compare/8fac5af2b1...c52fd37cc8

[DependencyUpdate]: <> (End)

[marker]: <> (End:a9fe20fc-c5cb-441c-a7ce-08dc4e3fac2f)

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Mike McLaughlin <mikem@microsoft.com>
eng/Version.Details.xml
eng/Versions.props
src/SOS/Strike/strike.cpp
src/tests/Microsoft.Diagnostics.Monitoring.EventPipe/EventCounterTriggerTests.cs
src/tests/Microsoft.Diagnostics.Monitoring.EventPipe/EventLogsPipelineUnitTests.cs
src/tests/Microsoft.Diagnostics.NETCore.Client/EventPipeSessionTests.cs

index 54ef4cce76b2bde4bb1076906fd0af310215c7dc..ad0dbd099b8749db421738ea94e7ce996c9382f1 100644 (file)
       <Uri>https://github.com/dotnet/aspnetcore</Uri>
       <Sha>c52c28458e86029555bf1a88e94b64e7f37ef6d3</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="9.0.0-preview.6.24307.2">
+    <Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="9.0.0-preview.7.24359.11">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>8fac5af2b11dc98fa0504f6fd06df790164ec958</Sha>
+      <Sha>c52fd37cc835a13bcfa9a64fdfe7520809a75345</Sha>
     </Dependency>
-    <Dependency Name="VS.Redist.Common.NetCore.SharedFramework.x64.9.0" Version="9.0.0-preview.6.24307.2">
+    <Dependency Name="VS.Redist.Common.NetCore.SharedFramework.x64.9.0" Version="9.0.0-preview.7.24359.11">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>8fac5af2b11dc98fa0504f6fd06df790164ec958</Sha>
+      <Sha>c52fd37cc835a13bcfa9a64fdfe7520809a75345</Sha>
     </Dependency>
     <!-- Intermediate is necessary for source build. -->
     <Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="9.0.0-alpha.1.24358.1">
index 44de627d75a8e3007f19dbb5392c3d21108bb487..1232455b1ac2d33337aa4643238d27e63f6e9aaa 100644 (file)
@@ -16,8 +16,8 @@
   </PropertyGroup>
   <PropertyGroup>
     <!-- Latest shared runtime version updated by darc -->
-    <VSRedistCommonNetCoreSharedFrameworkx6490Version>9.0.0-preview.6.24307.2</VSRedistCommonNetCoreSharedFrameworkx6490Version>
-    <MicrosoftNETCoreAppRuntimewinx64Version>9.0.0-preview.6.24307.2</MicrosoftNETCoreAppRuntimewinx64Version>
+    <VSRedistCommonNetCoreSharedFrameworkx6490Version>9.0.0-preview.7.24359.11</VSRedistCommonNetCoreSharedFrameworkx6490Version>
+    <MicrosoftNETCoreAppRuntimewinx64Version>9.0.0-preview.7.24359.11</MicrosoftNETCoreAppRuntimewinx64Version>
     <!-- Latest shared aspnetcore version updated by darc -->
     <MicrosoftAspNetCoreAppRefInternalVersion>9.0.0-preview.7.24359.10</MicrosoftAspNetCoreAppRefInternalVersion>
     <MicrosoftAspNetCoreAppRefVersion>9.0.0-preview.7.24359.10</MicrosoftAspNetCoreAppRefVersion>
index 8c3c5eba87f746da861da2b15f6c5f7e7f4e7ee4..a27c3d57de162e06bd317f2b5c35bdeee47163e9 100644 (file)
@@ -2774,7 +2774,15 @@ HRESULT FormatException(CLRDATA_ADDRESS taObj, BOOL bLineNumbers = FALSE)
                 MOVE (stackTraceSize, dataPtr);
 
                 DWORD cbStackSize = static_cast<DWORD>(stackTraceSize * sizeof(StackTraceElement));
-                dataPtr += sizeof(size_t) + sizeof(size_t); // skip the array header, then goes the data
+
+                if (IsRuntimeVersionAtLeast(9))
+                {
+                    dataPtr += sizeof(uint32_t) + sizeof(uint32_t) + sizeof(DWORD_PTR); // skip the 9.0 array header
+                }
+                else
+                {
+                    dataPtr += sizeof(size_t) + sizeof(DWORD_PTR);                      // skip the array header, then goes the data
+                }
 
                 if (stackTraceSize == 0)
                 {
index b55ed5a64a64d5a8387e9ce8ef7aac86eb23d7ed..def5d754ab88f619873be85692c3d0e7f6816756 100644 (file)
@@ -321,7 +321,7 @@ namespace Microsoft.Diagnostics.Monitoring.EventPipe.UnitTests
         /// Tests that the trigger condition can be detected on a live application
         /// using the EventPipeTriggerPipeline.
         /// </summary>
-        [SkippableTheory, MemberData(nameof(Configurations))]
+        [SkippableTheory(Skip = "https://github.com/dotnet/diagnostics/issues/4782"), MemberData(nameof(Configurations))]
         public async Task EventCounterTriggerWithEventPipePipelineTest(TestConfiguration config)
         {
             if (config.RuntimeFrameworkVersionMajor < 6)
index c449efc5d1aa419029e0014b06cd6c9dd1783526..c42910dbb7a6f4b6c686642f415f428124c06dbe 100644 (file)
@@ -169,7 +169,7 @@ namespace Microsoft.Diagnostics.Monitoring.EventPipe.UnitTests
         /// Test that log events are collected for the categories and levels specified by the application
         /// and for the categories and levels specified in the filter specs.
         /// </summary>
-        [SkippableTheory, MemberData(nameof(Configurations))]
+        [SkippableTheory(Skip = "https://github.com/dotnet/diagnostics/issues/4718"), MemberData(nameof(Configurations))]
         public async Task TestLogsUseAppFiltersAndFilterSpecs(TestConfiguration config)
         {
             if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
index f79849d235b73a9fecbcb1af72b540c4e9a06dbf..3acc97be3e42a14d6d4f3a0edd33d0b604b72725 100644 (file)
@@ -5,13 +5,11 @@ using System;
 using System.Collections.Generic;
 using System.Diagnostics.Tracing;
 using System.IO;
-using System.Linq;
 using System.Threading;
 using System.Threading.Tasks;
 using Microsoft.Diagnostics.TestHelpers;
 using Microsoft.Diagnostics.Tracing;
 using Microsoft.Diagnostics.Tracing.Etlx;
-using Microsoft.Diagnostics.Tracing.Session;
 using Xunit;
 using Xunit.Abstractions;
 using Xunit.Extensions;
@@ -117,7 +115,7 @@ namespace Microsoft.Diagnostics.NETCore.Client
                 streamTask.Wait(10000);
                 runner.WriteLine("Done waiting for stream Task");
 
-                Assert.True(evntCnt > 0);
+                Assert.True(Volatile.Read(ref evntCnt) > 0);
             }
         }
 
@@ -175,7 +173,7 @@ namespace Microsoft.Diagnostics.NETCore.Client
             runner.Stop();
         }
 
-        [SkippableTheory, MemberData(nameof(Configurations))]
+        [SkippableTheory(Skip = "https://github.com/dotnet/diagnostics/issues/4717"), MemberData(nameof(Configurations))]
         public async Task StartEventPipeSessionWithoutStackwalkTestAsync(TestConfiguration testConfig)
         {
             if (testConfig.RuntimeFrameworkVersionMajor < 9)