I have just found out that, using BufferedInputStream - instead of
java.io.File - as parameter for ImageIO.read() will not cause core dump.
This probably means that there is something wrong with the code in
ImageIO.read() that cause crash while reading from java.io.File.
P.S. the difference
** Attachment added: Java source to reproduce the error
https://bugs.launchpad.net/bugs/913434/+attachment/2662799/+files/BugIIO.java
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/913434
Title:
Here is the error report file (hs_err_pid4978.log) from this step (as
described above):
$ java BugIIO
** Attachment added: Java error report/log file
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/+attachment/2662802/+files/hs_err_pid4978.log
--
You received this bug
Public bug reported:
Code that uses ImageIO.read() to read many image files (270 files on my
system) crashes the JVM.
~~~ My system information:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 11.10
Release:11.10
Codename: oneiric
$
Here is the core dump (xz compressed, uncompress before use) from this
step (as described above):
$ java BugIIO
** Attachment added: core.xz - core dump (xz compressed)
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/+attachment/2662833/+files/core.xz
--
You received this
** Description changed:
Code that uses ImageIO.read() to read many image files (270 files on my
system) crashes the JVM.
~~~ My system information:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
** Description changed:
- Code that uses ImageIO.read() to read many image files (270 files on my
- system) crashes the JVM.
+ Code that uses ImageIO.read() to read many image files (on my system:
+ 270 files, totalling 522.9 MiB) crashes the JVM.
~~~ My system information:
$
I am also confirming that workaround described in Comment #24 worked for me.
My situation was similar with #47 (was installing ubuntu 11.10 amd64, into
encrypted lvm volume, with separate non-encrypted boot partition).
--
You received this bug notification because you are a member of Ubuntu