[#3419] Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...>

Hello list,

19 messages 2004/09/17
[#3422] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

[#3423] Re: Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...> 2004/09/17

On Friday 17 Sep 2004 12:01, ts wrote:

[#3424] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

[#3425] Re: Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...> 2004/09/17

On Friday 17 Sep 2004 12:37, ts wrote:

[#3426] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

[#3428] Re: Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...> 2004/09/17

On Friday 17 Sep 2004 13:05, ts wrote:

[#3429] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

Fwd: fastcgi & continuations (Re: Idea: Webshare)

From: Patrick May <patrick@...>
Date: 2004-09-09 06:09:12 UTC
List: ruby-core #3358
Hello,

T suggested that ruby-core would be an appropriate place for this.  I 
think I've found a Mac OS X bug.  Here is the example:

    continuation = []
    at_exit{
      puts 'at_exit'
      continuation[0].call unless continuation[0].nil?
    }
    callcc{ |c|
      continuation[0] = c
    }
    puts 'running'

This code runs in the expected continuous loop on linux.  On my mac
(10.2) I get the error:

    [~/programming/narf] patsplat% ruby bug.rb
    running
    at_exit
    running
    bug.rb:9: compile error (SyntaxError)
    bug.rb:9: [BUG] Bus Error
    ruby 1.8.1 (2003-12-25) [powerpc-darwin]

    Abort
    [~/programming/narf] patsplat%

Does this happen on any other platform?  Is this an OS X limitation?

Cheers,

Patrick


In This Thread

Prev Next