[#36672] [Bug #616] instance_eval and Module#to_s — Shyouhei Urabe <redmine@...>

Bug #616: instance_eval and Module#to_s

12 messages 2008/10/06

[#36750] [Bug #650] Marshal.load raises RegexpError — Shyouhei Urabe <redmine@...>

Bug #650: Marshal.load raises RegexpError

30 messages 2008/10/15
[#36769] Re: [Bug #650] Marshal.load raises RegexpError — Yukihiro Matsumoto <matz@...> 2008/10/17

まつもと ゆきひろです

[#36771] Re: [Bug #650] Marshal.load raises RegexpError — Urabe Shyouhei <shyouhei@...> 2008/10/17

卜部です。

[#36772] Re: [Bug #650] Marshal.load raises RegexpError — Yukihiro Matsumoto <matz@...> 2008/10/17

まつもと ゆきひろです

[#36773] Re: [Bug #650] Marshal.load raises RegexpError — Urabe Shyouhei <shyouhei@...> 2008/10/17

卜部です。

[#36784] Re: [Bug #650] Marshal.load raises RegexpError — Yukihiro Matsumoto <matz@...> 2008/10/18

まつもと ゆきひろです

[#36785] Re: [Bug #650] Marshal.load raises RegexpError — Urabe Shyouhei <shyouhei@...> 2008/10/18

卜部です。

[#36793] Re: [Bug #650] Marshal.load raises RegexpError — Yukihiro Matsumoto <matz@...> 2008/10/19

まつもと ゆきひろです

[#36794] Re: [Bug #650] Marshal.load raises RegexpError — Urabe Shyouhei <shyouhei@...> 2008/10/19

Yukihiro Matsumoto さんは書きました:

[#36823] Re: [Bug #650] Marshal.load raises RegexpError — Yukihiro Matsumoto <matz@...> 2008/10/21

まつもと ゆきひろです

[#36830] Re: [Bug #650] Marshal.load raises RegexpError — Urabe Shyouhei <shyouhei@...> 2008/10/21

もとの正規表現にバグがあるのは認めますが、それに巻き込まれてでかいPStore

[#36833] Re: [Bug #650] Marshal.load raises RegexpError — Yukihiro Matsumoto <matz@...> 2008/10/21

まつもと ゆきひろです

[#36764] Re: [ruby-cvs:27036] Ruby:r19818 (trunk): * transcode.c (str_transcode0): String#encode without argument now — Martin Duerst <duerst@...>

まつもとさん、こんばんは。

11 messages 2008/10/17
[#36767] Re: [ruby-cvs:27036] Ruby:r19818 (trunk): * transcode.c (str_transcode0): String#encode without argument now — Yukihiro Matsumoto <matz@...> 2008/10/17

まつもと ゆきひろです

[#36799] Re: [ruby-cvs:27036] Ruby:r19818 (trunk): * transcode.c (str_transcode0): String#encode without argument now — Martin Duerst <duerst@...> 2008/10/20

まつもとさん、こんにちは。

[#36774] ConverterNotFoundError while making Ruby in Windows(trunk) — Masaki Suketa <masaki.suketa@...>

助田です。

13 messages 2008/10/17
[#36797] Re: ConverterNotFoundError while making Ruby in Windows(trunk) — "U.Nakamura" <usa@...> 2008/10/20

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

[#36800] Re: ConverterNotFoundError while making Ruby in Windows(trunk) — "U.Nakamura" <usa@...> 2008/10/20

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

[#36789] [Bug #660] 数字を3桁ずつコンマで区切るsprintf書式指定 — "rubikitch ." <redmine@...>

Bug #660: 数字を3桁ずつコンマで区切るsprintf書式指定

13 messages 2008/10/19

[#37007] [Bug:1.9] 1+1+1+...+1 dumps core — "Yusuke ENDOH" <mame@...>

遠藤です。

13 messages 2008/10/31

[ruby-dev:36936] Re: trunk SEGV nkf?

From: Kazuhiro NISHIYAMA <zn@...>
Date: 2008-10-26 13:18:54 UTC
List: ruby-dev #36936
西山和広です。

At Fri, 24 Oct 2008 20:23:15 +0900,
WATANABE Tetsuya wrote:
> 
> SEGV しているのでお知らせします。重複していたらすいませ
> んです。
> 
> ruby 1.9.0 (2008-10-24 revision 19913) [i686-linux]
> 
> 再現スクリプトです。
> 再現方法は、入力行が 82 行あると再現しています。
> 
> ------------------------------
> #! /usr/local/bin/ruby -Ke
> # -*- mode:ruby; coding:euc-jp -*-
> # /tmp/j.rb
> # created: October 23,2008 Thursday 06:09:10
> # author: tetsu(WATANABE Tetsuya)
> # $Id$
> # usage:
> 
> require 'nkf'
> 
> while l = gets
>   p $.
>   l = NKF.nkf('-e', l)
>   if l =~ /^a/                          # j.rb:14
>   end
> end
> ------------------------------
> 
> 次の実行時は、キーボードから改行を 82 回打ち込みました。

"--oc=eucJP-nkf"や"--oc=eucJP-ASCII"だと[BUG]になるのに
"--oc=eucJP"だと大丈夫なので、nkfの中で何かを壊してしまっているのは
確実そうです。


% ruby-trunk -rnkf -e 'while //=~NKF.nkf("--oc=eucJP-nkf","");end'
-e:1: [BUG] Segmentation fault
ruby 1.9.0 (2008-10-26 revision 19950) [i686-linux]

-- control frame ----------
c:0003 p:0025 s:0006 b:0006 l:000005 d:000005 TOP    -e:1
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> : "-e:1:in `<main>'"
-- backtrace of native function call (Use addr2line) --
(略)
% ruby-trunk -rnkf -e 'while //=~NKF.nkf("--oc=eucJP-ASCII","");end'
-e:1: [BUG] Segmentation fault
ruby 1.9.0 (2008-10-26 revision 19950) [i686-linux]

-- control frame ----------
c:0003 p:0025 s:0006 b:0006 l:000005 d:000005 TOP    -e:1
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> : "-e:1:in `<main>'"
-- backtrace of native function call (Use addr2line) --
(略)
% ruby-trunk -rnkf -e 'while //=~NKF.nkf("--oc=eucJP","");end'
-e:1:in `<main>': Interrupt
(止まらないのでCtrl+Cで止めた)



-- 
|ZnZ(ゼット エヌ ゼット)
|西山和広(Kazuhiro NISHIYAMA)

In This Thread