-
Notifications
You must be signed in to change notification settings - Fork 137
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
All version of Ruby core dump in ethon running wpstools (wpscan) #91
Comments
@davidfavor thanks for reporting. I haven't seen that before. |
Seeing the same error as wpscanteam/wpscan#725 using the Typhoeus gem on Mac OS: /Users/whitmer/.rvm/gems/ruby-2.1.5/gems/ethon-0.7.1/lib/ethon/easy/operations.rb:23: [BUG] Segmentation fault -- Control frame information ----------------------------------------------- |
Note this same exact segfault exists when I use the curb gem. The interesting bit is that if I just execute commands in irb, it's fine. If I run the same code in the rails console, I get the segfault. |
So... this is odd. If I comment this line from my Gemfile, I don't get the segfault: |
That probably means this issue has something to do with forking. |
libcurl is threadsafe, but one must be careful. A hydra for example cannot be used across threads. maybe the gem forks, but does that accidentially. |
This appears to be the same issue as typhoeus/typhoeus#452 |
Closing this as there has been no update for some years now. If you still encounter this issue I'll reopen. Might have been fixed by #136 so if you have the issue please try the master-version. |
https://bugs.ruby-lang.org/issues/10301 - Ruby bug ticket, where they referred the bug to ethon.
wpscanteam/wpscan#699 - Original wpscan bug.
The text was updated successfully, but these errors were encountered: