Using jpeg functions in java crashes JVM when using headless openjdk JRE: open-jdk-6-jre-headless should depend on libjpeg62

Bug #318383 reported by Christophe Pierret
2
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

open-jdk-6-jre-headless does not depend on libjpeg62.
If libjpeg62 is not installed, using any jpeg function in the openjdk-6-jre-headless makes the JVM crash.
Steps to reproduce:
1) install a Ubuntu 8.10 JeOS server on VMWare Player
2) sudo aptitude install tomcat6
3) install JIRA (from Atlassian http://www.atlassian.com/software/jira/JIRADownloadCenter.jspa) as WAR/EAR file on tomcat6
4) create a bug in JIRA and attach a JPEG file to it
=> openjdk 6 JRE JVM crashes

Installing libjpeg62 fixes the crash.

The issue seem related to an incomplete fix in bug 195458:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/195458

Related branches

Revision history for this message
Christophe Pierret (cpierret) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-6 - 6b14-0ubuntu7

---------------
openjdk-6 (6b14-0ubuntu7) jaunty; urgency=low

  * debian/rules: Call dh_desktop. LP: #309999.
  * Add dependency on libjpeg62 for the -headless package. LP: #318383.
  * Test some jtreg tests which fail in samevm mode in a separate VM.
  * Build all with -fno-stack-protector -U_FORTIFY_SOURCE.
  * Include jtr files of failed tests in the -jdk package.

 -- Matthias Klose <email address hidden> Mon, 19 Jan 2009 00:23:22 +0100

Changed in openjdk-6:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.