Package: openjdk-8-jre
Version: 8u72-b05-1
Severity: normal

When using JOSM - http://josm.openstreetmap.de/ (also available as debian
package) - after short period of work I notice enormous grow of RES size of the
java proces, and application becomes unusuable.

How to reporoduce:
1. Download http://josm.openstreetmap.de/josm-tested.jar
2. Run java -Xmx256m -jar josm-tested.jar
3. Choose File / New Layer
4. Choose Windows / Command stack (so the command stack is visible)
5. Select "draw nodes" tool on the left toolbar (or just press "a")
6. Start drawing anything. Around 200 clicks, RES size starts growing really
fast (reaching 500MB), and quite fast you can reach your maximum memory.
7. Either kernel will kill your process or JVM will crash

I tried to create a smaller unit case for that, but I failed.

I have only once managed to get JVM crash - details available here:
http://josm.openstreetmap.de/attachment/ticket/12114/hs_err_pid3394.log

What I managed to test till now:
1. openjdk built from source works fine
2. if I build openjdk with apt-get source openjdk-8-jdk && cd
openjdk-8-8u72-b05 && debian/rules build && fakeroot debian/rules binary and
install generated packages - I still get an error
3. if I go to the build image (build/images/j2sdk-image/) - and run this
version of JDK - it works FINE
4. if I strip the build image (build/images/j2sdk-image/) - and run this
version of JDK - it works FINE

But I still get different binaries than those I find in
debian/openjdk-8-jdk/usr/lib/jvm/java-8-openjdk-amd64. Not sure, what else is
done to the binaries, during packaging.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openjdk-8-jre depends on:
ii  libasound2                1.0.29-1
ii  libatk-wrapper-java-jni   0.33.3-5
ii  libc6                     2.19-22
ii  libgif4                   4.1.6-11
ii  libgl1-mesa-glx [libgl1]  11.0.5-1
ii  libgtk2.0-0               2.24.28-1
ii  libjpeg62-turbo           1:1.4.1-2
ii  libpng12-0                1.2.54-1
ii  libpulse0                 7.1-2
ii  libx11-6                  2:1.6.3-1
ii  libxext6                  2:1.3.3-1
ii  libxinerama1              2:1.1.3-1+b1
ii  libxrandr2                2:1.5.0-1
ii  openjdk-8-jre-headless    8u72-b05-1
ii  zlib1g                    1:1.2.8.dfsg-2+b1

Versions of packages openjdk-8-jre recommends:
ii  fonts-dejavu-extra  2.35-1
ii  libgconf2-4         3.2.6-3
ii  libgnome2-0         2.32.1-5
ii  libgnomevfs2-0      1:2.24.4-6.1

Versions of packages openjdk-8-jre suggests:
pn  icedtea-8-plugin  <none>

-- no debconf information

Reply via email to