Hi folks, I just committed the patch, which fixes the problem that I found. While the patch doesn't seem to be fixing the root of the problem, it's safe, harmless, and more importantly fixes the issue. However, if you know more about that part of the code, and knows about the root cause, it would be great.
Please let me know if you need the script that reproduce the problem. Thanks, Xuefu