← Back to team overview

openjdk team mailing list archive

[Bug 308591] Re: package openjdk-6-jre-headless 6b12-0ubuntu6 failed to install/upgrade: subprocess post-installation script returned error exit status 1

 

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/20467418/Dependencies.txt

** Attachment added: "DpkgTerminalLog.gz"
   http://launchpadlibrarian.net/20467419/DpkgTerminalLog.gz

-- 
package openjdk-6-jre-headless 6b12-0ubuntu6 failed to install/upgrade: subprocess post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/308591
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: New

Bug description:
got an invalid pointer exception
and:
Error occurred during initialization of VM
Could not reserve enough space for object heap
release intrepid/8.10

Complete apt-get follows:
$ sudo apt-get install default-jre icedtea6-plugin sun-java6-fonts
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-restricted-modules-2.6.20-17-386 linux-headers-2.6.27-7 linux-restricted-modules-2.6.22-15-generic linux-headers-2.6.27-7-generic linux-restricted-modules-2.6.20-16-generic
  linux-image-2.6.20-17-386 linux-image-2.6.20-16-generic linux-restricted-modules-2.6.22-15-386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  ca-certificates-java default-jre-headless libaccess-bridge-java openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib rhino ttf-wqy-zenhei tzdata-java
Suggested packages:
  rhino-doc
The following packages will be REMOVED:
  sun-java5-fonts
The following NEW packages will be installed:
  ca-certificates-java default-jre default-jre-headless icedtea6-plugin libaccess-bridge-java openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib rhino sun-java6-fonts
  ttf-wqy-zenhei tzdata-java
0 upgraded, 12 newly installed, 1 to remove and 0 not upgraded.
Need to get 37.2MB of archives.
After this operation, 99.3MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://de.archive.ubuntu.com intrepid/main ttf-wqy-zenhei 0.6.26-2ubuntu1 [5738kB]
Get:2 http://de.archive.ubuntu.com intrepid/main openjdk-6-jre-lib 6b12-0ubuntu6 [4708kB]                                                                                            
Get:3 http://de.archive.ubuntu.com intrepid/main ca-certificates-java 20080712ubuntu3 [98.5kB]                                                                                       
Get:4 http://de.archive.ubuntu.com intrepid/main tzdata-java 2008h-2ubuntu1 [141kB]                                                                                                  
Get:5 http://de.archive.ubuntu.com intrepid/main default-jre-headless 1.6-30ubuntu3 [5896B]                                                                                          
Get:6 http://de.archive.ubuntu.com intrepid/main rhino 1.7R1-1ubuntu3 [623kB]                                                                                                        
Get:7 http://de.archive.ubuntu.com intrepid/main libaccess-bridge-java 1.24.0-0ubuntu2 [408kB]                                                                                       
Get:8 http://de.archive.ubuntu.com intrepid/main openjdk-6-jre-headless 6b12-0ubuntu6 [25.2MB]                                                                                       
Get:9 http://de.archive.ubuntu.com intrepid/main openjdk-6-jre 6b12-0ubuntu6 [230kB]
Get:10 http://de.archive.ubuntu.com intrepid/main icedtea6-plugin 6b12-0ubuntu6 [71.5kB]
Get:11 http://de.archive.ubuntu.com intrepid/main default-jre 1.6-30ubuntu3 [1088B]
Get:12 http://de.archive.ubuntu.com intrepid/multiverse sun-java6-fonts 6-10-0ubuntu2 [1838B]
Fetched 37.2MB in 1min33s (399kB/s)
(Reading database ... 258471 files and directories currently installed.)
Removing sun-java5-fonts ...
Updating fontconfig cache for /usr/share/fonts/truetype/ttf-lucida
No CIDSupplement specified for Batang-Regular, defaulting to 0.
No CIDSupplement specified for KochiGothic-Regular-JaH, defaulting to 0.
No CIDSupplement specified for Gulim-Regular, defaulting to 0.
No CIDSupplement specified for Dotum-Regular, defaulting to 0.
No CIDSupplement specified for BousungEG-Light-GB, defaulting to 0.
No CIDSupplement specified for ShanHeiSun-Light, defaulting to 0.
No CIDSupplement specified for KochiGothic-Regular, defaulting to 0.
No CIDSupplement specified for KochiMincho-Regular-JaH, defaulting to 0.
No CIDSupplement specified for UKaiCN, defaulting to 0.
No CIDSupplement specified for GBZenKai-Medium, defaulting to 0.
No CIDSupplement specified for Batang-Bold, defaulting to 0.
No CIDSupplement specified for ZenKai-Medium, defaulting to 0.
No CIDSupplement specified for UMingCN, defaulting to 0.
No CIDSupplement specified for KochiMincho-Regular, defaulting to 0.
No CIDSupplement specified for Headline-Regular, defaulting to 0.
No CIDSupplement specified for Dotum-Bold, defaulting to 0.
Selecting previously deselected package ttf-wqy-zenhei.
(Reading database ... 258458 files and directories currently installed.)
Unpacking ttf-wqy-zenhei (from .../ttf-wqy-zenhei_0.6.26-2ubuntu1_all.deb) ...
Selecting previously deselected package openjdk-6-jre-lib.
Unpacking openjdk-6-jre-lib (from .../openjdk-6-jre-lib_6b12-0ubuntu6_all.deb) ...
Selecting previously deselected package ca-certificates-java.
Unpacking ca-certificates-java (from .../ca-certificates-java_20080712ubuntu3_all.deb) ...
Selecting previously deselected package tzdata-java.
Unpacking tzdata-java (from .../tzdata-java_2008h-2ubuntu1_all.deb) ...
Selecting previously deselected package default-jre-headless.
Unpacking default-jre-headless (from .../default-jre-headless_1.6-30ubuntu3_i386.deb) ...
Selecting previously deselected package rhino.
Unpacking rhino (from .../rhino_1.7R1-1ubuntu3_all.deb) ...
Selecting previously deselected package libaccess-bridge-java.
Unpacking libaccess-bridge-java (from .../libaccess-bridge-java_1.24.0-0ubuntu2_all.deb) ...
Selecting previously deselected package openjdk-6-jre-headless.
Unpacking openjdk-6-jre-headless (from .../openjdk-6-jre-headless_6b12-0ubuntu6_i386.deb) ...
Selecting previously deselected package openjdk-6-jre.
Unpacking openjdk-6-jre (from .../openjdk-6-jre_6b12-0ubuntu6_i386.deb) ...
Selecting previously deselected package icedtea6-plugin.
Unpacking icedtea6-plugin (from .../icedtea6-plugin_6b12-0ubuntu6_i386.deb) ...
Selecting previously deselected package default-jre.
Unpacking default-jre (from .../default-jre_1.6-30ubuntu3_i386.deb) ...
Selecting previously deselected package sun-java6-fonts.
Unpacking sun-java6-fonts (from .../sun-java6-fonts_6-10-0ubuntu2_all.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up ttf-wqy-zenhei (0.6.26-2ubuntu1) ...
Updating fontconfig cache for /usr/share/fonts/truetype/wqy
No CIDSupplement specified for ZenKai-Medium, defaulting to 0.
No CIDSupplement specified for ZenHei, defaulting to 0.
No CIDSupplement specified for Batang-Regular, defaulting to 0.
No CIDSupplement specified for KochiGothic-Regular, defaulting to 0.
No CIDSupplement specified for KochiMincho-Regular-JaH, defaulting to 0.
No CIDSupplement specified for BousungEG-Light-GB, defaulting to 0.
No CIDSupplement specified for GBZenKai-Medium, defaulting to 0.
No CIDSupplement specified for Batang-Bold, defaulting to 0.
No CIDSupplement specified for KochiMincho-Regular, defaulting to 0.
No CIDSupplement specified for KochiGothic-Regular-JaH, defaulting to 0.
No CIDSupplement specified for Gulim-Regular, defaulting to 0.
No CIDSupplement specified for ShanHeiSun-Light, defaulting to 0.
No CIDSupplement specified for Dotum-Bold, defaulting to 0.
No CIDSupplement specified for Dotum-Regular, defaulting to 0.
No CIDSupplement specified for UKaiCN, defaulting to 0.
No CIDSupplement specified for UMingCN, defaulting to 0.
No CIDSupplement specified for ZenHei-CNS, defaulting to 0.
No CIDSupplement specified for Headline-Regular, defaulting to 0.
Regenerating fonts cache... done.

Setting up tzdata-java (2008h-2ubuntu1) ...
Setting up rhino (1.7R1-1ubuntu3) ...

Setting up libaccess-bridge-java (1.24.0-0ubuntu2) ...
Setting up sun-java6-fonts (6-10-0ubuntu2) ...
Updating fontconfig cache for /usr/share/fonts/truetype/ttf-lucida
No CIDSupplement specified for ZenKai-Medium, defaulting to 0.
No CIDSupplement specified for ZenHei, defaulting to 0.
No CIDSupplement specified for Batang-Regular, defaulting to 0.
No CIDSupplement specified for KochiGothic-Regular, defaulting to 0.
No CIDSupplement specified for KochiMincho-Regular-JaH, defaulting to 0.
No CIDSupplement specified for BousungEG-Light-GB, defaulting to 0.
No CIDSupplement specified for GBZenKai-Medium, defaulting to 0.
No CIDSupplement specified for Batang-Bold, defaulting to 0.
No CIDSupplement specified for KochiMincho-Regular, defaulting to 0.
No CIDSupplement specified for KochiGothic-Regular-JaH, defaulting to 0.
No CIDSupplement specified for Gulim-Regular, defaulting to 0.
No CIDSupplement specified for ShanHeiSun-Light, defaulting to 0.
No CIDSupplement specified for Dotum-Bold, defaulting to 0.
No CIDSupplement specified for Dotum-Regular, defaulting to 0.
No CIDSupplement specified for UKaiCN, defaulting to 0.
No CIDSupplement specified for UMingCN, defaulting to 0.
No CIDSupplement specified for ZenHei-CNS, defaulting to 0.
No CIDSupplement specified for Headline-Regular, defaulting to 0.

Setting up openjdk-6-jre-lib (6b12-0ubuntu6) ...
Setting up ca-certificates-java (20080712ubuntu3) ...
creating /etc/ssl/certs/java/cacerts...
Certificate was added to keystore
  added certificate gouv.fr/cert_igca_dsa.crt
Certificate was added to keystore
  added certificate gouv.fr/cert_igca_rsa.crt
done.

Setting up default-jre-headless (1.6-30ubuntu3) ...
Setting up openjdk-6-jre-headless (6b12-0ubuntu6) ...
update-binfmts: warning: current package is openjdk-6, but binary format
already installed by sun-java6 
*** glibc detected *** /usr/lib/jvm/java-6-openjdk/bin/java: free(): invalid pointer: 0xb768b254 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7edd3f4]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb7edf456]
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/libjvm.so[0xb79e9301]
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/libjvm.so[0xb79ac492]
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/libjvm.so[0xb79adc50]
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/libjvm.so[0xb79b2075]
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/libjvm.so(JNI_CreateJavaVM+0x5c)[0xb784eebc]
/usr/lib/jvm/java-6-openjdk/bin/java(JavaMain+0x9e)[0x804a52e]
/lib/tls/i686/cmov/libpthread.so.0[0xb7fdc50f]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb7f4f7ee]
======= Memory map: ========
08048000-08051000 r-xp 00000000 08:01 2837657    /usr/lib/jvm/java-6-openjdk/jre/bin/java
08051000-08052000 r--p 00008000 08:01 2837657    /usr/lib/jvm/java-6-openjdk/jre/bin/java
08052000-08053000 rw-p 00009000 08:01 2837657    /usr/lib/jvm/java-6-openjdk/jre/bin/java
0a03f000-0a060000 rw-p 0a03f000 00:00 0          [heap]
95400000-95421000 rw-p 95400000 00:00 0 
95421000-95500000 ---p 95421000 00:00 0 
9550f000-9551c000 r-xp 00000000 08:01 4456451    /lib/libgcc_s.so.1
9551c000-9551d000 r--p 0000c000 08:01 4456451    /lib/libgcc_s.so.1
9551d000-9551e000 rw-p 0000d000 08:01 4456451    /lib/libgcc_s.so.1
95538000-b5538000 rwxp 95538000 00:00 0 
b5538000-b5539000 rwxp b5538000 00:00 0 
b5539000-b55b8000 rwxp b5539000 00:00 0 
b55b8000-b55e0000 rwxp b55b8000 00:00 0 
b55e0000-b75b8000 rwxp b55e0000 00:00 0 
b75b8000-b75bf000 r-xp 00000000 08:01 2837625    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libzip.so
b75bf000-b75c0000 r--p 00006000 08:01 2837625    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libzip.so
b75c0000-b75c1000 rw-p 00007000 08:01 2837625    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libzip.so
b75c1000-b75e5000 r-xp 00000000 08:01 2837608    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libjava.so
b75e5000-b75e6000 r--p 00023000 08:01 2837608    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libjava.so
b75e6000-b75e8000 rw-p 00024000 08:01 2837608    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libjava.so
b75e8000-b75f2000 r-xp 00000000 08:01 4456580    /lib/tls/i686/cmov/libnss_files-2.8.90.so
b75f2000-b75f3000 r--p 00009000 08:01 4456580    /lib/tls/i686/cmov/libnss_files-2.8.90.so
b75f3000-b75f4000 rw-p 0000a000 08:01 4456580    /lib/tls/i686/cmov/libnss_files-2.8.90.so
b75f4000-b75fd000 r-xp 00000000 08:01 4456585    /lib/tls/i686/cmov/libnss_nis-2.8.90.so
b75fd000-b75fe000 r--p 00008000 08:01 4456585    /lib/tls/i686/cmov/libnss_nis-2.8.90.so
b75fe000-b75ff000 rw-p 00009000 08:01 4456585    /lib/tls/i686/cmov/libnss_nis-2.8.90.so
b75ff000-b7614000 r-xp 00000000 08:01 4456556    /lib/tls/i686/cmov/libnsl-2.8.90.so
b7614000-b7615000 r--p 00014000 08:01 4456556    /lib/tls/i686/cmov/libnsl-2.8.90.so
b7615000-b7616000 rw-p 00015000 08:01 4456556    /lib/tls/i686/cmov/libnsl-2.8.90.so
b7616000-b7618000 rw-p b7616000 00:00 0 
b761b000-b7627000 r-xp 00000000 08:01 2837624    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libverify.so
b7627000-b7628000 ---p 0000c000 08:01 2837624    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libverify.so
b7628000-b7629000 r--p 0000c000 08:01 2837624    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libverify.so
b7629000-b762a000 rw-p 0000d000 08:01 2837624    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libverify.so
b762a000-b7632000 rw-s 00000000 08:01 950351     /tmp/hsperfdata_root/16119 (deleted)
b7632000-b7639000 r-xp 00000000 08:01 4456606    /lib/tls/i686/cmov/librt-2.8.90.so
b7639000-b763a000 r--p 00007000 08:01 4456606    /lib/tls/i686/cmov/librt-2.8.90.so
b763a000-b763b000 rw-p 00008000 08:01 4456606    /lib/tls/i686/cmov/librt-2.8.90.so
b763b000-b763e000 ---p b763b000 00:00 0 
b763e000-b768c000 rwxp b763e000 00:00 0 
b768c000-b76b0000 r-xp 00000000 08:01 4456541    /lib/tls/i686/cmov/libm-2.8.90.so
b76b0000-b76b1000 r--p 00023000 08:01 4456541    /lib/tls/i686/cmov/libm-2.8.90.so
b76b1000-b76b2000 rw-p 00024000 08:01 4456541    /lib/tls/i686/cmov/libm-2.8.90.so
b76b2000-b7a2f000 r-xp 00000000 08:01 2837553    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/libjvm.so
b7a2f000-b7a42000 r--p 0037d000 08:01 2837553    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/libjvm.so
b7a42000-b7a4e000 rw-p 00390000 08:01 2837553    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/libjvm.so
b7a4e000-b7e6e000 rw-p b7a4e000 00:00 0 
b7e6e000-b7fc6000 r-xp 00000000 08:01 4456515    /lib/tls/i686/cmov/libc-2.8.90.so
b7fc6000-b7fc8000 r--p 00158000 08:01 4456515    /lib/tls/i686/cmov/libc-2.8.90.so
b7fc8000-b7fc9000 rw-p 0015a000 08:01 4456515    /lib/tls/i686/cmov/libc-2.8.90.so
b7fc9000-b7fcc000 rw-p b7fc9000 00:00 0 
b7fcc000-b7fce000 r-xp 00000000 08:01 4456533    /lib/tls/i686/cmov/libdl-2.8.90.so
b7fce000-b7fcf000 r--p 00001000 08:01 4456533    /lib/tls/i686/cmov/libdl-2.8.90.so
b7fcf000-b7fd0000 rw-p 00002000 08:01 4456533    /lib/tls/i686/cmov/libdl-2.8.90.so
b7fd0000-b7fd4000 r-xp 00000000 08:01 2837571    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/jli/libjli.so
b7fd4000-b7fd5000 r--p 00003000 08:01 2837571    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/jli/libjli.so
b7fd5000-b7fd6000 rw-p 00004000 08:01 2837571    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/jli/libjli.so
b7fd6000-b7feb000 r-xp 00000000 08:01 4456594    /lib/tls/i686/cmov/libpthread-2.8.90.so
b7feb000-b7fec000 r--p 00014000 08:01 4456594    /lib/tls/i686/cmov/libpthread-2.8.90.so
b7fec000-b7fed000 rw-p 00015000 08:01 4456594    /lib/tls/i686/cmov/libpthread-2.8.90.so
b7fed000-b7ff0000 rw-p b7fed000 00:00 0 
b7ff0000-b8004000 r-xp 00000000 08:01 1982989    /usr/lib/libz.so.1.2.3.3
b8004000-b8006000 rw-p 00013000 08:01 1982989    /usr/lib/libz.so.1.2.3.3
b800c000-b8013000 r-xp 00000000 08:01 4456560    /lib/tls/i686/cmov/libnss_compat-2.8.90.so
b8013000-b8014000 r--p 00006000 08:01 4456560    /lib/tls/i686/cmov/libnss_compat-2.8.90.so
b8014000-b8015000 rw-p 00007000 08:01 4456560    /lib/tls/i686/cmov/libnss_compat-2.8.90.so
b8015000-b801c000 r-xp 00000000 08:01 2837627    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/native_threads/libhpi.so
b801c000-b801d000 r--p 00006000 08:01 2837627    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/native_threads/libhpi.so
b801d000-b801e000 rw-p 00007000 08:01 2837627    /usr/lib/jvm/java-6-openjdk/jre/lib/i386/native_threads/libhpi.so
b801e000-b801f000 rw-p b801e000 00:00 0 
b801f000-b8020000 r--p b801f000 00:00 0 
b8020000-b8022000 rw-p b8020000 00:00 0 
b8022000-b803c000 r-xp 00000000 08:01 3047440    /lib/ld-2.8.90.so
b803c000-b803d000 r-xp b803c000 00:00 0          [vdso]
b803d000-b803e000 r--p 0001a000 08:01 3047440    /lib/ld-2.8.90.so
b803e000-b803f000 rw-p 0001b000 08:01 3047440    /lib/ld-2.8.90.so
bfd29000-bfd3c000 rwxp bffeb000 00:00 0          [stack]
bfd3c000-bfd3e000 rw-p bfffe000 00:00 0 
Aborted
Error occurred during initialization of VM
Could not reserve enough space for object heap
dpkg: error processing openjdk-6-jre-headless (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openjdk-6-jre:
 openjdk-6-jre depends on openjdk-6-jre-headless (>= 6b12-0ubuntu6); however:
  Package openjdk-6-jre-headless is not configured yet.
dpkg: error processing openjdk-6-jre (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of icedtea6-plugin:
 icedtea6-plugin depends on openjdk-6-jre (= 6b12-0ubuntu6); however:
  Package openjdk-6-jre is not configured yet.
dpkg: error processing icedtea6-plugin (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of default-jre:
 default-jre depends on openjdk-6-jre (>= 6b11); however:
  Package openjdk-6-jre is not configured yet.
dpkg: error processing default-jre (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 openjdk-6-jre-headless
 openjdk-6-jre
 icedtea6-plugin
 default-jre
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: openjdk-6-jre-headless 6b12-0ubuntu6
SourcePackage: openjdk-6
Title: package openjdk-6-jre-headless 6b12-0ubuntu6 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-9-generic i686



References