From: Sean Bradly Date: 2010-06-23T03:03:49+09:00 Subject: [ruby-core:30864] [Bug #2718] DRb mixing up function return values between PIDs after fork() Issue #2718 has been updated by Sean Bradly. I just verified that this shows up for me in Ruby 1.8.7-p249 as well as 1.9.1-p378. It does seem to reproduce a lot more readily in 1.8, however. Note that you must run the test script with at least one argument (the arg can be anything) to trigger the problem. With 0 arguments it skips the bug to show the known good case. -- (o.0) xi:~/code $ rvm list rvm rubies ruby-1.8.6-p383 [ i386 ] ruby-1.8.7-p174 [ i386 ] ruby-1.8.7-p249 [ i386 ] => ruby-1.9.1-p378 [ i386 ] (o.0) xi:~/code $ ruby ~/Downloads/drb_test_case.rb FAIL a exiting a exiting a exiting a ok b ok b ok A BAD RESULT ("BBBB") a exitinga exiting b exiting b exiting --Sean ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2718 ---------------------------------------- http://redmine.ruby-lang.org