You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[NETSDKE2E][Regression] With 11.0.100-preview.7.26365.114 x86 SDK installed, some info are missing in "dotnet --info". #130903
When installed 11.0.100-preview.7.26365.114.x86.exe, some info are missing in "dotnet --info".
Steps to reproduce
Install 11.0.100-preview.7.26365.114 x86 sdk on win11 25h2 x64 machine
Set x86 install path as environment path
Open cmd and run dotnet --info
Expected behavior
The info of "dotnet --info" should show well.
Actual behavior
Some info are missing in "dotnet --info"
Is this a regression?
Worked well on 11.0.100-preview.7.26364.110 x86 sdk
Worked well on 11.0.100-preview.7.26365.114 x64 sdk
Are there any workarounds?
No response
dotnet --info output
dotnet -- infoNET SDK: Version: 11.0.100-preview. 7.26365.114Commit: 8c1bd18b8cWorkload version: 11.0.100-manifests.36b0c6f5MSBuild version: 18.10.0-1.26365.114+8c1bd18b8Runtime Environment:OS Name: WindowsOS Version: 10.0.26200OS Platform: WindowsRID: win-x86Base Path: C:Program Files (x86)\dotnet\sdk\11.0.100-preview. 7.26365.114\NET workloads installed:There are no installed workloads to display.Configured to use workload sets when installing new manifests.No workload sets are installed. Run "dotnet workload restore" to install a workload set.
. But dotnet_execute is stdcall, so the stack is messed up on return and we don't print the host info.
I had it as cdecl since that's what native host binaries (hostfxr, hostpolicy) use. But we usestdcall for coreclr and delegates in the runtime, so I think switching to expect stdcall for dotnet-aot makes sense.
Activity
baronfel commentedon Jul 16, 2026
To me this looks like the muxer's portion of the
--infoflow didn't run - @elinor-fung would a COREHOST_TRACE show that logic running/not-running?elinor-fung commentedon Jul 16, 2026
This is a calling convention mismatch. The host is currently expecting
cdecl:runtime/src/native/corehost/fxr/fx_muxer.cpp
Lines 90 to 96 in a0ad638
dotnet_executeisstdcall, so the stack is messed up on return and we don't print the host info.I had it as
cdeclsince that's what native host binaries (hostfxr, hostpolicy) use. But we usestdcallfor coreclr and delegates in the runtime, so I think switching to expectstdcallfordotnet-aotmakes sense.baronfel commentedon Jul 16, 2026
Wow, that's more intricate than I would have expected! Thanks for the quick analysis :)
Use stdcall for `dotnet_execute` in `dotnet-aot` (#130908)
v-huiwong commentedon Jul 28, 2026
Not repro on 11.0.100-preview.7.26376.106 (runtime- 11.0.0-preview.7.26376.106)