Memory Allocation Errors


gloryeternal
07-23-2003, 10:20 AM
Hi,

I have the original Second Edition Numerical Routines book (v1.99) and the accompanying diskettes (2.00?). For years, these were successfully installed and used on an UNIX-based system (using a GNU C compiler). However, this server was recently upgraded to LINUX, and now I have memory allocation problems running the exact same program.

The program does compile fine (using the same compiler), but then running it gives a "Segmentation fault" error. I have traced the problem, which I believe results from an invalid free() function. I have no idea why the program worked before, but not now; I can only guess it has something to do with the server upgrade. Please let me know if you have any insights.

Thanks!