Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-7941

Thread deadlock deact/act segment routing app

    XMLWordPrintable

    Details

    • Story Points:
      8

      Description

      Java-level deadlock detected

      This means that some threads are blocked waiting to enter a synchronization block or
      waiting to reenter a synchronization block after an Object.wait() call, where each thread
      owns one monitor while trying to obtain another monitor already held by another thread.

      Deadlock:

      onos-gui-msg-sender is waiting to lock org.onosproject.ui.impl.UiWebSocket@ca3950 which is held by Timer-2
      Timer-2 is waiting to lock org.onosproject.ui.impl.TopologyViewMessageHandler@716974f1 which is held by onos-gui-msg-sender

      Thread stacks

      -----------------------------------------------------------------------------------------------------------------------------------------

      Name

      -----------------------------------------------------------------------------------------------------------------------------------------

      +---onos-gui-msg-sender Blocked waiting to lock org.onosproject.ui.impl.UiWebSocket@ca3950 which is held by Timer-2
           
        +---org.onosproject.ui.impl.UiWebSocket.sendMessage UiWebSocket.java:275
           
        +---org.onosproject.ui.UiMessageHandler.sendMessage UiMessageHandler.java:251
           
        +---org.onosproject.ui.impl.TopologyViewMessageHandler.requestSummary TopologyViewMessageHandler.java:754
           
        +---org.onosproject.ui.impl.TopologyViewMessageHandler.access$4200 TopologyViewMessageHandler.java:100
           
        +---org.onosproject.ui.impl.TopologyViewMessageHandler$SummaryMonitor.lambda$run$0 TopologyViewMessageHandler.java:997
           
        +---org.onosproject.ui.impl.TopologyViewMessageHandler$SummaryMonitor$$Lambda$2117/1526837153.run
           
        +---java.util.concurrent.ThreadPoolExecutor.runWorker ThreadPoolExecutor.java:1135
           
        +---java.util.concurrent.ThreadPoolExecutor$Worker.run ThreadPoolExecutor.java:624
           
        +---java.lang.Thread.run Thread.java:748
         
      +---Timer-2 Blocked waiting to lock org.onosproject.ui.impl.TopologyViewMessageHandler@716974f1 which is held by onos-gui-msg-sender
         
      +---org.onosproject.ui.impl.TopologyViewMessageHandler.stopSummaryMonitoring TopologyViewMessageHandler.java:869
         
      +---org.onosproject.ui.impl.TopologyViewMessageHandler.cancelAllRequests TopologyViewMessageHandler.java:759
         
      +---org.onosproject.ui.impl.TopologyViewMessageHandler.destroy TopologyViewMessageHandler.java:222
         
      +---org.onosproject.ui.impl.UiWebSocket.lambda$destroyHandlersAndOverlays$6 UiWebSocket.java:414
         
      +---org.onosproject.ui.impl.UiWebSocket$$Lambda$2122/1424256641.accept
         
      +---java.util.HashMap.forEach HashMap.java:1289
         
      +---org.onosproject.ui.impl.UiWebSocket.destroyHandlersAndOverlays UiWebSocket.java:414
         
      +---org.onosproject.ui.impl.UiWebSocket.close UiWebSocket.java:175
         
      +---org.onosproject.ui.impl.UiWebSocketServlet$Pruner.lambda$run$0 UiWebSocketServlet.java:129
         
      +---org.onosproject.ui.impl.UiWebSocketServlet$Pruner$$Lambda$1188/1168754562.accept
         
      +---java.util.stream.ForEachOps$ForEachOp$OfRef.accept ForEachOps.java:184
         
      +---java.util.stream.ReferencePipeline$2$1.accept ReferencePipeline.java:175
         
      +---java.util.Iterator.forEachRemaining Iterator.java:116
         
      +---java.util.Spliterators$IteratorSpliterator.forEachRemaining Spliterators.java:1801
         
      +---java.util.stream.AbstractPipeline.copyInto AbstractPipeline.java:481
         
      +---java.util.stream.AbstractPipeline.wrapAndCopyInto AbstractPipeline.java:471
         
      +---java.util.stream.ForEachOps$ForEachOp.evaluateSequential ForEachOps.java:151
         
      +---java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential ForEachOps.java:174
         
      +---java.util.stream.AbstractPipeline.evaluate AbstractPipeline.java:234
         
      +---java.util.stream.ReferencePipeline.forEach ReferencePipeline.java:418
         
      +---org.onosproject.ui.impl.UiWebSocketServlet$Pruner.run UiWebSocketServlet.java:127
         
      +---java.util.TimerThread.mainLoop Timer.java:543
         
      +---java.util.TimerThread.run Timer.java:505

      -----------------------------------------------------------------------------------------------------------------------------------------

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            dbainbri David Bainbridge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: