Your code is wrong: a=(char **) calloc(F, sizeof(char)); should be a=(char **) calloc(F, sizeof(char*)); because sizeof(char) < sizeof (char*) so you are allocating less memory than you need. Thanks, Andrew Pinski On Sunday, Apr 20, 2003, at 14:51 US/Eastern, Manuel Alguacil Payán wrote: > <fine.c>