C030-R412m: CMSIS-RTOS error: Stack overflow with latest mbed-mqtt lib and TLSSocket

Hi!

Mbed-OS: 5.15.7

On MQTT socket handshake with TLSSocket I get this error. Any idea why? Without TLS all works fine.

[00027935ms][INFO][CELL]: AT RX (32): <97>0<82><02><7F><02><14>}<D3><9B>O<DC>[<F7>-<0F><0C><04>~<B8><F3>#<9E><C1><9B><B7><B7>0<cr><06><09>*
[00027968ms][INFO][CELL]: AT RX (32): <86>H<86><F7><cr><01><01><0B><05><00>0<81><90>1<0B>0<09><06><03>U<04><06><13><02>GB1<17>0<15><06><03>
[00028078ms][INFO][CELL]: AT RX (27): "<cr><ln><cr><ln>OK<cr><ln><cr><ln>+UUSORD: 0,347<cr><ln>
[00028097ms][INFO][CELL]: Socket 0 recv 933 bytes
[00028124ms][DBG ][CELL]: AT OoB readable 0, len

++ MbedOS Error Info ++
Error Status: 0x80020125 Code: 293 Module: 2
Error Message: CMSIS-RTOS error: Stack overflow
Location: 0x806C4AD
Error Value: 0x1
Current Thread: main Id: 0x20007170 Entry: 0x80531D1 StackSize: 0x1000 StackMem: 0x20005698 SP: 0x2002FF4C 
For more info, visit: https://mbed.com/s/error?error=0x80020125&tgt=UBLOX_C030_R412M
-- MbedOS Error Info --

Hello,

maybe you can try to increase the stack size - How to change stack size - Mbed OS - Arm Mbed OS support forum

BR, Jan

1 Like

You made my day! Thx

You are welcome.

BR, Jan