Bug #6181

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

Added by Mariano Simone about 3 years ago. Updated 3 months ago.

[ruby-core:43515]
Status:Assigned
Priority:Normal
Assignee:Martin Bosslet
ruby -v:ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin10.8.0] Backport:

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 Updated by Eric Hodel about 3 years ago

  • Category set to ext
  • Assignee set to Martin Bosslet

The crash is during X509 certificate verification.

#2 Updated by Yusuke Endoh about 3 years ago

  • Status changed from Open to Assigned

#3 Updated by _ wanabe 3 months 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 3 months ago

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

Also available in: Atom PDF