-
Notifications
You must be signed in to change notification settings - Fork 816
Description
Is there an existing issue for this?
- I have searched the existing issues
There are active bugs on mssql docker repo
See #942
Describe the bug
Creating a brand new (or updating and existing) application to Aspire 9.5 with Aspire.Hosting.SqlServer 9.5 causes the mssql server 2025 image to be used as sql server. This image however doesn't work on MacOS docker causing the following error during docker startup. The container is running on Rosetta. With 2022 we didn't have any issues.
SQL Server 2025 will run as non-root by default.
This container is running as user mssql.
To learn more visit [https://go.microsoft.com/fwlink/?linkid=2099216.](https://go.microsoft.com/fwlink/?linkid=2099216.)
assertion failed [x86_avx_state_ptr->xsave_header.xfeatures == kSupportedXFeatureBits]:
(ThreadContextSignals.cpp:414 rt_sigreturn)
Expected Behavior
A working sql server when adding Aspire.Hosting.SqlServer
Steps To Reproduce
Create a new started application using the Aspire templates. Install the package Aspire.Hosting.SqlServer and update the AppHost.cs to the following:
var builder = DistributedApplication.CreateBuilder(args);
var apiService = builder.AddProject<Projects.AspireApp1_ApiService>("apiservice")
.WithHttpHealthCheck("/health");
var sql = builder.AddSqlServer("sql");
var sqlDatabase = sql.AddDatabase("sqldb");
builder.AddProject<Projects.AspireApp1_Web>("webfrontend")
.WithExternalHttpEndpoints()
.WithHttpHealthCheck("/health")
.WithReference(apiService)
.WithReference(sqlDatabase)
.WaitFor(sql)
.WaitFor(sqlDatabase)
.WaitFor(apiService);
builder.Build().Run();Exceptions (if any)
SQL Server 2025 will run as non-root by default.
This container is running as user mssql.
To learn more visit https://go.microsoft.com/fwlink/?linkid=2099216.
assertion failed [x86_avx_state_ptr->xsave_header.xfeatures == kSupportedXFeatureBits]:
(ThreadContextSignals.cpp:414 rt_sigreturn)
.NET Version info
.NET SDK:
Version: 9.0.305
Commit: 3fc74f3529
Workload version: 9.0.300-manifests.993c7b89
MSBuild version: 17.14.21+8929ca9e3
Runtime Environment:
OS Name: Mac OS X
OS Version: 26.0
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/9.0.305/
.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.
Host:
Version: 9.0.9
Architecture: arm64
Commit: 893c2ebbd4
.NET SDKs installed:
8.0.100 [/usr/local/share/dotnet/sdk]
8.0.204 [/usr/local/share/dotnet/sdk]
9.0.100 [/usr/local/share/dotnet/sdk]
9.0.102 [/usr/local/share/dotnet/sdk]
9.0.305 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
x64 [/usr/local/share/dotnet/x64]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Anything else?
No response