kubo / ruby-oci8

Ruby-oci8 - Oracle interface for ruby
Other
169 stars 75 forks source link

oci8 does not work #30

Closed eddiefisher closed 11 years ago

eddiefisher commented 11 years ago

$ rails c /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/bundler/gems/ruby-oci8-e9dfda6f7f2e/lib/oci8lib_191.bundle: [BUG] Segmentation fault ruby 1.9.3p385 (2013-02-06 revision 39114) [x86_64-darwin12.2.1]

-- Control frame information ----------------------------------------------- c:0060 p:-17583358554848 s:0197 b:0197 l:000196 d:000196 TOP
c:0059 p:---- s:0195 b:0195 l:000194 d:000194 CFUNC :require c:0058 p:0010 s:0191 b:0191 l:000183 d:000190 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251 c:0057 p:0071 s:0189 b:0189 l:000188 d:000188 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236 c:0056 p:0019 s:0184 b:0184 l:000183 d:000183 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251 c:0055 p:0511 s:0179 b:0179 l:000178 d:000178 TOP /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/bundler/gems/ruby-oci8-e9dfda6f7f2e/lib/oci8.rb:81 c:0054 p:---- s:0173 b:0173 l:000172 d:000172 FINISH c:0053 p:---- s:0171 b:0171 l:000170 d:000170 CFUNC :require c:0052 p:0010 s:0167 b:0167 l:000159 d:000166 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251 c:0051 p:0071 s:0165 b:0165 l:000164 d:000164 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236 c:0050 p:0019 s:0160 b:0160 l:000159 d:000159 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251 c:0049 p:0025 s:0155 b:0155 l:000154 d:000154 TOP /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/active_record/connecti c:0048 p:---- s:0151 b:0151 l:000150 d:000150 FINISH c:0047 p:---- s:0149 b:0149 l:000148 d:000148 CFUNC :require c:0046 p:0010 s:0145 b:0145 l:000137 d:000144 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251 c:0045 p:0071 s:0143 b:0143 l:000142 d:000142 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236 c:0044 p:0019 s:0138 b:0138 l:000137 d:000137 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251 c:0043 p:0056 s:0133 b:0133 l:000132 d:000132 TOP /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/active_record/connecti c:0042 p:---- s:0131 b:0131 l:000130 d:000130 FINISH c:0041 p:---- s:0129 b:0129 l:000128 d:000128 CFUNC :require c:0040 p:0010 s:0125 b:0125 l:000117 d:000124 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251 c:0039 p:0071 s:0123 b:0123 l:000122 d:000122 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236 c:0038 p:0019 s:0118 b:0118 l:000117 d:000117 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251 c:0037 p:0058 s:0113 b:0113 l:000112 d:000112 TOP /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/active_record/connecti c:0036 p:---- s:0111 b:0111 l:000110 d:000110 FINISH c:0035 p:---- s:0109 b:0109 l:000108 d:000108 CFUNC :require c:0034 p:0010 s:0105 b:0105 l:000097 d:000104 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251 c:0033 p:0071 s:0103 b:0103 l:000102 d:000102 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236 c:0032 p:0019 s:0098 b:0098 l:000097 d:000097 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251 c:0031 p:0011 s:0093 b:0093 l:002518 d:000092 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_en c:0030 p:---- s:0091 b:0091 l:000090 d:000090 FINISH c:0029 p:---- s:0089 b:0089 l:000088 d:000088 CFUNC :instance_eval c:0028 p:0038 s:0086 b:0086 l:000085 d:000085 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:36 c:0027 p:0018 s:0080 b:0080 l:000071 d:000079 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:26 c:0026 p:---- s:0077 b:0077 l:000076 d:000076 FINISH c:0025 p:---- s:0075 b:0075 l:000074 d:000074 CFUNC :each c:0024 p:0021 s:0072 b:0072 l:000071 d:000071 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:25 c:0023 p:0029 s:0066 b:0066 l:002518 d:002518 CLASS /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_en c:0022 p:0022 s:0064 b:0064 l:000063 d:000063 CLASS /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_en c:0021 p:0011 s:0062 b:0062 l:000061 d:000061 CLASS /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_en c:0020 p:0038 s:0060 b:0060 l:000059 d:000059 TOP /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_en c:0019 p:---- s:0058 b:0058 l:000057 d:000057 FINISH c:0018 p:---- s:0056 b:0056 l:000055 d:000055 CFUNC :require c:0017 p:0026 s:0052 b:0052 l:000031 d:000051 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:68 c:0016 p:---- s:0049 b:0049 l:000048 d:000048 FINISH c:0015 p:---- s:0047 b:0047 l:000046 d:000046 CFUNC :each c:0014 p:0091 s:0044 b:0044 l:000031 d:000043 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:66 c:0013 p:---- s:0037 b:0037 l:000036 d:000036 FINISH c:0012 p:---- s:0035 b:0035 l:000034 d:000034 CFUNC :each c:0011 p:0046 s:0032 b:0032 l:000031 d:000031 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:55 c:0010 p:0021 s:0028 b:0028 l:000027 d:000027 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler.rb:128 c:0009 p:0089 s:0024 b:0024 l:000023 d:000023 TOP /Users/eddiefisher/www/vhost/crmax/fermand/config/application.rb:7 c:0008 p:---- s:0022 b:0022 l:000021 d:000021 FINISH c:0007 p:---- s:0020 b:0020 l:000019 d:000019 CFUNC :require c:0006 p:0543 s:0016 b:0016 l:000015 d:000015 TOP /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/commands.rb:39 c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require c:0003 p:0061 s:0006 b:0006 l:000408 d:001cf8 EVAL script/rails:6 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:000408 d:000408 TOP

-- Ruby level backtrace information ---------------------------------------- script/rails:6:in <main>' script/rails:6:inrequire' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/commands.rb:39:in <top (required)>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/commands.rb:39:inrequire' /Users/eddiefisher/www/vhost/crmax/fermand/config/application.rb:7:in <top (required)>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler.rb:128:inrequire' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:55:in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:55:ineach' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:66:in block in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:66:ineach' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:68:in block (2 levels) in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:68:inrequire' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_enhanced-adapter.rb:4:in <top (required)>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_enhanced-adapter.rb:5:inmodule:ActiveRecord' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_enhanced-adapter.rb:6:in <module:ConnectionAdapters>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_enhanced-adapter.rb:11:inclass:OracleEnhancedRailtie' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:25:in on_load' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:25:ineach' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:26:in block in on_load' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:36:inexecute_hook' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:36:in instance_eval' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_enhanced-adapter.rb:12:inblock in class:OracleEnhancedRailtie' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:inload_dependency' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in block in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inrequire' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:36:in <top (required)>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inrequire' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in load_dependency' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inblock in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/active_record/connection_adapters/oracle_enhanced_connection.rb:112:in<top (required)>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:inload_dependency' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in block in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inrequire' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:4:in <top (required)>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inrequire' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in load_dependency' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inblock in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/bundler/gems/ruby-oci8-e9dfda6f7f2e/lib/oci8.rb:81:in<top (required)>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:inload_dependency' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in block in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inrequire'

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

See Crash Report log file under ~/Library/Logs/CrashReporter or /Library/Logs/CrashReporter, for the more detail of.

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

eddiefisher commented 11 years ago

osx 10.8.3 Client Shared Library 64-bit - 10.2.0.4.0 not work with ruby-2.0.0-p0 & ruby-1.9.3-p385 and rails 3.2.12 & rails 3.2.13

yahonda commented 11 years ago

FYI, Oracle releases Instant client 11.2.0.3 for MacOS X 10.7 and 10.8. 10.2 version is not supported with Mountain Lion.

http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html

eddiefisher commented 11 years ago

tnx