#12094 closed defect (othersoftware)
JOSM messing up KDE programs
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | linux mint ubuntu debian kde javabug | Cc: |
Description
Having been working some minutes with JOSM, any other KDE program freshly started (after starting JOSM) will show a completely messed-up GUI or even empty window, making it unusable. This applies to Okular, Gwenview, Dolphin, or even the K menu. After closing down JOSM, everything is fine again.
Some other users report this behaviour stops after switching from OpenJDK to Oracle JDK.
Thread on German OSM forum: http://forum.openstreetmap.org/viewtopic.php?id=52591
Info:
JOSM 1.5 (8969 de)
Java 1.7.0_85, OpenJDK Runtime Environment (IcedTea 2.6.1) (7u85-2.6.1-5ubuntu0.14.04.1), OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)
Linux Mint 17.2 Rafaela 64bit, latest patch level
KDE 4.13.2, Composit OpenGL2.0, Qt native, Desktop effects on
Hardware: Lenovo Thinkpad T500
--ks
Attachments (0)
Change History (11)
comment:1 by , 10 years ago
Keywords: | linux mint kde added |
---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Keywords: | ubuntu added |
---|
comment:5 by , 10 years ago
Keywords: | javabug added |
---|
I see similar effects, but with JDownloader (also Java) and not JOSM. Came either with a Java update or a KDE update for me. Seems to be a java bug. I'll check Java versions when I'm at this system again. System is openSUSE 13.1.
comment:6 by , 10 years ago
This is a IPC shared memory leak, caused by some OpenJDK 7 versions.
By default, Java uses shared memory to exchange data with the X Server.
Workaround:
NO_J2D_MITSHM=1 java -jar ~/josm-latest.jar
With this option, Java does not use the shared memory and can't leak it.
comment:8 by , 10 years ago
Ubuntu and Debian fixed the issue with the OpenJDK 7 update (85 to 91):
http://packages.ubuntu.com/search?keywords=openjdk-7-jre&exact=1
https://packages.debian.org/search?keywords=openjdk-7-jre&exact=1
comment:9 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
In the Debian and Ubuntu (and also Mint) repos, OpenJDK has been updated from u85 to u91 now, fixing the memory leak. IMHO this issue may be considered resolved and closed.
comment:10 by , 10 years ago
Confirmed.
OpenSUSE also fixed it:
https://software.opensuse.org/package/java-1_7_0-openjdk
comment:11 by , 10 years ago
Resolution: | fixed → othersoftware |
---|
Update from OpenJDK 7 to OpenJDK 8 fixed it for me.