I tried nearly everything and found that everything is working fine if the width and height of the framegrabber is a power of 2 and width and height are exactly the same.
This is my current configuration which is working fine without a crash:
"framegrabber" :
{
"width" : 64,
"height" : 64,
"frequency_Hz" : 30
}