next up previous contents
Next: Debugging infinite loops Up: Debugging tools Previous: Debugging core dumps   Contents

Following are possible causes of a core dump

  1. An array is accessed beyond its maximum size.
  2. A pointer is accessed without allocating it by a call to malloc or calloc.
  3. A pointer is freed twice.
  4. A pointer being freed is null.
  5. Trying to access the memory through a pointer that is null.
  6. Trying to access the memory through a pointer that is uninitialized.



Sushil Prasad 2004-09-16