CAN message gets corrupt inside a FreeRTOS task

Amazing! Even with 10000 bytes of stack?

In FreeRTOSConfig.h I have:

#define TASK_STACK_SIZE (10000 / sizeof(portSTACK_TYPE))
#define TASK_PRIORITY (tskIDLE_PRIORITY +1)

#ifndef configMINIMAL_STACK_SIZE
#define configMINIMAL_STACK_SIZE ((uint16_t)64)
#endif

#ifndef configTOTAL_HEAP_SIZE
#define configTOTAL_HEAP_SIZE ((size_t)(128*1024))
#endif

I’m creating the tasks as:

	if ( xTaskCreate ( main_CSP_task, "main_CSP_task", TASK_STACK_SIZE, NULL, TASK_PRIORITY, main_CSP_task_TH ) != pdPASS )
		while(1);

So I should get a task stack size of 10000 bytes (or 2500 32bits words)?

Could it happen that for whatever reason the configMINIMAL_STACK_SIZE of 64 is being used?
Is what circumstances is configMINIMAL_STACK_SIZE used?

thanks