Description of problem: Using maven on a power7 machine fails with multiple stack overflows Version-Release number of selected component (if applicable): Apache Maven 3.0.5 (rNON-CANONICAL_2013-03-12_12-47_mockbuild; 2013-03-12 13:47:10+0100) Maven home: /usr/share/maven Java version: 1.7.0_45, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.ppc64/jre Default locale: de_DE, platform encoding: UTF-8 OS name: "linux", version: "3.11.7-200.fc19.ppc64p7", arch: "ppc64", family: "unix" How reproducible: Execute "mvn archetype:generate" Steps to Reproduce: 1. 2. 3. Actual results: 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:724) Expected results: maven stub should be build Additional info: I tried to increase the java stacksize via setting the environment var MAVEN_OPTS, but it still gives me stack overflows Seems similiar to: https://bugzilla.redhat.com/show_bug.cgi?id=1059816
*** This bug has been marked as a duplicate of bug 1059234 ***
This is a known bug OpenJDK. From what I know it is triggered only on POWER7. Workaround: use POWER6 or older machine.