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

Arithmetic Exception in MPerf when sending less than 10 messages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 3.5
    • None
    • None
    • Low
    • Hide

      1. run MPerf
      2. set num_msg to 1
      3. send messages

      Show
      1. run MPerf 2. set num_msg to 1 3. send messages

    Description

      Not sure if this is intended to be like this, but in MPerf when the user tries to set the num_msg to 1 and start sending the messages, MPerf throws

      Mar 22, 2014 4:02:25 PM org.jgroups.logging.JDKLogImpl error
      SEVERE: failure unmarshalling buffer
      java.lang.ArithmeticException: / by zero
      at org.jgroups.tests.perf.MPerf.handleData(MPerf.java:418)
      at org.jgroups.tests.perf.MPerf.receive(MPerf.java:280)
      at org.jgroups.JChannel.invokeCallback(JChannel.java:890)
      at org.jgroups.JChannel.up(JChannel.java:746)
      at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1030)
      at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:146)
      at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
      at org.jgroups.protocols.SEQUENCER.deliver(SEQUENCER.java:606)
      at org.jgroups.protocols.SEQUENCER.unwrapAndDeliver(SEQUENCER.java:573)
      at org.jgroups.protocols.SEQUENCER.up(SEQUENCER.java:279)
      at org.jgroups.protocols.SEQUENCER.up(SEQUENCER.java:308)
      at org.jgroups.protocols.FlowControl.up(FlowControl.java:434)
      at org.jgroups.protocols.FlowControl.up(FlowControl.java:434)
      at org.jgroups.stack.Protocol.up(Protocol.java:409)
      at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:294)
      at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:520)
      at org.jgroups.protocols.pbcast.NAKACK2.deliverBatch(NAKACK2.java:927)
      at org.jgroups.protocols.pbcast.NAKACK2.removeAndPassUp(NAKACK2.java:857)
      at org.jgroups.protocols.pbcast.NAKACK2.handleMessage(NAKACK2.java:792)
      at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:573)
      at org.jgroups.protocols.BARRIER.up(BARRIER.java:152)
      at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:147)
      at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:199)
      at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:296)
      at org.jgroups.protocols.MERGE2.up(MERGE2.java:209)
      at org.jgroups.protocols.Discovery.up(Discovery.java:379)
      at org.jgroups.protocols.TP.passMessageUp(TP.java:1532)
      at org.jgroups.protocols.TP$3.run(TP.java:1466)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            pringles90 Andrei Palade (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: