Issue #14775 has been reported by abhinayy (Abhinay Yellanki).

----------------------------------------
Bug #14775: Unable to Post CR from my Mac - keep getting the "Segmentation fault" - Abort trap: 6 issue
https://bugs.ruby-lang.org/issues/14775

* Author: abhinayy (Abhinay Yellanki)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
Hello team,

Unable to Post CR from my Mac - keep getting the "Segmentation fault" - Abort trap: 6 issue.
Can you please take a look into this issue and let me know if anything is wrong?

The below is detailed log

/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext/parser.bundle: [BUG] Segmentation fault
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]

-- 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:0014 p:-17540909998614 s:0061 e:000060 TOP    [FINISH]
c:0013 p:---- s:0059 e:000058 CFUNC  :require
c:0012 p:0115 s:0055 e:000054 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55
c:0011 p:0009 s:0045 e:000044 CLASS  /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext.rb:7
c:0010 p:0011 s:0043 e:000042 CLASS  /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext.rb:6
c:0009 p:0017 s:0041 e:000040 TOP    /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext.rb:3 [FINISH]
c:0008 p:---- s:0039 e:000038 CFUNC  :require
c:0007 p:0115 s:0035 e:000034 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55
c:0006 p:0019 s:0025 e:000024 CLASS  /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json.rb:59
c:0005 p:0017 s:0023 e:000022 TOP    /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json.rb:55 [FINISH]
c:0004 p:---- s:0021 e:000020 CFUNC  :require
c:0003 p:0115 s:0017 e:000016 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55
c:0002 p:0103 s:0007 E:000530 EVAL   /Users/abhinayy/bin/cr-upgrade:19 [FINISH]
c:0001 p:0000 s:0002 E:002008 TOP    [FINISH]

/Users/abhinayy/bin/cr-upgrade:19:in `<main>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json.rb:55:in `<top (required)>'
/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json.rb:59:in `<module:JSON>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext.rb:3:in `<top (required)>'
/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext.rb:6:in `<module:JSON>'
/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext.rb:7:in `<module:Ext>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'

-- C level backtrace information -------------------------------------------

-- Other runtime information -----------------------------------------------

* Loaded script: /Users/abhinayy/bin/cr-upgrade

* Loaded features:

    0 enumerator.so
    1 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16/enc/encdb.bundle
    2 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16/enc/trans/transdb.bundle
    3 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16/rbconfig.rb
    4 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/compatibility.rb
    5 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/defaults.rb
    6 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/deprecate.rb
    7 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/errors.rb
    8 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/version.rb
    9 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/requirement.rb
   10 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/platform.rb
   11 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb
   12 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/exceptions.rb
   13 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb
   14 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/thread.rb
   15 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/monitor.rb
   16 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb
   17 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems.rb
   18 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb
   19 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/path_support.rb
   20 /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/version.rb
   21 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/ostruct.rb
   22 /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/generic_object.rb
   23 /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/common.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
Don't forget to include the above Crash Report log file.
For details: http://www.ruby-lang.org/bugreport.html

/Users/abhinayy/bin/cr: line 7: 71644 Abort trap: 6           ruby $(dirname $0)/cr-upgrade --quiet
/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext/parser.bundle: [BUG] Segmentation fault
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]

-- 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:0018 p:-17561663785372 s:0072 e:000071 TOP    [FINISH]
c:0017 p:---- s:0070 e:000069 CFUNC  :require
c:0016 p:0115 s:0066 e:000065 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55
c:0015 p:0009 s:0056 e:000055 CLASS  /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext.rb:7
c:0014 p:0011 s:0054 e:000053 CLASS  /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext.rb:6
c:0013 p:0017 s:0052 e:000051 TOP    /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext.rb:3 [FINISH]
c:0012 p:---- s:0050 e:000049 CFUNC  :require
c:0011 p:0115 s:0046 e:000045 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55
c:0010 p:0019 s:0036 e:000035 CLASS  /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json.rb:59
c:0009 p:0017 s:0034 e:000033 TOP    /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json.rb:55 [FINISH]
c:0008 p:---- s:0032 e:000031 CFUNC  :require
c:0007 p:0115 s:0028 e:000027 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55
c:0006 p:0007 s:0018 e:000017 TOP    /Users/abhinayy/bin/cr-installs/1519232691/cr-lib/coral.rb:1 [FINISH]
c:0005 p:---- s:0016 e:000015 CFUNC  :require_relative
c:0004 p:0023 s:0012 e:000011 TOP    /Users/abhinayy/bin/cr-installs/1519232691/cr-lib/arguments.rb:4 [FINISH]
c:0003 p:---- s:0010 e:000009 CFUNC  :require_relative
c:0002 p:0007 s:0006 E:002138 EVAL   /Users/abhinayy/bin/cr-lib/main.rb:3 [FINISH]
c:0001 p:0000 s:0002 E:0026a8 TOP    [FINISH]

/Users/abhinayy/bin/cr-lib/main.rb:3:in `<main>'
/Users/abhinayy/bin/cr-lib/main.rb:3:in `require_relative'
/Users/abhinayy/bin/cr-installs/1519232691/cr-lib/arguments.rb:4:in `<top (required)>'
/Users/abhinayy/bin/cr-installs/1519232691/cr-lib/arguments.rb:4:in `require_relative'
/Users/abhinayy/bin/cr-installs/1519232691/cr-lib/coral.rb:1:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json.rb:55:in `<top (required)>'
/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json.rb:59:in `<module:JSON>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext.rb:3:in `<top (required)>'
/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext.rb:6:in `<module:JSON>'
/Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/ext.rb:7:in `<module:Ext>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'

-- C level backtrace information -------------------------------------------

-- Other runtime information -----------------------------------------------

* Loaded script: /Users/abhinayy/bin/cr-lib/main.rb

* Loaded features:

    0 enumerator.so
    1 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16/enc/encdb.bundle
    2 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16/enc/trans/transdb.bundle
    3 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16/rbconfig.rb
    4 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/compatibility.rb
    5 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/defaults.rb
    6 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/deprecate.rb
    7 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/errors.rb
    8 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/version.rb
    9 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/requirement.rb
   10 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/platform.rb
   11 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb
   12 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/exceptions.rb
   13 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb
   14 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/thread.rb
   15 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/monitor.rb
   16 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb
   17 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems.rb
   18 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/optparse.rb
   19 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/ostruct.rb
   20 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb
   21 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/path_support.rb
   22 /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/version.rb
   23 /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/generic_object.rb
   24 /Users/abhinayy/.rvm/gems/ruby-2.4.0/gems/json-2.1.0/lib/json/common.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
Don't forget to include the above Crash Report log file.
For details: http://www.ruby-lang.org/bugreport.html





--
Regards,
Abhinay

---Files--------------------------------
CRIssue-Log.rtf (13 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>