kubo / ruby-oci8

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

Segmentation fault #138

Closed Koltsov closed 3 years ago

Koltsov commented 8 years ago

My project started to crash with the error described below. It happens only on 1 pc. It used to work fine. I've tried to reinstall ruby, change ruby version (from 2.1.5 to 2.2.4, 2.3.1), update ruby-oci8 gem from 2.2.1 to 2.2.2, reboot db server, reboot my developer machine. Nothing helps. From another pc however same code works fine.

Database version is Oracle 12.1.0.1. Database located on Windows 2008 r2 server. Both test PCs are running on MacOs 10.11.

The weird thing is that error occures only when running server. From rails console everytihng works fine.

`/Users/artemkoltsov/.rvm/rubies/ruby-2.2.4/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/artemkoltsov/skud/src/LSSB_ACS_Analyzer/script/rails server -b 0.0.0.0 -p 3000 -e development => Booting Thin => Rails 3.2.22.5 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server /Users/artemkoltsov/skud/src/LSSB_ACS_Analyzer/config/initializers/report_structs.rb:4: warning: redefining constant Struct::Group [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. Thin web server (v1.7.0 codename Dunder Mifflin) Maximum connections set to 1024 Listening on 0.0.0.0:3000, CTRL+C to stop

Started GET "/admin" for 127.0.0.1 at 2016-09-15 15:36:15 +0000

Started GET "/admin" for 127.0.0.1 at 2016-09-15 15:36:15 +0000 Errors in file : OCI-21500: internal error code, arguments: [17112], [0x7FA230CE21C8], [], [], [], [], [], [] �S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m�S���m��/Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:131: [BUG] Segmentation fault at 0x00000000000000 ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-darwin14]

-- 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 for more details.

-- Control frame information ----------------------------------------------- c:0097 p:---- s:0490 e:000489 CFUNC :initialize c:0096 p:---- s:0488 e:000487 CFUNC :new c:0095 p:0210 s:0483 e:000482 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/ c:0094 p:0075 s:0473 e:000472 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/ [FINISH] c:0093 p:---- s:0467 e:000466 IFUNC c:0092 p:---- s:0465 e:000464 CFUNC :each c:0091 p:---- s:0463 e:000462 CFUNC :each_with_index c:0090 p:0060 s:0460 e:000459 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/ c:0089 p:0006 s:0453 e:000452 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract_adapter.rb:2 c:0088 p:0027 s:0451 e:000450 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb:20 c:0087 p:0028 s:0444 e:000443 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract_adapter.rb:2 c:0086 p:0023 s:0435 e:000434 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/ c:0085 p:0013 s:0429 e:000428 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/ c:0084 p:0056 s:0423 e:000422 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_sta c:0083 p:0021 s:0412 e:000411 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/query_cache. c:0082 p:0205 s:0408 e:000407 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/relation.rb:66 c:0081 p:0027 s:0399 e:000398 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/persistence.rb:367 c:0080 p:0030 s:0394 e:000393 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/timestamp.rb:58 c:0079 p:0008 s:0390 e:000389 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:268 c:0078 p:0028 s:0388 e:000387 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:403 c:0077 p:0090 s:0383 e:000382 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405 c:0076 p:0019 s:0374 e:000373 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385 c:0075 p:0022 s:0369 e:000368 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81 c:0074 p:0009 s:0363 E:000370 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:268 c:0073 p:0030 s:0360 e:000359 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/persistence.rb:348 c:0072 p:0008 s:0356 e:000355 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:264 c:0071 p:0112 s:0354 e:000353 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:425 c:0070 p:0090 s:0348 e:000347 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405 c:0069 p:0019 s:0339 e:000338 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385 c:0068 p:0022 s:0334 e:000333 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81 c:0067 p:0009 s:0328 E:000f50 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:264 c:0066 p:0009 s:0325 e:000324 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/persistence.rb:84 c:0065 p:0021 s:0321 e:000320 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/validations.rb:50 c:0064 p:0010 s:0317 e:000316 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/attribute_methods/dirty.rb:22 c:0063 p:0011 s:0312 e:000311 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:259 c:0062 p:0012 s:0310 e:000309 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:313 c:0061 p:0191 s:0308 e:000307 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_sta c:0060 p:0017 s:0299 e:000298 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208 c:0059 p:0014 s:0294 E:002148 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:311 c:0058 p:0007 s:0290 E:001e70 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:259 c:0057 p:0012 s:0288 e:000287 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:270 c:0056 p:0007 s:0285 E:0020a8 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:258 c:0055 p:0028 s:0281 e:000280 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/session_store.rb:323 c:0054 p:0046 s:0278 e:000277 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/benchmarkable.rb:50 c:0053 p:0013 s:0274 e:000273 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/session_store.rb:320 c:0052 p:0173 s:0267 e:000266 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:327 c:0051 p:0045 s:0255 E:000bc8 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:211 c:0050 p:0009 s:0247 E:000df8 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:205 c:0049 p:0016 s:0243 E:000888 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/cookies.rb:341 c:0048 p:0044 s:0235 E:001cd0 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/query_cache.rb:64 c:0047 p:0021 s:0226 E:002258 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_p c:0046 p:0011 s:0218 E:001790 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:28 c:0045 p:0035 s:0216 E:001590 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405 c:0044 p:0090 s:0209 E:000490 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405 c:0043 p:0019 s:0200 E:0019a0 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385 c:0042 p:0022 s:0195 E:0010f8 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81 c:0041 p:0009 s:0189 E:000238 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:27 c:0040 p:0027 s:0185 E:001bd0 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/reloader.rb:65 c:0039 p:0032 s:0180 E:001388 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/remote_ip.rb:31 c:0038 p:0013 s:0176 E:002340 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/debug_exceptions.rb:16 c:0037 p:0013 s:0169 E:000e08 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/show_exceptions.rb:56 c:0036 p:0077 s:0163 E:001db0 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:32 c:0035 p:0011 s:0158 E:001da0 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:16 c:0034 p:0018 s:0156 E:000f90 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/tagged_logging.rb:22 c:0033 p:0054 s:0151 E:001be0 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:16 c:0032 p:0078 s:0146 E:001288 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/quiet_assets-1.1.0/lib/quiet_assets.rb:27 c:0031 p:0023 s:0142 E:001fb8 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/request_store-1.3.1/lib/request_store/middleware.rb:9 c:0030 p:0032 s:0138 E:000f60 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/request_id.rb:22 c:0029 p:0075 s:0131 E:001160 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/methodoverride.rb:21 c:0028 p:0024 s:0126 E:001ff0 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/runtime.rb:17 c:0027 p:0037 s:0117 E:000a28 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/cache/strategy/local_cache.rb:72 c:0026 p:0056 s:0113 E:000120 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/lock.rb:15 c:0025 p:0094 s:0106 E:002648 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/static.rb:83 c:0024 p:0016 s:0100 E:001ce8 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/engine.rb:484 c:0023 p:0023 s:0096 E:001308 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/application.rb:231 c:0022 p:0011 s:0092 E:000380 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/content_length.rb:14 c:0021 p:0011 s:0083 E:000a90 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/rack/log_tailer.rb:17 c:0020 p:0014 s:0078 E:002490 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/connection.rb:86 [FINISH] c:0019 p:---- s:0076 e:000075 CFUNC :catch c:0018 p:0091 s:0072 E:0012b8 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/connection.rb:84 c:0017 p:0048 s:0066 E:000f70 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/connection.rb:53 c:0016 p:0031 s:0062 E:0010a0 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/connection.rb:39 [FINISH] c:0015 p:---- s:0057 e:000056 CFUNC :run_machine c:0014 p:0307 s:0054 E:0000a0 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:194 c:0013 p:0057 s:0047 E:0019f8 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/backends/base.rb:73 c:0012 p:0111 s:0043 E:0019a0 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/server.rb:162 c:0011 p:0068 s:0040 E:000108 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/handler/thin.rb:13 c:0010 p:0196 s:0034 E:002008 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/server.rb:268 c:0009 p:0171 s:0028 E:0023e8 METHOD /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/commands/server.rb:70 c:0008 p:0044 s:0024 E:0003c8 BLOCK /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/commands.rb:55 [FINISH] c:0007 p:---- s:0021 e:000020 CFUNC :tap c:0006 p:0504 s:0018 E:000170 TOP /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/commands.rb:50 [FINISH] c:0005 p:---- s:0014 e:000013 CFUNC :require c:0004 p:0045 s:0010 E:000420 TOP /Users/artemkoltsov/skud/src/LSSB_ACS_Analyzer/script/rails:6 [FINISH] c:0003 p:---- s:0008 e:000007 CFUNC :load c:0002 p:0031 s:0004 E:000620 EVAL -e:1 [FINISH] c:0001 p:0000 s:0002 E:000490 TOP [FINISH]

-- Ruby level backtrace information ---------------------------------------- -e:1:in <main>' -e:1:inload' /Users/artemkoltsov/skud/src/LSSB_ACS_Analyzer/script/rails:6:in <top (required)>' /Users/artemkoltsov/skud/src/LSSB_ACS_Analyzer/script/rails:6:inrequire' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/commands.rb:50:in <top (required)>' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/commands.rb:50:intap' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/commands.rb:55:in block in <top (required)>' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/commands/server.rb:70:instart' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/server.rb:268:in start' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/handler/thin.rb:13:inrun' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/server.rb:162:in start' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/backends/base.rb:73:instart' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:194:in run' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:194:inrun_machine' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/connection.rb:39:in receive_data' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/connection.rb:53:inprocess' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/connection.rb:84:in pre_process' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/connection.rb:84:incatch' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/thin-1.7.0/lib/thin/connection.rb:86:in block in pre_process' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/rack/log_tailer.rb:17:incall' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/content_length.rb:14:in call' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/application.rb:231:incall' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/engine.rb:484:in call' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/static.rb:83:incall' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/lock.rb:15:in call' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/cache/strategy/local_cache.rb:72:incall' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/runtime.rb:17:in call' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/methodoverride.rb:21:incall' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/request_id.rb:22:in call' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/request_store-1.3.1/lib/request_store/middleware.rb:9:incall' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/quiet_assets-1.1.0/lib/quiet_assets.rb:27:in call_with_quiet_assets' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:16:incall' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/tagged_logging.rb:22:in tagged' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:16:inblock in call' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:32:in call_app' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/show_exceptions.rb:56:incall' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/remote_ip.rb:31:incall' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/reloader.rb:65:in call' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:27:incall' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in run_callbacks' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in_run_call_callbacks' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in __run_callback' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in_run1327118273355408619call242212067199122981callbacks' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:28:in block in call' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:incall' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/query_cache.rb:64:in call' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/cookies.rb:341:incall' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:205:in call' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:211:incontext' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:327:in commit_session' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/session_store.rb:320:inset_session' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/benchmarkable.rb:50:in silence' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/session_store.rb:323:inblock in set_session' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:258:in save' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:270:inrollback_active_record_state!' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:259:in block in save' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:311:inwith_transaction_returning_status' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in transaction' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_statements.rb:192:intransaction' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:313:in block in with_transaction_returning_status' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:259:inblock (2 levels) in save' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/attribute_methods/dirty.rb:22:in save' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/validations.rb:50:insave' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/persistence.rb:84:in save' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:264:increate_or_update' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in run_callbacks' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in_run_save_callbacks' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in __run_callback' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:425:in_run428475406815434529save242212067199122981callbacks' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:264:in block in create_or_update' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/persistence.rb:348:increate_or_update' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:268:in create' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:inrun_callbacks' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in _run_create_callbacks' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in__run_callback' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:403:in _run__428475406815434529__create__242212067199122981__callbacks' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:268:inblock in create' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/timestamp.rb:58:in create' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/persistence.rb:367:increate' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/relation.rb:66:in insert' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/query_cache.rb:14:ininsert' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in insert' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:703:inexec_insert' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:1324:in log' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract_adapter.rb:275:inlog' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb:20:in instrument' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract_adapter.rb:280:inblock in log' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:711:in block in exec_insert' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:711:ineach_with_index' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:711:in each' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:718:inblock (2 levels) in exec_insert' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:131:in bind_param' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:131:innew' /Users/artemkoltsov/.rvm/gems/ruby-2.2.4/gems/activerecord-oracle_enhanced-adapter-1.4.3/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:131:in `initialize'

-- Machine register context ------------------------------------------------ rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0006cc0000000000 rdx: 0x00007fa22cd30dc0 rdi: 0x00007fa22cd30da0 rsi: 0x0006cc000006cc00 rbp: 0x00007fff57742e00 rsp: 0x00007fff57742b70 r8: 0x00000000fffffffc r9: 0x00007fa22cd30db8 r10: 0x00000000ffffffff r11: 0x00007fff83c64368 r12: 0x00007fff5774ac00 r13: 0x00007fff5774ac70 r14: 0x00007fa2319c25b8 r15: 0x00007fa2319c25b8 rip: 0x0000000109be12a3 rfl: 0x0000000000010246

-- C level backtrace information ------------------------------------------- 0 ruby 0x0000000108767015 rb_vm_bugreport + 149 1 ruby 0x000000010860b6a9 rb_bug_context + 473 2 ruby 0x00000001086e1a33 sigsegv + 83 3 libsystem_platform.dylib 0x00007fff83c6452a _sigtramp + 26 4 libclntsh.dylib.11.1 0x0000000109be12a3 kpuhhfre + 3459 5 ??? 0x0000000000000000 0x0 + 0

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

[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

Process finished with exit code 134 (interrupted by signal 6: SIGABRT) `

kubo commented 8 years ago

Could you run your app under valgrind.

1. Install valgrind

If you uses homebrew, install it by brew install valgrind.

$ brew install valgrind

Otherwise install it from source.

2. Find the real location of ruby executable.

$ find ~/.rvm -name ruby -type f | xargs file

3. run the real ruby executable under valgrind

$ valgrind /Users/artemkoltsov/.rvm/..../bin/ruby your_app.rb
Gaurav2728 commented 8 years ago

@kubo valgrind is awesome tool, @Koltsov yes, you can merely resolve the issue using valgrind

kubo commented 8 years ago

Well, valgrind doesn't work with ruby on OS X. I tried to run valgrind ..../bin/ruby -e "puts 'Hello World!'" with ruby 2.1.5, 2.2.1 and 2.3.0. It failed with all ruby versions.

kubo commented 3 years ago

Closed due to inactivity, feel free to open another ticket if the problem persists.