Bug 202789 - PATCH: java/openjdk8: frequent crashes (SIGSEGV) in Java2D Disposer running tomcat
Summary: PATCH: java/openjdk8: frequent crashes (SIGSEGV) in Java2D Disposer running t...
Status: Closed DUPLICATE of bug 210226
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-java (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-31 13:10 UTC by Palle Girgensohn
Modified: 2016-08-14 13:20 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (java)


Attachments
error dump from java (43.18 KB, text/plain)
2015-08-31 13:10 UTC, Palle Girgensohn
no flags Details
patch to fix Java2D reproducable crash due to double free (2.17 KB, text/plain)
2016-05-28 14:55 UTC, Palle Girgensohn
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Palle Girgensohn freebsd_committer freebsd_triage 2015-08-31 13:10:25 UTC
Created attachment 160558 [details]
error dump from java

Hi,

We run tomcat on openjdk8, and see crashes on servers with reasonable load reqularly, several times a week per server.

It occurs on about a dozen servers. The servers having troubles are all used with a reasonable load. Servers with no, or very low, loads are not in trouble.

It seems the problems are always in "Java2D Disposer". Can it be a problem with IcedTea?

We run tomcat7.

$ pkg info -drx openjdk8
openjdk8-8.51.16
Depends on     :
	libXtst-1.2.2_3
	libXrender-0.9.8_3
	libXi-1.7.4_1,1
	libXext-1.3.3_1,1
	libX11-1.6.2_3,1
	libXt-1.1.4_3,1
	fontconfig-2.11.1,1
	dejavu-2.35
	freetype2-2.6_1
	javavmwrapper-2.5
	java-zoneinfo-2015.e_1
	giflib-5.0.6
	alsa-lib-1.0.29

10.1-RELEASE-p15

We build all packages, using poudriere, with OPTIONS_UNSET=  NLS X11.

Any ideas? Getting a core dump seems impossible, dunno why.

Palle
Comment 1 Palle Girgensohn freebsd_committer freebsd_triage 2016-05-28 14:55:34 UTC
Created attachment 170754 [details]
patch to fix Java2D reproducable crash due to double free

This is fixed upstreams in https://bugs.openjdk.java.net/browse/JDK-8132985

I suggest adding the attached patch to java/openjdk8, since the bug is easily reproducible, and at least for us it was a really big problem until we added the patch.
Comment 2 Palle Girgensohn freebsd_committer freebsd_triage 2016-08-14 13:20:34 UTC

*** This bug has been marked as a duplicate of bug 210226 ***