You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce, clone https://github.com/openstack/glance and run ./gradlew :cpg-neo4j:run --args="../../glance/ --no-neo4j" and modify neo4j to use .useParallelPasses(true).
...
15:49:29,345 INFO MeasurementHolder TranslationManager: Translation into full graph done in 93131 ms
java.util.concurrent.ExecutionException: java.util.ConcurrentModificationException
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
at de.fraunhofer.aisec.cpg_vis_neo4j.Application.call(Application.kt:613)
at de.fraunhofer.aisec.cpg_vis_neo4j.Application.call(Application.kt:88)
at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at de.fraunhofer.aisec.cpg_vis_neo4j.ApplicationKt.main(Application.kt:654)
Caused by: java.util.ConcurrentModificationException
at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1013)
at java.base/java.util.ArrayList$Itr.next(ArrayList.java:967)
at de.fraunhofer.aisec.cpg.graph.edges.collections.EdgeCollectionKt.internalToNodeCollection(EdgeCollection.kt:180)
at de.fraunhofer.aisec.cpg.graph.edges.collections.EdgeList.toNodeCollection(EdgeList.kt:107)
at de.fraunhofer.aisec.cpg.graph.edges.collections.EdgeList.toNodeCollection(EdgeList.kt:33)
at de.fraunhofer.aisec.cpg.helpers.SubgraphWalker.getAstChildren(SubgraphWalker.kt:114)
at de.fraunhofer.aisec.cpg.helpers.SubgraphWalker.flattenASTInternal(SubgraphWalker.kt:154)
at de.fraunhofer.aisec.cpg.helpers.SubgraphWalker.flattenAST(SubgraphWalker.kt:145)
at de.fraunhofer.aisec.cpg.passes.ControlDependenceGraphPass.accept(ControlDependenceGraphPass.kt:442)
at de.fraunhofer.aisec.cpg.passes.ControlDependenceGraphPass.accept(ControlDependenceGraphPass.kt:45)
at de.fraunhofer.aisec.cpg.passes.PassKt$consumeTargets$futures$1$1.get(Pass.kt:426)
at de.fraunhofer.aisec.cpg.passes.PassKt$consumeTargets$futures$1$1.get(Pass.kt:314)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
There is no issue when using the default configuration.
The text was updated successfully, but these errors were encountered:
maximiliankaul
changed the title
Crash when enabling parallel passes and frontends
Crash when enabling parallel passes
Sep 6, 2024
To reproduce, clone https://github.com/openstack/glance and run ./gradlew :cpg-neo4j:run --args="../../glance/ --no-neo4j" and modify neo4j to use
.useParallelPasses(true)
.There is no issue when using the default configuration.
The text was updated successfully, but these errors were encountered: