Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-13-2011, 12:59 PM   #1
LQ Newbie
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
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
Old 10-13-2011, 01:48 PM   #2
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,251

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile 64 bit binary from 32 bit machine muhuzuhu Linux - Software 1 09-18-2011 12:10 AM
Importing 32 bit swig library from python2.4 on 64 bit machine veerals123 Linux - Software 3 05-11-2011 05:26 AM
[SOLVED] Red Hat Enterprise Desktop 5.3 on 64 bit machine need 32-bit library file hhs1982 Linux - Newbie 4 06-29-2010 11:55 AM
Unable to compile 64 bit kernel on 64 bit machine even after successful compilation. atulsdeshmukh Linux - Kernel 2 09-18-2009 02:28 AM

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration