Issue #12049 has been updated by Sylvestre Antoine.

ruby -v set to 2.2.4

----------------------------------------
Bug #12049: rb_gc_mark(): unknown data type
https://bugs.ruby-lang.org/issues/12049#change-56892

* Author: Sylvestre Antoine
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 2.2.4
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
I get the following error when I use rexml (in fact it's a rails call) with sidekiq.

I suspect that some of the value's that the parser is using are getting moved by the gc witch is call after each sidekiq process

/h/u/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rexml/parsers/baseparser.rb:411: [BUG] rb_gc_mark(): unknown data type 0x10(0x007f547c000078) non object
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0121 p:2179 s:0554 e:000551 METHOD /h/u/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rexml/parsers/baseparser.rb:411
c:0120 p:0007 s:0521 e:000520 METHOD /h/u/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rexml/parsers/baseparser.rb:184
c:0119 p:0034 s:0518 e:000517 METHOD /h/u/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rexml/parsers/treeparser.rb:22
c:0118 p:0020 s:0506 e:000505 METHOD /h/u/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rexml/document.rb:287
c:0117 p:0084 s:0502 e:000501 METHOD /h/u/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rexml/document.rb:44 [FINISH]
...

[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--------------------------------
rb_gc_mark_error.log (585 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>