From: john@... Date: 2017-08-01T07:15:06+00:00 Subject: [ruby-core:82222] [Ruby trunk Bug#13537] ruby crash in rb_gc_mark Issue #13537 has been updated by djellemah (John Anderson). I get the same error running the Pry rspec suite. ~~~ [BUG] rb_gc_mark(): 0x000000036d2bc8 is T_NONE ~~~ The value 0x000000036d2bc8 varies. Using ruby 2.4.2p161 (2017-07-23 revision 59409) [x86_64-linux] When I change RGENGC_CHECK_MODE in gc.c to 2, it fails every time and I get this output ~~~ verify_internal_consistency_reachable_i: WB miss (O->Y) 0x0000000003db1110 [3LM ] T_IMEMO env -> 0x00000000036fb8e8 [0 ] T_OBJECT (Pry) verify_internal_consistency_reachable_i: WB miss (O->Y) 0x0000000003db1200 [3LM ] T_IMEMO env -> 0x00000000036f8170 [0 ] T_OBJECT (Pry::HistoryArray) verify_internal_consistency_reachable_i: WB miss (O->Y) 0x0000000003db12f0 [3LM ] T_IMEMO env -> 0x00000000036f8288 [0 ] T_OBJECT (Pry::HistoryArray) /home/panic/src/pry/lib/pry/core_extensions.rb:87: [BUG] gc_verify_internal_consistency: found internal inconsistency. ruby 2.4.2p161 (2017-07-23 revision 59409) [x86_64-linux] ~~~ ---------------------------------------- Bug #13537: ruby crash in rb_gc_mark https://bugs.ruby-lang.org/issues/13537#change-65996 * Author: viamin (Bart Agapinan) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.4.1p111 * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- ruby crashes on me fairly regularly while working on a rails app. It happens after a file has changed and the guard gem fires up some tests. It appears to be happening when running rubycritic via guard: ``` running flay smells running flog smells .. running reek smells .. running complexity .. running attributes .. running churn . /usr/local/var/rbenv/versions/2.4.1/lib/ruby/2.4.0/pathname.rb:41: [BUG] rb_gc_mark(): 0x007fd0efd68a68 is T_NONE ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16] ``` ---Files-------------------------------- ruby_2017-05-02-065959_Barts-iMac.crash (27.2 KB) bug-13537.log (159 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: