From c47020954d45837b97fa711e21c9d77f5f926194 Mon Sep 17 00:00:00 2001 From: Malcolm Nixon Date: Thu, 16 Jul 2026 07:27:02 -0400 Subject: [PATCH] Bump DemaConsulting.Rendering to 0.1.0-beta.13 Beta.13 fixes a critical stack-overflow bug: AutoLayoutAlgorithm's empty-graph (count == 0) fast path unconditionally delegated to HierarchicalLayoutAlgorithm, whose leaf-algorithm resolution only guards against resolving back to itself (not back to auto) - so a graph explicitly declaring CoreOptions.Algorithm = auto (as LayeredPlacement.PlaceWithPorts does) recursed into itself forever once it hit an empty graph, crashing the process with an uncatchable native stack overflow. Reproduced and confirmed in complete isolation from SysML2Tools with a standalone unit test against the Rendering library alone (crashed the test process with STATUS_STACK_OVERFLOW). Confirmed fixed after bumping to beta.13 - both minimal repro models (unconnected and connected parts under an asInterconnectionDiagram view) now render without crashing. Full build/test suite green: 499 Tests x3 TFMs + 355 Tool.Tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../DemaConsulting.SysML2Tools.Core.csproj | 2 +- .../DemaConsulting.SysML2Tools.Tool.csproj | 4 ++-- .../DemaConsulting.SysML2Tools.Tests.csproj | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/DemaConsulting.SysML2Tools.Core/DemaConsulting.SysML2Tools.Core.csproj b/src/DemaConsulting.SysML2Tools.Core/DemaConsulting.SysML2Tools.Core.csproj index 3dfbfdd1..e26aa014 100644 --- a/src/DemaConsulting.SysML2Tools.Core/DemaConsulting.SysML2Tools.Core.csproj +++ b/src/DemaConsulting.SysML2Tools.Core/DemaConsulting.SysML2Tools.Core.csproj @@ -56,7 +56,7 @@ - + diff --git a/src/DemaConsulting.SysML2Tools.Tool/DemaConsulting.SysML2Tools.Tool.csproj b/src/DemaConsulting.SysML2Tools.Tool/DemaConsulting.SysML2Tools.Tool.csproj index dc186059..15ca0a84 100644 --- a/src/DemaConsulting.SysML2Tools.Tool/DemaConsulting.SysML2Tools.Tool.csproj +++ b/src/DemaConsulting.SysML2Tools.Tool/DemaConsulting.SysML2Tools.Tool.csproj @@ -98,8 +98,8 @@ - - + + diff --git a/test/DemaConsulting.SysML2Tools.Tests/DemaConsulting.SysML2Tools.Tests.csproj b/test/DemaConsulting.SysML2Tools.Tests/DemaConsulting.SysML2Tools.Tests.csproj index 3f6744a6..9a628c1a 100644 --- a/test/DemaConsulting.SysML2Tools.Tests/DemaConsulting.SysML2Tools.Tests.csproj +++ b/test/DemaConsulting.SysML2Tools.Tests/DemaConsulting.SysML2Tools.Tests.csproj @@ -56,8 +56,8 @@ - - + +