Skip to content

Commit

Permalink
Avoid the 'stack smashing detected' crash on Ubuntu environments 🐛🧹
Browse files Browse the repository at this point in the history
Try to avoid the 'stack smashing detected' crash seen on some Ubuntu environments: Integrate JS engine version with improvement in this area.

On GitHub Actions and Azure Pipelines, I saw the 'stack smashing detected' crash happen frequently.
I do not remember having seen the stack smashing crash occur in docker running on Windows.
In production environments on Ubuntu on DigitalOcean, it happened less often, but at least once (41617ae)

For context upstream, see chakra-core/ChakraCore#5973 and chakra-core/ChakraCore@7d4bdd8
  • Loading branch information
Viir committed Dec 11, 2020
1 parent 82bde36 commit abc1400
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JavaScriptEngineSwitcher.ChakraCore" Version="3.5.4" />
<PackageReference Include="JavaScriptEngineSwitcher.ChakraCore.Native.linux-x64" Version="3.5.4" />
<PackageReference Include="JavaScriptEngineSwitcher.ChakraCore.Native.win-x64" Version="3.5.4" />
<PackageReference Include="JavaScriptEngineSwitcher.ChakraCore" Version="3.9.1" />
<PackageReference Include="JavaScriptEngineSwitcher.ChakraCore.Native.linux-x64" Version="3.9.1" />
<PackageReference Include="JavaScriptEngineSwitcher.ChakraCore.Native.win-x64" Version="3.9.1" />
<PackageReference Include="LibGit2Sharp" Version="0.26.2" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="3.6.0" />
<PackageReference Include="Mono.Posix.NETStandard" Version="1.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ namespace Kalmit.PersistentProcess.WebHost
{
public class Program
{
static public string AppVersionId => "2020-11-25";
static public string AppVersionId => "2020-12-11";
}
}
4 changes: 2 additions & 2 deletions implement/elm-fullstack/elm-fullstack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>elm_fullstack</RootNamespace>
<AssemblyName>elm-fullstack</AssemblyName>
<AssemblyVersion>2020.1125.0.0</AssemblyVersion>
<FileVersion>2020.1125.0.0</FileVersion>
<AssemblyVersion>2020.1211.0.0</AssemblyVersion>
<FileVersion>2020.1211.0.0</FileVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit abc1400

Please sign in to comment.