Concurrent SSL requests -> segfault
Think I found a bug with Net:HTTP on MacRuby 0.10. Code is here: https://gist.github.com/904320. In a nutshell: * Multiple, concurrent SSL http requests generate a segfault * Multiple, concurrent non-SSL http requests are OK * Multiple, sequential SSL http requests are OK All the scenarios run fine on 1.9.2. Should I file a bug on trac? Andre
Hm. trying something similar within Xcode gives the following: https://gist.github.com/904634 Looks like there's a hardcoded path to /Users/lrz/src/macruby-0.10 s omewhere. On Tue, Apr 5, 2011 at 12:37 PM, Andre Lewis <andre.lewis@gmail.com> wrote:
Think I found a bug with Net:HTTP on MacRuby 0.10. Code is here: https://gist.github.com/904320. In a nutshell:
* Multiple, concurrent SSL http requests generate a segfault * Multiple, concurrent non-SSL http requests are OK * Multiple, sequential SSL http requests are OK
All the scenarios run fine on 1.9.2. Should I file a bug on trac?
Andre
-- Scout Web Monitoring and Reporting ~ http://scoutapp.com blog: http://blog.scoutapp.com
I also had this issue when implementing https wrapped in NSOperation for Gmail Notifr: https://gist.github.com/791984 Regards, James Chen ashchan.com | @ashchan <http://twitter.com/ashchan> On Wed, Apr 6, 2011 at 5:43 AM, Andre Lewis <andre.lewis@gmail.com> wrote:
Hm. trying something similar within Xcode gives the following: https://gist.github.com/904634
Looks like there's a hardcoded path to /Users/lrz/src/macruby-0.10 s omewhere.
On Tue, Apr 5, 2011 at 12:37 PM, Andre Lewis <andre.lewis@gmail.com>wrote:
Think I found a bug with Net:HTTP on MacRuby 0.10. Code is here: https://gist.github.com/904320. In a nutshell:
* Multiple, concurrent SSL http requests generate a segfault * Multiple, concurrent non-SSL http requests are OK * Multiple, sequential SSL http requests are OK
All the scenarios run fine on 1.9.2. Should I file a bug on trac?
Andre
-- Scout Web Monitoring and Reporting ~ http://scoutapp.com blog: http://blog.scoutapp.com
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi, everyone I think that we should implement callback functions for CRYPTO_set_locking_callback() and CRYPTO_set_id_callback() in ext/openssl. see http://www.openssl.org/support/faq.html#PROG1
Multi-threaded applications must provide two callback functions to OpenSSL by calling CRYPTO_set_locking_callback() and CRYPTO_set_id_callback(), for all versions of OpenSSL up to and including 0.9.8[abc...].
I wrote a patch : https://gist.github.com/911139 I seem to works well :-) Thanks. 2011/4/6 James Chen <ashchan@gmail.com>:
I also had this issue when implementing https wrapped in NSOperation for Gmail Notifr: https://gist.github.com/791984 Regards, James Chen ashchan.com | @ashchan
On Wed, Apr 6, 2011 at 5:43 AM, Andre Lewis <andre.lewis@gmail.com> wrote:
Hm. trying something similar within Xcode gives the following: https://gist.github.com/904634 Looks like there's a hardcoded path to /Users/lrz/src/macruby-0.10 somewhere.
On Tue, Apr 5, 2011 at 12:37 PM, Andre Lewis <andre.lewis@gmail.com> wrote:
Think I found a bug with Net:HTTP on MacRuby 0.10. Code is here: https://gist.github.com/904320. In a nutshell: * Multiple, concurrent SSL http requests generate a segfault * Multiple, concurrent non-SSL http requests are OK * Multiple, sequential SSL http requests are OK All the scenarios run fine on 1.9.2. Should I file a bug on trac? Andre
-- Scout Web Monitoring and Reporting ~ http://scoutapp.com blog: http://blog.scoutapp.com
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi, I committed a patch as https://github.com/MacRuby/MacRuby/commit/65fee047a678ae8be9124176307969cbb1... Thank you for your report! :) Thanks 2011/4/9 Watson <watson1978@gmail.com>:
Hi, everyone
I think that we should implement callback functions for CRYPTO_set_locking_callback() and CRYPTO_set_id_callback() in ext/openssl.
see http://www.openssl.org/support/faq.html#PROG1
Multi-threaded applications must provide two callback functions to OpenSSL by calling CRYPTO_set_locking_callback() and CRYPTO_set_id_callback(), for all versions of OpenSSL up to and including 0.9.8[abc...].
I wrote a patch : https://gist.github.com/911139 I seem to works well :-)
Thanks.
2011/4/6 James Chen <ashchan@gmail.com>:
I also had this issue when implementing https wrapped in NSOperation for Gmail Notifr: https://gist.github.com/791984 Regards, James Chen ashchan.com | @ashchan
On Wed, Apr 6, 2011 at 5:43 AM, Andre Lewis <andre.lewis@gmail.com> wrote:
Hm. trying something similar within Xcode gives the following: https://gist.github.com/904634 Looks like there's a hardcoded path to /Users/lrz/src/macruby-0.10 somewhere.
On Tue, Apr 5, 2011 at 12:37 PM, Andre Lewis <andre.lewis@gmail.com> wrote:
Think I found a bug with Net:HTTP on MacRuby 0.10. Code is here: https://gist.github.com/904320. In a nutshell: * Multiple, concurrent SSL http requests generate a segfault * Multiple, concurrent non-SSL http requests are OK * Multiple, sequential SSL http requests are OK All the scenarios run fine on 1.9.2. Should I file a bug on trac? Andre
-- Scout Web Monitoring and Reporting ~ http://scoutapp.com blog: http://blog.scoutapp.com
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (3)
-
Andre Lewis
-
James Chen
-
Watson