Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4948500

Solaris x86: random IllegalArgumentException: Illegal Load: 0.0 in hashtable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 3.5, 1.4.2_02
    • hotspot
    • None
    • x86, sparc
    • solaris_7, solaris_9

      My best guess is that this is some sort of jit problem ... (possibly
      specific to the server vm)

      An "impossible" exception is being thrown (it cant happen if the code
      was executing as written)


      NOTE:
         - have not been able to reproduce it on other platforms

         - dont have a good reproducable test case but we have seen it on
           two runs on the same system so we should be able to duplicate it
           again to get more information (although it may take up to a
           day to get the error)

          - this may (not clear yet) be a showstopper for our x86 release

          - I have not tried to reproduce it w/o the server vm

      Please let me know what type of information I can obtain to help you
      track down the problem

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


      System information:
          OS: SunOS 5.9 x86
         hardware: v60x, 2x2.8GHz Xeon 2GB
         JDK: java version "1.4.2_02"
               Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
                Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
                Running -server vm

      At this point, the problem seems to be fairly reproducable (although we do not have
      a reproducable test case) ... I'm filing it and will add a smaller test case if we are able
      to duplicate it outside our product.

      The problem was seen while running a stress/longevity test on SunONE Message Queue 3.5
      (I can provide information on how to run the stress/longevity test if necessary and/or
      provide access to the system)


      While running a longevity test on the platform, our sever started receiving random errors
      in Hashtable ...
          from reviewing the jvm source shipped with 1.4.2_02, the errors appear to be "impossible"

          Hashtable:183:
                       this(11, 0.75f);

         Hashtable: 157:
              if (loadFactor <= 0 || Float.isNaN(loadFactor))
      -> throw new IllegalArgumentException("Illegal Load: "+loadFactor);

         The exception indicates that the loadFactor is 0.0, however we know that the
         value has to be .75f

      One example exception is below ...

         we received this error in different locations (16 times in ~ 24 hours)
         attaching our full log to the bug report


      [02/Nov/2003:09:29:42 PST] ERROR [B3100]: Unexpected Broker Internal Error : [Uncaught Exception] :
      com.sun.messaging.jmq.jmsserver.util.BrokerException: [B4117]: Unexpected Broker Exception: [Unexpected Error processi
      ng message]
              at com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:157)
              at com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.readData(IMQConnection.java:1737)
              at com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.process(IMQConnection.java:785)
              at com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:135)
              at com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:455)
              at java.lang.Thread.run(Thread.java:534)
      Caused by: java.lang.IllegalArgumentException: Illegal Load: 0.0
              at java.util.Hashtable.<init>(Hashtable.java:157)
              at java.util.Hashtable.<init>(Hashtable.java:183)
              at com.sun.messaging.jmq.jmsserver.data.handlers.SessionHandler.handle(SessionHandler.java:49)
              at com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:146)
              ... 5 more



      ###@###.### 2003-11-05

      re-assigning to jit (I originally filed it as util since the error happened
      consistantly in that area)



      ###@###.### 2004-03-24
      The same test when run with MQ 3.5sp1 and with JDK1.4.2_04 did *not* hit this bug. Bug not reproducible with j2sdk1.4.2_04 & MQ3.5sp1
      ###@###.### 2004-03-24

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: