JDK-8064815 : Zero+PPC64: Stack overflow when running Maven
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: ppc
  • Submitted: 2014-11-13
  • Updated: 2015-09-29
  • Resolved: 2014-11-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u60Fixed 9 b42Fixed
Description
    Zero stack overflow error on PPC.
     
    ./linux-ppc64-normal-zero-release/images/j2sdk-image/bin/java -version
    openjdk version "1.9.0-internal"
    OpenJDK Runtime Environment (build 1.9.0-internal-openjdktester_2014_11_13_10_39-b00)
    OpenJDK 64-Bit Zero VM (build 1.9.0-internal-openjdktester_2014_11_13_10_39-b00, interpreted mode)
     
    Reproducer (on a Fedora/RHEL system with maven package installed):
    ./linux-ppc64-normal-zero-release/images/j2sdk-image/bin/java -classpath /usr/share/maven/boot/plexus-classworlds.jar -Dclassworlds.conf=/usr/share/maven/bin/m2.conf -Dmaven.home=/usr/share/maven org.codehaus.plexus.classworlds.launcher.Launcher
     
    Actual results:
    Exception in thread "process reaper" Exception in thread "process reaper" java.lang.StackOverflowError
            at java.util.concurrent.SynchronousQueue$TransferStack.snode(SynchronousQueue.java:318)[ERROR]
    No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]  at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
     
            at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)[ERROR]
     
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.     at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
     
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
     
    [ERROR]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[ERROR]
    For more information about the errors and possible solutions, please read the following articles:
            at java.lang.Thread.run(Thread.java:745)
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedExceptionjava.lang.StackOverflowError
     
            at java.util.concurrent.SynchronousQueue$TransferStack.snode(SynchronousQueue.java:318)
            at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
            at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
            at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java:745)
    Exception in thread "process reaper" java.lang.StackOverflowError
            at java.util.concurrent.SynchronousQueue$TransferStack.snode(SynchronousQueue.java:318)
            at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
            at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
            at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java
     
    Expected results (Ouput of running "mvn"):
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 0.150s
    [INFO] Finished at: Thu Nov 13 14:46:15 CET 2014
    [INFO] Final Memory: 4M/118M
    [INFO] ------------------------------------------------------------------------
    [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException