-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dotnet-sdk-9.0.100-preview.2.24113.6] SharpScss.dll causes application crash when converting scss to css #98646
Comments
please follow-up with the maintainers of SharpScss. the stack above indicates native heap corruption within that component. |
This issue has been marked |
Tagging subscribers to this area: @dotnet/area-meta Issue DetailsDescriptionWhen running 3rd party application with the lastest .NET 9 build, it stops working after accessing page. After investigation, we found it is caused by SharpScss.dll when converting scss to css. The exception from Visual Studio output window is: "Exception thrown: 'SharpScss.ScssException' in SharpScss.dll". Reproduction StepsMinimal Repro steps (Demo attached): The machine has dotnet-sdk-9.0.100-preview.2.24113.6 installed.
Expected behaviorLaunch successfully with converted css output in command window: Actual behaviorApp crashed with stop working prompt window. Regression?Yes
Known WorkaroundsNo response ConfigurationApplication Name: Smartstore Other informationFindings:
Dotnet Info:
@dotnet-actwx-bot @dotnet/compat
|
@jeffschwMSFT Thank you for checking this issue. Because this app works well on .NET 9 Preview 1 build but fail on Preview 2 build. Could you please help check what change cause this different behavior from Preview 2? Thanks. |
Closing this issue as it is an application issue and we've notified the owner of the application about this issue. |
Description
When running 3rd party application with the lastest .NET 9 build, it stops working after accessing page. After investigation, we found it is caused by SharpScss.dll when converting scss to css. The exception from Visual Studio output window is: "Exception thrown: 'SharpScss.ScssException' in SharpScss.dll".
Reproduction Steps
Minimal Repro steps (Demo attached):
ConsoleDemo.zip
The machine has dotnet-sdk-9.0.100-preview.2.24113.6 installed.
Create a new console project.
Install SharpScss nuget package.
Copy the following code to Program.cs:
Build the app.
Change the runtime.config file to let the app run against with dotnet-sdk-9.0.100-preview.2.24113.6.
Expected behavior
Launch successfully with converted css output in command window:

Actual behavior
App crashed with stop working prompt window.
Regression?
Yes
Verify Scenarios:
Known Workarounds
No response
Configuration
Application Name: Smartstore
OS: Windows 10 21H2
CPU: X64
.NET Build Number: dotnet-sdk-9.0.100-preview.2.24113.6
App & Source Location: Checking at https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1970756
Github Link:
https://github.com/smartstore/Smartstore
Other information
Findings:
When using Windbg to run and analyze the application, we get below information:
Dotnet Info:
@dotnet-actwx-bot @dotnet/compat
The text was updated successfully, but these errors were encountered: