Experiencing stack overflow when updating to 6.6-rc-1

With the elasticsearch build we experience a stack overflow issue when we updated the gradle wrapper to the latest 6.6-rc-1. Find attached a scan dump from our internal gradle enterprise instance u5ljwpwpv6vyk.scandump.zip (2.0 MB)

To reproduce this you can checkout elasticsearch from https://github.com/elastic/elasticsearch/ and run :x-pack:plugin:sql:sql-cli:test I didn’t investigate any further yet what’s the root cause of that issue is but from a very short glance it seems something changed in handling filecollections?

This is fixed in 6.6-rc-2.