jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • GeoTools
  • GEOT-1777

Dead lock in CitationImpl

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.4.2
  • Fix Version/s: 2.5-RC0
  • Component/s: metadata
  • Labels:
    None

Description

Following deadlock has been reported:

"http-8080-2" daemon prio=6 tid=0x4cf12000 nid=0x7dc waiting for monitor entry [0x4e94d000..0x4e94fb98]
   java.lang.Thread.State: BLOCKED (on object monitor)
    at org.geotools.metadata.iso.citation.CitationImpl.getIdentifiers(CitationImpl.java:292)
    - waiting to lock <0x07c332b0> (a org.geotools.metadata.iso.citation.CitationImpl)
    at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.geotools.metadata.PropertyAccessor.get(PropertyAccessor.java:339)
    at org.geotools.metadata.PropertyAccessor.shallowEquals(PropertyAccessor.java:420)
    at org.geotools.metadata.MetadataStandard.shallowEquals(MetadataStandard.java:283)
    at org.geotools.metadata.AbstractMetadata.equals(AbstractMetadata.java:160)
    - locked <0x078fdb20> (a org.geotools.metadata.iso.citation.CitationImpl)
    at org.geotools.resources.Utilities.equals(Utilities.java:53)
    at org.geotools.referencing.NamedIdentifier.equals(NamedIdentifier.java:670)
    at org.geotools.resources.Utilities.equals(Utilities.java:53)
    at org.geotools.referencing.AbstractIdentifiedObject.equals(AbstractIdentifiedObject.java:858)
    at org.geotools.referencing.AbstractReferenceSystem.equals(AbstractReferenceSystem.java:164)
    at org.geotools.referencing.crs.AbstractCRS.equals(AbstractCRS.java:159)
    at org.geotools.referencing.crs.AbstractSingleCRS.equals(AbstractSingleCRS.java:154)
    at org.geotools.referencing.AbstractIdentifiedObject.equals(AbstractIdentifiedObject.java:824)
    at org.vfny.geoserver.global.GeoServerFeatureSource.reprojectFeatureCollection(GeoServerFeatureSource.java:396)
    (...)

"http-8080-1" daemon prio=6 tid=0x4ce4a400 nid=0x1248 waiting for monitor entry [0x4e8cd000..0x4e8cfc98]
   java.lang.Thread.State: BLOCKED (on object monitor)
    at org.geotools.metadata.iso.citation.CitationImpl.getIdentifiers(CitationImpl.java:292)
    - waiting to lock <0x078fdb20> (a org.geotools.metadata.iso.citation.CitationImpl)
    at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.geotools.metadata.PropertyAccessor.get(PropertyAccessor.java:339)
    at org.geotools.metadata.PropertyAccessor.shallowEquals(PropertyAccessor.java:420)
    at org.geotools.metadata.MetadataStandard.shallowEquals(MetadataStandard.java:283)
    at org.geotools.metadata.AbstractMetadata.equals(AbstractMetadata.java:160)
    - locked <0x07c332b0> (a org.geotools.metadata.iso.citation.CitationImpl)
    at org.geotools.resources.Utilities.equals(Utilities.java:53)
    at org.geotools.referencing.NamedIdentifier.equals(NamedIdentifier.java:670)
    at org.geotools.resources.Utilities.equals(Utilities.java:53)
    at org.geotools.referencing.AbstractIdentifiedObject.equals(AbstractIdentifiedObject.java:858)
    at org.geotools.referencing.AbstractReferenceSystem.equals(AbstractReferenceSystem.java:164)
    at org.geotools.referencing.crs.AbstractCRS.equals(AbstractCRS.java:159)
    at org.geotools.referencing.crs.AbstractSingleCRS.equals(AbstractSingleCRS.java:154)
    at org.geotools.referencing.AbstractIdentifiedObject.equals(AbstractIdentifiedObject.java:824)
    at org.geotools.data.crs.ForceCoordinateSystemFeatureResults.forceType(ForceCoordinateSystemFeatureResults.java:95)
    (...)

Issue Links

is depended upon by

Bug - A problem which impairs or prevents the functions of the product. GEOS-1886 Deadlock with concurrent reprojecting WFS requests

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
Hide
Permalink
Martin Desruisseaux added a comment - 25/Apr/08 6:11 AM
Removed the synchronized keyword in AbstractMetadata.equals(...). Synchronization lock will be obtained on a method-by-method basis when getter methods will be invoked. Commited on trunk and 2.4 branch as of revision 30042.
Show
Martin Desruisseaux added a comment - 25/Apr/08 6:11 AM Removed the synchronized keyword in AbstractMetadata.equals(...). Synchronization lock will be obtained on a method-by-method basis when getter methods will be invoked. Commited on trunk and 2.4 branch as of revision 30042.
Hide
Permalink
Gabriel Roldán added a comment - 26/Aug/08 8:02 AM
reopening to mark it fixed as per RC0
Show
Gabriel Roldán added a comment - 26/Aug/08 8:02 AM reopening to mark it fixed as per RC0

People

  • Assignee:
    Martin Desruisseaux
    Reporter:
    Martin Desruisseaux
Vote (0)
Watch (1)

Dates

  • Created:
    21/Apr/08 11:43 AM
    Updated:
    26/Aug/08 8:02 AM
    Resolved:
    26/Aug/08 8:02 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.