/****************************************************************************
   Function: Demonstration of a crashing program
   Status:   20-feb-2008, wlm.

*****************************************************************************/

#include <stdio.h>
#include <stdlib.h>

int main () {
    /* declarations */
    int ptrInt[100];
    int i;

    for (i = 0 ;  ; i++) {    /* Infinite loop that at some point runs out of the memeory */
        ptrInt[i] = (i+1)* i ;
        fprintf(stderr,"PtrInt: %d, %d\n",i,ptrInt[i]);
    }

    return (0);
}

