The issue is probably with the IO modules. It is an
XS-based module and may not be thread-safe.
Read
Using non-thread-safe modules in the
Bugs and Limitations section of the 'threads' POD for potential
workarounds.
If you still have problems, a small test script the evokes
the bug would be an absolute.
(0)
]
