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

ResourceExhausted/resexhausted001 crashes on Linux-x64

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b27
    • CPU:
      x86_64
    • OS:
      linux

      Description

      vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted001/ crashes on Linux:
      ----------messages:(4/385)----------
      command: main -agentlib:resexhausted=-waittime=5 -XX:-UseGCOverheadLimit nsk.jvmti.ResourceExhausted.resexhausted001 -stressTime 220
      reason: User specified action: run main/othervm/native/timeout=240 -agentlib:resexhausted=-waittime=5 -XX:-UseGCOverheadLimit nsk.jvmti.ResourceExhausted.resexhausted001 -stressTime 220
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 17.55
      ----------configuration:(0/0)----------
      ----------System.out:(790/91412)----------
      Creating threads...
      [14.198s][warning][os,thread] Attempt to protect stack guard pages failed (0x00007f58b244a000-0x00007f58b244e000).
      [14.198s][warning][os,thread] Attempt to deallocate stack guard pages failed.
      [14.199s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
      #
      # There is insufficient memory for the Java Runtime Environment to continue.
      # Native memory allocation (mmap) failed to map 16384 bytes for committing reserved memory.
      # An error report file with more information is saved as:
      # /opt/mach5/mesos/work_dir/slaves/4076d11c-c6ed-4d07-84c1-4ab8d55cd975-S313896/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7a9804b6-24e1-4749-87b3-0aa700f31bff/runs/55d9f89d-489d-410f-8087-ba67ff9b30c6/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_ResourceExhausted/scratch/1/hs_err_pid811720.log
      Agent: ResourceExhausted detected: unable to create native thread: possibly out of memory or process/resource limits reached
      [14.236s][warning][os,thread] Attempt to deallocate stack guard pages failed (0x00007f61a50a0000-0x00007f61a50a4000).
      [14.239s][warning][os,thread] Attempt to deallocate stack guard pages failed (0x00007f58b385e000-0x00007f58b3862000).
      [14.239s][warning][os,thread] Attempt to deallocate stack guard pages failed (0x00007f58b4d73000-0x00007f58b4d77000).
      [14.240s][warning][os,thread] Attempt to deallocate stack guard pages failed (0x00007f58b395f000-0x00007f58b3963000).
      <... a lot of similar warnings ...>
      [16.843s][warning][os,thread] Attempt to deallocate stack guard pages failed (0x00007f5fed4e1000-0x00007f5fed4e5000).
      [16.843s][warning][os,thread] Attempt to deallocate stack guard pages failed (0x00007f5fed3e0000-0x00007f5fed3e4000).
      [16.843s][warning][os,thread] Attempt to deallocate stack guard pages failed (0x00007f5fed5e2000-0x00007f5fed5e6000).
      [16.843s][warning][os,thread] Attempt to deallocate stack guard pages failed (0x00007f5fed0dd000-0x00007f5fed0e1000).
      ----------System.err:(1/141)----------
      Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f58b2349000, 16384, 0) failed; error='Not enough space' (errno=12)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              coleenp Coleen Phillimore
              Reporter:
              amenkov Alex Menkov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: