System stuck randomly on start

Thanks everyone, Finally I found the root cause.
After detailed analysis, We came to know that, Problem was in boot loader and system got stuck in application startup.

void deint_peripheral()
{
	SPI_MasterDeinit(&BmsFlashSPIInstance);
	DISABLE_INTERRUPTS();
	S32_SysTick->CSR = 0;
}

This is the deinitialization sequence in boot loader which we are performing before jumping on to the application.
What was happening that, Disable interrupt had done its job and before we DE initialize system tick, Tick interrupt was generated in back end which was creating issue while enabling the global interrupt in startup sequence of application where it jump on SysTick_Handler and OS is not yet initialize.

Thanks again everyone for looking into this matter.