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

Zero+PPC64: Stack overflow when running Maven

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • hotspot
    • None
    • b42
    • ppc
    • linux

    Backports

      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

        Attachments

          Issue Links

            Activity

              People

                simonis Volker Simonis
                andrew Andrew Hughes
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: