[#42564] [Ruby 1.9-Feature#4043][Open] グローバル関数current_classの提案 — Makoto Kishimoto <redmine@...>

Feature #4043: =E3=82=B0=E3=83=AD=E3=83=BC=E3=83=90=E3=83=AB=E9=96=A2=E6=95=

15 messages 2010/11/11
[#42774] Re: [Ruby 1.9-Feature#4043][Open] グローバル関数current_classの提案 — Yukihiro Matsumoto <matz@...> 2010/12/16

まつもと ゆきひろです

[#42834] Re: [Ruby 1.9-Feature#4043][Open] グローバル関数current_classの提案 — "KISHIMOTO, Makoto" <[email protected]> 2010/12/21

きしもとです

[#42835] Re: [Ruby 1.9-Feature#4043][Open] グローバル関数current_classの提案 — Yukihiro Matsumoto <matz@...> 2010/12/21

まつもと ゆきひろです

[#42838] Re: [Ruby 1.9-Feature#4043][Open] グローバル関数current_classの提案 — "KISHIMOTO, Makoto" <[email protected]> 2010/12/21

きしもとです

[#42845] Re: [Ruby 1.9-Feature#4043][Open] グローバル関数current_classの提案 — Yukihiro Matsumoto <matz@...> 2010/12/21

まつもと ゆきひろです

[#42577] Rubyのバグレポートのガイドライン — "Shota Fukumori (sora_h)" <sorah@...>

sora_hです。

11 messages 2010/11/15
[#42588] Re: Rubyのバグレポートのガイドライン — Yugui <yugui@...> 2010/11/18

2010/11/15 Shota Fukumori (sora_h) <[email protected]>:

[#42638] Enumerable#categorize — Tanaka Akira <akr@...>

enumerable から hash を生成するメソッドとして

25 messages 2010/11/27
[#42643] Re: Enumerable#categorize — Yukihiro Matsumoto <matz@...> 2010/11/27

まつもと ゆきひろです

[ruby-dev:42627] Re: [Ruby 1.9-Feature#4089][Open] Add addr2line for C level backtrace

From: "NARUSE, Yui" <naruse@...>
Date: 2010-11-26 01:20:52 UTC
List: ruby-dev #42627
成瀬です。

2010年11月26日9:41 U.Nakamura <[email protected]>:
>> glibc 環境 (つまり Linux) や、libexecinfo を導入している FreeBSD や NetBSD など (のELFなバイナリ) で動きます。
>
> これ具体的にはどんな出力になりますか?
> できれば合わせようと思うので。

なんと、glibc と libexecinfo で違います。

glibc では、
-- C level backtrace information -------------------------------------------
/home/naruse/local/ruby_trunk/lib/libruby.so.1.9 [0x7fd838849ec5]
/home/naruse/local/ruby_trunk/lib/libruby.so.1.9 [0x7fd83870e020]
/home/naruse/local/ruby_trunk/lib/libruby.so.1.9(rb_bug+0xf1)
[0x7fd83870e144] ../../src/ruby-tr
unk/error.c:246
/home/naruse/local/ruby_trunk/lib/libruby.so.1.9 [0x7fd8387cb245]
/lib/libpthread.so.0 [0x7fd8384a47d0]
/home/naruse/local/ruby_trunk/lib/libruby.so.1.9 [0x7fd8388569fc]
/home/naruse/local/ruby_trunk/lib/libruby.so.1.9(rb_enc_precise_mbclen+0x3c)
[0x7fd8386dc98a] ..
/../src/ruby-trunk/encoding.c:846

libexecinfo on FreeBSD では、
-- C level backtrace information -------------------------------------------
Unexpected directory number 2 in /home/naruse/local/ruby/lib/libruby.so.19
Unexpected directory number 2 in /home/naruse/local/ruby/lib/libruby.so.19
0x80069ed35 <rb_warning+645> at
/home/naruse/local/ruby/lib/libruby.so.19 ../../ruby/error.c:229
0x80069ee51 <rb_bug+241> at /home/naruse/local/ruby/lib/libruby.so.19
../../ruby/error.c:246
0x80075fb3b <rb_enable_interrupt+347> at
/home/naruse/local/ruby/lib/libruby.so.19 ../../ruby/signal.c:624
0x7fffffffffc4
0x8007d3775 <ruby_node_name+54917> at
/home/naruse/local/ruby/lib/libruby.so.19
../../ruby/vm_insnhelper.c:314
0x8007d6d40 <rb_respond_to+1744> at
/home/naruse/local/ruby/lib/libruby.so.19 ../../ruby/vm_eval.c:75
0x8007d80ab <rb_apply+523> at
/home/naruse/local/ruby/lib/libruby.so.19 ../../ruby/vm_eval.c:230

という感じになります。

-- 
NARUSE, Yui
[email protected]

In This Thread