Earlier this evening I installed .NET core preview 2 on Debian Sid, and tried to create a new project via the dotnet new command, only to get a segmention fault error message:

[email protected]:~/git/testproject$ dotnet new console
Segmentation fault

In this instance, the segmentation fault on creation of a new project was is due to .NET Core telemetry being incompatible with version 1.1 of OpenSSL.

A quick check via dpkg shows the current version I have of the OpenSSL package is indeed 1.1

[email protected]:~/git/testproject$ dpkg -s openssl | grep Version
Version: 1.1.0e-1

Setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable disables telemetry.

export DOTNET_CLI_TELEMETRY_OPTOUT=1
[email protected]:~/git/testproject$ dotnet new console
The template "Console Application" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on /home/zachery/git/testproject/testproject.csproj...
  Restoring packages for /home/zachery/git/testproject/testproject.csproj...
  Generating MSBuild file /home/zachery/git/testproject/obj/testproject.csproj.nuget.g.props.
  Generating MSBuild file /home/zachery/git/testproject/obj/testproject.csproj.nuget.g.targets.
  Restore completed in 219.75 ms for /home/zachery/git/testproject/testproject.csproj.

QED