[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>
I'll try to be brief so we can discuss all this. tl;dr: RubySpec is
19 messages
2015/01/05
[#67353] Re: Future of test suites for Ruby
— Tanaka Akira <akr@...>
2015/01/05
2015-01-06 7:18 GMT+09:00 Charles Oliver Nutter <[email protected]>:
[#67444] [ruby-trunk - Feature #10718] [Open] IO#close should not raise IOError on closed IO objects. — akr@...
Issue #10718 has been reported by Akira Tanaka.
3 messages
2015/01/09
[#67689] Keyword Arguments — Anthony Crumley <anthony.crumley@...>
Please forgive my ignorance as I am new to MRI development and am still
5 messages
2015/01/20
[#67733] [ruby-trunk - Bug #10761] Marshal.dump 100% slower in 2.2.0 vs 2.1.5 — normalperson@...
Issue #10761 has been updated by Eric Wong.
4 messages
2015/01/21
[#67736] Re: [ruby-trunk - Bug #10761] Marshal.dump 100% slower in 2.2.0 vs 2.1.5
— Eric Wong <normalperson@...>
2015/01/22
[email protected] wrote:
[#67772] Preventing Redundant Email Messages — Jeremy Evans <code@...>
For a long time, I've wondered why I sometimes receive redundant email
5 messages
2015/01/23
[ruby-core:67574] [ruby-trunk - Bug #6232] Ruby : Segmentation fault on Readline.refresh_line after screen resize.
From:
s.wanabe@...
Date:
2015-01-14 02:12:51 UTC
List:
ruby-core #67574
Issue #6232 has been updated by _ wanabe. It seems like GNU Readline behavior. `Readline.refresh_line` calls `rl_refresh_line(0, 0)` -> `rl_clear_to_eol(0= )` -> `tputs (_rl_term_clreol, 1, _rl_output_character_function)` -> `_rl_o= utput_character_function(c)` -> `putc (c, _rl_out_stream)`. it causes SEGV because `_rl_out_stream` is `NULL` until called `readline()`= or `rl_initialize()`. (ref. Readline-6.3 patch 8 http://git.savannah.gnu.org/cgit/readline.git/co= mmit/?id=3Da73b98f779b388a5d0624e02e8bb187246e3e396) To correct this, readline.so should (1) set `_rl_out_stream` with `rl_initi= alize()` or direct assignment (2) or raise an exception when `Readline.refr= esh_line` is called before Readline have been initialized (3) or in some ot= her way. ---------------------------------------- Bug #6232: Ruby : Segmentation fault on Readline.refresh_line after screen = resize.=20 https://bugs.ruby-lang.org/issues/6232#change-50985 * Author: Ruby Submit * Status: Assigned * Priority: Normal * Assignee: Kouji Takao * ruby -v: ruby 1.9.2p290 * Backport:=20 ---------------------------------------- Repro require =E2=80=98readline=E2=80=99 Readline.set_screen_size(40, 80) Readline.refresh_line buf =3D Readline.readline ./test_readline.rb=20 ./test_readline.rb:10: [BUG] Segmentation fault ruby 1.9.2p180 (2011-02-18) [i686-linux] -- control frame ---------- c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :refresh_line c:0003 p:0047 s:0007 b:0007 l:0000c4 d:001850 EVAL ./test_readline.rb:10 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:0000c4 d:0000c4 TOP=20=20=20 --------------------------- -- Ruby level backtrace information ---------------------------------------- ./test_readline.rb:10:in `<main>' ./test_readline.rb:10:in `refresh_line' -- C level backtrace information ------------------------------------------- /testing/bin/ruby(rb_vm_bugreport+0xa5) [0x8161a65] /testing/bin/ruby() [0x81a0ae9] /testing/bin/ruby(rb_bug+0x28) [0x81a0b98] /testing/bin/ruby() [0x80f39d8] [0x4b1410] /lib/libreadline.so.5(_rl_output_character_function+0x29) [0xb557b9] /lib/libncurses.so.5(tputs+0xe1) [0xf33191] /lib/libreadline.so.5(_rl_clear_to_eol+0x3b) [0xb4d8bb] /lib/libreadline.so.5(rl_refresh_line+0x43) [0xb57153] /testing/lib/ruby/site_ruby/1.9.1/i686-linux/readline.so(+0x2b52) [0x54db52] /testing/bin/ruby() [0x8152158] /testing/bin/ruby() [0x81544d8] /testing/bin/ruby() [0x815812e] /testing/bin/ruby(rb_iseq_eval_main+0x1ce) [0x815850e] /testing/bin/ruby() [0x805e4f2] /testing/bin/ruby(ruby_run_node+0x32) [0x805fd12] /testing/bin/ruby(main+0x5a) [0x805d72a] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x126bd6] /testing/bin/ruby() [0x805d631] --=20 https://bugs.ruby-lang.org/