Project

General

Profile

Actions

Bug #2965

closed

method `===' called on hidden T_STRING object (NotImplementedError)

Added by mrkn (Kenta Murata) almost 15 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2010-03-15 trunk 26937) [x86_64-darwin10.2.0]
Backport:
[ruby-dev:40641]

Description

=begin
termtter の 464948b77fb335140bcd6e2a76dddc8cac7620a9 版を
ruby 1.9.2dev r26937 で実行すると以下のような例外が出て止まります。

/Users/muraken/src/termtter.git/lib/termtter/client.rb:225:in legacy_config_support': method ===' called on hidden T_STRING object (0x00000100b0c6f0 flags=0x524805 klass=0x0) (NotImplementedError)
from /Users/muraken/src/termtter.git/lib/termtter/client.rb:216:in load_config' from /Users/muraken/src/termtter.git/lib/termtter/client.rb:306:in run'
from bin/termtter:14:in `'

これは termtter のバグでしょうか?
それとも ruby のバグでしょうか?

以下は、この例外が出た場所でスタックトレースを出してみた結果です。
Breakpoint 1, rb_exc_raise (mesg=4312823520) at ../../src/ruby.git/eval.c:450
450 if (!NIL_P(mesg)) {
1: rb_p (mesg) = #<NotImplementedError: method `===' called on hidden T_STRING object (0x00000100acdab8 flags=0x524805 klass=0x0)>
void
(gdb) where
#0 rb_exc_raise (mesg=4312823520) at ../../src/ruby.git/eval.c:450
#1 0x000000010003e87c in rb_raise (exc=4303971640, fmt=<value temporarily unavailable, due to optimizations>) at ../../src/ruby.git/error.c:1172
#2 0x0000000100191569 in rb_funcall (recv=4306295480, mid=<value temporarily unavailable, due to optimizations>, n=1) at vm_eval.c:357
#3 0x0000000100191efd in opt_case_dispatch_i (key=<value temporarily unavailable, due to optimizations>, data=57, p=140734799800224) at vm_insnhelper.c:1664
#4 0x0000000100119750 in st_foreach (table=0x101e8da40, func=0x100191ec0 <opt_case_dispatch_i>, arg=140734799800224) at ../../src/ruby.git/st.c:778
#5 0x0000000100189001 in vm_exec_core (th=0x1003016b0, initial=<value temporarily unavailable, due to optimizations>) at insns.def:1257
#6 0x0000000100189f13 in vm_exec (th=0x1003016b0) at ../../src/ruby.git/vm.c:1132
#7 0x000000010018a220 in rb_iseq_eval_main (iseqval=4303729800) at ../../src/ruby.git/vm.c:1373
#8 0x0000000100042b32 in ruby_exec_internal (n=0x10085b488) at ../../src/ruby.git/eval.c:204
#9 0x00000001000459d4 in ruby_exec_node [inlined] () at /Users/muraken/src/ruby.git/eval.c:251
#10 0x00000001000459d4 in ruby_run_node (n=<value temporarily unavailable, due to optimizations>) at ../../src/ruby.git/eval.c:244
#11 0x0000000100000ef0 in main (argc=3, argv=0x7fff5fbfeae8) at ../../src/ruby.git/main.c:35
=end


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #1137: I can modify literalsClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0