scalacenter / scalafix

Refactoring and linting tool for Scala
https://scalacenter.github.io/scalafix/
BSD 3-Clause "New" or "Revised" License
826 stars 186 forks source link

sbt-scalafix (sometimes) crashes on Linux #2073

Closed ahoy-jon closed 1 week ago

ahoy-jon commented 2 weeks ago

We have this issue on Linux, but not in IntelliJ-sbt-shell on the same machine.

Does that speak to anyone?

Cheers, Jonathan

bjaglin commented 2 weeks ago

That does not ring a bell. I understand the failure happens only when you run scalafixAll explicitly from the (non-IntelliJ) shell, right?

To help investigation,

  1. Is it always the same file in the stack trace?
  2. What other sbt plugins do you have in the project?
ahoy-jon commented 1 week ago

It was always the same type of trace on the same machine. We suspect it was some competition between compilers (intellIj + console) using .bloop. The bug is not reappearing for now.