From: Nobuyoshi Nakada Date: 2008-11-03T09:44:44+09:00 Subject: [ruby-core:19678] Re: [Bug #703] string output duplication occurs if the same file descriptor written to in different threads Hi, At Mon, 3 Nov 2008 09:04:37 +0900, Yukihiro Matsumoto wrote in [ruby-core:19676]: > It doesn't happen on either trunk nor 1.8.7. What's your version, and > platform? It could reproduced with full ruby, but not with miniruby nor full ruby with disabling gems. $ ./ruby -v bug-703.rb ruby 1.9.0 (2008-11-03 revision 20092) [i686-linux] "4" "3" "4" "3" $ ./ruby --disable-gems bug-703.rb "4" "3" Interestingly, -v makes it occur again. $ ./ruby -v --disable-gems bug-703.rb ruby 1.9.0 (2008-11-03 revision 20092) [i686-linux] "4" "3" "4" "3" But -v after --disable-gems doesn't. $ ./ruby --disable-gems -v bug-703.rb ruby 1.9.0 (2008-11-03 revision 20092) [i686-linux] "4" "3" -- Nobu Nakada