You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2008/11/28 11:50:05 UTC

[jira] Created: (SM-1710) running servicemix-http unit tests stalls intermittently

running servicemix-http unit tests stalls intermittently
--------------------------------------------------------

                 Key: SM-1710
                 URL: https://issues.apache.org/activemq/browse/SM-1710
             Project: ServiceMix
          Issue Type: Bug
    Affects Versions: servicemix-http-2008.01
            Reporter: Gert Vanthienen
            Assignee: Gert Vanthienen
             Fix For: servicemix-http-2008.02


If I run the unit tests a few times in a row, I'm bound to get the tests in a locked up state.

At first glance, it seems to lock up inside the provider endpoint (a.o. in ProviderEndpointTest), right after all the servicemix-soap interceptors have been executed, with all Jetty qt* threads either waiting or sleeping.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SMXCOMP-161) running servicemix-http unit tests stalls intermittently

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SMXCOMP-161.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: servicemix-http-2010.01

Sending        trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java
Transmitting file data .
Committed revision 903254.


> running servicemix-http unit tests stalls intermittently
> --------------------------------------------------------
>
>                 Key: SMXCOMP-161
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-161
>             Project: ServiceMix Components
>          Issue Type: Bug
>    Affects Versions: servicemix-http-2008.01
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: servicemix-http-2010.01, servicemix-http-2009.01
>
>         Attachments: jetty-deadlock.txt
>
>
> If I run the unit tests a few times in a row, I'm bound to get the tests in a locked up state.
> At first glance, it seems to lock up inside the provider endpoint (a.o. in ProviderEndpointTest), right after all the servicemix-soap interceptors have been executed, with all Jetty qt* threads either waiting or sleeping.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1710) running servicemix-http unit tests stalls intermittently

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen updated SM-1710:
--------------------------------

    Attachment: jetty-deadlock.txt

The stalls are being caused by a deadlock between ServiceMix and Jetty that both want to synchronize on the SelectSet and RetryContinuation

> running servicemix-http unit tests stalls intermittently
> --------------------------------------------------------
>
>                 Key: SM-1710
>                 URL: https://issues.apache.org/activemq/browse/SM-1710
>             Project: ServiceMix
>          Issue Type: Bug
>    Affects Versions: servicemix-http-2008.01
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: servicemix-http-2008.02
>
>         Attachments: jetty-deadlock.txt
>
>
> If I run the unit tests a few times in a row, I'm bound to get the tests in a locked up state.
> At first glance, it seems to lock up inside the provider endpoint (a.o. in ProviderEndpointTest), right after all the servicemix-soap interceptors have been executed, with all Jetty qt* threads either waiting or sleeping.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (SMXCOMP-161) running servicemix-http unit tests stalls intermittently

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reopened SMXCOMP-161:
-------------------------------------


The fix prevents any synchronization from the endpoint to occur as a new wrapper is created each time the continuation is retrieved.

> running servicemix-http unit tests stalls intermittently
> --------------------------------------------------------
>
>                 Key: SMXCOMP-161
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-161
>             Project: ServiceMix Components
>          Issue Type: Bug
>    Affects Versions: servicemix-http-2008.01
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: servicemix-http-2009.01, servicemix-http-2010.01
>
>         Attachments: jetty-deadlock.txt
>
>
> If I run the unit tests a few times in a row, I'm bound to get the tests in a locked up state.
> At first glance, it seems to lock up inside the provider endpoint (a.o. in ProviderEndpointTest), right after all the servicemix-soap interceptors have been executed, with all Jetty qt* threads either waiting or sleeping.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SM-1710) running servicemix-http unit tests stalls intermittently

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen resolved SM-1710.
---------------------------------

    Resolution: Fixed

Fixed in http://svn.eu.apache.org/viewvc?view=rev&revision=728661

A RetryContinuation is now wrapped in a ContinuationWrapper, so the endpoint can synchronize on the wrapper and jetty can continue to synchronize on the continuation itself without risking a deadlock.  For a WaitingContinuation, we always synchronize on the Continuation object itself.

> running servicemix-http unit tests stalls intermittently
> --------------------------------------------------------
>
>                 Key: SM-1710
>                 URL: https://issues.apache.org/activemq/browse/SM-1710
>             Project: ServiceMix
>          Issue Type: Bug
>    Affects Versions: servicemix-http-2008.01
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: servicemix-http-2008.02
>
>         Attachments: jetty-deadlock.txt
>
>
> If I run the unit tests a few times in a row, I'm bound to get the tests in a locked up state.
> At first glance, it seems to lock up inside the provider endpoint (a.o. in ProviderEndpointTest), right after all the servicemix-soap interceptors have been executed, with all Jetty qt* threads either waiting or sleeping.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.