← Back to team overview

openjdk team mailing list archive

[Bug 1512760] [NEW] Java applications leaks shmem chunks

 

Public bug reported:

After last update of openjdk few days ago system is going to be unsable,
because any java application (JetBrains, IcedTea) leaks shmem chunks,
which can be detected by "ipcs -m -p" command. This issues to unable to
start any Qt application - vlc for example:

QNativeImage: Unable to attach to shared memory segment. 
(vlc:8541): Gdk-WARNING **: shmget failed: error 28

Steps to reproduce:
- run any java application
- monitor shmem stats: ipcs -m -p | wc -l
- try to run any Qt app 

~$ java -version
java version "1.7.0_85"
OpenJDK Runtime Environment (IcedTea 2.6.1) (7u85-2.6.1-5ubuntu0.15.04.1)
OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)

~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.04
Release:        15.04
Codename:       vivid

** Affects: openjdk-7 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1512760

Title:
  Java applications leaks shmem chunks

Status in openjdk-7 package in Ubuntu:
  New

Bug description:
  After last update of openjdk few days ago system is going to be
  unsable, because any java application (JetBrains, IcedTea) leaks shmem
  chunks, which can be detected by "ipcs -m -p" command. This issues to
  unable to start any Qt application - vlc for example:

  QNativeImage: Unable to attach to shared memory segment. 
  (vlc:8541): Gdk-WARNING **: shmget failed: error 28

  Steps to reproduce:
  - run any java application
  - monitor shmem stats: ipcs -m -p | wc -l
  - try to run any Qt app 

  ~$ java -version
  java version "1.7.0_85"
  OpenJDK Runtime Environment (IcedTea 2.6.1) (7u85-2.6.1-5ubuntu0.15.04.1)
  OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)

  ~$ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 15.04
  Release:        15.04
  Codename:       vivid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1512760/+subscriptions


Follow ups