I hit this error (datasupp.c, line 646) while developing code for a CIN node. I stumbled across a fix for my problem and am posting it here in case anyone else runs across the same problem.
The error was intermittent, but I was able to isolate it to a call to NumericArrayResize. I was trying to resize an array of double-precision floats, but was passing it the wrong typeCode (iL instead of fD). Once I fixed the typeCode, the error went away.
Hope that helps.