[#27919] 1.8.4 Preview2 検証 — "URABE Shyouhei aka. mput" <root@...>
卜部です。
まつもと ゆきひろです
[#27944] Ruby 1.8.3 on FreeBSD — Masayoshi Takahashi <maki@...>
高橋征義です。
[#27991] GC.always — Tanaka Akira <akr@...17n.org>
というように、GC を常に動かすというのは GC 関連の問題を発見
まつもと ゆきひろです
In article <1134314081.457781.8573.nullmailer@x31.priv.netlab.jp>,
[#27997] 1.8.4 documents? — "URABE Shyouhei aka. mput" <root@...>
卜部です。
新井です。
新井です。
[#28010] IA64 BSPSTORE — Tanaka Akira <akr@...17n.org>
そういえば、IA64 で gc.c や eval.c に BSPSTORE レジスタの値
まつもと ゆきひろです
In article <1134478762.181062.2779.nullmailer@x31.priv.netlab.jp>,
[#28045] 1.8.4 what remains? — "URABE Shyouhei aka. mput" <root@...>
卜部です。
[#28082] ruby_1_8 Segmentation fault on Cygwin — yanagi@...
柳田です。
山本です。
こんにちは、なかむら(う)です。
山本です。
こんにちは、なかむら(う)です。
柳田です。
山本です。
[#28087] test(?-, file1, file2) — Tanaka Akira <akr@...17n.org>
マニュアルの test(?-, file1, file2) の説明に、
[#28109] Kernel#fail — "URABE Shyouhei aka. mput" <root@...>
さすがにもう誰も使ってないのではないかと思います。Kernel#failは廃止にし
[#28121] post_connection_check with javacc.dev.java.net — Tanaka Akira <akr@...17n.org>
ふと、https://javacc.dev.java.net/ を open-uri でアクセスすると、
[#28127] Intel C++ Compiler and HP aC++/ANSI C on IA64 — Tanaka Akira <akr@...17n.org>
TestDrive で IA64 上の Intel C++ Compiler and HP aC++/ANSI C
渡辺哲也です。
[#28140] ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError) — Tanaka Akira <akr@...17n.org>
HP-UX で HP aC++/ANSI C を使って作った ruby で、openssl や drb のテストをすると、
渡辺哲也です。
In article <200512280307.jBS37nnj005909@pbsg500.nifty.com>,
In message "[ruby-dev:28142] Re: ia64-hpux11.23/socket.sl: this executable file can't load extension libraries (LoadError)"
山本です。
In article <20051228210640.13C71A10.ocean@m2.ccsnet.ne.jp>,
渡辺哲也です。
山本です。
山本です。
In article <20051229114438.44D19F00.ocean@m2.ccsnet.ne.jp>,
なかだです。
In article <ypvtr77wv7q9.wl%nobuyoshi.nakada@ge.com>,
なかだです。
In article <ypvtoe30v1zk.wl%nobuyoshi.nakada@ge.com>,
なかだです。
In article <ypvtmzikv11x.wl%nobuyoshi.nakada@ge.com>,
なかだです。
In article <ypvtwthol15x.wl%nobuyoshi.nakada@ge.com>,
[#28177] Generator dumps core — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
山本です。
[#28178] accessing ruby_cbase (nil) dumps core — SASADA Koichi <ko1@...>
ささだです。
[#28181] zsuper (with define_method) dumps core — SASADA Koichi <ko1@...>
ささだです。
[#28182] generator.rb deadlocks — Tanaka Akira <akr@...17n.org>
RUBY_ALWAYS_GC= つきで test_generator.rb を動かすと deadlock が起きます。
[#28184] test_each(TC_SyncEnumerator) fails. — Tanaka Akira <akr@...17n.org>
deadlock は解決しましたが次のようにテストが失敗します。
[ruby-dev:28102] Re: ruby 1.8.4 preview3
In article <1135247670.303824.31965.nullmailer@x31.priv.netlab.jp>,
Yukihiro Matsumoto <matz@ruby-lang.org> writes:
> I have just put 1.8.4 preview3 on the server.
ふと思い立って TestDrive の HP-UX 11i v2 (Itanium II) というので試してみたところ、
1. gperf がないのに lex.c を再生成しようとして lex.c が空になる
2. ext/curses の build でコンパイルに失敗する
3. ext/dl の build で miniruby が core を吐く
という結果に終わりました。
td176> pwd
/house/rka/176/184p3
td176> gzcat ~/ruby-1.8.4-preview3.tar.gz|tar xf -
td176> ls
ruby-1.8.4
td176> cd ruby-1.8.4
td176> pwd
/house/rka/176/184p3/ruby-1.8.4
td176> ./configure --prefix=/house/rka/176/184p3 CC=/usr/bin/cc
...
td176> cp lex.c ~ # 後のためにとっておく
td176> ls -l lex.c
-rw-r--r-- 1 rka nis 4480 Sep 28 2002 lex.c
td176> make
...
...
/usr/bin/cc -g -DRUBY_EXPORT -DYYMAXDEPTH=300 -I. -I. -c pack.c
"pack.c", line 1954: warning #2068-D: integer conversion resulted in a change
of sign
unsigned long ulmask = 0xfeL << ((sizeof(unsigned long) - 1) * 8);
^
gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$ keywords > lex.c || \
cp "./lex.c" .
sh: gperf: not found.
cp: ./lex.c and ./lex.c are identical
*** Error exit code 1
Stop.
td176> ls -l lex.c
-rw-r--r-- 1 rka nis 0 Dec 23 09:27 lex.c
td176> cp ~/lex.c . # lex.c を復活させる
td176> make
...
compiling curses
/usr/bin/cc +Z -g -I. -I../.. -I../../. -I../.././ext/curses -DHAVE_CURSES_H -DHAVE_BEEP -DHAVE_BKGD -DHAVE_BKGDSET -DHAVE_CURS_SET -DHAVE_DELETELN -DHAVE_DOUPDATE -DHAVE_FLASH -DHAVE_GETBKGD -DHAVE_GETNSTR -DHAVE_ISENDWIN -DHAVE_KEYNAME -DHAVE_KEYPAD -DHAVE_SCRL -DHAVE_SETSCRREG -DHAVE_UNGETCH -DHAVE_WATTROFF -DHAVE_WATTRON -DHAVE_WATTRSET -DHAVE_WBKGD -DHAVE_WBKGDSET -DHAVE_WDELETELN -DHAVE_WGETNSTR -DHAVE_WSCRL -DHAVE_WSETSCRREG -DHAVE_DEF_PROG_MODE -DHAVE_RESET_PROG_MODE -DHAVE_TIMEOUT -DHAVE_WTIMEOUT -DHAVE_NODELAY -DHAVE_INIT_COLOR -DHAVE_WCOLOR_SET -c curses.c
"curses.c", line 481: warning #2513-D: a value of type "int" cannot be
assigned to an entity of type "const char *"
name = keyname(NUM2INT(c));
^
"curses.c", line 922: warning #2550-D: variable "x" was set but never used
int x, y;
^
"curses.c", line 935: warning #2550-D: variable "y" was set but never used
int x, y;
^
"curses.c", line 959: error #2136: struct "__reserved_str1" has no field
"_maxy"
return INT2FIX(winp->window->_maxy+1);
^
"curses.c", line 980: error #2136: struct "__reserved_str1" has no field
"_maxx"
return INT2FIX(winp->window->_maxx+1);
^
"curses.c", line 997: error #2136: struct "__reserved_str1" has no field
"_begy"
return INT2FIX(winp->window->_begy);
^
"curses.c", line 1014: error #2136: struct "__reserved_str1" has no field
"_begx"
return INT2FIX(winp->window->_begx);
^
"curses.c", line 1258: warning #2111-D: statement is unreachable
return Qfalse;
^
"curses.c", line 1584: error #2020: identifier "A_INVIS" is undefined
rb_curses_define_const(A_ATTRIBUTES);
^
"curses.c", line 1584: error #2020: identifier "A_PROTECT" is undefined
rb_curses_define_const(A_ATTRIBUTES);
^
"curses.c", line 1584: error #2020: identifier "A_ALTCHARSET" is undefined
rb_curses_define_const(A_ATTRIBUTES);
^
"curses.c", line 1584: error #2020: identifier "A_COLOR" is undefined
rb_curses_define_const(A_ATTRIBUTES);
^
"curses.c", line 1623: error #2020: identifier "COLOR_BLACK" is undefined
rb_curses_define_const(COLOR_BLACK);
^
"curses.c", line 1624: error #2020: identifier "COLOR_RED" is undefined
rb_curses_define_const(COLOR_RED);
^
"curses.c", line 1625: error #2020: identifier "COLOR_GREEN" is undefined
rb_curses_define_const(COLOR_GREEN);
^
"curses.c", line 1626: error #2020: identifier "COLOR_YELLOW" is undefined
rb_curses_define_const(COLOR_YELLOW);
^
"curses.c", line 1627: error #2020: identifier "COLOR_BLUE" is undefined
rb_curses_define_const(COLOR_BLUE);
^
"curses.c", line 1628: error #2020: identifier "COLOR_MAGENTA" is undefined
rb_curses_define_const(COLOR_MAGENTA);
^
"curses.c", line 1629: error #2020: identifier "COLOR_CYAN" is undefined
rb_curses_define_const(COLOR_CYAN);
^
"curses.c", line 1630: error #2020: identifier "COLOR_WHITE" is undefined
rb_curses_define_const(COLOR_WHITE);
^
16 errors detected in the compilation of "curses.c".
*** Error exit code 2
Stop.
*** Error exit code 1
Stop.
td176> rm ext/curses/extconf.rb # とりあえず進めるために削除
td176> make
...
compiling dl
Generating callback.func
Generating cbtable.func
../.././ext/dl/mkcbtable.rb:10: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-22) [ia64-hpux11.23]
sh: 28866 Abort(coredump)
*** Error exit code 134
Stop.
*** Error exit code 1
Stop.
td176> find . -name core -print
./ext/dl/core
td176> file ./ext/dl/core
./ext/dl/core: ELF-32 core file - IA64 from 'miniruby' - received SIGABRT
td176> gdb miniruby ./ext/dl/core
HP gdb 5.2 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.2 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
Core was generated by `miniruby'.
Program terminated with signal 6, Aborted.
SI_UNKNOWN - signal of unknown origin
#0 0x60000000c0343dd0:0 in kill+0x30 () from /usr/lib/hpux32/libc.so.1
(gdb) bt
#0 0x60000000c0343dd0:0 in kill+0x30 () from /usr/lib/hpux32/libc.so.1
#1 0x60000000c02384b0:0 in raise+0x30 () from /usr/lib/hpux32/libc.so.1
#2 0x60000000c02fcd30:0 in abort+0x190 () from /usr/lib/hpux32/libc.so.1
#3 0x4065be0:0 in rb_bug (fmt=0x4059640 "Segmentation fault") at error.c:214
#4 0x41d1320:0 in sigsegv (sig=11) at signal.c:447
#5 <signal handler called>
#6 0x60000000c01b8560:0 in memmove+0x960 () from /usr/lib/hpux32/libc.so.1
#7 0x60000000c021aaa0:0 in real_realloc+0x1da0 ()
from /usr/lib/hpux32/libc.so.1
#8 0x60000000c0218b10:0 in _realloc+0xc0 () from /usr/lib/hpux32/libc.so.1
#9 0x60000000c0222110:0 in realloc+0x230 () from /usr/lib/hpux32/libc.so.1
#10 0x40dd000:0 in ruby_xrealloc (ptr=0x401cd6d0, size=91) at gc.c:158
#11 0x41e3630:0 in rb_str_buf_append (str=1073916808, str2=1074073744)
at string.c:784
#12 0x41e3b60:0 in rb_str_append (str=1073916808, str2=1074073744)
at string.c:811
#13 0x4082470:0 in rb_eval (self=1074149872, n=0x40051180) at eval.c:3758
#14 0x4080720:0 in rb_eval (self=1074149872, n=0x40050e98) at eval.c:3551
#15 0x40a35d0:0 in rb_call0 (klass=1074155920, recv=1074149872, id=10073,
oid=10073, argc=0, argv=0x7fdf303c, body=0x40050e98, flags=2)
at eval.c:5826
#16 0x4095440:0 in rb_call (klass=1074155920, recv=1074149872, mid=10073,
argc=3, argv=0x7fdf3030, scope=1) at eval.c:5920
---Type <return> to continue, or q <return> to quit---
#17 0x407dd00:0 in rb_eval (self=1074149872, n=0x40050b68) at eval.c:3396
#18 0x407d910:0 in rb_eval (self=1074149872, n=0x40050ad8) at eval.c:3391
#19 0x4096ae0:0 in rb_yield_0 (val=17, self=1074149872, klass=0, flags=0,
avalue=0) at eval.c:4897
#20 0x409d220:0 in rb_yield (val=17) at eval.c:4979
#21 0x418ac90:0 in range_each (range=1073923720) at range.c:411
#22 0x40a0220:0 in call_cfunc (func=0x40602e0 <.opd+0x2d40>, recv=1073923720,
len=0, argc=0, argv=0x0) at eval.c:5556
#23 0x40a2230:0 in rb_call0 (klass=1074109528, recv=1073923720, id=3841,
oid=3841, argc=0, argv=0x0, body=0x40059b20, flags=0) at eval.c:5692
#24 0x4095440:0 in rb_call (klass=1074109528, recv=1073923720, mid=3841,
argc=0, argv=0x0, scope=0) at eval.c:5920
#25 0x4079e50:0 in rb_eval (self=1074149872, n=0x40050a48) at eval.c:3120
#26 0x4096ae0:0 in rb_yield_0 (val=1, self=1074149872, klass=0, flags=0,
avalue=0) at eval.c:4897
#27 0x409d220:0 in rb_yield (val=1) at eval.c:4979
#28 0x42226e0:0 in rb_ary_each (ary=1073924416) at array.c:1128
#29 0x40a0220:0 in call_cfunc (func=0x797ff340, recv=1073924416, len=0,
argc=0, argv=0x0) at eval.c:5556
#30 0x40a2230:0 in rb_call0 (klass=1074120568, recv=1073924416, id=3841,
oid=3841, argc=0, argv=0x0, body=0x4005c280, flags=0) at eval.c:5692
#31 0x4095440:0 in rb_call (klass=1074120568, recv=1073924416, mid=3841,
argc=0, argv=0x0, scope=0) at eval.c:5920
---Type <return> to continue, or q <return> to quit---
#32 0x407d4c0:0 in rb_eval (self=1074149872, n=0x40050d60) at eval.c:3381
#33 0x4079b10:0 in rb_eval (self=1074149872, n=0x400513d8) at eval.c:3109
#34 0x40769e0:0 in eval_node (self=1074149872, node=0x400513d8) at eval.c:1368
#35 0x4087e80:0 in ruby_exec_internal () at eval.c:1543
#36 0x4087fc0:0 in ruby_exec () at eval.c:1563
#37 0x4088050:0 in ruby_run () at eval.c:1573
#38 0x40624c0:0 in main (argc=4, argv=0x7ffff86c, envp=0x7ffff880) at main.c:46
(gdb)
--
[田中 哲][たなか あきら][Tanaka Akira]