[#32945] Shift_JIS variants and UTF-16 support — "U.Nakamura" <usa@...>

こんにちは、なかむら(う)です。

22 messages 2008/01/07
[#32953] Re: Shift_JIS variants and UTF-16 support — Martin Duerst <duerst@...> 2008/01/07

中村さん、こんにちは。

[#32955] Re: Shift_JIS variants and UTF-16 support — Yukihiro Matsumoto <matz@...> 2008/01/07

まつもと ゆきひろです

[#32959] Re: Shift_JIS variants and UTF-16 support — "NARUSE, Yui" <naruse@...> 2008/01/07

成瀬です。

[#32960] Re: Shift_JIS variants and UTF-16 support — Yukihiro Matsumoto <matz@...> 2008/01/07

まつもと ゆきひろです

[#32992] ASCII is alias of US-ASCII; replica of dummy encoding is not a dummy — "NARUSE, Yui" <naruse@...>

成瀬です。

18 messages 2008/01/08
[#32994] Re: ASCII is alias of US-ASCII; replica of dummy encoding is not a dummy — Yukihiro Matsumoto <matz@...> 2008/01/09

まつもと ゆきひろです

[#32995] Re: ASCII is alias of US-ASCII; replica of dummy encoding is not a dummy — Martin Duerst <duerst@...> 2008/01/09

At 18:13 08/01/09, Yukihiro Matsumoto wrote:

[#33011] Re: ASCII is alias of US-ASCII; replica of dummy encoding is not a dummy — "NARUSE, Yui" <naruse@...> 2008/01/11

成瀬です。

[#33012] Re: ASCII is alias of US-ASCII; replica of dummy encoding is not a dummy — Yukihiro Matsumoto <matz@...> 2008/01/11

まつもと ゆきひろです

[#33014] Re: ASCII is alias of US-ASCII; replica of dummy encoding is not a dummy — "NARUSE, Yui" <naruse@...> 2008/01/11

成瀬です。

[#33015] Re: ASCII is alias of US-ASCII; replica of dummy encoding is not a dummy — Yukihiro Matsumoto <matz@...> 2008/01/11

まつもと ゆきひろです

[#33239] Re: [ruby-cvs:22386] Ruby:r15149 (trunk): * string.c (rb_str_each_char): move forward. — Tanaka Akira <akr@...>

In article <200801210259.m0L2x3CW017171@ci.ruby-lang.org>,

11 messages 2008/01/21
[#33240] Re: [ruby-cvs:22386] Ruby:r15149 (trunk): * string.c (rb_str_each_char): move forward. — Nobuyoshi Nakada <nobu@...> 2008/01/21

なかだです。

[#33303] Time#strftimeのエンコーディング — rubikitch@...

るびきちです。

13 messages 2008/01/23
[#33305] Re: Time#strftimeのエンコーディング — Yukihiro Matsumoto <matz@...> 2008/01/23

まつもと ゆきひろです

[#33368] summary of script encoding — "U.Nakamura" <usa@...>

こんにちは、なかむら(う)です。

22 messages 2008/01/25
[#33375] Re: summary of script encoding — Yukihiro Matsumoto <matz@...> 2008/01/25

まつもと ゆきひろです

[#33376] Re: summary of script encoding — "U.Nakamura" <usa@...> 2008/01/25

こんにちは、なかむら(う)です。

[#33387] HashからStructを作る — rubikitch@...

るびきちです。

19 messages 2008/01/25
[#33455] Re: HashからStructを作る — Yukihiro Matsumoto <matz@...> 2008/01/28

まつもと ゆきひろです

[#33505] Re: HashからStructを作る — rubikitch@... 2008/01/29

From: Yukihiro Matsumoto <matz@ruby-lang.org>

[#33507] Re: HashからStructを作る — Yukihiro Matsumoto <matz@...> 2008/01/29

まつもと ゆきひろです

[#33508] Re: HashからStructを作る — rubikitch@... 2008/01/29

From: Yukihiro Matsumoto <matz@ruby-lang.org>

[#33433] Win32OLE: set encoding to OLE string — "U.Nakamura" <usa@...>

こんにちは、なかむら(う)です。

16 messages 2008/01/28

[#33461] Failed to make ruby-1.8.6-p111 on MacOSX 10.5(Leopard) — MORITA Hideyuki <h-morita@...>

=1B$B?9ED$H?=3D$7$^$9!#=1B(B

19 messages 2008/01/28
[#33473] Re: Failed to make ruby-1.8.6-p111 on MacOSX 10.5(Leopard) — Nobuyoshi Nakada <nobu@...> 2008/01/28

なかだです。

[#33503] Re: Failed to make ruby-1.8.6-p111 on MacOSX 10.5(Leopard) — MORITA Hideyuki <h-morita@...> 2008/01/29

森田です。

[#33514] Re: Failed to make ruby-1.8.6-p111 on MacOSX 10.5(Leopard) — Nobuyoshi Nakada <nobu@...> 2008/01/29

なかだです。

[#33518] Re: Failed to make ruby-1.8.6-p111 on MacOSX 10.5(Leopard) — MORITA Hideyuki <h-morita@...> 2008/01/30

森田です。

[#33545] Re: Failed to make ruby-1.8.6-p111 on MacOSX 10.5(Leopard) — Ryutaro Amano <wn9r-amn@...> 2008/01/31

天野竜太郎と申します。

[#33546] Re: Failed to make ruby-1.8.6-p111 on MacOSX 10.5(Leopard) — MORITA Hideyuki <h-morita@...> 2008/01/31

森田です。

[#33547] Re: Failed to make ruby-1.8.6-p111 on MacOSX 10.5(Leopard) — Ryutaro Amano <wn9r-amn@...> 2008/01/31

天野です。

[#33551] Re: Failed to make ruby-1.8.6-p111 on MacOSX 10.5(Leopard) — MORITA Hideyuki <h-morita@...> 2008/01/31

森田です。

[#33488] 現在の script encoding の値を得る方法は? — Hidetoshi NAGAI <nagai@...>

永井@知能.九工大です.

20 messages 2008/01/29
[#33491] Re: 現在の script encoding の値を得る方法は? — Yukihiro Matsumoto <matz@...> 2008/01/29

まつもと ゆきひろです

[#33500] Re: 現在の script encoding の値を得る方法は? — Hidetoshi NAGAI <nagai@...> 2008/01/29

永井@知能.九工大です.

[#33501] Re: 現在の script encoding の値を得る方法は? — "NARUSE, Yui" <naruse@...> 2008/01/29

成瀬です。

[#33515] Re: 現在の script encoding の値を得る方法は? — Hidetoshi NAGAI <nagai@...> 2008/01/30

永井@知能.九工大です.

[#33516] Re: 現在の script encoding の値を得る方法は? — "NARUSE, Yui" <naruse@...> 2008/01/30

成瀬です。

[#33519] Re: 現在の script encoding の値を得る方法は? — Hidetoshi NAGAI <nagai@...> 2008/01/30

永井@知能.九工大です.

[#33522] Re: 現在の script encoding の値を得る方法は? — "NARUSE, Yui" <naruse@...> 2008/01/30

成瀬です。

[ruby-dev:33250] Re: SEGV by test/ruby/test_io_m17n.rb

From: Martin Duerst <duerst@...>
Date: 2008-01-21 09:31:16 UTC
List: ruby-dev #33250
田中さん、こんにちは。

これは encode でこけましたみたいので、責任を感じていますが、
これから何をすればあまりよく分かりませんので教えてください。
もっと短い Ruby のプログラムでエラーがでれば是非送ってください。

At 12:36 08/01/21, Tanaka Akira wrote:
>test_io_m17n.rb で SEGV するようになったようです。
>
>% ./ruby test/runner.rb test/ruby/test_io_m17n.rb

こちらでこれをやろうとしたら、
test/runner.rb:3:in `require': no such file to load -- test/unit (LoadError)
になりました。
./ruby を (install 済み) の ruby に変更したら、Error 一つと
Failure 一つがでてきました。これはそちらの Segmentation fault
と関係あるのでしょうか。

宜しくお願いします。    Martin.


duerst@Tanzawa /cygdrive/d/ruby
$ ruby test/runner.rb test/ruby/test_io_m17n.rb
Loaded suite test_io_m17n.rb
Started
E.....................F..
Finished in 1.125 seconds.

  1) Error:
test_getc_stateful_conversion(TestIO_M17N):
RuntimeError: this mode is not supported (ESC
    /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:231:in `encode'
    /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:231:in `getc'
    /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:231:in `block (2 levels) in test_getc_stateful_conversion'
    /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:230:in `open'
    /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:230:in `block in test_getc_stateful_conversion'
    /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:16:in `block (2 levels) in with_tmpdir'
    /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:15:in `chdir'
    /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:15:in `block in with_tmpdir'
    /usr/local/lib/ruby/1.9.0/tmpdir.rb:122:in `mktmpdir'
    /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:14:in `with_tmpdir'
    /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:227:in `test_getc_stateful_conversion'

  2) Failure:
test_terminator_stateful_conversion(TestIO_M17N)
    [/cygdrive/d/ruby/test/ruby/test_io_m17n.rb:44:in `assert_str_equal'
     /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:177:in `block in test_terminator_stateful_conversion'
     /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:16:in `block (2 levels) in with_tmpdir'
     /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:15:in `chdir'
     /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:15:in `block in with_tmpdir'
     /usr/local/lib/ruby/1.9.0/tmpdir.rb:122:in `mktmpdir'
     /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:14:in `with_tmpdir'
     /cygdrive/d/ruby/test/ruby/test_io_m17n.rb:170:in `test_terminator_stateful_conversion']:
"before \xA3\xB0\xA3\xB1 after".force_encoding("EUC-JP") expected but not equal to
"before \xA3\xB0".force_encoding("EUC-JP").

25 tests, 157 assertions, 1 failures, 1 errors

duerst@Tanzawa /cygdrive/d/ruby
$




>Loaded suite test_io_m17n.rb
>Started
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:231: [BUG] Segmentation fault
>ruby 1.9.0 (2008-01-21 revision 0) [i686-linux]
>
>-- control frame ----------
>c:0031 p:---- s:0104 b:0104 l:000103 d:000103 CFUNC  :encode
>c:0030 p:---- s:0102 b:0102 l:000101 d:000101 CFUNC  :getc
>c:0029 p:0020 s:0099 b:0097 l:000067 d:000096 BLOCK  
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:231
>c:0028 p:---- s:0097 b:0097 l:000096 d:000096 FINISH :initialize
>c:0027 p:---- s:0095 b:0095 l:000094 d:000094 CFUNC  :open
>c:0026 p:0037 s:0090 b:0090 l:000067 d:000089 BLOCK  
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:230
>c:0025 p:0006 s:0088 b:0088 l:000070 d:000087 BLOCK  
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:16
>c:0024 p:---- s:0089 b:0089 l:000088 d:000088 FINISH :call
>c:0023 p:---- s:0087 b:0087 l:000086 d:000086 CFUNC  :chdir
>c:0022 p:0016 s:0083 b:0083 l:000070 d:000082 BLOCK  
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:15
>c:0021 p:0270 s:0081 b:0081 l:000080 d:000080 METHOD 
>/tmp/a/lib/ruby/1.9.0/tmpdir.rb:122
>c:0020 p:0013 s:0071 b:0071 l:000070 d:000070 METHOD 
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:14
>c:0019 p:0007 s:0068 b:0068 l:000067 d:000067 METHOD 
>/tmp/a/ruby/test/ruby/test_io_m17n.rb:227
>c:0018 p:0039 s:0065 b:0065 l:000064 d:000064 METHOD 
>/tmp/a/lib/ruby/1.9.0/test/unit/testcase.rb:76
>c:0017 p:0015 s:0060 b:0060 l:000054 d:000059 BLOCK  
>/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:34
>c:0016 p:---- s:0060 b:0060 l:000059 d:000059 FINISH :inherited
>c:0015 p:---- s:0058 b:0058 l:000057 d:000057 CFUNC  :each
>c:0014 p:0026 s:0055 b:0055 l:000054 d:000054 METHOD 
>/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:33
>c:0013 p:0015 s:0050 b:0050 l:000044 d:000049 BLOCK  
>/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:34
>c:0012 p:---- s:0050 b:0050 l:000049 d:000049 FINISH :%
>c:0011 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC  :each
>c:0010 p:0026 s:0045 b:0045 l:000044 d:000044 METHOD 
>/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:33
>c:0009 p:0128 s:0040 b:0040 l:001b04 d:001b04 METHOD 
>/tmp/a/lib/ruby/1.9.0/test/unit/ui/testrunnermediator.rb:46
>c:0008 p:0008 s:0031 b:0031 l:000030 d:000030 METHOD 
>/tmp/a/lib/ruby/1.9.0/test/unit/ui/console/testrunner.rb:67
>c:0007 p:0023 s:0028 b:0028 l:000027 d:000027 METHOD 
>/tmp/a/lib/ruby/1.9.0/test/unit/ui/console/testrunner.rb:41
>c:0006 p:0026 s:0025 b:0025 l:000024 d:000024 METHOD 
>/tmp/a/lib/ruby/1.9.0/test/unit/ui/testrunnerutilities.rb:29
>c:0005 p:0051 s:0020 b:0020 l:000019 d:000019 METHOD 
>/tmp/a/lib/ruby/1.9.0/test/unit/autorunner.rb:216
>c:0004 p:0070 s:0016 b:0016 l:000015 d:000015 METHOD 
>/tmp/a/lib/ruby/1.9.0/test/unit/autorunner.rb:12
>c:0003 p:0139 s:0008 b:0007 l:000006 d:000006 TOP    test/runner.rb:9
>c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH :inherited
>c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP    <dummy toplevel>:17
>---------------------------
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:231:in `getc'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:231:in `block (2 levels) in 
>test_getc_stateful_conversion'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:230:in `open'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:230:in `block in 
>test_getc_stateful_conversion'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:16:in `block (2 levels) in 
>with_tmpdir'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:15:in `chdir'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:15:in `block in with_tmpdir'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/tmpdir.rb:122:in `mktmpdir'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:14:in `with_tmpdir'"
>DBG> : "/tmp/a/ruby/test/ruby/test_io_m17n.rb:227:in 
>`test_getc_stateful_conversion'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testcase.rb:76:in `run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:34:in `block in run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:33:in `each'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:33:in `run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:34:in `block in run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:33:in `each'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/testsuite.rb:33:in `run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/ui/testrunnermediator.rb:46:in 
>`run_suite'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/ui/console/testrunner.rb:67:in 
>`start_mediator'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/ui/console/testrunner.rb:41:in `start'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/ui/testrunnerutilities.rb:29:in `run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/autorunner.rb:216:in `run'"
>DBG> : "/tmp/a/lib/ruby/1.9.0/test/unit/autorunner.rb:12:in `run'"
>DBG> : "test/runner.rb:9:in `<main>'"
>-- backtrace of native function call (Use addr2line) --
>0x80f07c5
>0x810f6de
>0x810f73b
>0x80bfa20
>0xb7f89440
>0x80d96e3
>0x80d9cc3
>0x80e6c9e
>0x80ef6e5
>0x805b3b8
>0x805b6a0
>0x805ba06
>0x806ad2e
>0x80eefe3
>0x80ea90e
>0x80ee1d4
>0x80ee907
>0x805ae4e
>0x8059911
>0x806af38
>0x807217d
>0x80e6c9e
>0x80eefe3
>0x80ea90e
>0x80ee1d4
>0x80ee907
>0x805ae4e
>0x8059911
>0x8109b97
>0x80e6c9e
>0x80eefe3
>0x80ea90e
>0x80ee1d4
>0x80ee907
>0x805ae4e
>0x80fa00f
>0x8059911
>0x80fb145
>0x80eefe3
>0x80ea90e
>0x80ee1d4
>0x80ee907
>0x805ae4e
>0x80fa00f
>0x8059911
>0x80fb145
>0x80eefe3
>0x80ea90e
>0x80ee1d4
>0x80ee50d
>0x805a759
>0x805e850
>0x8058185
>0xb7deaea8
>0x8058081
>-------------------------------------------------------
>zsh: abort (core dumped)  ./ruby test/runner.rb test/ruby/test_io_m17n.rb
>-- 
>[田中 哲][たなか あきら][Tanaka Akira]


#-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-#  http://www.sw.it.aoyama.ac.jp       mailto:duerst@it.aoyama.ac.jp     


In This Thread

Prev Next