SDK1.9.1 with example of modem_shell.
modem fw is up to date, version 1.3.2
the fw crashes as soon as CMW500 trying to establish a connection.

SDK1.9.1 with example of modem_shell.
modem fw is up to date, version 1.3.2
the fw crashes as soon as CMW500 trying to establish a connection.

"Stack overflow" is a keyword here. Try using addr2line using LR in order to find out what caused the crash. It looks to be related to something in the time_thread in date_time_core.c.
For 0x41000000/lr, type the following into the command line:
arm-none-eabi-addr2line -e <path to build\zephyr\zephyr.elf> 0x41000000
This will return a the line in the code related to the crash. Looking it up might give you some hints regarding the crash. This line would also be a good start for setting a break point.
what's the command line you are referring to? Do you mean the dev kit? No, I got the message from the UART port which is on our customized board build up with nRF9160 chipset. We don't have the resource to hook our customized board and debug it on the fly. I was hoping you, Nordic team, could replicate the error and updated the example code and I can test it from there.
output result:

Hi Bo, sorry for the delay.
Thank you for sharing the output from addr2line. Unfortunately, the output does not help as much as I was hoping for.
We would like to reproduce the issue:
You could read out your revision by either AT command: AT%HWVERSION or look on the nRF9160 SIP for marking "B1".
"B1" -> Revision 2
"B0" -> Revision 1
Only revision 2 is supported by modem firmware v1.3.2.
Here is the SiP, HW version should be B1. I will upload CMW500 configuration file later.

Thank you for confirming the SIP version. It would be great if you could also comment on the DK HW version. This can be found on the back of the DK there should be a sticker, below 'PCA10090'. The version could be for example '1.0.0'.
Please also let us know if you have tried increasing DATE_TIME_THREAD_STACK_SIZE.
Thank you for confirming the SIP version. It would be great if you could also comment on the DK HW version. This can be found on the back of the DK there should be a sticker, below 'PCA10090'. The version could be for example '1.0.0'.
Please also let us know if you have tried increasing DATE_TIME_THREAD_STACK_SIZE.