Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1065966 - mvn archetype:generate fails with stack overflows
Summary: mvn archetype:generate fails with stack overflows
Status: CLOSED DUPLICATE of bug 1059234
Alias: None
Product: Fedora
Classification: Fedora
Component: maven
Version: 19
Hardware: ppc64
OS: Unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2014-02-17 12:25 UTC by robert
Modified: 2014-02-17 12:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-02-17 12:36:15 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Bugzilla 1059816 None None None Never

Description robert 2014-02-17 12:25:58 UTC
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-
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:

Actual results:
        at java.util.concurrent.SynchronousQueue$TransferStack.snode(
        at java.util.concurrent.SynchronousQueue$TransferStack.transfer(
        at java.util.concurrent.SynchronousQueue.poll(
        at java.util.concurrent.ThreadPoolExecutor.getTask(
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$

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:

Comment 1 Mikolaj Izdebski 2014-02-17 12:36:15 UTC

*** This bug has been marked as a duplicate of bug 1059234 ***

Comment 2 Mikolaj Izdebski 2014-02-17 12:37:51 UTC
This is a known bug OpenJDK.  From what I know it is triggered only on POWER7.  Workaround: use POWER6 or older machine.

Note You need to log in before you can comment on or make changes to this bug.