From: "Vít Ondruch" <vondruch(a)redhat.com>
To: ruby-sig(a)lists.fedoraproject.org
Sent: Thursday, November 21, 2013 5:43:32 AM
Subject: Re: Process.daemon deadlock bug
Dne 21.11.2013 00:08, Sam Kottler napsal(a):
> There is a pretty severe bug that's probably a good candidate for backport
> to F20 and rawhide. The patch [1] reduces a potential deadlock with using
> Process.daemon. I can commit the patch and build a new version for the
> affected versions, just want to make sure people are on-board with pushing
> this into our packages until 2.1 final is released.
>
> -Sam
>
> 1.
>
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/41910...
> _______________________________________________
> ruby-sig mailing list
> ruby-sig(a)lists.fedoraproject.org
>
https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
Hi Sam,
What is the original upstream issue? Is it backported to Ruby 2.0.0 already?
. You can
reproduce it really simply:
<code>
#!/usr/bin/env ruby
Thread.new { sleep }
Process.daemon
</code>
When that daemon is supposed to exit, it will actually require being `kill -9`'ed.
Vít
_______________________________________________
ruby-sig mailing list
ruby-sig(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/ruby-sig