OpenJDK 7u85-2.6.1 is leaking shm segments causing other applications to crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenJDK |
Fix Released
|
Medium
|
|||
openjdk-7 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 14.04.3 LTS, x86-64, openjdk-7 version 7u85-2.
I have java application which i using every day. Before update all worked fine. After this update i see many problems:
1. If I start java application second time, i see it working very slow. Before update I started up to 3 or 4 instances of this application same time. It never working slow before if only 2 instances running. Strange: first instance looks working not very slow only second instance working very slow.
2. VLC crash on start playing every time if started when java application is running. If java application is not running, VLC works fine, as usual.
3. Other applications (non java) working bad too, only if started when java application is running. For example Tiled can't draw graphics.
Java application which i using is Stendhal game. Before openjdk update working without any problems. Application itself was not changed, same version used before update and after.
This is example of console log of VLC crash:
VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28)
[0x1a7c178] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
QNativeImage: Unable to attach to shared memory segment.
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
QNativeImage: Unable to attach to shared memory segment.
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
[0x7f6884001248] xcb_xv vout display error: shared memory allocation error: No space left on device
If you need additional information, please ask what information.
Changed in openjdk: | |
importance: | Unknown → Medium |
status: | Unknown → 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.