-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 3 sdk snap *** stack smashing detected *** #3792
Comments
@paaland - What happens if you invoke the dll directly with |
If I run the DLL it seems to work. It's the new "executable" that is causing issues. That and running via dotnet run test.csproj
Run via dotnet and dll:
Run via new executable:
Run via project file:
|
Thanks, @paaland - looks like this is another of the rough edges with the Snap install. I'm going to move this to the core-setup repo where it can be tracked. |
We are also facing *** stack smashing detected ***: terminated We are not using SNAP. Application runs in Docker. Currently we cant caugh when it happends, no debug, no exception. Environment: .NET Core 3.1, Debian 10.3, Docker version 19.03.8 |
Hit identical issue on Ubuntu 20.4.2: Repro, brand new Ubuntu 20.4.2 VM:
|
hi martin-cermak |
Hi Ruben, On Linux runtime there was this strange "stack smashing". It was related to more things, I thing a combination of async call / event rutine where was some function called on NULL object. On windows there was right exception about NULL object, but on Linux it crashed. So in our solution, after many hours we changed this: to if (SomeObject != null) { I thing it was also not related to docker but linux runtime itself... Martin |
thank you @martin-cermak |
[Triage] Closing Snap issues to reflect current priorities. |
dotnet 3 sdk snap *** stack smashing detected ***
OS Name: debian
OS Version: 10
OS Platform: Linux
RID: debian.10-x64
Install dotnet-sdk via snap:
Create new console application
Should write "Hello World", but instead ends up with
*** stack smashing detected ***: terminated
General
The text was updated successfully, but these errors were encountered: