[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ruby-randrop build hangs



It looks like ruby-raindrops hangs on buildd because of issues with ruby1.9.1,
libc and SMP.

This very simple code taken from raindrops maillist [0] will 100% hang on SMP
kfreebsd box:

1000.times do
   pid = fork do
     1 + 1
   end
   Process.waitpid2(pid)
 end

It may be used as a test case :)

It doesn't lock on uniprocessor machine, it doesn't lock under ruby1.8, it
doesn't locks on ordinary FreeBSD. But it locks when run under ruby1.9.1 on SMP
machine with kfreebsd (8.1, 9.0) and glibc.

[0] http://permalink.gmane.org/gmane.comp.lang.ruby.raindrops.general/96


Reply to: