[regression] Java applications leaks shmem chunks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Iced Tea |
Fix Released
|
Medium
|
|||
openjdk-7 (Debian) |
Fix Released
|
Unknown
|
|||
openjdk-7 (Gentoo Linux) |
Fix Released
|
Medium
|
|||
openjdk-7 (Ubuntu) |
Fix Released
|
Undecided
|
Steve Beattie | ||
openjdk-7 (openSUSE) |
Unknown
|
Unknown
|
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.
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
Changed in openjdk-7 (Ubuntu): | |
assignee: | nobody → Tiago Stürmer Daitx (tdaitx) |
Changed in icedtea: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in openjdk-7 (Debian): | |
status: | Unknown → Incomplete |
tags: | added: regression-update vivid |
tags: | added: trusty |
summary: |
- Java applications leaks shmem chunks + [regression] Java applications leaks shmem chunks |
tags: | removed: regression-update |
Changed in openjdk-7 (Gentoo Linux): | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
tags: | added: precise |
Changed in openjdk-7 (Debian): | |
status: | Incomplete → Fix Released |
Created attachment 1396
Patch to fix the bad merge.
Finally found the cause of the issue. Looks like a bad merge from 2 parents.
Revision 7726:4b26f93b23ba is the first to cause the crash.
$ hg log -r 7726:4b26f93b23ba
changeset: 7726:4b26f93b23ba
parent: 7506:6aaf00000bd5
parent: 7696:8dc56d0f3e86
user: goetz
date: Mon Jul 07 12:45:48 2014 +0200
summary: Merge
Both parents, 7506:6aaf00000bd5 and 7696:8dc56d0f3e86, are working fine.
Upstream repo is different than icedtea7-forest, and contains working code.
Please see the patch for the issue in attachment.