metaborg / spoofax-pie

Spoofax implementation using PIE pipelines
Apache License 2.0
12 stars 9 forks source link

Deadlock when closing editor while build is running in the Eclipse LWB #60

Closed Gohla closed 3 years ago

Gohla commented 3 years ago

Summary

Eclipse deadlocks when closing an editor while build is running in the Eclipse LWB.

What you did

Close an editor.

What you expected to happen

The editor to be closed and no deadlocks.

What actually happened

A deadlock occurs and Eclipse hangs.

Context

Additional information

Thread dump: https://gist.github.com/Gohla/52a47533c560be6d30b32021af2a2d44

Should be solved by performing the editor close in a job.

Gohla commented 3 years ago

Fixed by https://github.com/metaborg/spoofax-pie/commit/020e0bfeea11922c1085e3f51aba7b993da99d31, to be released in the next release.