Adam Lally (JIRA | 5 Apr 15:42
Picon
Favicon

[jira] Created: (UIMA-367) Deadlock can occur in MultiprocessingAnalysisEngine_impl.setResultSpecification

Deadlock can occur in MultiprocessingAnalysisEngine_impl.setResultSpecification
-------------------------------------------------------------------------------

                 Key: UIMA-367
                 URL: https://issues.apache.org/jira/browse/UIMA-367
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
    Affects Versions: 2.1
            Reporter: Adam Lally
         Assigned To: Adam Lally
             Fix For: 2.2

User reports unit test frequently hangs at the following location:
----------------
Thread [Thread-1] (Suspended)
   Object.wait(long) line: not available [native method]
   ResourcePool.getResource(long) line: 166
   AnalysisEnginePool.setResultSpecification(ResultSpecification) line:
155

MultiprocessingAnalysisEngine_impl.setResultSpecification(ResultSpecification)
line: 122

MultiprocessingAnalysisEngine_impl(AnalysisEngineImplBase).process(CAS,
ResultSpecification) line: 200
   MultiprocessingAnalysisEngine_implTest$ProcessThread.run() line: 363
-------------------

I took a look at the code for
(Continue reading)

Marshall Schor (JIRA | 10 May 16:03
Picon
Favicon

[jira] Closed: (UIMA-367) Deadlock can occur in MultiprocessingAnalysisEngine_impl.setResultSpecification


     [
https://issues.apache.org/jira/browse/UIMA-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor closed UIMA-367.
-------------------------------

    Resolution: Fixed

> Deadlock can occur in MultiprocessingAnalysisEngine_impl.setResultSpecification
> -------------------------------------------------------------------------------
>
>                 Key: UIMA-367
>                 URL: https://issues.apache.org/jira/browse/UIMA-367
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.1
>            Reporter: Adam Lally
>         Assigned To: Marshall Schor
>             Fix For: 2.2
>
>
> User reports unit test frequently hangs at the following location:
> ----------------
> Thread [Thread-1] (Suspended)
>    Object.wait(long) line: not available [native method]
>    ResourcePool.getResource(long) line: 166
>    AnalysisEnginePool.setResultSpecification(ResultSpecification) line:
> 155
(Continue reading)

Picon
Favicon

[jira] Assigned: (UIMA-367) Deadlock can occur in MultiprocessingAnalysisEngine_impl.setResultSpecification


     [
https://issues.apache.org/jira/browse/UIMA-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor reassigned UIMA-367:
-----------------------------------

    Assignee: Marshall Schor  (was: Adam Lally)

> Deadlock can occur in MultiprocessingAnalysisEngine_impl.setResultSpecification
> -------------------------------------------------------------------------------
>
>                 Key: UIMA-367
>                 URL: https://issues.apache.org/jira/browse/UIMA-367
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.1
>            Reporter: Adam Lally
>         Assigned To: Marshall Schor
>             Fix For: 2.2
>
>
> User reports unit test frequently hangs at the following location:
> ----------------
> Thread [Thread-1] (Suspended)
>    Object.wait(long) line: not available [native method]
>    ResourcePool.getResource(long) line: 166
>    AnalysisEnginePool.setResultSpecification(ResultSpecification) line:
> 155
(Continue reading)


Gmane