[Bug 948301] New: IPC Shared Memory Leaks - OpenJDK update 1.7.0.85-24.21.1-x86_64
http://bugzilla.opensuse.org/show_bug.cgi?id=948301 Bug ID: 948301 Summary: IPC Shared Memory Leaks - OpenJDK update 1.7.0.85-24.21.1-x86_64 Classification: openSUSE Product: openSUSE 13.1 Version: Final Hardware: x86-64 OS: openSUSE 13.1 Status: NEW Severity: Critical Priority: P5 - None Component: Java Assignee: bnc-team-java@forge.provo.novell.com Reporter: srees@zodiac2000.co.uk QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.21 (KHTML, like Gecko) konqueror/4.11.5 Safari/537.21 Build Identifier: The recent update of OpenJDK to 1.7.0.85-24.21.1-x86_64 appears to cause shared memory leaks in GUI/Swing applications. This problem doesn't occur with the previous package 1.7.0.55-24.17.1-x86_64. This problem can be demonstrated with the Oracle "Swing Paint Demo" as described below but also affects applications such as Netbeans and Oxygen. Reproducible: Always Steps to Reproduce: 1. Build the "Swing Paint Demo" from Oracle at https://docs.oracle.com/javase/tutorial/uiswing/examples/zipfiles/painting-S... 2. Run the application, e.g. java -jar "SwingPaintDemo4Project.jar" 3. Determine the PID 4. Use ipcs -mp to check the number of shared memory segments used by the java process. I can supply a the jar file that I've observed this problem with if necessary. Actual Results: The number of shared memory segments used by this process keeps increasing until the kernel won't allocate any more. It appears that every time the Swing Paint Demo becomes visible another shared memory segment is allocated, for example when restoring a minimised window or switching to a previously hidden window. Clicking within the window may also be causing shared memory segments to be allocated. For example after starting the application with PID 23070 I see: simon@simon-pc:~> ipcs -mp | grep 23070 16580651 simon 23070 23070 16613436 simon 23070 23070 but after clicking in the window, showing and hiding a few times I see: simon@simon-pc:~> ipcs -mp | grep 23070 16908324 simon 23070 23070 16941093 simon 23070 23070 16580651 simon 23070 23070 17694765 simon 23070 23070 17727534 simon 23070 23070 17760303 simon 23070 23070 17858613 simon 23070 23070 16613436 simon 23070 23070 16646207 simon 23070 23070 16678978 simon 23070 23070 16711747 simon 23070 23070 16744516 simon 23070 23070 17989702 simon 23070 23070 18022471 simon 23070 23070 18055240 simon 23070 23070 18088009 simon 23070 23070 18120778 simon 23070 23070 18153547 simon 23070 23070 Expected Results: The number of shared memory segments used by this process remains stable. This is the behaviour when running the application using OpenJDK 1.7.0.55-24.17.1-x86_64. OpenSUSE 13.1 x86_64. KDE 4.11.5. Linux simon-pc 3.11.10-29-desktop #1 SMP PREEMPT Thu Mar 5 16:24:00 UTC 2015 (338c513) x86_64 x86_64 x86_64 GNU/Linux -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=948301
http://bugzilla.opensuse.org/show_bug.cgi?id=948301#c1
--- Comment #1 from Simon Rees
http://bugzilla.opensuse.org/show_bug.cgi?id=948301
http://bugzilla.opensuse.org/show_bug.cgi?id=948301#c2
Simon Rees
participants (1)
-
bugzilla_noreply@novell.com