-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fatal: deadlock detected - During debugger gem #332
Comments
same here! |
I'm looking into it. I think I know what the problem is. @mattherick Can you let me know the specific version of Ruby you are using, including the patchlevel? |
@sferik ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.4.2] |
🔍 …as I suspected… 🔎 |
I'm having trouble reproducing this, even on exact same Ruby version. Does it happen every time you call |
It happens every time, but not only while calling "favorite" in the debgugger. If I call "retweet" it is the same.. I'll try it with Ruby 1.9.3-p327. Probably something with the Threading? |
Yeah, I think I know what it is now. |
It should be fixed in master. Please update your Gemfile to specify the dependency as:
Then |
Hi, i tried it again with your new patch level. But it doesnt work ;(
|
I also tried it again with 1.9.3-p286, samer error:
. |
Hmmm. I have no idea what the problem is. I've installed Ruby 1.9.3-p125 and added
Thanks in advance for performing all of these diagnostic steps. I'd go through these steps myself but I am unable to reproduce this issue on my computer. If one or (preferably) both of you both report the answers to all these questions, I'll have a much better idea of what the problem is. |
|
@cldwalker Any ideas what might be causing this? |
Not beyond what's obvious from the stacktrace - threads from Enumerable#threaded_map are conflicting with debugger's threaded setup. If it's any comfort, I'm able to get a deadlock doing a simple version of threaded_map on the latest 1.9.3 ruby i.e.: |
@cldwalker That sounds good. 🎵👂👍 |
I tried to run some tests with the twitter gem. To inspect the callbacks i use the ruby-debug gem. I tried to make an API call like @client2.favorite(tweet.id). And then i've got this error message.
The text was updated successfully, but these errors were encountered: