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

infinite newobject <--> SignalError recursion when out of memory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 1.0, 1.0.2, 1.1
    • Fix Version/s: 1.1
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      generic, other, sparc
    • OS:
      generic
    • Verification:
      Not verified

      Description

      l scanThreads
      call gc_locked
      call gc0
      call manageAllocFailure
      call realObjAlloc
      call ObjAlloc
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call SignalError
      call newobject
      call ExecuteJava
      call do_execute_java_method_vararg
      call execute_java_static_method
      call DoASChangeCallback
      call realObjAlloc
      call ObjAlloc
      call newobject
      call ExecuteJava
      call do_execute_java_method_vararg
      call execute_java_static_method
      call DoASChangeCallback
      call realObjAlloc
      call ObjAlloc
      call newobject
      call ExecuteJava
      call do_execute_java_method_vararg
      call execute_java_dynamic_method
      jmpl %i2, %o7
      save %sp, -0x70, %sp




      Snmp Dump: Not available

      The description field as copied from bug report 1263940 follows:

      System configuration:
      - javadesktop, ROM 2.28 Alpha 2, 64MB.
      - kona build SMCC:08/09/96-04:05, version 1.0.kI (Friday)
      - HotJava version=1.191, 08/08/96 version=1.0prebeta2

      Running 10 GraphLayout applets for several hours then crashed.
      I lost the dumps; the ctrace is in /net/jdtest-2/LOG/1.0.kI/log6/README

      kona image in /net/jdtest-2/LOG/1.0.kI/kona

      The description field as copied from bug report 1263948 follows:

      1. copy ~rcb/Camry.html into your home directory.
      2. load it in HJ on Kona as follows:

      file:/Camry.html

      3. When it finally loads, scroll down.

      Result: hung the machine

      Full thread dump:
          "Image Fetcher 3" (TID:0xe0068540, sys_thread_t:0xe031b1c0) prio=3
      java.lang.Thread.setPriority()
      sun.awt.image.InputStreamImageSource.setPixels()
      sun.awt.image.GifImageDecoder.sendPixels()
      sun.awt.image.GifImageDecoder.readImage()
      sun.awt.image.GifImageDecoder.produceImage()
      sun.awt.image.InputStreamImageSource.doFetch()
      sun.awt.image.ImageFetcher.fetchloop()
      sun.awt.image.ImageFetcher.run()
          "Image Fetcher 2" (TID:0xe0067c60, sys_thread_t:0xe02f9820) prio=3
      Fault 0x9 at PC 0xf800c37c
      AFSR 3820000
      AFAR 713002fc
      MFSR 18000b0
      MFAR 42d184
      SFSR 126
      SFAR a000001c
      Nested trap!
      Type 'go' to resume
      Type help for more information
      ok
      Reproduability: Hard to reproduce as the applet http://konaserv/tests/coffee_tests/kona_test/mapps/40mbkiller.html
      ran for 64 hours and then crashed


      Kona Version: 1.0.kI
      Kona Builder and Date: SMCC:08/09/96-04:05
      Kona GNUMakefile SCCS: 1.196
      Kona Classfiles.gmk SCCS: 1.147
      Kona Platform is : JavaDesktopMachine

      Kona Image path: javaserv2:/export/root/JavaDesktop/kona.1.0.kI_1.Z

      Ctrace file: ../traces/java-24.ctrace_1.0.kI.Aug12.10:17:51
       ctrace
      PC: ffd4077c
      Last leaf: jmpl f81f5060 from f801e4e0
           0 w %o0-%o5: ( f81f5060 ffeff000 0 71e1000c 80000000 0 )

      call f801e4d0 from f8026294
           1 w %o0-%o5: ( 0 f8602000 f8009930 f801c6a8 73 0 )

      call f802610c from f801f7c8
           2 w %o0-%o5: ( f8009934 f8009930 d f801c6a8 73 0 )

      call f801de1c from f801da38
           3 w %o0-%o5: ( 1 e221cee8 1 7efefeff 81010100 ff00 )

      call f80098fc from f800c3c8
           4 w %o0-%o5: ( e221cfd8 81010100 e221cfd8 e221d09f 2e 6f720073 )

      jmpl f800c360 from f8046308
           5 w %o0-%o5: ( e221d0c4 0 f8601000 7efefeff 81010100 ff00 )

      call f80462c0 from f800c420
           6 w %o0-%o5: ( 0 0 c 7efefeff 81010100 ff0000 )

      More
       [<space>,<cr>,q] ?
                              
      call f800c400 from f801c270
           7 w %o0-%o5: ( 44 1 f8602000 f8601800 81010100 ff00 )

      call f801c210 from f80262a0
           8 w %o0-%o5: ( 1 f8602000 f801146c 2731 f863bc00 6f720073 )

      call f802610c from f801f7c8
           9 w %o0-%o5: ( 7 f801146c f806f740 f801c6a8 f81efc00 f862b400 )

      call f8045abc from f8011258
           a w %o0-%o5: ( 0 fc0fffff 3 e22b45d0 0 223 )

      jmpl f801113c from f8046308
           b w %o0-%o5: ( e221d098 e0000000 f81f0000 2731 f863bc00 f862b400 )

      call f80462c0 from f80116c4
           c w %o0-%o5: ( 0 e006c740 f8602400 e221d938 2e 6f720073 )

      call f80116a8 from f8012944
           d w %o0-%o5: ( 0 0 ffffffff 0 0 e23ca001 )

      call f8046838 from f8012c54
           e w %o0-%o5: ( 0 10 0 2731 f863bc00 ffffffff )

      More
       [<space>,<cr>,q] ?
                              
      call f8012c14 from f801097c
           f w %o0-%o5: ( 0 10 0 f801c6a8 f81efc00 f862b400 )

      call f80108e4 from f8010208
          10 w %o0-%o5: ( 1 2 0 0 f8010964 6f720073 )

      call f801007c from f801053c
          11 w %o0-%o5: ( 0 10 f806f740 f801c6a8 f81efc00 f862b400 )

      call f8010524 from f800940c
          12 w %o0-%o5: ( f80b320c 0 1 0 f8010964 6f720073 )

      call f8009400 from f800967c
          13 w %o0-%o5: ( f80b320c 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          14 w %o0-%o5: ( e2222f78 f81ef618 e221d938 e221d938 2e 6f720073 )

      call f8009400 from f800967c
          15 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          16 w %o0-%o5: ( e2222f78 f81ef618 e221db00 e221db00 2e 6f720073 )

      More
       [<space>,<cr>,q] ?
                              
      call f8009400 from f800967c
          17 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          18 w %o0-%o5: ( e2222f78 f81ef618 e221dcc8 e221dcc8 2e 6f720073 )

      call f8009400 from f800967c
          19 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          1a w %o0-%o5: ( e2222f78 f81ef618 e221de90 e221de90 2e 6f720073 )

      call f8009400 from f800967c
          1b w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          1c w %o0-%o5: ( e2222f78 f81ef618 e221e058 e221e058 2e 6f720073 )

      call f8009400 from f800967c
          1d w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          1e w %o0-%o5: ( e2222f78 f81ef618 e221e220 e221e220 2e 6f720073 )

      More
       [<space>,<cr>,q] ?
                              
      call f8009400 from f800967c
          1f w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          20 w %o0-%o5: ( e2222f78 f81ef618 e221e3e8 e221e3e8 2e 6f720073 )

      call f8009400 from f800967c
          21 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          22 w %o0-%o5: ( e2222f78 f81ef618 e221e5b0 e221e5b0 2e 6f720073 )

      call f8009400 from f800967c
          23 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          24 w %o0-%o5: ( e2222f78 f81ef618 e221e778 e221e778 2e 6f720073 )

      call f8009400 from f800967c
          25 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          26 w %o0-%o5: ( e2222f78 f81ef618 e221e940 e221e940 2e 6f720073 )

      More
       [<space>,<cr>,q] ?
                              
      call f8009400 from f800967c
          27 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          28 w %o0-%o5: ( e2222f78 f81ef618 e221eb08 e221eb08 2e 6f720073 )

      call f8009400 from f800967c
          29 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          2a w %o0-%o5: ( e2222f78 f81ef618 e221ecd0 e221ecd0 2e 6f720073 )

      call f8009400 from f800967c
          2b w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          2c w %o0-%o5: ( e2222f78 f81ef618 e221ee98 e221ee98 2e 6f720073 )

      call f8009400 from f800967c
          2d w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          2e w %o0-%o5: ( e2222f78 f81ef618 e221f060 e221f060 2e 6f720073 )

      More
       [<space>,<cr>,q] ?
                              
      call f8009400 from f800967c
          2f w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          30 w %o0-%o5: ( e2222f78 f81ef618 e221f228 e221f228 2e 6f720073 )

      call f8009400 from f800967c
          31 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          32 w %o0-%o5: ( e2222f78 f81ef618 e221f3f0 e221f3f0 2e 6f720073 )

      call f8009400 from f800967c
          33 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          34 w %o0-%o5: ( e2222f78 f81ef618 e221f5b8 e221f5b8 2e 6f720073 )

      call f8009400 from f800967c
          35 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          36 w %o0-%o5: ( e2222f78 f81ef618 e221f780 e221f780 2e 6f720073 )

      More
       [<space>,<cr>,q] ?
                              
      call f8009400 from f800967c
          37 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          38 w %o0-%o5: ( e2222f78 f81ef618 e221f948 e221f948 2e 6f720073 )

      call f8009400 from f800967c
          39 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          3a w %o0-%o5: ( e2222f78 f81ef618 e221fb10 e221fb10 2e 6f720073 )

      call f8009400 from f800967c
          3b w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          3c w %o0-%o5: ( e2222f78 f81ef618 e221fcd8 e221fcd8 2e 6f720073 )

      call f8009400 from f800967c
          3d w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          3e w %o0-%o5: ( e2222f78 f81ef618 e221fea0 e221fea0 2e 6f720073 )

      More
       [<space>,<cr>,q] ?
                              
      call f8009400 from f800967c
          3f w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          40 w %o0-%o5: ( e2222f78 f81ef618 e2220068 e2220068 2e 6f720073 )

      call f8009400 from f800967c
          41 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          42 w %o0-%o5: ( e2222f78 f81ef618 e2220230 e2220230 2e 6f720073 )

      call f8009400 from f800967c
          43 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          44 w %o0-%o5: ( e2222f78 f81ef618 e22203f8 e22203f8 2e 6f720073 )

      call f8009400 from f800967c
          45 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          46 w %o0-%o5: ( e2222f78 f81ef618 e22205c0 e22205c0 2e 6f720073 )

      More
       [<space>,<cr>,q] ?
                              
      call f8009400 from f800967c
          47 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          48 w %o0-%o5: ( e2222f78 f81ef618 e2220788 e2220788 2e 6f720073 )

      call f8009400 from f800967c
          49 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          4a w %o0-%o5: ( e2222f78 f81ef618 e2220950 e2220950 2e 6f720073 )

      call f8009400 from f800967c
          4b w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          4c w %o0-%o5: ( e2222f78 f81ef618 e2220b18 e2220b18 2e 6f720073 )

      call f8009400 from f800967c
          4d w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          4e w %o0-%o5: ( e2222f78 f81ef618 e2220ce0 e2220ce0 2e 6f720073 )

      More
       [<space>,<cr>,q] ?
                              
      call f8009400 from f800967c
          4f w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          50 w %o0-%o5: ( e2222f78 f81ef618 e2220ea8 e2220ea8 2e 6f720073 )

      call f8009400 from f800967c
          51 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          52 w %o0-%o5: ( e2222f78 f81ef618 e2221070 e2221070 2e 6f720073 )

      call f8009400 from f800967c
          53 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          54 w %o0-%o5: ( e2222f78 f81ef618 e2221238 e2221238 2e 6f720073 )

      call f8009400 from f800967c
          55 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          56 w %o0-%o5: ( e2222f78 f81ef618 e2221400 e2221400 2e 6f720073 )

      More
       [<space>,<cr>,q] ?
                              
      call f8009400 from f800967c
          57 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          58 w %o0-%o5: ( e2222f78 f81ef618 e22215c8 e22215c8 2e 6f720073 )

      call f8009400 from f800967c
          59 w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          5a w %o0-%o5: ( e2222f78 f81ef618 e2221790 e2221790 2e 6f720073 )

      call f8009400 from f800967c
          5b w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          5c w %o0-%o5: ( e2222f78 f81ef618 e2221958 e2221958 2e 6f720073 )

      call f8009400 from f800967c
          5d w %o0-%o5: ( 0 0 0 0 f81efc00 f862b400 )

      call f800960c from f8009454
          5e w %o0-%o5: ( e2222f78 f81ef618 e2221b20 e2221b20 2e 6f720073 )

      More
       [<space>,<cr>,q] ?
                              
      call f8009400 from f800967c
          5f w %o0-%o5: ( 0 0 0 0 f81efc00 ffff )

      call f800960c from f8009454
          60 w %o0-%o5: ( e2222f78 f81ef618 e2221ce8 e2221ce8 2e ffff )

      call f8009400 from f800967c
          61 w %o0-%o5: ( 0 0 0 0 e2222f78 4 )

      call f800960c from f8009454
          62 w %o0-%o5: ( e2222f78 f81ef618 e2221eb0 e2221eb0 2e 2f564d00 )

      call f8009400 from f800e91c
          63 w %o0-%o5: ( 0 f81a19af e2222f78 e2222f78 f80090b0 0 )

      call f800c95c from f8014d28
          64 w %o0-%o5: ( f81a19af e2222f78 0 1 e220e170 f816ca10 )

      call f8014848 from f80145b0
          65 w %o0-%o5: ( e2222f78 f8146c2c f81f0000 f81f0010 0 1 )

      call f8014580 from f8010dd4
          66 w %o0-%o5: ( e2222f78 f8146c2c f81f0000 f81f0010 2 3 )

      More
       [<space>,<cr>,q] ?
                              
      call f8010d8c from f80102e4
          67 w %o0-%o5: ( 2 3 4b941 0 f8010964 ffff )

      call f801007c from f801053c
          68 w %o0-%o5: ( e0000000 10 f806db80 1 e2222f78 6e000000 )

      call f8010524 from f800940c
          69 w %o0-%o5: ( f80a437c 0 0 e221c968 400 2f564d00 )

      call f8009400 from f800e91c
          6a w %o0-%o5: ( f80a437c f81a19af e2222f78 e2222f78 f80090b0 0 )

      call f800c95c from f8014d28
          6b w %o0-%o5: ( f81a19af e2222f78 0 1 e221d0c0 f816ca10 )

      call f8014848 from f80145b0
          6c w %o0-%o5: ( e2222f78 f8146c2c f81f0000 f81f0010 0 1 )

      call f8014580 from f8010dd4
          6d w %o0-%o5: ( e2222f78 f8146c2c f81f0000 f81f0010 1 2 )

      call f8010d8c from f80102e4
          6e w %o0-%o5: ( 1 2 3b969 0 f8010964 c )

      More
       [<space>,<cr>,q] ?
                              
      call f801007c from f801053c
          6f w %o0-%o5: ( e032b000 10 f8087420 f8601000 2b6 7b )

      call f8010524 from f800940c
          70 w %o0-%o5: ( f8117fd0 0 ffffffff e221c968 0 e1629f7d )

      call f8009400 from f800e91c
          71 w %o0-%o5: ( f8117fd0 f81d4dd2 e2222f78 e2222f78 f8008f84 e162a349 )

      call f800c95c from f8014d28
          72 w %o0-%o5: ( f81d4dd2 e2222f78 0 0 e221d004 f816ca10 )

      call f8014848 from f8014570
          73 w %o0-%o5: ( e2222f78 f811bfbc f81f16d8 f81f16e0 0 0 )

      call f8014540 from f8019670
          74 w %o0-%o5: ( e2222f78 e006c740 f81f16d8 f81f16e0 0 e2223149 )

      jmpl f80195e4 from f8045b1c
          75 w %o0-%o5: ( e2222f78 f8602400 0 e006c740 f863bc00 e056a561 )

      ???? from f8045ad8
          76 w %o0-%o5: ( 1 e006c740 f80195e4 0 0 0 )

      More
       [<space>,<cr>,q] ?
                              
      ok

      Trace file:../traces/uniq/java-24.trace_1.0.kI.Aug12.10:17:51

      jmpl %o0, %o7
      call kona_enter_mon
      call trap
      call sysWrite
      call pc2string
      jmpl %l2, %o7
      call sysThreadEnumerateOver
      call DumpThreads
      call abort
      call trap
      call sysThreadStackPointer
      jmpl %l2, %o7
      call sysThreadEnumerateOver
      cal

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tlindholsunw Timothy Lindholm (Inactive)
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: