Skip to content

Commit c609bd8

Browse files
jukkarAnas Nashif
authored and
Anas Nashif
committed
tests: net: Increase the size of main stack
This avoids this crashing in qemu_x86 ***** Stack Check Fail! ***** Current thread ID = 0x004015e0 Faulting segment:address = 0x0008:0x00003593 eax: 0x0041e930, ebx: 0x00000000, ecx: 0x004170bc, edx: 0x0000dff8 esi: 0xffffffff, edi: 0x0041e930, ebp: 0x00417010, esp: 0x00416ffc eflags: 0x216 Fatal fault in essential thread! Spinning... Terminate emulator due to fatal kernel error Signed-off-by: Jukka Rissanen <[email protected]>
1 parent ba3c0bb commit c609bd8

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

tests/net/mgmt/prj.conf

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ CONFIG_NET_TEST=y
33
CONFIG_NET_BUF=y
44
CONFIG_ZTEST_STACKSIZE=896
55
CONFIG_NET_MGMT_EVENT_STACK_SIZE=1024
6+
CONFIG_MAIN_STACK_SIZE=1536
67
CONFIG_NET_PKT_RX_COUNT=5
78
CONFIG_NET_PKT_TX_COUNT=5
89
CONFIG_NET_BUF_RX_COUNT=5

tests/net/mld/prj.conf

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
CONFIG_ZTEST=y
2+
CONFIG_MAIN_STACK_SIZE=1024
23
CONFIG_NET_TEST=y
34
CONFIG_NETWORKING=y
45
CONFIG_NET_IPV6=y

tests/net/udp/prj.conf

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ CONFIG_NET_IPV6=y
99
CONFIG_NET_IPV4=y
1010
CONFIG_NET_BUF=y
1111
CONFIG_ZTEST_STACKSIZE=2048
12+
CONFIG_MAIN_STACK_SIZE=1024
1213
CONFIG_NET_PKT_RX_COUNT=5
1314
CONFIG_NET_PKT_TX_COUNT=5
1415
CONFIG_NET_BUF_RX_COUNT=10

0 commit comments

Comments
 (0)