Unexpected input dimension (tflite C_API library)

I expect an input tensor dimension of 1 x 3 x 40 x 180
and i have a segmentation fault when arriving to TfLiteInterpreterInvoke(interpreter);

Input tensor:
Number of dimensions: 4
Dimensions: 1 x 3 x 1 x 1
input_data[0]: 0.937447
data copy
Segmentation fault (core dumped)