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

Reply

Join Date: Aug 2005
Posts: 1
Reputation: biozero is an unknown quantity at this point 
Solved Threads: 0
biozero biozero is offline Offline
Newbie Poster

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

 
0
  #1
Aug 27th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 14
Reputation: kermit is on a distinguished road 
Solved Threads: 5
kermit kermit is offline Offline
Newbie Poster

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

 
0
  #2
Aug 27th, 2005
Is there any way we could have a look at the source, or is it private?

~/
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC