Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-302

Deadlock with TCP and loopback=true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.4
    • 2.3 SP1
    • None
    • Low
    • Workaround Exists
    • Hide

      Set loopback=false. However, on Windows, this won't work when pulling the plug because then a member is not even able to send itself messages because the NIC is de-activated by Windows

      Show
      Set loopback=false. However, on Windows, this won't work when pulling the plug because then a member is not even able to send itself messages because the NIC is de-activated by Windows

      "TimeScheduler.Thread":
      at org.jgroups.protocols.VERIFY_SUSPECT.verifySuspect(VERIFY_SUSPECT.java:227)

      • waiting to lock <0x1056b9d0> (a java.util.Hashtable)
        at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:131)
        at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:488)
        at org.jgroups.stack.Protocol.passUp(Protocol.java:538)
        at org.jgroups.protocols.FD.up(FD.java:274)
        at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:488)
        at org.jgroups.stack.Protocol.passUp(Protocol.java:538)
        at org.jgroups.protocols.MERGE2.up(MERGE2.java:163)
        at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:488)
        at org.jgroups.stack.Protocol.passUp(Protocol.java:538)
        at org.jgroups.protocols.Discovery.up(Discovery.java:275)
        at org.jgroups.protocols.MPING.up(MPING.java:152)
        at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:488)
        at org.jgroups.stack.Protocol.passUp(Protocol.java:538)
        at org.jgroups.protocols.BasicTCP.sendToSingleMember(BasicTCP.java:67)
        at org.jgroups.protocols.BasicTCP.sendToAllMembers(BasicTCP.java:41)
        at org.jgroups.protocols.TP.doSend(TP.java:934)
        at org.jgroups.protocols.TP.send(TP.java:923)
      • locked <0x1055e088> (a org.jgroups.util.ExposedByteArrayOutputStream)
        at org.jgroups.protocols.TP.down(TP.java:712)
        at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:517)
        at org.jgroups.stack.Protocol.passDown(Protocol.java:551)
        at org.jgroups.protocols.Discovery.down(Discovery.java:333)
        at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:517)
        at org.jgroups.stack.Protocol.passDown(Protocol.java:551)
        at org.jgroups.protocols.MERGE2.down(MERGE2.java:208)
        at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:517)
        at org.jgroups.stack.Protocol.passDown(Protocol.java:551)
        at org.jgroups.protocols.FD$BroadcastTask.run(FD.java:671)
        at org.jgroups.protocols.FD$Broadcaster.startBroadcastTask(FD.java:563)
      • locked <0x1056bf90> (a java.lang.Object)
        at org.jgroups.protocols.FD$Broadcaster.addSuspectedMember(FD.java:590)
      • locked <0x1056bf78> (a java.util.Vector)
        at org.jgroups.protocols.FD$Monitor.run(FD.java:515)
        at org.jgroups.util.TimeScheduler._run(TimeScheduler.java:397)
        at org.jgroups.util.TimeScheduler.access$000(TimeScheduler.java:44)
        at org.jgroups.util.TimeScheduler$Loop.run(TimeScheduler.java:141)

      "IncomingMessageHandler (channel=DrawGroupDemo)":
      at org.jgroups.protocols.TP.send(TP.java:922)

      • waiting to lock <0x1055e088> (a org.jgroups.util.ExposedByteArrayOutputStream)
        at org.jgroups.protocols.TP.down(TP.java:712)
        at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:517)
        at org.jgroups.stack.Protocol.passDown(Protocol.java:551)
        at org.jgroups.protocols.Discovery.down(Discovery.java:333)
        at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:517)
        at org.jgroups.stack.Protocol.passDown(Protocol.java:551)
        at org.jgroups.protocols.MERGE2.down(MERGE2.java:208)
        at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:517)
        at org.jgroups.stack.Protocol.passDown(Protocol.java:551)
        at org.jgroups.protocols.FD.down(FD.java:313)
        at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:517)
        at org.jgroups.stack.Protocol.passDown(Protocol.java:551)
        at org.jgroups.protocols.VERIFY_SUSPECT.verifySuspect(VERIFY_SUSPECT.java:234)
      • locked <0x1056b9d0> (a java.util.Hashtable)
        at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:131)
        at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:488)
        at org.jgroups.stack.Protocol.passUp(Protocol.java:538)
        at org.jgroups.protocols.FD.up(FD.java:259)
        at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:488)
        at org.jgroups.stack.Protocol.passUp(Protocol.java:538)
        at org.jgroups.protocols.MERGE2.up(MERGE2.java:163)
        at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:488)
        at org.jgroups.stack.Protocol.passUp(Protocol.java:538)
        at org.jgroups.protocols.Discovery.up(Discovery.java:225)
        at org.jgroups.protocols.MPING.up(MPING.java:152)
        at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:488)
        at org.jgroups.stack.Protocol.passUp(Protocol.java:538)
        at org.jgroups.protocols.TP.handleIncomingMessage(TP.java:905)
        at org.jgroups.protocols.TP.access$700(TP.java:45)
        at org.jgroups.protocols.TP$IncomingMessageHandler.run(TP.java:1329)
        at java.lang.Thread.run(Thread.java:534)

      Found 1 deadlock.

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: