LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 12: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, 01:48 PM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:56 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
Open Source Consulting | Domain Registration