1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-11 10:18:21 +09:00
Commit graph

136009 commits

Author SHA1 Message Date
Carlos Sánchez López
692a3b6a98
Merged PR 45621: Update DIA to 17.12.0-beta1.24603.5 (#111428)
Update DIA to 17.12.0-beta1.24603.5

----
#### AI description  (iteration 1)
#### PR Classification
Dependency update

#### PR Summary
This pull request updates the version of the `MicrosoftDiaSymReaderNative` dependency.
- `eng/Versions.props`: Updated `MicrosoftDiaSymReaderNativeVersion` to `17.12.0-beta1.24603.5`.

Co-authored-by: Mirroring <dnceng-mirroring@microsoft.com>
Co-authored-by: Tom McDonald <Thomas.McDonald@microsoft.com>
2025-01-15 13:34:43 -08:00
github-actions[bot]
6a86517f3a
[release/9.0] Support generic fields in PersistedAssemblyBuilder (#111467)
* Support generic fields in PersistedAssemblyBuilder

* Add the pragmas for unused fields

* Add the pragmas for unused fields 2

* Fix test for the non-generic case

* Re-use existing GetOriginalMemberIfConstructedType()

---------

Co-authored-by: Steve Harter <steveharter@users.noreply.github.com>
2025-01-15 13:06:10 -08:00
Steve Pfister
63cb882afa
Since we bumped the NDK in https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/1278, libClang.so is no longer found in the place we expect. As a result, the android aot offsets won't be generated and the dedicated CI leg will fail. (#111426)
This change fixes the path.
2025-01-14 13:16:19 -08:00
Carlos Sánchez López
cbcec7612b
Merge pull request #111422 from carlossanlop/release/9.0-staging
[manual] Merge release/9.0-staging into release/9.0 (second pass)
2025-01-14 13:13:37 -08:00
Sean Reeser
f8e3b9804e Merge commit 'c8acea2262' into internal-merge-9.0-2025-01-14-1037 2025-01-14 10:38:57 -08:00
Carlos Sánchez López
63b7284d05
Merge pull request #111378 from carlossanlop/release/9.0-staging
[manual] Merge release/9.0-staging into release/9.0
2025-01-14 09:52:37 -08:00
github-actions[bot]
55b29248c4
[release/9.0] Fix Encoding regression (#111367)
* Fix Encoding regression

* Feedback addressing

* Fix the test

---------

Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com>
2025-01-14 08:49:59 -08:00
github-actions[bot]
197591281d
[apple-mobile] Disable TLSWitLoadedDlls for Apple mobile (#111356)
Co-authored-by: Matous Kozak <matouskozak@seznam.cz>
2025-01-14 14:42:31 +01:00
github-actions[bot]
01ad3ef413
fix FastOpen compilation (#111142)
Co-authored-by: wfurt <tweinfurt@yahoo.com>
2025-01-14 11:23:53 +01:00
github-actions[bot]
2b197459c6
[9.0] Guard against empty Accept address (#111366)
* guard agains empty Accept address

* remove assert

* add comment

---------

Co-authored-by: wfurt <tweinfurt@yahoo.com>
2025-01-14 11:12:33 +01:00
Carlos Sánchez López
d8b1554b3a
Merge branch 'release/9.0' into release/9.0-staging 2025-01-13 18:13:46 -08:00
github-actions[bot]
fcee4ed24b
[release/9.0-staging] Fix erroneous success in AsnDecoder.ReadSequence
When AsnDecoder.ReadEncodedValue is used on a payload where
the encoded length plus the number of bytes representing the encoded
length plus the number of bytes representing the tag exceeds int.MaxValue
it erroneously reports success.

Every known caller of this method immediately follows it with a call to
a Span or Memory .Slice, which results in an ArgumentException that the
requested length exceeds the number of bytes available in the buffer.

Because AsnDecoder was extracted out of AsnReader, most AsnDecoder tests
are done indirectly as AsnReader tests, or are done in the same test class that
tests the related functionality on AsnReader.  Since there's not a clear
analogue for ReadEncodedValue (that does not immediately Slice), this change
introduces a new subtree for AsnDecoder tests, only populating it with
(Try)ReadEncodedValue tests.  It also adds "large length" tests for ReadSetOf
and ReadSequence, for good measure.

Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
2025-01-13 14:13:18 -08:00
github-actions[bot]
b9f8c91ed1
[release/9.0-staging] Re-try loading ENGINE keys with a non-NULL UI_METHOD
Re-try loading ENGINE keys with a non-NULL UI_METHOD

Co-authored-by: Kevin Jones <kevin@vcsjones.com>
2025-01-13 14:05:33 -08:00
dotnet-maestro[bot]
39abdac96d
[release/9.0-staging] Update dependencies from dotnet/hotreload-utils (#110936)
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20241224.2

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 9.0.0-alpha.0.24561.2 -> To Version 9.0.0-alpha.0.24624.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20250107.3

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 9.0.0-alpha.0.24561.2 -> To Version 9.0.0-alpha.0.25057.3

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
2025-01-13 14:10:14 -06:00
dotnet-maestro[bot]
588e90589d
[release/9.0-staging] Update dependencies from dotnet/arcade (#111017)
* Update dependencies from https://github.com/dotnet/arcade build 20241223.3

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XliffTasks , Microsoft.DotNet.XUnitAssert , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.24572.2 -> To Version 9.0.0-beta.24623.3

* Update dependencies from https://github.com/dotnet/arcade build 20250108.5

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XliffTasks , Microsoft.DotNet.XUnitAssert , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.24572.2 -> To Version 9.0.0-beta.25058.5

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-01-13 14:08:57 -06:00
dotnet-maestro[bot]
262394270e
[release/9.0-staging] Update dependencies from dotnet/cecil (#110937)
* Update dependencies from https://github.com/dotnet/cecil build 20241222.3

Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
 From Version 0.11.5-alpha.24620.1 -> To Version 0.11.5-alpha.24622.3

* Update dependencies from https://github.com/dotnet/cecil build 20250106.3

Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
 From Version 0.11.5-alpha.24620.1 -> To Version 0.11.5-alpha.25056.3

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-01-13 14:08:11 -06:00
dotnet-maestro[bot]
572e504154
[release/9.0-staging] Update dependencies from dotnet/emsdk (#110970)
* Update dependencies from https://github.com/dotnet/emsdk build 20241227.3

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100 , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport
 From Version 9.0.1-servicing.24571.2 -> To Version 9.0.1-servicing.24627.3

Dependency coherency updates

runtime.linux-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools
 From Version 19.1.0-alpha.1.24554.4 -> To Version 19.1.0-alpha.1.24575.1 (parent: Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport

* Update dependencies from https://github.com/dotnet/emsdk build 20250107.2

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100 , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport
 From Version 9.0.1-servicing.24571.2 -> To Version 9.0.1-servicing.25057.2

* Update dependencies from https://github.com/dotnet/emsdk build 20250108.2

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100 , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport
 From Version 9.0.1-servicing.24571.2 -> To Version 9.0.2-servicing.25058.2

* Update dependencies from https://github.com/dotnet/emsdk build 20250111.2

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100 , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport
 From Version 9.0.1-servicing.24571.2 -> To Version 9.0.2-servicing.25061.2

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-01-13 14:06:54 -06:00
dotnet-maestro[bot]
0cee122078
[release/9.0-staging] Update dependencies from dotnet/icu (#110935)
* Update dependencies from https://github.com/dotnet/icu build 20241220.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 9.0.0-rtm.24572.1 -> To Version 9.0.0-rtm.24620.1

* Update dependencies from https://github.com/dotnet/icu build 20241227.2

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 9.0.0-rtm.24572.1 -> To Version 9.0.0-rtm.24627.2

* Update dependencies from https://github.com/dotnet/icu build 20250107.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 9.0.0-rtm.24572.1 -> To Version 9.0.0-rtm.25057.1

* Update dependencies from https://github.com/dotnet/icu build 20250108.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 9.0.0-rtm.24572.1 -> To Version 9.0.0-rtm.25058.1

* Update dependencies from https://github.com/dotnet/icu build 20250111.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 9.0.0-rtm.24572.1 -> To Version 9.0.0-rtm.25061.1

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-01-13 14:06:11 -06:00
dotnet-maestro[bot]
28fe0e2684
Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20250110.3 (#111325)
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 9.0.0-alpha.1.24619.1 -> To Version 9.0.0-alpha.1.25060.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-01-13 14:05:20 -06:00
dotnet-maestro[bot]
e05d028f84
Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20241229.2 (#110993)
Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers
 From Version 3.11.0-beta1.24574.2 -> To Version 3.11.0-beta1.24629.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-01-13 14:05:08 -06:00
dotnet-maestro[bot]
9636d7a6c1
[release/9.0-staging] Update dependencies from dotnet/roslyn (#110992)
* Update dependencies from https://github.com/dotnet/roslyn build 20241229.4

Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.12.0-3.24574.8 -> To Version 4.12.0-3.24629.4

* Update dependencies from https://github.com/dotnet/roslyn build 20241231.1

Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.12.0-3.24574.8 -> To Version 4.12.0-3.24631.1

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-01-13 14:03:19 -06:00
dotnet-maestro[bot]
989783ccac
Update dependencies from https://github.com/dotnet/xharness build 20250107.1 (#111331)
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
 From Version 9.0.0-prerelease.24575.3 -> To Version 9.0.0-prerelease.25057.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-01-13 14:03:08 -06:00
github-actions[bot]
450644122f
Replace a few SuppressMessage annotations with UnconditionalSuppressMessage (#109186)
Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
2025-01-13 13:45:01 -06:00
github-actions[bot]
555da9fbe2
[release/9.0-staging] Change assembler to clang in android MonoAOT (#110812)
* Change assembler to clang in android MonoAOT

* Disabled NdkToolFinder task

* Port changes to sample app

* Allowed overwriting AsOptions

---------

Co-authored-by: Jeremi Kurdek <jkurdek@gmail.com>
2025-01-13 15:11:38 +01:00
Vlad Brezae
9ee881abb0
[release/9.0-staging] [mono][aot] Fix compilation crashes when type load exception is generated in code (#110271)
* [mono][aot] Fix stack state when emitting type load throw

Method compilation was continuing and we ended up failing with invalid IL.

* [mono][aot] Mark clauses as dead when replacing method code with exception throw

In the final stages of method compilation, when trying to compute clause ranges, we were asserting because the clause bblocks haven't been reached for compilation.
2025-01-13 13:39:52 +02:00
github-actions[bot]
5e05023226
[mono][sgen] Add separate card mark function to be used with debug (#110268)
When marking cards for a non-array object or a an element vt in an object, it is enough to mark a card for any address within that object/vt because they are always fully scanned. Cardtable consistency checks are not accounting for this detail and it is difficult to have it implemented. Instead, when having such debug flags enabled, we use an explicit approach where every single card is being marked.

Co-authored-by: Vlad Brezae <brezaevlad@gmail.com>
2025-01-12 10:55:14 +02:00
github-actions[bot]
5afff13775
[release/9.0-staging] Fix IsOSVersionAtLeast when build or revision are not provided (#109332)
* Default build and revision numbers to 0 if they are -1 on MacCatalyst

* Update src/libraries/System.Private.CoreLib/src/System/Environment.OSVersion.MacCatalyst.cs

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

* Add three-parameter and two-parameter overloads for IsOSPlatformVersionAtLeast

* Update IsOSVersionAtLeast to handle not provided values

* Check only build and revision

* Update src/libraries/System.Private.CoreLib/src/System/OperatingSystem.cs

Co-authored-by: Jan Kotas <jkotas@microsoft.com>

* Update src/libraries/System.Private.CoreLib/src/System/OperatingSystem.cs

Co-authored-by: Jan Kotas <jkotas@microsoft.com>

* New line

* Update tests to pass when build or revision are -1

* Add isCurrentOS to the Assert.Equal

* Unspecified build/revision components are to be treated as zeros

* Unspecified build component is to be treated as zero

* Unspecified build or revision component is to be treated as zero

* Update src/libraries/System.Private.CoreLib/src/System/OperatingSystem.cs

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

* Update src/libraries/System.Private.CoreLib/src/System/OperatingSystem.cs

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

* Normalize build component to 0 if undefined

* Add comments

* Revert normalizing build component to 0

---------

Co-authored-by: Milos Kotlar <kotlarmilos@gmail.com>
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2025-01-10 13:43:54 -08:00
github-actions[bot]
56501c9a67
HttpListener fix: Operations that change non-concurrent collections must have exclusive access (#110695)
Authored by: Peter Jannesen <peter@jannesen.com>
2025-01-10 20:14:45 +01:00
vseanreesermsft
3c456bc3e5
Update branding to 9.0.2 (#111172) 2025-01-10 09:52:42 -08:00
github-actions[bot]
dd5962b31b
Fix analyzer tracking of nullable enums (#110331)
Co-authored-by: Sven Boemer <sbomer@gmail.com>
Co-authored-by: Jeff Schwartz <jeffschw@microsoft.com>
2025-01-10 09:25:23 -08:00
github-actions[bot]
f09d2e8849
Disable GS cookie checks for LightUnwind (#109530)
LightUnwind does not track sufficient context to compute GS cookie address

Fixes #109242

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2025-01-09 14:55:20 -08:00
github-actions[bot]
e13eb14a40
[release/9.0-staging] Fix obtaining type handles of IDynamicInterfaceCastableImplementation (#109909)
Fixes #109496.

We try to optimize away type handles (MethodTables) of types that are only needed due to metadata. Trying to grab type handle of such type throws. This fixes it by unconditionally generating type handles of IDynamicInterfaceCastableImplementation.
2025-01-09 07:39:38 +01:00
github-actions[bot]
8abd404e8c
Add forwarding support for WasmLinkage on LibraryImport (#109364)
Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
2025-01-08 16:19:44 -08:00
github-actions[bot]
6cffc15d90
[release/9.0-staging] Don't wait for finalizers in 'IReferenceTrackerHost::ReleaseDisconnectedReferenceSources' (#110558)
* Do not wait for finalizers on tracker host callbacks

* Apply suggestions from PR review

* Remove unnecessary try/catch

---------

Co-authored-by: Sergio Pedri <sergio0694@live.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2025-01-08 14:30:49 -08:00
github-actions[bot]
7a95474a71
[release/9.0-staging] Fix calling convention mismatch in GC callouts (#111105)
* Fix calling convention mismatch in GC callouts

Fixes #110607.

The native side expects fastcall.

Filed #110684 on the test hole. We would have caught it during x86 bringup if this had _any_ tests since this is a guaranteed stack corruption and crash.

* Change native side instead

---------

Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
Co-authored-by: Jeff Schwartz <jeffschw@microsoft.com>
2025-01-08 11:28:32 -08:00
github-actions[bot]
5b8b0634be
[release/9.0-staging] Fix C++/CLI applications which use __declspec(appdomain) (#110495)
* Do not eagerly allocate static variable space while loading the assembly in use. This avoids possible recursive loading issues found in C++/CLI codebases. Repurpose the NativeCallingManaged test to subsume this particular regression test case.

Fix #110365

* Fix testcase

* Deal with DomainAssembly instead of Assembly

---------

Co-authored-by: David Wrighton <davidwr@microsoft.com>
Co-authored-by: Jeff Schwartz <jeffschw@microsoft.com>
2025-01-08 11:27:23 -08:00
github-actions[bot]
726bb80e6b
[release/9.0-staging] Fix reporting GC fields from base types (#111040)
* Fix reporting GC fields from base types

Fixes #110836.

When we extended managed CorInfoImpl to support object stack allocation in #104411, there was one more spot that assumed valuetypes only in `GatherClassGCLayout` that we missed. This resulted in not reporting any GC pointers in base types.

* Update corinfo.h

---------

Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
2025-01-08 11:26:16 -08:00
github-actions[bot]
3e297bc6f5
[release/9.0-staging] [BrowserDebugProxy] Remove exception details from error report (#111202)
* [BrowserDebugProxy] Remove exception details from error report

* Update event name

---------

Co-authored-by: mdh1418 <mitchhwang1418@gmail.com>
Co-authored-by: Jeff Schwartz <jeffschw@microsoft.com>
2025-01-08 11:09:16 -08:00
github-actions[bot]
fc350c1b20
[release/9.0-staging] Move ComWrappers AddRef to C/C++ (#110815)
* Move ComWrappers AddRef to C/C++

Xaml invokes AddRef while holding a lock that it *also* holds while a GC is in progress. Managed AddRef had to synchronize with the GC that caused intermittent deadlocks with the other thread holding Xaml's lock.

This change reverts the managed AddRef implementation to match .NET Native and CoreCLR.

Fixes #110747

* Apply suggestions from code review

Co-authored-by: Aaron Robinson <arobins@microsoft.com>

* Update src/coreclr/nativeaot/Runtime/HandleTableHelpers.cpp

* Update src/coreclr/nativeaot/Runtime/HandleTableHelpers.cpp

* Build break

* Update src/coreclr/nativeaot/Runtime/HandleTableHelpers.cpp

* Apply suggestions from code review

* Update src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/InteropServices/ComWrappers.NativeAot.cs

---------

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Co-authored-by: Aaron Robinson <arobins@microsoft.com>
Co-authored-by: Jeff Schwartz <jeffschw@microsoft.com>
2025-01-08 11:08:45 -08:00
github-actions[bot]
f8df61700f
[release/9.0-staging] ILC: Allow OOB reference to upgrade framework assembly (#110058)
* ILC: Allow OOB reference to upgrade framework assembly

* Log error for SPC

---------

Co-authored-by: Sven Boemer <sbomer@gmail.com>
Co-authored-by: Jeff Schwartz <jeffschw@microsoft.com>
2025-01-08 11:07:58 -08:00
github-actions[bot]
1031b6e95c
Fix handling of IDynamicInterfaceCastable wrt CastCache (#110007)
Fixes #108229.

The actual fix is the addition of an `if` check where it originally wasn't. I also fixed the other checks for consistency - positive checks are fine to cache, and negative checks against non-interface targets are also fine to cache.

Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
Co-authored-by: Jeff Schwartz <jeffschw@microsoft.com>
2025-01-08 11:06:19 -08:00
github-actions[bot]
7bbc36db02
[release/9.0-staging] Fix IDynamicInterfaceCastable with shared generic code (#109918)
* Fix IDynamicInterfaceCastable with shared generic code

Fixes #72909.

Internal team ran into this. Turns out CsWinRT also needs this, but they're were working around instead pushing on a fix.

The big problem with this one is that we have an interface call to a default interface method that requires generic context. This means we need some kind of instantiating thunk (since callsite didn't provide generic context because it didn't know it). The normal default interface case uses an instantiating thunk that simply indexes into the interface list of `this`. We know the index of the interface (we don't know the concrete type because `T`s could be involved), but we can easily compute it at runtime from `this`.

The problem with `IDynamicInterfaceCastable` is that `this` is useless (the class doesn't know anything about the interface). So we need to get the generic context from somewhere else. In this PR, I'm using the thunkpool as "somewhere else". When we finish interface lookup and find out `IDynamicInterfaceCastable` provided a shared method, we create a thunkpool thunk that stashes away the context. We then call the "default interface method instantiating thunk" and instead of indexing into interface list of `this`, we index into interface list of whatever was stashed away. So there are two thunks before we reach the point of executing the method body.

* Finishing touches

* Regression test

---------

Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
2025-01-08 11:04:22 -08:00
github-actions[bot]
f2b4741130
Remove HttpMetricsEnrichmentContext caching (#110626)
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
2025-01-08 18:17:23 +01:00
github-actions[bot]
54fed80fe7
Fix race condition when cancelling pending HTTP connection attempts (#110764)
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
2025-01-08 11:05:07 +01:00
github-actions[bot]
08b542e628
[release/9.0-staging] Exit the lock before we call into user code and handle losing the race for the RCW table (#111162)
Co-authored-by: Sergio Pedri <sergio0694@live.com>
Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
2025-01-07 16:44:37 -08:00
dotnet-maestro[bot]
ba2ea43bce
Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241219.1 (#110905)
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 9.0.0-alpha.1.24568.3 -> To Version 9.0.0-alpha.1.24619.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-01-07 17:32:18 +01:00
github-actions[bot]
59a119fe44
[release/9.0-staging] [mono] Chain SIGSEGV native crashes to the default SIGSEGV handler (#110863)
* Consider SIG_DFL handlers for chaining SIGSEGV signals

* cleanup

---------

Co-authored-by: Ivan Povazan <ivan.povazan@gmail.com>
2025-01-07 13:04:13 +01:00
github-actions[bot]
bbd71321eb
Fix TimeProvider Test (#111132)
Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com>
2025-01-06 15:47:40 -08:00
github-actions[bot]
f580364220
Conditionally check the compiler flags in libs.native (#109556)
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2024-12-20 19:46:30 +01:00
dotnet-maestro[bot]
60016388fb
[release/9.0-staging] Update dependencies from dotnet/cecil (#110572)
* Update dependencies from https://github.com/dotnet/cecil build 20241209.1

Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
 From Version 0.11.5-alpha.24602.1 -> To Version 0.11.5-alpha.24609.1

* Update dependencies from https://github.com/dotnet/cecil build 20241216.1

Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
 From Version 0.11.5-alpha.24602.1 -> To Version 0.11.5-alpha.24616.1

* Update dependencies from https://github.com/dotnet/cecil build 20241220.1

Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
 From Version 0.11.5-alpha.24602.1 -> To Version 0.11.5-alpha.24620.1

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-12-20 19:15:39 +01:00