[#25936] [Bug:1.9] [rubygems] $LOAD_PATH includes bin directory — Nobuyoshi Nakada <nobu@...>

Hi,

10 messages 2009/10/05

[#25943] Disabling tainting — Tony Arcieri <tony@...>

Would it make sense to have a flag passed to the interpreter on startup that

16 messages 2009/10/05

[#26028] [Bug #2189] Math.atanh(1) & Math.atanh(-1) should not raise an error — Marc-Andre Lafortune <redmine@...>

Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error

14 messages 2009/10/10

[#26222] [Bug #2250] IO::for_fd() objects' finalization dangerously closes underlying fds — Mike Pomraning <redmine@...>

Bug #2250: IO::for_fd() objects' finalization dangerously closes underlying fds

11 messages 2009/10/22

[#26244] [Bug #2258] Kernel#require inside rb_require() inside rb_protect() inside SysV context fails — Suraj Kurapati <redmine@...>

Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails

24 messages 2009/10/22

[#26361] [Feature #2294] [PATCH] ruby_bind_stack() to embed Ruby in coroutine — Suraj Kurapati <redmine@...>

Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine

42 messages 2009/10/27

[#26371] [Bug #2295] segmentation faults — tomer doron <redmine@...>

Bug #2295: segmentation faults

16 messages 2009/10/27

[ruby-core:26453] Re: [Bug #2316] [BUG] cfp consistency error

From: Yukihiro Matsumoto <matz@...>
Date: 2009-10-31 19:04:41 UTC
List: ruby-core #26453
Hi,

In message "Re: [ruby-core:26451] [Bug #2316] [BUG] cfp consistency error"
    on Sun, 1 Nov 2009 02:49:11 +0900, Marc-Andre Lafortune <redmine@ruby-lang.org> writes:

|Looks like the same issue as #2311.

No.  According to [ruby-dev:39269], it's caused by dl test, and I
believe this is a bug in test.  At least, this one is not related to
r25521 at all.  It's far older than that.

dl touches internals directly so that you can crash the interpreter
pretty easily.  In this case, the test frees the memory region by
using free() taken from libc, but the region itself is allocated by
ruby_xmalloc().  This mismatch might be the reason of the crash.

But, in that case, I see no reason to have CPtr#free= method at all.

|Solutions until it is resolved:
|- do not run any tests that generate a "wrong number of arguments" error, 
|- or use ruby earlier than r25521, or revert that commit locally.

This _solution_ is for #2311 (which I cannot reproduce right now), but
not for this one.

							matz.

In This Thread