[#83107] Alias Enumerable#include? to Enumerable#includes? — Alberto Almagro <albertoalmagro@...>

Hello,

9 messages 2017/10/04

[ruby-core:83308] [Ruby trunk Bug#14018] Sidekiq rejects output of Marshal.dump

From: emir@...
Date: 2017-10-16 06:13:10 UTC
List: ruby-core #83308
Issue #14018 has been reported by zheka (Eugene Mirkin).

----------------------------------------
Bug #14018: Sidekiq rejects output of Marshal.dump
https://bugs.ruby-lang.org/issues/14018

* Author: zheka (Eugene Mirkin)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin16]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I encountered this bug when using ActiveJob in Rails. Here is what happens...

`parcel = Marshal.dump(1508129809)`  # => "\x04\bl+\a\x11<\xE4Y"
`MyJob.perform_later(parcel)` # this is where the error happens (as the parcel is being prepared for the send-off)

When I use the built-in Rails 5 queue adapter, everything works fine. If, however, I switch to Sidekiq, I get this:
`   Encoding::UndefinedConversionError ("\xE4" from ASCII-8BIT to UTF-8)`





-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next