[MacRuby] #1251: MsgPack's unpack fails on MacRuby 0.11 nightly
MacRuby
ruby-noreply at macosforge.org
Sun May 1 00:59:46 PDT 2011
#1251: MsgPack's unpack fails on MacRuby 0.11 nightly
-------------------------------------+--------------------------------------
Reporter: umairsiddique@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.11
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
MessagePack.pack works on MacRuby 0.11 nightly, but fails on MacRuby 0.10.
It seems that ENCODING_GET was fixed in MacRuby 0.11 nightly.
{{{
irb(main):003:0> MessagePack.pack([1, "a"])
=> "\x92\x01\xA1a"
}}}
However, MessagePack.unpack fails on MacRuby 0.10 and MacRuby 0.11 nightly
both and crashes the interpreter.
{{{
irb(main):004:0> MessagePack.unpack("\x92\x01\xA1a")
dyld: lazy symbol binding failed: Symbol not found: _ENCODING_SET
Referenced from: /Users/.../.rvm/gems/macruby-
nightly/gems/msgpack-0.4.4/lib/msgpack.bundle
Expected in: flat namespace
dyld: Symbol not found: _ENCODING_SET
Referenced from: /Users/.../.rvm/gems/macruby-
nightly/gems/msgpack-0.4.4/lib/msgpack.bundle
Expected in: flat namespace
Trace/BPT trap
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1251>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list