Project

General

Profile

Bug #15308

SegFault in GC under Ruby 2.5.3 on OS X

Added by aselder (Andrew Selder) 6 months ago. Updated 5 months ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18]
[ruby-core:89818]

Description

We recently upgraded our rails app from Ruby 2.4.5 to Ruby 2.5.3 and we started getting SegFaults in random places on our developer machines, all OS x. It doesn't appear to be affecting our production environment which is Linux based.

/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/mysql2-0.4.9/lib/mysql2/client.rb:120: [BUG] Segmentation fault at 0x000070000de064e0
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.
Don't forget to include the above Crash Report log file in bug reports.

-- Control frame information -----------------------------------------------
c:0074 p:---- s:0403 e:000402 CFUNC  :_query
c:0073 p:0015 s:0397 e:000396 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/mysql2-0.4.9/lib/mysql2/client.rb:120 [FINISH]
c:0072 p:---- s:0394 e:000393 CFUNC  :handle_interrupt
c:0071 p:0033 s:0389 e:000388 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/mysql2-0.4.9/lib/mysql2/client.rb:119
c:0070 p:0010 s:0383 e:000382 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_m
c:0069 p:0003 s:0380 e:000379 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activesupport-5.2.1/lib/active_support/dependencies/interlock.rb:48
c:0068 p:0023 s:0377 e:000376 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activesupport-5.2.1/lib/active_support/concurrency/share_lock.rb:18
c:0067 p:0009 s:0367 e:000366 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activesupport-5.2.1/lib/active_support/dependencies/interlock.rb:47
c:0066 p:0017 s:0363 e:000362 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_m
c:0065 p:0003 s:0360 e:000359 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_a
c:0064 p:0007 s:0357 e:000356 METHOD /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/monitor.rb:226
c:0063 p:0008 s:0353 e:000352 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_a
c:0062 p:0018 s:0349 e:000348 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.r
c:0061 p:0038 s:0341 e:000340 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_a
c:0060 p:0012 s:0332 e:000331 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_m
c:0059 p:0037 s:0326 e:000325 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/mysql/data
c:0058 p:0011 s:0320 e:000319 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_m
c:0057 p:0025 s:0314 e:000313 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/mysql/data
c:0056 p:0019 s:0305 e:000304 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/d
c:0055 p:0106 s:0298 e:000297 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/d
c:0054 p:0081 s:0288 e:000287 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/q
c:0053 p:0035 s:0278 e:000277 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/mysql/data
c:0052 p:0040 s:0272 e:000271 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/querying.rb:41
c:0051 p:0025 s:0259 e:000258 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/bullet-5.7.5/lib/bullet/active_record52.rb:25
c:0050 p:0040 s:0249 e:000248 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/statement_cache.rb:108
c:0049 p:0078 s:0240 e:000239 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/associations/singular_associat
c:0048 p:0021 s:0232 e:000231 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/associations/association.rb:15
c:0047 p:0014 s:0228 e:000227 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/associations/association.rb:46
c:0046 p:0019 s:0224 e:000223 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/associations/singular_associat
c:0045 p:0009 s:0220 e:000219 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/associations/builder/associati
c:0044 p:0039 s:0216 e:000208 METHOD /Users/aselder/Development/orders/db/seeds/factories/session_seed_factory.rb:101
c:0043 p:0004 s:0205 e:000204 METHOD /Users/aselder/Development/orders/db/seeds/factories/session_seed_factory.rb:195
c:0042 p:0051 s:0199 E:0019e8 BLOCK  /Users/aselder/Development/orders/db/seeds/factories/session_seed_factory.rb:63
c:0041 p:0003 s:0193 E:000250 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/d
c:0040 p:0011 s:0190 E:001b60 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/t
c:0039 p:0007 s:0185 E:0021e0 METHOD /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/monitor.rb:226
c:0038 p:0014 s:0181 E:001b28 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/t
c:0037 p:0052 s:0176 E:001a90 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/d
c:0036 p:0016 s:0168 E:000bf0 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/transactions.rb:212
c:0035 p:0011 s:0162 E:000b70 METHOD /Users/aselder/Development/orders/db/seeds/factories/session_seed_factory.rb:60
c:0034 p:0054 s:0158 E:0011c8 METHOD /Users/aselder/Development/orders/db/seeds/factories/base_seed_factory.rb:15
c:0033 p:0037 s:0151 E:000b08 METHOD /Users/aselder/Development/orders/db/seeds/convenience/convenience_sessions.rb:37
c:0032 p:0007 s:0146 E:000ae8 BLOCK  /Users/aselder/Development/orders/db/seeds/convenience/convenience_sessions.rb:10 [FINISH]
c:0031 p:---- s:0142 e:000141 CFUNC  :each
c:0030 p:0012 s:0138 E:000920 METHOD /Users/aselder/Development/orders/db/seeds/convenience/convenience_sessions.rb:9
c:0029 p:0020 s:0134 E:000c08 METHOD /Users/aselder/Development/orders/db/seeds/base.rb:8
c:0028 p:0017 s:0129 E:000cc8 BLOCK  /Users/aselder/Development/orders/db/seeder.rb:10 [FINISH]
c:0027 p:---- s:0125 e:000124 CFUNC  :each
c:0026 p:0036 s:0121 E:000040 METHOD /Users/aselder/Development/orders/db/seeder.rb:8
c:0025 p:0073 s:0117 E:002398 BLOCK  /Users/aselder/Development/orders/lib/tasks/db.rake:12 [FINISH]
c:0024 p:0025 s:0113 E:002428 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/task.rb:240 [FINISH]
c:0023 p:---- s:0109 e:000108 CFUNC  :each
c:0022 p:0123 s:0105 E:0023f8 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/task.rb:235
c:0021 p:0088 s:0100 E:001eb0 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/task.rb:179
c:0020 p:0007 s:0097 E:002550 METHOD /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/monitor.rb:226
c:0019 p:0022 s:0093 E:0024d0 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/task.rb:172
c:0018 p:0033 s:0085 E:0025f0 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/task.rb:165
c:0017 p:0030 s:0079 E:002660 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:150
c:0016 p:0007 s:0071 E:0026b8 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:106 [FINISH]
c:0015 p:---- s:0067 e:000066 CFUNC  :each
c:0014 p:0037 s:0063 E:000960 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:106
c:0013 p:0024 s:0060 E:0008a8 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:115
c:0012 p:0005 s:0055 E:0019c0 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:100
c:0011 p:0015 s:0051 E:000780 BLOCK  /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:78
c:0010 p:0002 s:0048 E:000808 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:176
c:0009 p:0005 s:0043 E:000760 METHOD /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:75
c:0008 p:0035 s:0039 E:000890 TOP    /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/bin/rake:33 [FINISH]
c:0007 p:---- s:0036 e:000035 CFUNC  :load
c:0006 p:0092 s:0031 E:0008e0 TOP    /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/redis-rack-2.0.3/bin/rake:17 [FINISH]
c:0005 p:---- s:0028 e:000027 CFUNC  :load
c:0004 p:0132 s:0023 E:0017f0 EVAL   /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/bin/rake:23 [FINISH]
c:0003 p:---- s:0018 e:000017 CFUNC  :eval
c:0002 p:0194 s:0011 E:000fd8 EVAL   /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/bin/ruby_executable_hooks:24 [FINISH]
c:0001 p:0000 s:0003 E:002350 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/bin/ruby_executable_hooks:24:in `<main>'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/bin/ruby_executable_hooks:24:in `eval'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/bin/rake:23:in `<main>'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/bin/rake:23:in `load'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/redis-rack-2.0.3/bin/rake:17:in `<top (required)>'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/redis-rack-2.0.3/bin/rake:17:in `load'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/bin/rake:33:in `<top (required)>'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:75:in `run'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:176:in `standard_exception_handling'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:78:in `block in run'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:100:in `top_level'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:106:in `block in top_level'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:106:in `each'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/application.rb:150:in `invoke_task'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/task.rb:165:in `invoke'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
/Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/task.rb:235:in `execute'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/task.rb:235:in `each'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/rake-10.5.0/lib/rake/task.rb:240:in `block in execute'
/Users/aselder/Development/orders/lib/tasks/db.rake:12:in `block (2 levels) in <top (required)>'
/Users/aselder/Development/orders/db/seeder.rb:8:in `run!'
/Users/aselder/Development/orders/db/seeder.rb:8:in `each'
/Users/aselder/Development/orders/db/seeder.rb:10:in `block in run!'
/Users/aselder/Development/orders/db/seeds/base.rb:8:in `run!'
/Users/aselder/Development/orders/db/seeds/convenience/convenience_sessions.rb:9:in `run!'
/Users/aselder/Development/orders/db/seeds/convenience/convenience_sessions.rb:9:in `each'
/Users/aselder/Development/orders/db/seeds/convenience/convenience_sessions.rb:10:in `block in run!'
/Users/aselder/Development/orders/db/seeds/convenience/convenience_sessions.rb:37:in `create_standard_seeded_sessions!'
/Users/aselder/Development/orders/db/seeds/factories/base_seed_factory.rb:15:in `ensure!'
/Users/aselder/Development/orders/db/seeds/factories/session_seed_factory.rb:60:in `ensure_seed_exists!'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/transactions.rb:212:in `transaction'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in `transaction'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
/Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in `block in transaction'
/Users/aselder/Development/orders/db/seeds/factories/session_seed_factory.rb:63:in `block in ensure_seed_exists!'
/Users/aselder/Development/orders/db/seeds/factories/session_seed_factory.rb:195:in `session_attributes'
/Users/aselder/Development/orders/db/seeds/factories/session_seed_factory.rb:101:in `default_attributes'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/associations/builder/association.rb:108:in `demographic_group'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/associations/singular_association.rb:9:in `reader'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/associations/association.rb:46:in `reload'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/associations/association.rb:151:in `load_target'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/associations/singular_association.rb:49:in `find_target'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/statement_cache.rb:108:in `execute'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/bullet-5.7.5/lib/bullet/active_record52.rb:25:in `find_by_sql'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/querying.rb:41:in `find_by_sql'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/mysql/database_statements.rb:12:in `select_all'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:101:in `select_all'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:57:in `select_all'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:465:in `select'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/mysql/database_statements.rb:33:in `exec_query'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:196:in `execute_and_free'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/mysql/database_statements.rb:28:in `execute'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:185:in `execute'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:569:in `log'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:578:in `block in log'
/Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:579:in `block (2 levels) in log'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:186:in `block in execute'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activesupport-5.2.1/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activesupport-5.2.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activesupport-5.2.1/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:187:in `block (2 levels) in execute'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/mysql2-0.4.9/lib/mysql2/client.rb:119:in `query'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/mysql2-0.4.9/lib/mysql2/client.rb:119:in `handle_interrupt'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/mysql2-0.4.9/lib/mysql2/client.rb:120:in `block in query'
/Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/gems/mysql2-0.4.9/lib/mysql2/client.rb:120:in `_query'

-- Machine register context ------------------------------------------------
 rax: 0x00007ff22dd0b310 rbx: 0x0000000109700000 rcx: 0x00000000000000ae
 rdx: 0x0000000000000002 rdi: 0x00007ff221e93dd8 rsi: 0x00007ff237be68b0
 rbp: 0x00007ffeea8bd620 rsp: 0x00007ffeea8bd5f0  r8: 0x0000000000002001
  r9: 0xcccccccccccccccd r10: 0x00007ff221bed4b0 r11: 0x3ffffffffffffff8
 r12: 0x000070000de064e0 r13: 0x3ffffffffffffff8 r14: 0x00007ff22dd0b910
 r15: 0x0000000000000141 rip: 0x00000001053d2f63 rfl: 0x0000000000010206

-- C level backtrace information -------------------------------------------
0   libruby.2.5.dylib                   0x0000000105542f37 rb_vm_bugreport + 135
1   libruby.2.5.dylib                   0x00000001053b8bd3 rb_bug_context + 467
2   libruby.2.5.dylib                   0x00000001054b0ee1 sigsegv + 81
3   libsystem_platform.dylib            0x00007fff62dbab3d _sigtramp + 29
4   libruby.2.5.dylib                   0x00000001053d2f63 rb_gc_mark_machine_stack + 99
5   libruby.2.5.dylib                   0x0000000105531449 rb_execution_context_mark + 137
6   libruby.2.5.dylib                   0x000000010539f50b cont_mark + 27
7   libruby.2.5.dylib                   0x00000001053de49e gc_marks_rest + 94
8   libruby.2.5.dylib                   0x00000001053dcb60 gc_start + 2880
9   libruby.2.5.dylib                   0x00000001053dbde7 newobj_slowpath + 1127
10  libruby.2.5.dylib                   0x00000001053db974 newobj_slowpath_wb_unprotected + 20
11  libruby.2.5.dylib                   0x00000001053d0dd1 rb_data_object_zalloc + 17
12  mysql2.bundle                       0x00000001073d1561 rb_mysql_result_to_obj + 65
13  mysql2.bundle                       0x00000001073cfab8 rb_mysql_client_async_result + 264
14  libruby.2.5.dylib                   0x00000001053c37c5 rb_ensure + 197
15  mysql2.bundle                       0x00000001073d0ae1 rb_query + 401
16  libruby.2.5.dylib                   0x0000000105535a24 vm_call_cfunc + 292
17  libruby.2.5.dylib                   0x000000010551db73 vm_exec_core + 12403
18  libruby.2.5.dylib                   0x00000001055300c0 vm_exec + 144
19  libruby.2.5.dylib                   0x000000010553e16a invoke_block_from_c_bh + 378
20  libruby.2.5.dylib                   0x000000010552b23e rb_yield + 158
21  libruby.2.5.dylib                   0x00000001054f1148 rb_thread_s_handle_interrupt + 328
22  libruby.2.5.dylib                   0x0000000105535a24 vm_call_cfunc + 292
23  libruby.2.5.dylib                   0x000000010551d132 vm_exec_core + 9778
24  libruby.2.5.dylib                   0x00000001055300c0 vm_exec + 144
25  libruby.2.5.dylib                   0x000000010553e16a invoke_block_from_c_bh + 378
26  libruby.2.5.dylib                   0x000000010552b23e rb_yield + 158
27  libruby.2.5.dylib                   0x0000000105345859 rb_ary_each + 57
28  libruby.2.5.dylib                   0x0000000105535a24 vm_call_cfunc + 292
29  libruby.2.5.dylib                   0x000000010551d132 vm_exec_core + 9778
30  libruby.2.5.dylib                   0x00000001055300c0 vm_exec + 144
31  libruby.2.5.dylib                   0x000000010553e16a invoke_block_from_c_bh + 378
32  libruby.2.5.dylib                   0x000000010552b23e rb_yield + 158
33  libruby.2.5.dylib                   0x0000000105345859 rb_ary_each + 57
34  libruby.2.5.dylib                   0x0000000105535a24 vm_call_cfunc + 292
35  libruby.2.5.dylib                   0x000000010551d132 vm_exec_core + 9778
36  libruby.2.5.dylib                   0x00000001055300c0 vm_exec + 144
37  libruby.2.5.dylib                   0x000000010552eb5a vm_invoke_proc + 362
38  libruby.2.5.dylib                   0x0000000105536f4f vm_call_opt_call + 159
39  libruby.2.5.dylib                   0x000000010551db73 vm_exec_core + 12403
40  libruby.2.5.dylib                   0x00000001055300c0 vm_exec + 144
41  libruby.2.5.dylib                   0x000000010553e16a invoke_block_from_c_bh + 378
42  libruby.2.5.dylib                   0x000000010552b23e rb_yield + 158
43  libruby.2.5.dylib                   0x0000000105345859 rb_ary_each + 57
44  libruby.2.5.dylib                   0x0000000105535a24 vm_call_cfunc + 292
45  libruby.2.5.dylib                   0x000000010551d132 vm_exec_core + 9778
46  libruby.2.5.dylib                   0x00000001055300c0 vm_exec + 144
47  libruby.2.5.dylib                   0x000000010553e16a invoke_block_from_c_bh + 378
48  libruby.2.5.dylib                   0x000000010552b23e rb_yield + 158
49  libruby.2.5.dylib                   0x0000000105345859 rb_ary_each + 57
50  libruby.2.5.dylib                   0x0000000105535a24 vm_call_cfunc + 292
51  libruby.2.5.dylib                   0x000000010551d132 vm_exec_core + 9778
52  libruby.2.5.dylib                   0x00000001055300c0 vm_exec + 144
53  libruby.2.5.dylib                   0x000000010540a515 rb_load_internal0 + 341
54  libruby.2.5.dylib                   0x000000010540b3f1 rb_f_load + 161
55  libruby.2.5.dylib                   0x0000000105535a24 vm_call_cfunc + 292
56  libruby.2.5.dylib                   0x000000010551db73 vm_exec_core + 12403
57  libruby.2.5.dylib                   0x00000001055300c0 vm_exec + 144
58  libruby.2.5.dylib                   0x000000010540a515 rb_load_internal0 + 341
59  libruby.2.5.dylib                   0x000000010540b3f1 rb_f_load + 161
60  libruby.2.5.dylib                   0x0000000105535a24 vm_call_cfunc + 292
61  libruby.2.5.dylib                   0x000000010551db73 vm_exec_core + 12403
62  libruby.2.5.dylib                   0x00000001055300c0 vm_exec + 144
63  libruby.2.5.dylib                   0x000000010553ef6d eval_string_with_cref + 1437
64  libruby.2.5.dylib                   0x000000010552bada rb_f_eval + 234
65  libruby.2.5.dylib                   0x0000000105535a24 vm_call_cfunc + 292
66  libruby.2.5.dylib                   0x000000010551db73 vm_exec_core + 12403
67  libruby.2.5.dylib                   0x00000001055300c0 vm_exec + 144
68  libruby.2.5.dylib                   0x00000001053c2d01 ruby_exec_internal + 177
69  libruby.2.5.dylib                   0x00000001053c2bf8 ruby_run_node + 56
70  ruby                                0x000000010533df2f main + 79

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

* Loaded script: /Users/aselder/.rvm/gems/ruby-2.5.3@usertesting-orders/bin/rake

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/x86_64-darwin18/enc/encdb.bundle
    5 /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/x86_64-darwin18/enc/trans/transdb.bundle
    6 /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/x86_64-darwin18/rbconfig.rb
    7 /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/rubygems/compatibility.rb
    8 /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/rubygems/defaults.rb
    9 /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/rubygems/deprecate.rb
   10 /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/rubygems/errors.rb
   11 /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/rubygems/version.rb
   12 /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/rubygems/requirement.rb
   13 /Users/aselder/.rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/rubygems/platform.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

Files

ruby_2018-11-15-084756_aselder-mbp.crash (132 KB) ruby_2018-11-15-084756_aselder-mbp.crash aselder (Andrew Selder), 11/15/2018 04:56 PM

History

#1

Updated by aselder (Andrew Selder) 6 months ago

  • Description updated (diff)

Updated by aselder (Andrew Selder) 5 months ago

This can probably be closed as a dup of https://bugs.ruby-lang.org/issues/14561

Also available in: Atom PDF