[jboss-jira] [JBoss JIRA] Created: (JBREM-576) deadlock with socket invoker

Tom Elrod (JIRA) jira-events at jboss.com
Fri Aug 11 23:42:15 EDT 2006


deadlock with socket invoker
----------------------------

                 Key: JBREM-576
                 URL: http://jira.jboss.com/jira/browse/JBREM-576
             Project: JBoss Remoting
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: transport
    Affects Versions: 2.0.0.CR1 (Boon)
            Reporter: Tom  Elrod
         Assigned To: Tom  Elrod
            Priority: Critical
             Fix For: 2.0.0.GA (Boon)


---THIS THREAD OWNS THE LOCK ON LinkedList<E> (id=38)---


Thread [Thread-3666] (Suspended)       
        owns: BufferedInputStream  (id=49)     
        owns: LinkedList<E>  (id=38)   
        SocketInputStream.socketRead0(FileDescriptor, byte[], int, int, int) line: not available [native method]       
        SocketInputStream.read(byte[], int, int) line: 129     
        BufferedInputStream.fill() line: 218   
        BufferedInputStream.read1(byte[], int, int) line: 256  
        BufferedInputStream.read(byte[], int, int) line: 313   
        ObjectInputStream$PeekInputStream.read(byte[], int, int) line: 2217    
        ObjectInputStream$PeekInputStream.readFully(byte[], int, int) line: 2230       
        ObjectInputStream$BlockDataInputStream.readShort() line: 2698  
        ObjectInputStreamWithClassLoader(ObjectInputStream).readStreamHeader() line: 750       
        ObjectInputStreamWithClassLoader(ObjectInputStream).<init>(InputStream) line: 268      
        ObjectInputStreamWithClassLoader.<init>(InputStream, ClassLoader) line: 73     
        JavaSerializationManager.createInput(InputStream, ClassLoader) line: 52
        ClientSocketWrapper.createInputStream(String, Socket) line: 83 
        ClientSocketWrapper.createStreams(Socket, Map) line: 76
        ClientSocketWrapper.<init>(Socket, Map, Integer) line: 54      
        GeneratedConstructorAccessor32.newInstance(Object[]) line: not available       
        DelegatingConstructorAccessorImpl.newInstance(Object[]) line: 27       
        Constructor<T>.newInstance(Object...) line: 494
        SocketClientInvoker.createClientSocket(Socket, int, Map) line: 158     
        SocketClientInvoker(MicroSocketClientInvoker).getConnection() line: 688
        SocketClientInvoker(MicroSocketClientInvoker).transport(String, Object, Map, Marshaller, UnMarshaller) line: 314       
        SocketClientInvoker(MicroRemoteClientInvoker).invoke(InvocationRequest) line: 116      
        Client.invoke(Object, Map, InvokerLocator) line: 612   
        Client.invoke(Object, Map) line: 604   
        JBossRemotingRemoteCommunicator.send(Command) line: 430
        GenericCommandClient(AbstractCommandClient).invoke(Command) line: 167  
        ClientCommandSender.send(Command) line: 820    
        ClientCommandSenderTask.send(ClientCommandSender, CommandAndCallback) line: 203
        ClientCommandSenderTask.call() line: 103       
        FutureResult$1.run() line: not available       
        Thread.run() line: 595 


---THE NEXT TWO THREADS ARE WAITING ON THAT THREAD FOR LinkedList<E> id=38---

Thread [main] (Suspended)      
        owns: HashMap<K,V>  (id=53)    
        owns: SSLSocketClientInvoker  (id=54)  
        owns: Object  (id=55)  
        owns: Object  (id=56)  
        owns: boolean[]  (id=43)       
        waiting for: LinkedList<E>  (id=38)    
        MicroSocketClientInvoker.clearPool(ServerAddress) line: 531    
        MicroSocketClientInvoker.clearPools() line: 563
        SSLSocketClientInvoker(MicroSocketClientInvoker).handleDisconnect() line: 275  
        SSLSocketClientInvoker(MicroRemoteClientInvoker).disconnect() line: 287
        InvokerRegistry.destroyClientInvoker(InvokerLocator, Map) line: 225    
        Client.disconnect() line: 530  
        JBossRemotingRemoteCommunicator.disconnect() line: 406 
        ClientCommandSender.stopSending(boolean) line: 725     
        AgentMain.shutdown() line: 452 
        AgentCommTest.tearDown() line: 148     
        GeneratedMethodAccessor26.invoke(Object, Object[]) line: not available 
        DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 
        Method.invoke(Object, Object...) line: 585     
        MethodHelper.invokeMethod(Method, Object, Object[]) line: 552  
        Invoker.invokeConfigurationMethod(Object[], ITestNGMethod, Object[], boolean, ITestResult) line: 318   
        Invoker.invokeConfigurations(IClass, ITestNGMethod[], XmlSuite, Map<String,String>, Object) line: 152  
        Invoker.invokeMethod(Object[], ITestNGMethod, Object[], XmlSuite, Map<String,String>, ITestClass, ITestNGMethod[], ITestNGMethod[], ConfigurationGroupMethods) line: 483       
        Invoker.invokeTestMethods(ITestNGMethod, XmlSuite, Map<String,String>, ITestNGMethod[], int, ConfigurationGroupMethods) line: 778      
        TestMethodWorker.run() line: 105       
        TestRunner.privateRun(XmlTest) line: 682       
        TestRunner.run() line: 566     
        SuiteRunner.privateRun() line: 220     
        SuiteRunner.run() line: 146    
        TestNG.createAndRunSuiteRunners(XmlSuite) line: 713    
        TestNG.runSuitesLocally() line: 676    
        TestNGExecutor.executeTestNG(SurefireTestSuite, String, XmlSuite, ReporterManager) line: 64    
        TestNGXmlTestSuite.execute(ReporterManager, ClassLoader) line: 75      
        Surefire.run(List, List, ClassLoader, ClassLoader) line: 129   
        NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] 
        NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39     
        DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 
        Method.invoke(Object, Object...) line: 585     
        SurefireBooter.runSuitesInProcess() line: 225  
        SurefireBooter.main(String[]) line: 747


Thread [Thread-3680] (Suspended)       
        waiting for: LinkedList<E>  (id=38)    
                owned by: Thread [Thread-3666] (Suspended)     
        SSLSocketClientInvoker(MicroSocketClientInvoker).getConnection() line: 652     
        SSLSocketClientInvoker(MicroSocketClientInvoker).transport(String, Object, Map, Marshaller, UnMarshaller) line: 314    
        SSLSocketClientInvoker(MicroRemoteClientInvoker).invoke(InvocationRequest) line: 116   
        Client.invoke(Object, Map, InvokerLocator) line: 612   
        Client.invoke(Object, Map) line: 604   
        JBossRemotingRemoteCommunicator.send(Command) line: 430
        GenericCommandClient(AbstractCommandClient).invoke(Command) line: 167  
        ClientCommandSender.send(Command) line: 820    
        ClientCommandSenderTask.send(ClientCommandSender, CommandAndCallback) line: 203
        ClientCommandSenderTask.call() line: 103       
        FutureResult$1.run() line: not available       
        Thread.run() line: 595 

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

        



More information about the jboss-jira mailing list