From 6bc8e2ffbc19a20e9f1b4d4d7f2bf0c2cce18a38 Mon Sep 17 00:00:00 2001 From: Harshdhall01 Date: Tue, 26 Aug 2025 11:06:54 +0530 Subject: [PATCH] Fix stack overflow when enabling LIBPOSIX_PROCESS_SIGNAL Increase default stack size to prevent overflow when signal handling is enabled. This resolves unikraft/unikraft#1693. Changes: - Set CONFIG_STACK_SIZE_PAGE_ORDER to 5 (512KB) - Set CONFIG_AUXSTACK_SIZE_PAGE_ORDER to 5 (512KB) Tested with tokio1-rust1.75 example - now runs successfully without guard page violations. --- library/base/Kraftfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/base/Kraftfile b/library/base/Kraftfile index 097b9611..e457777e 100644 --- a/library/base/Kraftfile +++ b/library/base/Kraftfile @@ -155,3 +155,5 @@ libraries: targets: - fc/x86_64 - qemu/x86_64 +CONFIG_STACK_SIZE_PAGE_ORDER: 5 +CONFIG_AUXSTACK_SIZE_PAGE_ORDER: 5 \ No newline at end of file