944,122 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 2997
  • C RSS
Aug 27th, 2005
0

Porting Unix code (32bit machine) to Linux (64bit machine)

Expand Post »
I am rather baffled as to why a relatively simple, but very reliable, bit of C code I wrote on a 32 bit unix system (Sun Solaris) will compile fine, but error out when compiled and run on a 64bit Linux system?

The specific error I receive upon execution is:

*** glibc detected *** double free or corruption (!prev): 0x0000000000507250 *** Abort (core dumped)

While using debuggers... the program appears to terminate at the very beginning of a file read.

So as not to waste anybody's time, let me know what other information would be helpful for me to provide. Be advised...the code contains LOTS of html output.

Thanks in advance.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
biozero is offline Offline
1 posts
since Aug 2005
Aug 27th, 2005
0

Re: Porting Unix code (32bit machine) to Linux (64bit machine)

Is there any way we could have a look at the source, or is it private?

~/
Reputation Points: 57
Solved Threads: 5
Newbie Poster
kermit is offline Offline
14 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: code for ......anyone???
Next Thread in C Forum Timeline: Can we allow the user to make errors





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC