metaborg / spoofax-pie

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

Deadlock when invoking hover/reference resolution in the Eclipse LWB #58

Closed Gohla closed 3 years ago

Gohla commented 3 years ago

Summary

A deadlock can occur sometimes when invoking hover/reference resolution in the Eclipse LWB.

What you did

Build a language and then invoke hover/reference resolution.

What you expected to happen

No deadlock to occur.

What actually happened

A deadlock occurs.

Context

Additional information

Thread dump: https://gist.github.com/Gohla/661524b25904b5010f3ddd98525a2057 The dump indicates that both the:

It is unclear to me why the builder thread is stuck waiting on the console.

Gohla commented 3 years ago

Fixed by https://github.com/metaborg/spoofax-pie/commit/04b6515dacdf0fcb6ae90780f4ce1e7e31fa9af1, to be released in 0.11.12.