Title: Updating to .net10.0 (from net8.0) Switcher with ChakraCore now causes containers to exit unexpectedly · Issue #121 · Taritsyn/JavaScriptEngineSwitcher · GitHub
Open Graph Title: Updating to .net10.0 (from net8.0) Switcher with ChakraCore now causes containers to exit unexpectedly · Issue #121 · Taritsyn/JavaScriptEngineSwitcher
X Title: Updating to .net10.0 (from net8.0) Switcher with ChakraCore now causes containers to exit unexpectedly · Issue #121 · Taritsyn/JavaScriptEngineSwitcher
Description: The issue I have been running .net 8.0 for years on AWS ECS without issue. I have updated to net 10.0 just updated the packages that were required as per the upgrade instructions excluding entity framework. dotnet outdated -mv 10.0 --exc...
Open Graph Description: The issue I have been running .net 8.0 for years on AWS ECS without issue. I have updated to net 10.0 just updated the packages that were required as per the upgrade instructions excluding entity f...
X Description: The issue I have been running .net 8.0 for years on AWS ECS without issue. I have updated to net 10.0 just updated the packages that were required as per the upgrade instructions excluding entity f...
Opengraph URL: https://github.com/Taritsyn/JavaScriptEngineSwitcher/issues/121
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Updating to .net10.0 (from net8.0) Switcher with ChakraCore now causes containers to exit unexpectedly","articleBody":"### The issue\n\nI have been running .net 8.0 for years on AWS ECS without issue. I have updated to net 10.0 just updated the packages that were required as per the upgrade instructions excluding entity framework.\n\n`dotnet outdated -mv 10.0 --exclude pomelo --exclude entity --include Microsoft.AspNetCore --include Microsoft.Extensions --include System.Net.Http.Json --include system. -u\n`\n\nI'm now periodically getting containers that are exiting on AWS with \"Exit code: 139.\" where it logs a single line and then the container becomes unresponsive and shortly afterwards deprovisioned. Apparently 139 is a SIGFAULT or error accessing memory?\n\n`\"terminate called after throwing an instance of 'Js::JavascriptException`.\n\nI'm running it in AWS ECS as `root` and using ` mcr.microsoft.com/dotnet/sdk:10.0` as the base image.\n\nI'm not sure that I'm doing anything exotic. I'm using ReactJS.net which is an older library and it uses Chakracore-linux which is what handles Javascript, but why would it have an issue every now and again just cause it's a new version of .NET?\n\nI'm building it within codepipeline using docker build.\n\nUnfortunately this is stopping me from upgrading to .net10.0. I have a feeling it's something to do with Chakracore to generate SSR react. Grok says switch to `Jint` of V8, not sure if that's the answer here just cause I've updated to .net10 and new docker base images.\n\nOf note, Microsoft have switched form Debian to Ubuntu, will this be an issue? \n\nThanks in advance for any insight from anyone.\n\n\u003cimg width=\"1227\" height=\"217\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/87daa9c9-9485-485d-8f18-4ce004eae180\" /\u003e\n\n### Which .NET image(s) are you using?\n\n mcr.microsoft.com/dotnet/sdk:10.0\n\n### Steps to reproduce\n\nBuild using docker file, push to AWS ECR an deploy to ECS. Website has heavy traffic. This is my docker file:\n\n\n```\nFROM mcr.microsoft.com/dotnet/sdk:10.0 AS build-env\nEXPOSE 80\nWORKDIR /app\n\n# Copy csproj and restore as distinct layers\nCOPY *.sln .\nCOPY MySite.WebUI.Core/*.csproj ./MySite.WebUI.Core/\n\nRUN dotnet restore\n\n# Copy everything else\nCOPY . ./\n\nFROM 369074612400.dkr.ecr.us-east-1.amazonaws.com/node:20.11.1-buster as node-env\nWORKDIR /app\n\n# Run webpack\nCOPY --from=build-env /app ./\n\nWORKDIR /app/MySite.WebUI.Core\nRUN npm ci\nRUN npm run release\nRUN ls -R -1 ./wwwroot/dist\n\nFROM mcr.microsoft.com/dotnet/sdk:10.0 AS second-build-env\nWORKDIR /app\nCOPY --from=node-env /app .\nRUN dotnet publish MySite.WebUI.Core -c Release -o out\n\n# Copy static files to S3\nFROM 369074612400.dkr.ecr.us-east-1.amazonaws.com/amazon/aws-cli:2.15.28 AS copy-static-content-env\nARG AWS_DEFAULT_REGION\nARG AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\nARG AWS_SECRET_ACCESS_KEY\nARG AWS_ACCESS_KEY_ID\nARG AWS_SESSION_TOKEN\nWORKDIR /app\nCOPY --from=second-build-env /app/out ./out\nRUN ls -1 -R ./out/wwwroot/dist\nRUN aws s3 cp ./out/wwwroot/dist s3://MySitelive/dist --recursive\n\n# Build runtime image\nFROM mcr.microsoft.com/dotnet/aspnet:10.0 AS website\nWORKDIR /app\nENV ASPNETCORE_HTTP_PORTS=80\nCOPY --from=copy-static-content-env ./app/out .\nUSER root\nCMD [\"dotnet\", \"MySite.WebUI.Core.dll\"]\n```","author":{"url":"https://github.com/coultonluke","@type":"Person","name":"coultonluke"},"datePublished":"2026-06-12T09:02:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/121/JavaScriptEngineSwitcher/issues/121"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:87edc453-1cc2-a644-2553-69fa8240aa1e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98CC:1379FA:8E9E5:C9D5D:6A636CDA |
| html-safe-nonce | 0fa1cbea228972a0cd0fe147760ffc72fc50e50465c81636df9814e838e41fe9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OENDOjEzNzlGQTo4RTlFNTpDOUQ1RDo2QTYzNkNEQSIsInZpc2l0b3JfaWQiOiI4Nzg0MDMzMjE1Mzg3MjMzNDk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a3ecaff5f63b2cade38cee74d45f1849fe0e00944913045f358f60dac5649ec4 |
| hovercard-subject-tag | issue:4647864905 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Taritsyn/JavaScriptEngineSwitcher/121/issue_layout |
| twitter:image | https://opengraph.githubassets.com/71041d3659c0bed74079fc4c6537838c92cfcd580422d1e02c38d0ec840344af/Taritsyn/JavaScriptEngineSwitcher/issues/121 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/71041d3659c0bed74079fc4c6537838c92cfcd580422d1e02c38d0ec840344af/Taritsyn/JavaScriptEngineSwitcher/issues/121 |
| og:image:alt | The issue I have been running .net 8.0 for years on AWS ECS without issue. I have updated to net 10.0 just updated the packages that were required as per the upgrade instructions excluding entity f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | coultonluke |
| hostname | github.com |
| expected-hostname | github.com |
| None | e7b5617850fbcd6d10fe2b7c56398444bccb5f3a58a4a18c6d363971295bcd03 |
| turbo-cache-control | no-preview |
| go-import | github.com/Taritsyn/JavaScriptEngineSwitcher git https://github.com/Taritsyn/JavaScriptEngineSwitcher.git |
| octolytics-dimension-user_id | 251859 |
| octolytics-dimension-user_login | Taritsyn |
| octolytics-dimension-repository_id | 12585871 |
| octolytics-dimension-repository_nwo | Taritsyn/JavaScriptEngineSwitcher |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12585871 |
| octolytics-dimension-repository_network_root_nwo | Taritsyn/JavaScriptEngineSwitcher |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | aa341b3f432dc63fa9633042725aec601722a352 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width