Project

General

Profile

Bug #6181

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

Added by Mariano Simone about 4 years ago. Updated 9 months ago.

Status:
Assigned
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 Magnifier - 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 about 4 years ago

  • Category set to ext
  • Assignee set to Martin Bosslet

The crash is during X509 certificate verification.

#2 [ruby-core:44412] Updated by Yusuke Endoh about 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 9 months ago

  • Assignee changed from Martin Bosslet to openssl

Also available in: Atom PDF