Actions
Bug #7965
closed 
    
  Segmentation fault when running OpenSSL tests
    Bug #7965:
    Segmentation fault when running OpenSSL tests
  
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p0 (2013-02-24) [x86_64-darwin11.4.0]
Backport:
Description
=begin
Similar to the last problem I reported.
I'm compiling ext/openssl against a freshly compiled version of openssl-1.0.1c.
Running the openssl tests results the following segfault:
~/.rubies/.sources/ruby-2.0.0-p0/test/openssl ruby-2.0.0-p0 λ ruby *
/Users/charlie/.rubies/.sources/ruby-2.0.0-p0/test/openssl/utils.rb:115: [BUG] Segmentation fault
ruby 2.0.0p0 (2013-02-24) [x86_64-darwin11.4.0]
-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   the more detail of.
-- Control frame information -----------------------------------------------
c:0007 p:---- s:0036 e:000035 CFUNC  :priv_key=
c:0006 p:0215 s:0032 e:000031 CLASS  /Users/charlie/.rubies/.sources/ruby-2.0.0-p0/test/openssl/utils.rb:115
c:0005 p:0101 s:0030 e:000029 TOP    /Users/charlie/.rubies/.sources/ruby-2.0.0-p0/test/openssl/utils.rb:17 [FINISH]
c:0004 p:---- s:0028 e:000027 CFUNC  :require
c:0003 p:0073 s:0024 e:000023 METHOD /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45
c:0002 p:0051 s:0014 E:001748 EVAL   ssl_server.rb:4 [FINISH]
c:0001 p:0000 s:0002 E:0018a8 TOP    [FINISH]
ssl_server.rb:4:in `<main>'
/Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
/Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
/Users/charlie/.rubies/.sources/ruby-2.0.0-p0/test/openssl/utils.rb:17:in `<top (required)>'
/Users/charlie/.rubies/.sources/ruby-2.0.0-p0/test/openssl/utils.rb:115:in `<module:TestUtils>'
/Users/charlie/.rubies/.sources/ruby-2.0.0-p0/test/openssl/utils.rb:115:in `priv_key='
-- C level backtrace information -------------------------------------------
-- Other runtime information -----------------------------------------------
* Loaded script: ssl_server.rb
* Loaded features:
    0 enumerator.so
    1 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/x86_64-darwin11.4.0/enc/encdb.bundle
    2 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/x86_64-darwin11.4.0/enc/trans/transdb.bundle
    3 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/x86_64-darwin11.4.0/rbconfig.rb
    4 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/compatibility.rb
    5 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/defaults.rb
    6 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/deprecate.rb
    7 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/errors.rb
    8 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/version.rb
    9 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/requirement.rb
   10 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/platform.rb
   11 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/specification.rb
   12 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/exceptions.rb
   13 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb
   14 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb
   15 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems.rb
   16 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/x86_64-darwin11.4.0/socket.bundle
   17 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/socket.rb
   18 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/thread.rb
   19 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/x86_64-darwin11.4.0/digest.bundle
   20 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/digest.rb
   21 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/x86_64-darwin11.4.0/openssl.bundle
   22 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl/bn.rb
   23 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl/cipher.rb
   24 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/x86_64-darwin11.4.0/stringio.bundle
   25 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl/config.rb
   26 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl/digest.rb
   27 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl/x509.rb
   28 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl/buffering.rb
   29 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/x86_64-darwin11.4.0/fcntl.bundle
   30 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl/ssl.rb
   31 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl.rb
   32 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/dependency.rb
   33 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems/path_support.rb
   34 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/optparse.rb
   35 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/minitest/parallel_each.rb
   36 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb
   37 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/prettyprint.rb
   38 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/pp.rb
   39 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/test/unit/assertions.rb
   40 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/test/unit/testcase.rb
   41 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/test/unit.rb
   42 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/x86_64-darwin11.4.0/digest/md5.bundle
   43 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/delegate.rb
   44 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/x86_64-darwin11.4.0/etc.bundle
   45 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/fileutils.rb
   46 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/tmpdir.rb
   47 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/tempfile.rb
   48 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/open3.rb
   49 /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/timeout.rb
   50 /Users/charlie/.rubies/.sources/ruby-2.0.0-p0/test/ruby/envutil.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Abort trap: 6
=end
Files
        
           Updated by kosaki (Motohiro KOSAKI) over 12 years ago
          Updated by kosaki (Motohiro KOSAKI) over 12 years ago
          
          
        
        
      
      -- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
the more detail of.
We need crash report when investigating crash isssue.
        
           Updated by Anonymous over 12 years ago
          Updated by Anonymous over 12 years ago
          
          
        
        
      
      - File ruby_2013-02-26-191152_Charlies-Mac-Pro.crash ruby_2013-02-26-191152_Charlies-Mac-Pro.crash added
See attached
        
           Updated by Anonymous about 12 years ago
          Updated by Anonymous about 12 years ago
          
          
        
        
      
      - Status changed from Open to Closed
Actions