Stack overflow when send "chat private' over a serial terminal

Hi,

I send "chat private 0x0028 hi" over a serial terminal, and the MCU restart because of overflow, please see error log as below picture.

I tried to modify the "CONFIG_SHELL_STACK_SIZE" to 2048, the overflow still happened.

My env:

54L15DK board

nRF connect SDK 3.0.0

Sample Code: mesh chat

Parents
  • Hi,

    CONFIG_SHELL_SACK_SIZE should already be 2048 as the default value, so if that is where the stack overflow happens, then an even higher value would be needed to fix the issue.

    There is also a known issue with CONFIG_BT_MESH_ADV_STACK_SIZE being too small for some Bluetooth Mesh applications, so you could try setting that one to 2048.

    Regards,
    Terje

Reply
  • Hi,

    CONFIG_SHELL_SACK_SIZE should already be 2048 as the default value, so if that is where the stack overflow happens, then an even higher value would be needed to fix the issue.

    There is also a known issue with CONFIG_BT_MESH_ADV_STACK_SIZE being too small for some Bluetooth Mesh applications, so you could try setting that one to 2048.

    Regards,
    Terje

Children
No Data
Related