Skip to content

Conversation

@djiatsaf-st
Copy link
Contributor

This PR fixes a regression introduced by this commit 9c13bfd when moving from legacy Mbed TLS crypto to the PSA API.

Here is a console output :

=================================================================== 
START - test_ipv6_iid_stable 
E: ***** MPU FAULT ***** 
E:   Data Access Violation 
E:   MMFAR Address: 0x20007800 
E: r0/a1:  0x28e18115  r1/a2:  0x8bdb0018  r2/a3:  0x200077f8 
E: r3/a4:  0x36363636 r12/ip:  0x00000006 r14/lr:  0x22a51c30 
E:  xpsr:  0x81000000 
E: Faulting instruction address (r15/pc): 0x0800cac4 
E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0 
E: Current thread: 0x20001af8 (test_ipv6_iid_stable) 

Moving from legacy Mbed TLS crypto to the PSA API may cause some
STM32 platforms or other vendor platforms to fail due to stack overflow.
Increasing the ztest stack size solves this problem.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
@djiatsaf-st djiatsaf-st added this to the v4.3.0 milestone Oct 29, 2025
@djiatsaf-st djiatsaf-st added the bug The issue is a bug, or the PR is fixing a bug label Oct 29, 2025
@zephyrbot zephyrbot added area: Tests Issues related to a particular existing or missing test size: XS A PR changing only a single line of code area: Networking labels Oct 29, 2025
@sonarqubecloud
Copy link

@hakehuang
Copy link
Contributor

regression test on NXP platforms

@cfriedt cfriedt merged commit 0e98743 into zephyrproject-rtos:main Oct 31, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Networking area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug size: XS A PR changing only a single line of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants