-
Notifications
You must be signed in to change notification settings - Fork 138
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
Segmentation fault with rspec #39
Comments
Thanks for reporting! Will look into it. |
I'm seeing this issue as well - any ideas as to what it could be? |
@deanmarano How can I reproduce it? |
(If you want a smaller piece of code, this one https://gist.github.com/erwanlr/5099652 also have the issue) |
i'm having this problem too. |
has anyone found some work around at least? I can't even run rake tasks :( |
With the master version, the error is the same but from a different gem :o
Full Trace : https://gist.github.com/erwanlr/d7728c5728cf046213c6 |
Any fix or workaround for this? I get this error when using typhoeus with delayed_job |
I'll have some time at the end of the week and I'm going to fix some bugs! Will see how hard that one is... |
Let me know if you need any more information or if there is anything I can do to help. Typhoeus is such a cool project and I would love to help out if possible. Thank you for all your hard work! |
@jonesdeini Thanks for the kind words! Any help is highly appreciated! You could for example go ahead and fix bugs. Some of them are less complex like typhoeus/typhoeus#233 or #32. I you would like to do something else thats cool too. Just email me if you need a pointer if you run into a problem or have question! |
@erwanlr @dwaynemac @jonesdeini could somebody provide code to reproduce your issue? wpscan test suite works for me and the gist doesn't raise anything. Tested with Typhoeus 0.6.3 and Ethon 0.5.11. |
What version of ruby are you using ? I've retested the gist (https://gist.github.com/erwanlr/5099652, spec_helper.rb & test_spec.rb have to be moved in a spec directory, then you run rspec), and ruby 1.9.3p194 & 1.9.3p362 Like I said 1 month ago, the error is the same but from a different gem :
|
i'll try to look into it. We've downgraded to Typhoeus 0.5.0.alpha and are with this version because we have some deadlines right now. As soon as I can I'll retest this. |
@erwanlr I've made the following changes - not important imho:
and I get the following result:
with the following versions:
Edit: I've also just tested it successfully with the latest libcurl version:
|
Humm, I'm using curl 7.29, and in the 7.30 changelog I saw this : http://sourceforge.net/p/curl/bugs/1194/ (from http://curl.haxx.se/changes.html#7_30_0) I will update curl to the 7.30 and retry tomorrow |
Very good catch! |
I upgraded curl to 7.30 and still have the same error.
It appears my example will be dependant on Rails since delayed_job depends on ActiveRecord. |
Works for me |
I ran rspec against curl versions 7.28.1, 7.29.0, 7.30.0, and 7.31.0. Only 7.29.0 segfaults (in multi_cleanup). Must be because of the bug linked by @erwanlr. |
thanks @linrock. I'm going to close this issue then. Happy to reopen when necessary. |
I got problems with curl 7.30.0 in OS X 10.9. Updating to curl 7.33 fixed it for me. |
@AndreasSoiron thanks for reporting! |
I have the following output at the end of rspec with https://github.com/wpscanteam/wpscan :
The text was updated successfully, but these errors were encountered: