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
Keywords:
Status: CLOSED DUPLICATE of bug 1059234
Alias: None
Product: Fedora
Classification: Fedora
Component: maven
Version: 19
Hardware: ppc64
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2014-02-17 12:36:15 UTC


Attachments (Terms of Use)


Links
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-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

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.