General

Profile

cout (Paul Brannan)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 6 6

Activity

06/17/2021

10:17 PM Ruby Bug #17993: Ruby process stuck in rb_sigwait_sleep
I think I have tracked the problem to libev. Kudu uses libev for its reactor, and libev installs a signal handler for SIGCHLD (http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod):
> Libev grabs SIGCHLD as soon as the default event ...
cout (Paul Brannan)
02:07 AM Ruby Bug #17993: Ruby process stuck in rb_sigwait_sleep
As far as I can tell looking at the kudu source, none of the threads created by the kudu library installs a SIGCHLD handler. But this certainly feels related, because `system` behaves as expected if I ignore SIGCHLD prior to calling it.... cout (Paul Brannan)

06/16/2021

08:18 PM Ruby Bug #17993 (Third Party's Issue): Ruby process stuck in rb_sigwait_sleep
I have a very simple client for kudu (https://kudu.apache.org/) implement as a wrapper that I invoke with FFI. After creating a kudu client with `KuduClientBuilder::Build()`, subsequent calls to `system` cause the ruby interpreter to bl... cout (Paul Brannan)

10/01/2018

06:36 PM Ruby Bug #15188 (Closed): Incorrect warning "assigned but unused variable" when using ripper with $VERBOSE = true
The following code:
require 'ripper'

class Parser < Ripper
def warn(fmt, *args)
puts "#{filename}:#{lineno} - #{fmt % args}"
end
end

if __FILE__ == $0 then
$VERBOSE = true
...
cout (Paul Brannan)

04/25/2012

05:53 AM Ruby Bug #6246: 1.9.3-p125 intermittent segfault
>
/home/deploy/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.so.1.9(rb_gc_call_finalizer_at_exit+0x219) [0x7f9f37246359] gc.c:3044
> /home/deploy/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.so.1.9(ruby_cleanup+0x1ec) [0x7f9f37233fac] eval.c:...
cout (Paul Brannan)
05:53 AM Ruby Feature #5555: rename #include? to #includes?
On Wed, 2012-04-25 at 05:24 +0900, Roger Pack wrote:
> >> It always confuses me how that one defies the rule.
> >
> > There’s no non-dangerous version of Array#shift, so it doesn’t defy the rules.
>
> True, I just always reac...
cout (Paul Brannan)

04/20/2012

03:53 AM Ruby Feature #6293: new queue / blocking queues
On Mon, 2012-04-16 at 18:25 +0900, SASADA Koichi wrote:
> How about to add try_pop?

I like it! It's consistent with Mutex.

Paul
cout (Paul Brannan)

04/14/2012

12:59 AM Ruby Feature #6287: nested method should only be visible by nesting/enclosing method
On Fri, 2012-04-13 at 22:58 +0900, mame (Yusnuke Endoh) wrote:
> In the same manner, a "nested" method definition you said:
>
> def define_foo
> def foo
> end
> end
>
> should define a method named "define_...
cout (Paul Brannan)

11/20/2008

02:52 AM Ruby Bug #765 (Closed): Mismatched indentation warning in minitest/unit.rb
=begin
[pbrannan@zem pbrannan]$ ruby1.9 -w -r'minitest/unit' -e ''
/usr/local/lib/ruby1.9/1.9.0/minitest/unit.rb:207: warning: mismatched indentations at 'end' with 'def' at 194
=end
cout (Paul Brannan)
02:40 AM Ruby Bug #764: Undefined method `chomp` while requiring logger.rb
=begin
Maybe this isn't a bug. It seems to be related to whether $Id$ gets expanded when checking out of svn.

Probably logger.rb shouldn't fail when $Id$ isn't expanded.
=end
cout (Paul Brannan)

Also available in: Atom