LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   segmantation fault on a 64 bit machine caused by binary compiled on a 32 bit machine (https://www.linuxquestions.org/questions/linux-newbie-8/segmantation-fault-on-a-64-bit-machine-caused-by-binary-compiled-on-a-32-bit-machine-907992/)

ninofattore 10-13-2011 12:59 PM

segmantation fault on a 64 bit machine caused by binary compiled on a 32 bit machine
 
I compiled and run succesfully a program on a 32 bit linux machine. I tried to run the same binary on a 64 bits machine and anytime malloc is executed I got a segmentation fault. Is there a problem with libc.so.6?

eSelix 10-13-2011 01:48 PM

I don't think. Most probably is mistake in your code, so please post relevant fragment of your code. Do not forget enclosing it with CODE tags.


All times are GMT -5. The time now is 04:03 PM.