[MacRuby-devel] [MacRuby] #452: Segmentation Fault tracing back to openssl.bundle when authenticating with gcal4ruby

MacRuby ruby-noreply at macosforge.org
Wed Nov 25 00:56:28 PST 2009


#452: Segmentation Fault tracing back to openssl.bundle when authenticating with
gcal4ruby
--------------------------------+-------------------------------------------
 Reporter:  dweinric@…          |        Owner:  lsansonetti@…        
     Type:  defect              |       Status:  closed               
 Priority:  major               |    Milestone:  MacRuby 0.5          
Component:  MacRuby             |   Resolution:  fixed                
 Keywords:                      |  
--------------------------------+-------------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.5


Comment:

 The crash should be fixed by r3050. Your snippet now fails elsewhere:

 {{{
 $ DYLD_LIBRARY_PATH=. ./macruby -I./ext/openssl -r rubygems -e "require
 'gcal4ruby'; service=GCal4Ruby::Service.new;
 service.authenticate('<user>@gmail.com','<password>')"
 core:in `connect': undefined method `set_params' for
 #<OpenSSL::SSL::SSLContext:0x200546640> (NoMethodError)
         from core:in `do_start'
         from core:in `start'
         from
 /Users/lrz/.gem/macruby/1.9.0/gems/gcal4ruby-0.2.5/lib/gcal4ruby/base.rb:111:in
 `send_post:'
         from
 /Users/lrz/.gem/macruby/1.9.0/gems/gcal4ruby-0.2.5/lib/gcal4ruby/service.rb:43:in
 `authenticate:'
 }}}

 I believe it is because OpenSSL::SSL::SSLContext#set_params is defined as
 internal API and net/http hasn't been updated yet. This is anyway a
 different bug, so I'm closing this one.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/452#comment:1>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list