Project

General

Profile

Actions

Bug #8348

closed

ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD

Added by JoeKun (Joel Lopes Da Silva) over 11 years ago. Updated about 10 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-kfreebsd9.0-gnu]
[ruby-core:54708]

Description

=begin
Ruby scripts that use Process.daemon seem to hang randomly on Debian GNU/kFreeBSD.

Steps to reproduce:

(1) Install Debian GNU/kFreeBSD Wheezy
(2) Install rvm: (({curl -L https://get.rvm.io | bash -s stable}))
(3) Install any dependencies recommended by rvm
(4) Install ruby 2.0: (({rvm install 2.0.0 --patch /path/to/ruby-2.0.0-p0_missing_declarations_GNU_kFreeBSD.diff}))
(5) Run: (({ruby test_ruby_daemonized_process_hang_kfreebsd.rb}))

The script never actually finishes, and hangs soon after using Process.daemon.
=end


Files

test_ruby_daemonized_process_hang_kfreebsd.rb (356 Bytes) test_ruby_daemonized_process_hang_kfreebsd.rb Test file revealing hangs in ruby scripts using Process.daemon on Debian GNU/kFreeBSD. JoeKun (Joel Lopes Da Silva), 04/30/2013 04:06 PM
ruby-2.0.0-p0_missing_declarations_GNU_kFreeBSD.diff (2.99 KB) ruby-2.0.0-p0_missing_declarations_GNU_kFreeBSD.diff JoeKun (Joel Lopes Da Silva), 04/30/2013 04:06 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0