← Back to team overview

openjdk team mailing list archive

[Bug 219631] Re: Java upgrade from gutsy to hardy is broken: openjdk-6-jre-headless (6b09-0ubuntu2) configuration fails

 

"java -client -Xshare:dump -XX:PermSize=128m > $log.txt" as part of
/var/lib/dpkg/info/openjdk-6-jre-headless.postinst seems to be the
problem.  Specifically, at least in my case, the problem is tied in with
my use of sysctl vm.overcommit_memory=2 to avoid overcommiting memory.
Changing back to the default with "sysctl vm.overcommit_memory=0" allows
the install to complete with java reporting a peak virtual size of
~1220MB and a peak resident size of ~27MB.  This system has 256MB RAM
and a 1024MB swap.  I'd be curious to know if having over 1220MB RAM
would alleviate the problem even with vm.commit_memory=2.

-- 
Java upgrade from gutsy to hardy is broken: openjdk-6-jre-headless (6b09-0ubuntu2) configuration fails
https://bugs.launchpad.net/bugs/219631
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” source package in Ubuntu: Invalid

Bug description:
Setting up openjdk-6-jre-headless causes double free or corruption, what interrupts openjdk upgrading process. Detailed log is attached.

18:25 ~@pazur% lsb_release -rd
Description:    Ubuntu 8.04
Release:        8.04

18:25 ~@pazur% LANG=C apt-cache policy openjdk-6-jre-headless
openjdk-6-jre-headless:
  Installed: 6b09-0ubuntu2
  Candidate: 6b09-0ubuntu2
  Version table:
 *** 6b09-0ubuntu2 0
        500 http://pl.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status