General

Profile

ccutrer (Cody Cutrer)

  • Login: ccutrer
  • Email: cody@cutrer.us
  • Registered on: 07/18/2013
  • Last sign in: 10/19/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 5 5

Activity

06/13/2025

03:55 AM Ruby Revision 22a7f6b6 (git): [rubygems/rubygems] Recognize JRuby loaded from a classloader, not just any JAR
Such is the case if you embed JRuby into an application dynamically (such
as via OSGi). From my test environment:
```
irb(main):006:0> $LOADED_FEATURES.grep(/cli.rb/)
=> ["uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/cli...
ccutrer (Cody Cutrer)

01/02/2018

08:40 PM Ruby Bug #14273 (Closed): Stack Consistency Error from return in loop
```ruby
def foo(x)
unless x
while !x
return nil
end
end
end
foo(nil)
```
```
(irb):18: [BUG] Stack consistency error (sp: 100, bp: 101)
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]
-- Cras...
ccutrer (Cody Cutrer)

12/14/2017

04:50 AM Ruby Bug #14181 (Closed): hangs or deadlocks from waitpid, threads, and trapping SIGCHLD
I'm not exactly sure what's going on here, but the end result is basically a thread is getting killed unexpectedly during a waitpid call, when SIGCHLD is being handled. In a more complex scenario, we end up hanging because Thread#join is... ccutrer (Cody Cutrer)

06/13/2017

04:40 PM Ruby Bug #13656 (Closed): Method#super_method returns incorrect result dependent on unrelated module
~~~ruby
module Calculations
def pluck
puts "calculations"
end
end
module Calculations2
def pluck
puts "calculations2"
super
end
end
class Relation
include Calculations
end
Relation.prepend(Calc...
ccutrer (Cody Cutrer)

12/16/2016

09:37 PM Ruby Bug #13043 (Closed): Exception#cause can become recursive/infinite
In a certain situation, Exception#cause can become an infinite list:
```ruby
def raise_errors
begin
raise "error 1"
ensure
orig_error = $!
begin
raise "error 2"
rescue => err
raise orig_er...
ccutrer (Cody Cutrer)

06/30/2014

05:47 PM Ruby Feature #6216: SystemStackError backtraces should not be reduced to one line
... and fixed in my testing today ccutrer (Cody Cutrer)

06/27/2014

09:32 PM Ruby Feature #6216: SystemStackError backtraces should not be reduced to one line
I can confirm that this is working on current master, but with one problem - if the exception is ever rescued and then re-raised (even with just a plain `raise`, not `raise e` or anything), the backtrace is reset to where it's re-raised ... ccutrer (Cody Cutrer)

04/07/2014

03:13 PM Ruby Bug #9675: Marshal.load fails with recursive structures and user defined hash method
There is no documentation for `hash` that if you override it, you should not use instance variables. Either this needs to be prevented by ruby, or the documentation needs to be updated. The actual case that triggered this was `ActiveReco... ccutrer (Cody Cutrer)

03/25/2014

03:54 PM Ruby Bug #9675 (Rejected): Marshal.load fails with recursive structures and user defined hash method
If a user class redefines hash to something that depends on instance variables, and the object is loaded both before a hash, and as a key of a hash of one of its own instance variables (that's loaded *before* the instance variables neede... ccutrer (Cody Cutrer)

Also available in: Atom