Deadlock in 2.2.x Referencing
-----------------------------

                 Key: GEOT-935
                 URL: http://jira.codehaus.org/browse/GEOT-935
             Project: GeoTools
          Issue Type: Bug
          Components: core referencing
    Affects Versions: 2.2.0
            Reporter: Jesse Eichar
         Assigned To: Martin Desruisseaux


 I was loading a CRS at the same time as parsing WKT in a seperate thread.  The 
stack traces follow:
Thread [ModalContext] (Suspended)       
        DatumAliases.createGeodeticDatum(Map, Ellipsoid, PrimeMeridian) line: 
500       -------------------------Synchronized Method
        WebCRSFactory.add(int, String, Ellipsoid) line: 108     
        WebCRSFactory.<init>(Hints) line: 84    
        WebCRSFactory.<init>() line: 73 
        NativeConstructorAccessorImpl.newInstance0(Constructor, Object[]) line: 
not available [native method]   
        NativeConstructorAccessorImpl.newInstance(Object[]) line: 39    
        DelegatingConstructorAccessorImpl.newInstance(Object[]) line: 27        
        Constructor<T>.newInstance(Object...) line: 494 
        Class<T>.newInstance0() line: 350       
        Class<T>.newInstance() line: 303        
        Service$LazyIterator.next() line: 271   
        FactoryCreator(FactoryRegistry).scanForPlugins(ClassLoader, Class) 
line: 421    
        FactoryCreator(FactoryRegistry).getServiceProviders(Class) line: 124    
        FactoryFinder.getCRSAuthorityFactories() line: 384        
-------------------------------------Syncrhonized Method
        CRS.decode(String) line: 328    
        .....

Thread [Generate Index] (Suspended)     
        FactoryFinder.getDatumFactories() line: 205      
-------------------------------Synchronized Method
        DatumAliases.getDatumFactory() line: 202        
        DatumAliases.createPrimeMeridian(Map, double, Unit) line: 594   
--------Synchronized Method
        Parser.parsePrimem(Element, Unit) line: 474     
        Parser.parseGeoGCS(Element) line: 834   
        Parser.parseProjCS(Element) line: 871   
        Parser.parseCoordinateReferenceSystem(Element) line: 271        
        Parser.parseCoordinateReferenceSystem(String) line: 252 
        GeotoolsFactory.createFromWKT(String) line: 1128        
        PrjFileReader.<init>(ReadableByteChannel) line: 70      
        IndexedShapefileDataStore(ShapefileDataStore).openPrjReader() line: 502 
        IndexedShapefileDataStore(ShapefileDataStore).readAttributes() line: 
643        
        IndexedShapefileDataStore.getSchema() line: 835 
        IndexedShapefileDataStore.getSchema(String) line: 829   
        IndexedShapefileDataStore(AbstractDataStore).getFeatureReader(Query, 
Transaction) line: 330     
        ShpServiceImpl$1.run() line: 276        


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to