The provided ble_app_template10056e from nRF5_SDK_17.1.0_ddde560 crashes:

The crash was reproduced using:
1. nRF52 DK Kit - (https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52-DK)

2. SEGGER Embedded Studio Nordic Edition :

3. nRF52840 on board debug probe J-Link OB :
