LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 10-13-2011, 01:59 PM   #1
ninofattore
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 libc.so.6?
 
Old 10-13-2011, 02:48 PM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,246

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


Reply


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 01:10 AM
Importing 32 bit swig library from python2.4 on 64 bit machine veerals123 Linux - Software 3 05-11-2011 06: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 12:55 PM
Unable to compile 64 bit kernel on 64 bit machine even after successful compilation. atulsdeshmukh Linux - Kernel 2 09-18-2009 03:28 AM


All times are GMT -5. The time now is 11:12 PM.

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