Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#12094 closed defect (othersoftware)

JOSM messing up KDE programs

Reported by: vgringmuth@… 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 Changed 7 years ago by Don-vip

Keywords: linux mint kde added

comment:2 Changed 7 years ago by anonymous

Update from OpenJDK 7 to OpenJDK 8 fixed it for me.

comment:3 Changed 7 years ago by anonymous

Keywords: ubuntu added

comment:4 Changed 7 years ago by anonymous

Keywords: debian added

Debian 8 is also affected.

comment:5 Changed 7 years ago by stoecker

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 Changed 7 years ago by anonymous

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:7 Changed 7 years ago by anonymous

You can observe the memory leak with:

ipcs -m -p
ipcs -m -p | wc -l

comment:9 Changed 7 years ago by vgringmuth@…

Resolution: fixed
Status: newclosed

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 Changed 7 years ago by anonymous

comment:11 Changed 7 years ago by Don-vip

Resolution: fixedothersoftware

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.