大庭@SHLJapanです.
In message "[ruby-list:814] Re: not a class/module" on Wed, 9 Oct 96 13:09:58 JST,
matz / caelum.co.jp (Yukihiro Matsumoto) writes:
||HP の cc の方は, 相変わらず何度やってもダメですが….
|気になるのでもし時間があったらデバッガでバックトレースを取っ
|て送ってください.break pointはFatalに置けば良いと思います.
HP の cc と gdb って, ちゃんと動いているのか….
ちょっと心配.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Breakpoint 1, Fatal (fmt=0x4000c1c8 "0x%x is not a class/module", va_alist=0)
at error.c:369
369 va_start(args);
(gdb) bt
#0 Fatal (fmt=0x4000c1c8 "0x%x is not a class/module", va_alist=0)
at error.c:369
#1 0x6c240 in rb_class2name (class=0x0) at variable.c:180
#2 0x1c40c in Check_Type (x=1073899344, t=6) at error.c:171
#3 0x5dfb8 in f_sprintf (argc=3, argv=0x40b6903c) at sprintf.c:57
#4 0x24638 in rb_call (class=0x4004e998, recv=1081001368, mid=2849, argc=4,
argv=0x40b69038, scope=1) at eval.c:2414
#5 0x20564 in rb_eval (self=1081001368, node=0x4002d200) at eval.c:1115
#6 0x20bb0 in rb_eval (self=1081001368, node=0x4002d1e8) at eval.c:1207
#7 0x1f474 in rb_eval (self=1081001368, node=0x4002d1b8) at eval.c:803
#8 0x25244 in rb_call (class=0x4004e980, recv=1081001368, mid=8401, argc=0,
argv=0x40b68bec, scope=1) at eval.c:2584
#9 0x20564 in rb_eval (self=1081001368, node=0x40030500) at eval.c:1115
#10 0x2027c in rb_eval (self=1081001368, node=0x400304d0) at eval.c:1102
#11 0x1f474 in rb_eval (self=1081001368, node=0x400304a0) at eval.c:803
#12 0x1f65c in rb_eval (self=1081001368, node=0x4002f348) at eval.c:863
#13 0x1f474 in rb_eval (self=1081001368, node=0x4002f300) at eval.c:803
#14 0x25244 in rb_call (class=0x4002cc48, recv=1081001368, mid=7457, argc=0,
argv=0x40b683b8, scope=0) at eval.c:2584
#15 0x20390 in rb_eval (self=1074061704, node=0x40040538) at eval.c:1104
#16 0x1f474 in rb_eval (self=1074061704, node=0x40040508) at eval.c:803
#17 0x1f730 in rb_eval (self=1074061704, node=0x4003f638) at eval.c:880
#18 0x1f474 in rb_eval (self=1074061704, node=0x4003f620) at eval.c:803
#19 0x23130 in rb_yield_0 (val=3, self=1074061704) at eval.c:1987
---Type <return> to continue, or q <return> to quit---
#20 0x23280 in rb_yield (val=3) at eval.c:2021
#21 0x3c3b0 in num_upto (from=3, to=9) at numeric.c:862
#22 0x4eac0 in range_each (obj=1086464640) at range.c:105
#23 0x24658 in rb_call (class=0x400480f8, recv=1086464640, mid=3169, argc=0,
argv=0x0, scope=0) at eval.c:2417
#24 0x1fb40 in rb_eval (self=1074061704, node=0x4003ec48) at eval.c:955
#25 0x1f474 in rb_eval (self=1074061704, node=0x4003ec30) at eval.c:803
#26 0x1f730 in rb_eval (self=1074061704, node=0x4003da48) at eval.c:880
#27 0x1f474 in rb_eval (self=1074061704, node=0x4003da30) at eval.c:803
#28 0x1e66c in eval_node (self=1074061704) at eval.c:521
#29 0x1e770 in ruby_run () at eval.c:548
#30 0x38c1c in main (argc=3, argv=0x7b0337b0, envp=0x7b0337c0) at main.c:21
#31 0x7afa8944 in _U_qsfcnvxf ()
#32 0x6c240 in rb_class2name (class=0x0) at variable.c:180
Cannot access memory at address 0xfffffffc.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
SHL Japan Inc. 大庭 康生 jammy / shljapan.co.jp