Common causes are;

:arrow: miscalculating array ranges in your loops,
:arrow: accessing objects when not created,
:arrow: or just plain and simple trying to access memory that was not allocated for use. (ie. a texture that didn't load --though in OpenGL this will hang your app. :?)