[AMBER-Developers] Re: LeAP's memcpy and strcpy

From: MengJuei Hsieh <mengjueh.uci.edu>
Date: Thu, 27 May 2010 15:53:14 -0700

> In the posix standard, the overlapping operations of memcpy and strcpy are
> both undefined. But apparently newer gcc for fedora went a little bit further,
> it crashes.
> Both of the overlapping operations can be re-implemented with memmove(). Here
> is my trial patch and it solves my leap crashes on Fedora 13 x86_64
> virtualbox. I will install another Fedora 12 x86_64 virtualbox to test that
> patch after sleep.


The test log on Fedora 12 was recorded and attached in this email.
    Basically I just installed the Fedora 12 x86_64 with network install
option so that I don't need to do a painstaking software update after the
installation. I only installed the package of developers. After the first
book I installed csh. Fetched the amber11 tree, configure and make install
in the leap directory. FC12 does give me a segfault in the test.leap.
The patch does work to solve the segfault.

The test log on Ubuntu 10.4 is also attached, same story as FC12_64.

Best,
-- 
Mengjuei Hsieh, Molecular Biology & Biochem, Univ. of California Irvine.




_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers

Received on Thu May 27 2010 - 16:00:05 PDT
Custom Search