BT Mesh provisioning issue after SDK 2.9.0 Update

Hello,

I have some previous code that ran using BT mesh. I then updated SDK's to 2.9.0 and I am now having issues provisioning devices. I am using the BT Mesh Provisioning and BT Mesh light samples as a baseline and they are still failing. I am getting a fatal fault. Below is my printout.

Bluetooth initialized
Mesh initialized
Loading stored settings
[00:00:00.272,033] <inf> bt_hci_core: Identity: FB:4A:8E:97:78:1A (random)
[00:00:00.272,064] <inf> bt_hci_core: HCI: version 6.0 (0x0e) revision 0x109a, manufacturer 0x0059
[00:00:00.272,125] <inf
> bt_hci_core: LMP: version 6.0 (0x0e) subver 0x109a
Created CDB
[00:00:00.273,925] <inf> bt_mesh_main: Primary Element: 0x0001
Provisioning completed
Configuring self...
Configuration complete
Waiting for unprovisioned beacon...
Waiting for unprovisioned beacon...
Waiting for unprovisioned beacon...
Waiting for unprovisioned beacon...
Waiting for unprovisioned beacon...
Waiting for unprovisioned beacon...
Waiting for unprovisioned beacon...
Waiting for unprovisioned beacon...
Waiting for unprovisioned beacon...
Waiting for unprovisioned beacon...
Waiting for unprovisioned beacon...
Waiting for unprovisioned beacon...
Device b32134bf11914c658cdecb40ee6e039a detected, press button 1 to provision.
Provisioning b32134bf11914c658cdecb40ee6e039a
Waiting for node to be added...
Added node 0x0002
Configuring node 0x0002...
[00:02:01.028,381] <err> os: ***** MPU FAULT *****
[00:02:01.028,381] <err> os:   Stacking error (context area might be not valid)
[00:02:01.028,381] <err> os:   Data Access Violation
[00:02:01.028,411] <err> os:   MMFAR Address: 0x20005f20
[00:02:01.028,411] <err> os: r0/a1:  0x20005f2c  r1/a2:  0x00000000  r2/a3:  0x00000000
[00:02:01.028,442] <err> os: r3/a4:  0x20002e08 r12/ip:  0x00000000 r14/lr:  0x00000000
[00:02:01.028,442] <err> os:  xpsr:  0x61000000
[00:02:01.028,442] <err> os: Faulting instruction address (r15/pc): 0x0002aaa6
[00:02:01.028,503] <err> os: >>> ZEPHYR FATAL ERROR 2: Stack overflow on C
PU 0
[00:02:01.028,533] <err> os: Current thread: 0x20002e20 (unknown)
[00:02:01.139,404] <err> os: Halting system



I am kinda lost on what I'm doing wrong. 

Is there an issue with Sysbuild and Bluetooth mesh?


EDIT:  Here is the line its crashing on according to addr2line.exe
C:/ncs/v2.9.1/modules/crypto/tinycrypt/lib/source/ecc.c:261 

Related