Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dotnet run gives me "*** stack smashing detected ***: <unknown> terminated"

Tags:

c#

.net-core

I am running Ubuntu 64bit linux.

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Pop!_OS 18.10
Release:    18.10
Codename:   cosmic

and

dotnet version:  3.0.100

I create a folder named "test".

I cd into test.

I then run:

dotnet new console
dotnet run

The console returns:

*** stack smashing detected ***: <unknown> terminated

I am not sure what to do to remedy this.

like image 294
William Avatar asked Oct 19 '19 02:10

William


Video Answer


1 Answers

This is a known issue, as tracked here.

The work-around for it is running the .dll directly, like so:

dotnet bin/Debug/netcoreapp3.0/[your-application.dll]
like image 200
IOrlandoni Avatar answered Oct 11 '22 10:10

IOrlandoni