[Geoserver-devel] [JIRA] (GEOS-10132) Deadlock at org.geotools.xsd.XSD.getSchema

Tiago Vieira created an issue

GeoServer / BugGEOS-10132

Deadlock at org.geotools.xsd.XSD.getSchema

Issue Type:

BugBug

Affects Versions:

2.18.1

Assignee:

Unassigned

Attachments:

catalina.out

Created:

01/Jul/21 11:58 AM

Priority:

MediumMedium

Reporter:

Tiago Vieira

You can check on the thread dump that we have a runnable thread opening a ZIP file, while all the other threads are blocked trying to get a xsd schema.

Runnable thread:

Full thread dump OpenJDK 64-Bit Server VM (25.292-b10 mixed mode):

"localhost-startStop-2" #711 daemon prio=5 os_prio=0 tid=0x00007f3b70038000 nid=0xbb7 runnable [0x00007f3b49022000]
   java.lang.Thread.State: RUNNABLE
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:225)

One of the blocked threads:

"http-nio-15080-exec-220" #594 daemon prio=5 os_prio=0 tid=0x00007f3b78098000 nid=0x6f3 waiting for monitor entry [0x00007f3b48210000]
   java.lang.Thread.State: BLOCKED (on object monitor)
	at org.geotools.xsd.XSD.getSchema(XSD.java:184)
	- waiting to lock <0x00000000c2c4ef98> (a org.geoserver.wfs.xml.v1_1_0.WFS)
	at org.geotools.xsd.SchemaLocator.locateSchema(SchemaLocator.java:86)

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100167-sha1:20db2b9)

Atlassian logo