[#18121] [Ruby 1.8.7 - Bug #405] (Open) ssl.rb:31: [BUG] Bus Error — Anonymous <redmine@...>

Issue #405 has been reported by Anonymous.

14 messages 2008/08/04

[#18130] Re: New array methods cycle, choice, shuffle (plus bug in cycle) — Brian Candler <B.Candler@...>

> Seriously though... Array.first is a noun.

10 messages 2008/08/05

[#18319] NEW Command: absolute_path() -- — "C.E. Thornton" <admin@...>

Core,

14 messages 2008/08/16
[#18321] Re: NEW Command: absolute_path() -- — Yukihiro Matsumoto <matz@...> 2008/08/18

Hi,

[#18381] [Bug #496] DRb.start_service(nil) is very slow — Hongli Lai <redmine@...>

Bug #496: DRb.start_service(nil) is very slow

11 messages 2008/08/25

[ruby-core:18054] Re: JRuby adding ConcurrencyError for fatal concurrent modification

From: "Wilson Bilkovich" <wilsonb@...>
Date: 2008-08-01 15:44:10 UTC
List: ruby-core #18054
On 7/31/08, Charles Oliver Nutter <charles.nutter@sun.com> wrote:
> Yukihiro Matsumoto wrote:
>
> > Hi,
> >
> > In message "Re: [ruby-core:18033] JRuby adding ConcurrencyError for fatal
> concurrent modification"
> >    on Fri, 1 Aug 2008 03:26:10 +0900, Charles Oliver Nutter
> <charles.nutter@sun.com> writes:
> >
> > |In order to limit or reduce the likelihood that multiple threads
> |concurrently performing unsynchronized modifications to a shared |resource
> (like an Array, String, or Hash), we are adding a |ConcurrencyError in
> JRuby. ConcurrentError extends ThreadError, and is |primarily a debugging
> tool. The intended purpose is to prevent a Java |stack trace from being
> generated, killing the thread in question, with |no way to rescue and log
> it. This is not intended to be a |generally-recoverable error; it's more to
> say "you were concurrently |modifying something and shouldn't have been" so
> the code can be fixed.
> >
> > If ConcurrentError is supposed to be caught, I think it should not be
> > a subclass of ThreadError, which is a subclass of StandardError, that
> > is caught by rescue by default.
> >
>
>  Hmm, that's a good point. The intention with
> ConcurrentError/ConcurrencyError is more to provide a
> ruby-friendly error rather than either a Java stack trace or dumping core.
> So perhaps it shouldn't be under the StandardError hierarchy.
>

What if it were a subclass of Interrupt?  The roles seem similar to
me; each type of error can only occur in an 'environment', not in a
single-threaded script.

In This Thread