From abc1400e75344d57e6f2f070affe2a5b0e237aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20R=C3=A4tzel?= Date: Fri, 11 Dec 2020 11:05:46 +0000 Subject: [PATCH] =?UTF-8?q?Avoid=20the=20'stack=20smashing=20detected'=20c?= =?UTF-8?q?rash=20on=20Ubuntu=20environments=20=F0=9F=90=9B=F0=9F=A7=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (https://github.com/elm-fullstack/elm-fullstack/commit/41617aec19dbdc4225d4759859228fda952e855d) For context upstream, see https://github.com/microsoft/ChakraCore/issues/5973 and https://github.com/microsoft/ChakraCore/commit/7d4bdd821d452d6b91a21936257d7e352ea7dc4b --- .../PersistentProcess.Common.csproj | 6 +++--- .../PersistentProcess/PersistentProcess.WebHost/Program.cs | 2 +- implement/elm-fullstack/elm-fullstack.csproj | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/implement/PersistentProcess/PersistentProcess.Common/PersistentProcess.Common.csproj b/implement/PersistentProcess/PersistentProcess.Common/PersistentProcess.Common.csproj index 9fb70fd6..dcceabd1 100644 --- a/implement/PersistentProcess/PersistentProcess.Common/PersistentProcess.Common.csproj +++ b/implement/PersistentProcess/PersistentProcess.Common/PersistentProcess.Common.csproj @@ -5,9 +5,9 @@ - - - + + + diff --git a/implement/PersistentProcess/PersistentProcess.WebHost/Program.cs b/implement/PersistentProcess/PersistentProcess.WebHost/Program.cs index a08d2279..af721ee5 100644 --- a/implement/PersistentProcess/PersistentProcess.WebHost/Program.cs +++ b/implement/PersistentProcess/PersistentProcess.WebHost/Program.cs @@ -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"; } } diff --git a/implement/elm-fullstack/elm-fullstack.csproj b/implement/elm-fullstack/elm-fullstack.csproj index d51ba48e..c4373e18 100644 --- a/implement/elm-fullstack/elm-fullstack.csproj +++ b/implement/elm-fullstack/elm-fullstack.csproj @@ -5,8 +5,8 @@ netcoreapp3.1 elm_fullstack elm-fullstack - 2020.1125.0.0 - 2020.1125.0.0 + 2020.1211.0.0 + 2020.1211.0.0