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

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
Fri Oct 9 10:28:36 EDT 1998