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

java.math.BigInteger methods in jdk1.1.1C cause segfault

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Duplicate
    • Affects Version/s: 1.1.1
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.5

      Description



      Name: mgC56079 Date: 03/07/97


      ==== Here is the minimized test ====
      class BI {
        public static void main(String argv[]) {
            java.math.BigInteger b1=java.math.BigInteger.valueOf(1);
            System.out.println(b1);
            System.out.println(b1.add(b1));
        }
      }
      ==== Here is the output of the test (jdk1.1.1C) ====
      % java BI
      1
      SIGBUS 10* bus error
          si_signo [10]: SIGBUS 10* bus error
          si_errno [0]: Error 0
          si_code [1]: BUS_ADRERR [addr: 0x1]

      stackbase=EFFFF7D0, stackpointer=EFFFF510

      Full thread dump:
          "Finalizer thread" (TID:0xee300220, sys_thread_t:0xef350de0, state:R) prio=1
          "Async Garbage Collector" (TID:0xee3001d8, sys_thread_t:0xef380de0, state:R) prio=1
          "Idle thread" (TID:0xee300190, sys_thread_t:0xef3b0de0, state:R) prio=0
          "Clock" (TID:0xee3000d0, sys_thread_t:0xef470de0, state:CW) prio=12
          "main" (TID:0xee3000a8, sys_thread_t:0x41380, state:R) prio=5 *current thread*
      java.math.BigInteger.add(BigInteger.java:344)
      BI.main(BI.java:5)
      Monitor Cache Dump:
      Registered Monitor Dump:
          Thread queue lock: <unowned>
          Name and type hash table lock: <unowned>
          String intern lock: <unowned>
          JNI pinning lock: <unowned>
          JNI global reference lock: <unowned>
          BinClass lock: <unowned>
          Class loading lock: <unowned>
          Java stack lock: <unowned>
          Code rewrite lock: <unowned>
          Heap lock: <unowned>
          Has finalization queue lock: <unowned>
          Finalize me queue lock: <unowned>
          Monitor IO lock: <unowned>
          Child death monitor: <unowned>
          Event monitor: <unowned>
          I/O monitor: <unowned>
          Alarm monitor: <unowned>
      Waiting to be notified:
      "Clock"
          Sbrk lock: <unowned>
          Monitor cache expansion lock: <unowned>
          Monitor registry: owner "main" (0x41380, 1 entry)
      Thread Alarm Q:
      Abort (core dumped)

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mgorshen Mikhail Gorshenev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: