Issue #9536 has been reported by Masahiro Nakagawa.

----------------------------------------
Backport #9536: backport r45047
https://bugs.ruby-lang.org/issues/9536

* Author: Masahiro Nakagawa
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Related issue: https://bugs.ruby-lang.org/issues/9525

This problem is a big issue for Fluentd. 
We hope to backport this commit to Latest Rubies.



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