Project

General

Profile

Bug #6181

Ruby crash when trying to send a mail (tls/gmail)

Added by Mariano Simone over 4 years ago. Updated about 2 months ago.

Status:
Third Party's Issue
Priority:
Normal
Assignee:
openssl
ruby -v:
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin10.8.0]
Backport:
[ruby-core:43515]

Description

The following code made ruby crash:

require 'net/smtp'

smtp = Net::SMTP.new 'smtp.gmail.com', 587

smtp.enable_starttls

smtp.start("gmail.com", "edited", "edited", :login) do
smtp.send_message("hello world!!", "mljsimone@gmail.com", "undefined.behaviour@gmail.com")
end

ruby_2012-03-21-002337_Mariano-Simones-MacBook-Pro.crash - crash report (6.85 KB) Mariano Simone, 03/21/2012 12:28 PM

crash.txt View - bash output (4.02 KB) Mariano Simone, 03/21/2012 12:28 PM


Related issues

Related to Ruby trunk - Bug #6886: Segmentation fault after update Third Party's Issue 08/17/2012

History

#1 [ruby-core:43516] Updated by Eric Hodel over 4 years ago

  • Assignee set to Martin Bosslet
  • Category set to ext

The crash is during X509 certificate verification.

#2 [ruby-core:44412] Updated by Yusuke Endoh over 4 years ago

  • Status changed from Open to Assigned

#3 [ruby-core:67556] Updated by _ wanabe over 1 year ago

This issue may be due to Mac bundled OpenSSL like [Bug #6886].
Two crash reports (this and [Bug #6886]'s) are similar in that crashed threads have called 'CRYPTO_get_ex_data' before '_sigtramp' and crashes have been triggered by 'ossl_start_ssl'.

#4 Updated by _ wanabe over 1 year ago

  • Related to Bug #6886: Segmentation fault after update added

#5 Updated by Zachary Scott 12 months ago

  • Assignee changed from Martin Bosslet to openssl

#6 [ruby-core:76221] Updated by Kazuki Yamaguchi about 2 months ago

  • Status changed from Assigned to Third Party's Issue

I think this is the same as #6886, too.

OpenSSL bundled with OS X is no longer supported, so I'm closing this as Third Party's Issue.

Also available in: Atom PDF