[#17480] Array#fill behavior — "Vladimir Sizikov" <vsizikov@...>
Hi,
[#17488] HOME and USERPROFILE aliasing under Windows — "John Lam (IRONRUBY)" <jflam@...>
MRI currently expects the HOME environment variable to be set under Windows=
[#17491] [Ruby 1.8.7 - Bug #213] (Open) Different ERB behavior across versions — Federico Builes <redmine@...>
Issue #213 has been reported by Federico Builes.
[#17503] Possible misbehaviour in mkmf.rb package — S駻gio Durigan J佖ior <sergiodj@...>
Hello all,
On Wednesday 02 July 2008, S駻gio Durigan J佖ior wrote:
[#17509] YAML in Ruby — Trans <transfire@...>
Might we ever imagine a time when YAML is an integral part of Ruby?
[#17518] [Ruby 1.8 - Bug #216] (Open) Memory leaks in 1.8.6p230 and p238 — Igal Koshevoy <redmine@...>
Issue #216 has been reported by Igal Koshevoy.
[#17566] rubychecker - runs checks on a Ruby interpreter — Igal Koshevoy <igal@...>
I've put together a shell script that runs checks on a Ruby interpreter.
Why not write it in ruby?
Kurt Stephens wrote:
I've split up the code of rubychecker. One git repo has the GNU Bash
[#17574] rubyspec reports for ruby_1_8, ruby_1_8_7, and v1_8_6_p265 — Stephen Bannasch <stephen.bannasch@...>
I wanted to learn more about specs recently started using git and so
Stephen Bannasch wrote:
[#17595] Crashes and hangups on latest 1_8 branch — "Vladimir Sizikov" <vsizikov@...>
Hi,
[#17609] [PATCH] Fix Makefile update-rubyspec task — Gaston Ramos <ramos.gaston@...>
Hi, I'm trying to run rubyspec tests on 1.8 branch and get this error:
[#17615] [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...>
At the moment, ruby-mode.el uses font-lock-keywords as opposed to
It was designed to fix the following case:
Here's a third patch that fixes a bug in the second and uses a quicker
One more patch which fixes a few bugs in the the last one.
Hi,
Looks like version 22 doesn't support explicitly numbered regexp groups.
Hi,
Hi,
Alright, here's a version that fixes both the highlighting bug and the
Hi,
Are you asking me? If so, go right ahead. Also, for posterity's sake,
One more bugfix.
Hi,
[#17627] ncurses-specific functions in ruby's curses — "Kirill A. Shutemov" <kirill@...>
Is it possible to add ncurses-specific functions to curses ruby module?
On Sunday 06 July 2008, Kirill A. Shutemov wrote:
On Mon, Jul 07, 2008 at 10:25:42AM +0200, Marc Haisenko wrote:
On Monday 07 July 2008, Kirill A. Shutemov wrote:
[#17629] Proper exception out of throw? — "Vladimir Sizikov" <vsizikov@...>
Hi,
[#17644] Features to be included in Ruby 1.9.1 — "Yugui (Yuki Sonoda)" <yugui@...>
Hi, all
Dave Thomas wrote:
There are two things I would like to see added to 1.9.1. A one-byte
Hi,
Hi,
In article <E1KGF2L-0000Qx-K5@x61.netlab.jp>,
Hi,
[#17674] [Ruby 1.8 - Bug #238] (Open) Ruby doesn't respect the Windows read-only flag — Jim Deville <redmine@...>
Issue #238 has been reported by Jim Deville.
[#17690] [Ruby 1.8 - Feature #249] (Open) wish list item: binding.set_local_variable — Roger Pack <redmine@...>
Issue #249 has been reported by Roger Pack.
[#17694] Mark functions not called on exit — Charlie Savage <cfis@...>
Hi everyone,
Hi,
[#17699] Omissions on the ruby-lang.org website and in redmine — "Austin Ziegler" <halostatue@...>
As far as I can tell, there's nowhere on the ruby-lang.org website
On Jul 9, 2008, at 8:05 AM, Austin Ziegler wrote:
On Jul 9, 2008, at 6:07 PM, Ryan Davis wrote:
On Wed, Jul 9, 2008 at 5:14 PM, James Gray <james@grayproductions.net> wrote:
[#17708] [Ruby 1.8 - Bug #252] (Open) Array#sort doesn't respect overridden <=> — Ryan Davis <redmine@...>
Issue #252 has been reported by Ryan Davis.
Issue #252 has been updated by Vladimir Sizikov.
Hi,
Nobuyoshi Nakada wrote:
[#17759] Ruby 1.9.1 Feature and 1.9.0-3 release plan — "Yugui (Yuki Sonoda)" <yugui@...>
Thank you for your replies to [ruby-core:17644]. < all
[#17785] [Ruby 1.9 - Bug #277] (Open) 1.9/trunk: build broken in ruby/ruby.h — Ollivier Robert <redmine@...>
Issue #277 has been reported by Ollivier Robert.
[#17812] Tracing versus coverage (was Re: Re: Features to be included in Ruby 1.9.1) — "Rocky Bernstein" <rocky.bernstein@...>
Sorry for not noticing sooner. It occurs to me that the built-in
It seems to me what you need is not a coverage system but a general hook
I just looked at the code to set the coverage hash and it seems to
Hi Rocky,
[#17822] rdoc defines Hash#method_missing — "Yusuke ENDOH" <mame@...>
Hi,
[#17829] FAILURE of "expand_path" — "C.E. Thornton" <admin@...>
Core,
C.E. Thornton wrote:
Urabe Shyouhei wrote:
On Sat, Jul 19, 2008 at 04:27:09AM +0900, C.E. Thornton wrote:
[#17833] Object allocation tracking — Christopher Thompson <cthompson@...>
Please excuse the blog spam.
[#17843] Exapand_path Patch good as stands. — "C.E. Thornton" <admin@...>
Core,
[#17865] Expand_Path: New Patch - Modified Processing — "C.E. Thornton" <admin@...>
Core,
Hi,
Hi,
[#17871] duping the NilClass — "Nasir Khan" <rubylearner@...>
While nil is an object, calling dup on it causes TypeError. This doesnt seem
Nasir Khan wrote:
On Sun, Jul 20, 2008 at 7:55 PM, Urabe Shyouhei <shyouhei@ruby-lang.org>
Meinrad Recheis wrote:
Urabe Shyouhei wrote:
I write a lot of hand crafted dup or clone because I want control as well as
Hi --
+1 to David. A convenient way to do Marshal idiom should be a new
On Mon, Jul 21, 2008 at 8:21 AM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
Hi --
On Mon, Jul 21, 2008 at 1:02 PM, David A. Black <dblack@rubypal.com> wrote:
Hi --
On Mon, Jul 21, 2008 at 5:18 PM, David A. Black <dblack@rubypal.com> wrote:
[#17883] [Ruby 1.9 - Bug #340] (Open) 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1) — Ollivier Robert <redmine@...>
Issue #340 has been reported by Ollivier Robert.
[#17915] select returning an enumerator — "David A. Black" <dblack@...>
Hi --
[#17922] [Ruby 1.9 - Bug #345] (Open) 1.9 racc appears to seg fault — Roger Pack <redmine@...>
Issue #345 has been reported by Roger Pack.
[#17943] RUBY_ENGINE? — "Vladimir Sizikov" <vsizikov@...>
Hi,
In article <3454c9680807241200xf7cc766qb987905a3987bb78@mail.gmail.com>,
On Thu, Jul 24, 2008 at 7:46 PM, Ryan Davis <ryand-ruby@zenspider.com> wrote:
Hi,
In article <3454c9680807250054i70db563duf44b42d92ba41bfb@mail.gmail.com>,
On Sat, Jul 26, 2008 at 5:09 AM, Tanaka Akira <akr@fsij.org> wrote:
Hi,
Since this thread seemed to die out, I'll ask again:
Hi,
Hi all.
Hi,
Yukihiro Matsumoto wrote:
[#17954] Expand_path -- Proposal: An alternate method — "C.E. Thornton" <admin@...>
HI,
Hi,
Yukihiro Matsumoto wrote:
[#17973] Proposal of GC::Profiler — Narihiro Nakamura <authorNari@...>
Hi.
On Fri, 2008-07-25 at 23:59 +0900, Narihiro Nakamura wrote:
[#18016] Re: Hex string literals [Patch] — gdefty@...
Before posting the message below I thought long
[#18029] [Ruby 1.9 - Bug #378] (Open) rbconfig.rb:173: [BUG] Stack consistency error — Anonymous <redmine@...>
Issue #378 has been reported by Anonymous.
[#18033] JRuby adding ConcurrencyError for fatal concurrent modification — Charles Oliver Nutter <charles.nutter@...>
In order to limit or reduce the likelihood that multiple threads
Hi,
Yukihiro Matsumoto wrote:
[ruby-core:17624] Re: Ruby 1.9 "exception reentered"
Hi,
2008/6/12, Paul Boekholt <p.boekholt@gmail.com>:
> That's difficult. When the module is statically linked I don't get the
> error. I suspect the problem only occurs when it's dynamically loaded.
> So any code to reproduce it would have to be a DSO, such as a SLang,
> Perl or Apache module.
I've compiled Perl's Inline::Ruby module with edpratomo's patch to get
it working with 1.9 (see
http://rt.cpan.org/Public/Bug/Display.html?id=32536). I get this when
running 'make test':
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basic.......ok
t/02iter........<dummy toplevel>:17: [BUG] Segmentation fault
ruby 1.9.0 (2008-04-14 revision 17550) [i686-linux]
-- control frame ----------
c:0001 p:0000 s:0002 b:0002 l:0017c4 d:0017c4 TOP <dummy toplevel>:17
---------------------------
-- backtrace of native function call (Use addr2line) --
0x4046410e
0x4039fbd7
0x4039fc0f
0x404276a9
0x40017440
0x403a74b7
0x403877b4
0x80bdaa1
0x80bc379
0x8063a1b
0x805ffd1
0x40072ea8
0x805fe31
-------------------------------------------------------
dubious
Test returned status 0 (wstat 6, 0x6)
DIED. FAILED tests 10-11
Failed 2/11 tests, 81.82% okay
t/03bindfunc....#<SystemStackError: stack level too deep>
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-6
Failed 5/6 tests, 16.67% okay
t/04iterator....#<SystemStackError: stack level too deep>
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
t/05rb_exc......dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/06pl_exc......<dummy toplevel>:17: [BUG] Segmentation fault
ruby 1.9.0 (2008-04-14 revision 17550) [i686-linux]
-- control frame ----------
c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP <dummy toplevel>:17
---------------------------
-- backtrace of native function call (Use addr2line) --
0x4046310e
0x4039ebd7
0x4039ec0f
0x404266a9
0x40017440
(nil)
-------------------------------------------------------
dubious
Test returned status 0 (wstat 6, 0x6)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/07proc........ok
t/08bind1.......ok
t/08bind2.......ok
t/09regex.......dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED test 3
Failed 1/3 tests, 66.67% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/02iter.t 0 6 11 4 36.36% 10-11
t/03bindfunc.t 255 65280 6 10 166.67% 2-6
t/04iterator.t 255 65280 6 12 200.00% 1-6
t/05rb_exc.t 0 11 8 16 200.00% 1-8
t/06pl_exc.t 0 6 8 16 200.00% 1-8
t/09regex.t 0 11 3 2 66.67% 3
Failed 6/10 test scripts, 40.00% okay. 30/66 subtests failed, 54.55% okay.
make: *** [test_dynamic] Fout 255
>
> With Ruby 1.8.5 I had random segmentation faults, but only when the
> module was dynamically loaded. Then I found the post in
> http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/67877 and
> added some calls to Init_stack. After that I didn't have segfaults,
> but after r15996 came out I got the error "exception reentered". I
> replaced Init_stack with ruby_init_stack, and then it worked again
> until r17036 came out - even though it's not using Init_stack.
I can no longer get it to work with 15996 by replacing Init_stack with
ruby_init_stack. Maybe I made some error rebuilding Ruby. Anyway,
apparently the problem is caused by Init_stack and ruby_init_stack not
doing quite the same thing. This patch to ruby_init_stack seems to fix
my problem:
--- gc.c (revision 15996)
+++ gc.c (working copy)
@@ -1641,12 +1641,18 @@
#endif
)
{
+#if defined(STACK_END_ADDRESS)
+ extern void *STACK_END_ADDRESS;
+ rb_gc_stack_start = STACK_END_ADDRESS;
+#else
+
if (!rb_gc_stack_start ||
STACK_UPPER(&addr,
rb_gc_stack_start > addr,
rb_gc_stack_start < addr)) {
rb_gc_stack_start = addr;
}
+#endif
#ifdef __ia64
if (!rb_gc_register_stack_start ||
(VALUE*)bsp < rb_gc_register_stack_start) {
Perl's Inline::Ruby also works better. At least 'make test' no longer
gives segmentation faults or SystemStackErrors:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basic.......ok
t/02iter........# Test 11 got: "no block given (yield)" (t/02iter.t at line 41)
# Expected: "no block given"
# t/02iter.t line 41 is: ok($@->message, 'no block given');
FAILED test 11
Failed 1/11 tests, 90.91% okay
t/03bindfunc....ok
t/04iterator....ok
t/05rb_exc......# Test 5 got: "divided by 0\n(eval):1: syntax error,
unexpected $end" (t/05rb_exc.t at line 25 fail #2)
# Expected: "compile error\n(eval): parse error"
# t/05rb_exc.t line 25 is: ok($x->message, $exc[$n][0]);
FAILED test 5
Failed 1/8 tests, 87.50% okay
t/06pl_exc......ok
t/07proc........ok
t/08bind1.......ok
t/08bind2.......ok
t/09regex.......ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/02iter.t 11 1 9.09% 11
t/05rb_exc.t 8 1 12.50% 5
Failed 2/10 test scripts, 80.00% okay. 2/66 subtests failed, 96.97% okay.
make: *** [test_dynamic] Fout 255