How to make freeRTOS working on stm32f4
If your code is 'crashing' on that line, then it is most likely you don't have the FreeRTOS SVC handler installed.  I note you included the line:

#define xPortPendSVHandler PendSV_Handler


Which will replace a CMSIS standard name (PendSV_Handler) with the FreeRTOS name, but that is assuming your vector table is using the CMSIS standard name - check that is the case, and that nothing else in your application is replacing the vector table with a different one by re-writing the vector base address register.  By the way - FreeRTOS has a very active support forum - always beats me why people ask FreeRTOS questions in any other place than the place specifically where FreeRTOS experts are watching and ready to answer questions.


  ARM cortex M4 products are based on ARM7 core architecture


Actually, this is not the case.  As confusing as it may seem, ARM7 microcontrollers use an ARMv4 core, whereas Cortex-M4 microcontrollers use an ARMv7 core :o)  So that particular FAQ does not apply in this case.