Bug#634089: jarwrapper: Getting CRC error when running a jar file

Niels Thykier niels at thykier.net
Sun Aug 28 18:00:41 UTC 2011


On 2011-08-28 19:52, Tomasz Muras wrote:
> On Sat, Aug 27, 2011 at 12:41 PM, Niels Thykier <niels at thykier.net> wrote:
>> Hi,
>>
>> Does it only happen on amd64?  Does it help if you LD_PRELOAD the amd64
>> "memcpy=memmove" libraries?
> 
> Sorry but I'm not sure what do you mean by that - which library
> exactly should I add to LD_PRELOAD?
> 
> Tomek

Hi,

Sorry for being unclear; there recently was an optimization in libc6's
memcpy (on amd64) that broke some programs because they assumed memcpy
behaved like memmove.  Please have a look at [1], which lists the
libraries and how to use them (on jh_manifest).
  If you are not on an amd64 / 64bit user space or if the preloading
does not work, let me know because that implies it not an issue with
(misusing) libc6's memcpy.

~Niels

[1] /usr/share/doc/libc6/NEWS.Debian.gz

See entry 2.13-7






More information about the pkg-java-maintainers mailing list