Bug #2718: DRb mixing up function return values between PIDs after fork()
http://redmine.ruby-lang.org/issues/show/2718

Author: Sean Bradly
Status: Open, Priority: Normal
Category: lib
ruby -v: 1.9.1,1.8.7

The precise details are in the attached test case, but the basic version goes as such: Child pid 1 calls method_a() but gets the return value of method_b() that was called from child pid 2. This only happens if the parent process makes any remote DRb calls before the fork.

This issue showed up for me in 1.9.1 as well as 1.8.7 on x86, but not in x86_64.


----------------------------------------
http://redmine.ruby-lang.org