c prog gives segmentation fault

hello ,

I have a C program which runs perfectly on linux but gives a segmentation core dump when i try to run it on solaris.
The compilation of the c code happens without any errors on solaris.

Any pointers

thanks

Nayeem

Hi,

what kind of memory handling are you using in this prog ? Maybe some default values during memory allocation / free are different and you are writing more date as you orginally should ...

cheers
malcom

is the code prepped for x86, and you are trying to run it on Sparc?