[MacRuby] #838: Assertion fails when use #hex on String converted into "utf-16le". (was: Assertion fails when use the String converted into "utf-16le".)
MacRuby
ruby-noreply at macosforge.org
Tue Aug 10 17:33:44 PDT 2010
#838: Assertion fails when use #hex on String converted into "utf-16le".
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Comment(by lsansonetti@…):
The assertion seems to happen inside #hex.
{{{
(gdb) bt
#0 0x00007fff9cbf1b76 in __pthread_kill ()
#1 0x00007fff9cbf14ff in pthread_kill ()
#2 0x00007fff9cc06341 in abort ()
#3 0x00007fff9cc06272 in __assert_rtn ()
#4 0x00000001000b0ca6 in rb_str_cstr (str=<value temporarily unavailable,
due to optimizations>) at string.c:720
#5 0x000000010000fbf9 in rb_str_to_inum (str=17184872512, base=16,
badcheck=0) at bignum.c:600
#6 0x000000010012d566 in rb_vm_dispatch (_vm=0x100b166c0,
cache=0x100fb2b40, top=17184163360, self=17184872512, klass=0x40030b1e0,
sel=0x100baed00, block=0x0, opt=0 '\0', argc=<value temporarily
unavailable, due to optimizations>, argv=0x0) at dispatcher.cpp:159
}}}
Renamed the ticket accordingly.
--
Ticket URL: <http://www.macruby.org/trac/ticket/838#comment:1>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list