Could it be that some of those pointers are null pointers, or perhaps even invalid pointers?