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

`synchronize': can't be called from trap context (ThreadError) #146

Open
paradisaeidae opened this issue Dec 31, 2014 · 0 comments
Open

Comments

@paradisaeidae
Copy link

From this: ConradIrwin/pry-rescue#52
(zach) " ...I found what seems to be the root cause, which is that Ruby has a very limited ability to perform I/O (in this case, apparently including reading files via require) inside signal handlers in Ruby 2.0. In 1.9.x performing such actions could cause deadlock, so in 2.0 they are simply not allowed. Thanks to @mperham I was able to pick up on this quickly, since he wrote up his experience encountering this in...."

Ref: https://bugs.ruby-lang.org/issues/7648

Some refactoring for someone smarter than myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant