#1383: Need to implement ENCODING_GET_INLINED ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by watson1978@…): I tried with https://github.com/MacRuby/MacRuby/commit/a09abe4201a0a5b7874a6a151d1d409b88... [[BR]] But, abort occurs. {{{ $ macruby test_pg.rb Assertion failed: (idx >= 0 && idx < ENCODINGS_COUNT), function rb_enc_associate_index, file encoding.c, line 590. LOG: unexpected EOF on client connection zsh: abort macruby test_pg.rb }}} {{{ rogram received signal SIGABRT, Aborted. 0x00007fff8a167ce2 in __pthread_kill () (gdb) bt #0 0x00007fff8a167ce2 in __pthread_kill () #1 0x00007fff898377d2 in pthread_kill () #2 0x00000001008153e6 in abort () #3 0x0000000100815438 in __assert_rtn () #4 0x00000001000d15dd in rb_enc_associate_index (obj=17184852000, idx=-1) at encoding.c:590 #5 0x0000000104f9f6f8 in pgresult_res_status (self=17184852064, status=<value temporarily unavailable, due to optimizations>) at pg.c:3030 #6 0x000000010136a1fe in ?? () #7 0x000000010012ebc2 in __rb_vm_rcall [inlined] () at /Users/watson/src /macruby-master/dispatcher.cpp:161 #8 0x000000010012ebc2 in ruby_dispatch [inlined] () at /Users/watson/src /macruby-master/dispatcher.cpp:466 #9 0x000000010012ebc2 in rb_vm_dispatch () at dispatcher.cpp:872 #10 0x000000010135e994 in ?? () #11 0x000000010135e228 in ?? () #12 0x000000010014a3b2 in rb_vm_run (fname=0x400496620 "/Users/watson/tmp/test_pg.rb", node=0x4004996e0, binding=0x0, inside_eval=false) at vm.cpp:4125 #13 0x0000000100028098 in ruby_run_node (n=0x4004996e0) at eval.c:211 #14 0x0000000100000be3 in main (argc=2, argv=0x100e167d0, envp=0x7fff5fbfec90) at main.cpp:40 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1383#comment:2> MacRuby <http://macruby.org/>