Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deadlock when installing new tool #69

Open
hinerm opened this issue Jul 28, 2014 · 0 comments
Open

Deadlock when installing new tool #69

hinerm opened this issue Jul 28, 2014 · 0 comments
Labels
Milestone

Comments

@hinerm
Copy link
Member

hinerm commented Jul 28, 2014

Reported by Ilan Tal here: http://fiji.sc/bugzilla/show_bug.cgi?id=835

After creating a sample toolbar .ijm, putting it in Fiji.app/plugins, and attempting to select it in Fiji, the legacy layer intercepts and runs the toolbar macro. This is called FROM the EDT, which spawns a new thread to run the script, but blocks on the EDT because it needs the return value of the script.

On the script execution thread, the ModuleRunner publishes a new event for the module, which leads to an EventQueue.invokeAndWait, which causes the script execution thread to deadlock with the EDT.

@hinerm hinerm added the bug label Jul 28, 2014
@hinerm hinerm self-assigned this Mar 23, 2015
@hinerm hinerm added this to the m2 milestone Mar 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant