954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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

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.

biozero
Newbie Poster
1 post since Aug 2005
Reputation Points: 10
Solved Threads: 0
 

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

~/

kermit
Newbie Poster
14 posts since Aug 2005
Reputation Points: 57
Solved Threads: 5
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You