[#11439] comments needed for Random class — "NAKAMURA, Hiroshi" <nakahiro@...>

-----BEGIN PGP SIGNED MESSAGE-----

15 messages 2007/06/12

[#11450] Re: new method dispatch rule (matz' proposal) — David Flanagan <david@...>

This is a late response to the very long thread that started back in

17 messages 2007/06/13

[#11482] Ruby Changes Its Mind About Non-Word Characters — James Edward Gray II <james@...>

Does this look like a bug to anyone else?

10 messages 2007/06/16

[#11505] Question about the patchlevel release cycle — Sylvain Joyeux <sylvain.joyeux@...4x.org>

1.8.6 thread support was broken in bad ways. It stayed for three months

20 messages 2007/06/20
[#11512] Re: Question about the patchlevel release cycle — Urabe Shyouhei <shyouhei@...> 2007/06/20

Hi, I'm the 1.8.6 branch manager.

[#11543] Re: Apple reportedly to ship with ruby 1.8.6-p36 unless informed what to patch — James Edward Gray II <james@...>

On Jun 27, 2007, at 4:47 PM, Bill Kelly wrote:

10 messages 2007/06/27

Re: $2000 USD Reward for help fixing Segmentation Fault in GC

From: Brent Roman <brent@...>
Date: 2007-06-02 16:13:36 UTC
List: ruby-core #11395
Zimbatm,

SourceRef and ObjectSpace are pure ruby.  They are for debugging and
should not be
used in normal operation.  They are loaded in our application's
initialization
as a convenience.  The only 'C' extensions used are the "standard"
termios for
configuring serial ports and our own, very trivial, mbarilib.  mbarilib
defines
only one method, called "Kernel.doze", that is equivalent to
Kernel.sleep but
clears Thread.critical before sleeping (just as Thread.stop does).  This
lets one
stop a thread with a "timeout" while avoiding the race condition
that would otherwise result if Thread.critical were previously cleared
as a separate
ruby operation as in:

       Thread.critical = false
       sleep(time)  #race if this thread gets interrupted between these
two lines

The full core dump at the time of the crash is available on our FTP site at:

ftp://ftp.mbari.org/pub/brent

"The code" is about 1MB of ruby source.  If you can be more specific about
you want to see, I'll look into releasing those parts to you.

- brent

> Hi Brent,
>
> I've looked a bit around but it seems hard to do anything without the
> full running stack. As you said, the problem also occurs on an x86
> computer so if you are not bound by licencing you could share the code ?
>
> I've also looked at your ruby extensions. Do you use them a lot ? From
> the backtrace, you have a lot of evals. Are they comming from the
> SourceRef extension ?
>
> Also are you using ObjectSpace ?
>
> -- 
> Cheers,
>   zimbatm

-- 
 Brent Roman
 Software Engineer                 Tel: 831 775 1808
 425 Clinton St., Santa Cruz,      California, 95062
 mailto:brent@mbari.org  http://www.mbari.org/~brent




In This Thread

Prev Next