[ 
https://issues.apache.org/jira/browse/MNG-8014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806136#comment-17806136
 ] 

Tamas Cservenak commented on MNG-8014:
--------------------------------------

This is not related concurrent model builder at all. It all works nicely, all 
you need is to disable the "build consumer" feature: 
{{-Dmaven.buildconsumer=false}}. That feature is completely broken and is a 
disaster: it causes endless loop, as this is not a deadlock, but actually an 
infinite loop.

Locally made a build w/o cache (to simplify stacks) and got these (two 
subsequent thread dumps):
* https://gist.github.com/cstamas/14b1e98df49290815af3ae90255931bd
* https://gist.github.com/cstamas/539a6064e38c759596ba28cf2537f2eb

Everything is runnable, but it runs forever. Sus bits:
{noformat}
at 
org.apache.maven.model.building.DefaultTransformerContextBuilder$1.doLoadFullReactor(DefaultTransformerContextBuilder.java:144)
{noformat}

As repeating pattern in TDs.

> Maven concurrent model builder deadlocks
> ----------------------------------------
>
>                 Key: MNG-8014
>                 URL: https://issues.apache.org/jira/browse/MNG-8014
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 4.0.0-alpha-10
>            Reporter: Guillaume Nodet
>            Priority: Major
>
> Building [https://github.com/gnodet/quarkus/tree/maven-deadlock] with Maven 
> 4.0.0-alpha-12 deadlocks.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to