Must be silly me, but the number 4 reminds me of a few miscalled functions where I looked up the size of my variable, instead of the memory BEHIND it. Maybe you are doing something similar as well?