I have a c program that works fine on a local console but gives a 'segmentation fault' during execution in SSH.
 
The scenario is:
The program and its a.out are on system A running Redhat8.0. I have another system B running the same OS. I sshed from system B to system A and tried to run the a.out, it failed with a segmentation fault. I go to system A , open up a console and then run it, it runs without any error.
 
There is a huge 2-dimensional array(not malloced) created in the program. Could this be the problem? Any idea how to solve this?

Thanks,
 
Mi

Reply via email to