[#38323] [1.8.7][1.9.1][tk] 自前実装の拡張 widget を使いたい場合 — oshida@...

押田です。

22 messages 2009/04/24
[#38331] Re: [1.8.7][1.9.1][tk] 自前実装の拡張 widget を使いたい場合 — Hidetoshi NAGAI <nagai@...> 2009/04/26

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

[#38339] Re: [1.8.7][1.9.1][tk] 自前実装の拡張 widget を使いたい場合 — oshida@... 2009/04/27

押田です。

[#38340] Re: [1.8.7][1.9.1][tk] 自前実装の拡張 widget を使いたい場合 — Hidetoshi NAGAI <nagai@...> 2009/04/27

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

[#38697] Re: [1.8.7][1.9.1][tk] 自前実装の拡張 widget を使いたい場合 — Hidetoshi NAGAI <nagai@...> 2009/06/21

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

[#38711] Re: [1.8.7][1.9.1][tk] 自前実装の拡張 widget を使いたい場合 — oshida@... 2009/06/24

押田です。

[#38723] Re: [1.8.7][1.9.1][tk] 自前実装の拡張 widget を使いたい場合 — Hidetoshi NAGAI <nagai@...> 2009/07/01

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

[#38743] Re: [1.8.7][1.9.1][tk] 自前実装の拡張 widget を使いたい場合 — oshida@... 2009/07/07

押田です。

[#38747] Re: [1.8.7][1.9.1][tk] 自前実装の拡張 widget を使いたい場合 — Hidetoshi NAGAI <nagai@...> 2009/07/08

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

[#38748] Re: [1.8.7][1.9.1][tk] 自前実装の拡張 widget を使いたい場合 — oshida@... 2009/07/08

押田です。

[#38749] Re: [1.8.7][1.9.1][tk] 自前実装の拡張 widget を使いたい場合 — Hidetoshi NAGAI <nagai@...> 2009/07/08

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

[ruby-dev:38329] Re: Bug when daemonizing

From: rubikitch@...
Date: 2009-04-25 16:07:21 UTC
List: ruby-dev #38329
From: Nobuyoshi Nakada <nobu@ruby-lang.org>
Subject: [ruby-dev:38321] Re: Bug when daemonizing
Date: Fri, 24 Apr 2009 14:41:54 +0900

> $ { echo "RUBY_VERSION # =>"; echo '$".grep (/cgi/) # =>'; } | PATH="./bin:$PATH" ruby -Ilib -Ibin bin/xmpfilter --fork

RUBYLIB=lib を入れてください。

$ { echo "RUBY_VERSION # =>"; echo '$".grep (/cgi/) # =>'; } | RUBYLIB=lib PATH="./bin:/usr/bin" /usr/local/bin/ruby191 -Ilib -Ibin bin/xmpfilter --fork
(eval):1: [BUG] Segmentation fault
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]

-- control frame ----------
c:0016 p:---- s:0049 b:0049 l:000048 d:000048 CFUNC  :reopen
c:0015 p:0014 s:0044 b:0044 l:0024ac d:000104 EVAL   (eval):1
c:0014 p:---- s:0042 b:0042 l:000041 d:000041 FINISH
c:0013 p:---- s:0040 b:0040 l:000039 d:000039 CFUNC  :eval
c:0012 p:0019 s:0035 b:0035 l:000026 d:000034 BLOCK  /m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:220
c:0011 p:---- s:0032 b:0032 l:000031 d:000031 FINISH
c:0010 p:---- s:0030 b:0030 l:000029 d:000029 CFUNC  :each
c:0009 p:0073 s:0027 b:0027 l:000026 d:000026 METHOD /m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:220
c:0008 p:0031 s:0023 b:0023 l:0026a4 d:000022 BLOCK  /m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:194
c:0007 p:0143 s:0021 b:0021 l:000020 d:000020 METHOD /m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:96
c:0006 p:0012 s:0017 b:0017 l:0026a4 d:000016 BLOCK  /m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:192
c:0005 p:---- s:0015 b:0015 l:000014 d:000014 FINISH
c:0004 p:---- s:0013 b:0013 l:000012 d:000012 CFUNC  :fork
c:0003 p:0075 s:0010 b:0010 l:0026a4 d:000009 BLOCK  /m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:191
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP   
---------------------------
-- Ruby level backtrace information-----------------------------------------
(eval):1:in `reopen'
(eval):1:in `<main>'
/m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:220:in `eval'
/m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:220:in `block in setup_environment'
/m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:220:in `each'
/m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:220:in `setup_environment'
/m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:194:in `block (4 levels) in start_server'
/m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:96:in `daemonize'
/m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:192:in `block (3 levels) in start_server'
/m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:191:in `fork'
/m/home/rubikitch/src/rcodetools/lib/rcodetools/fork.rb:191:in `block (2 levels) in start_server'

-- C level backtrace information -------------------------------------------
0x8112cbe ruby191(rb_vm_bugreport+0x48) [0x8112cbe]
0x813c0dc ruby191 [0x813c0dc]
0x813c150 ruby191(rb_bug+0x27) [0x813c150]
0x80c9735 ruby191 [0x80c9735]
0xffffe440 [0xffffe440]
0x810451b ruby191 [0x810451b]
0x8106594 ruby191 [0x8106594]
0x8108dcd ruby191 [0x8108dcd]
0x810ceed ruby191 [0x810ceed]
0x810e0db ruby191 [0x810e0db]
0x810e711 ruby191 [0x810e711]
0x810ea56 ruby191(rb_f_eval+0xc5) [0x810ea56]
0x810451b ruby191 [0x810451b]
0x8106594 ruby191 [0x8106594]
0x8108dcd ruby191 [0x8108dcd]
0x810ceed ruby191 [0x810ceed]
0x810d4f5 ruby191 [0x810d4f5]
0x810dc14 ruby191(rb_yield+0x47) [0x810dc14]
0x811beaf ruby191(rb_ary_each+0x3a) [0x811beaf]
0x8106594 ruby191 [0x8106594]
0x8108dcd ruby191 [0x8108dcd]
0x810ceed ruby191 [0x810ceed]
0x810d4f5 ruby191 [0x810d4f5]
0x810dc55 ruby191(rb_yield+0x88) [0x810dc55]
0x8059df3 ruby191(rb_protect+0xc1) [0x8059df3]
0x809eefb ruby191 [0x809eefb]
0x8106594 ruby191 [0x8106594]
0x8108dcd ruby191 [0x8108dcd]
0x810ceed ruby191 [0x810ceed]
0x810d4f5 ruby191 [0x810d4f5]
0x810d89b ruby191(rb_vm_invoke_proc+0x81) [0x810d89b]
0x8116d7e ruby191 [0x8116d7e]
0x8116ea5 ruby191 [0x8116ea5]
0xb7f9e4e5 /lib/i686/cmov/libpthread.so.0 [0xb7f9e4e5]
0xb7eb50de /lib/i686/cmov/libc.so.6(clone+0x5e) [0xb7eb50de]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

RUBY_VERSION # => 
$".grep (/cgi/) # => 

--
rubikitch
Blog: http://d.hatena.ne.jp/rubikitch/
Site: http://www.rubyist.net/~rubikitch/


In This Thread