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.

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