Latest perl JSON::XS failing when threaded

Achim Gratz Stromeko@NexGo.DE
Fri Mar 4 08:53:00 GMT 2016


Wayne Davison <wayne <at> opencoder.net> writes:
> I updated cygwin today, and now perl JSON::XS fails to be able to
> decode json data if it is run in a multi-threaded script.

That's the expected outcome, see:
http://search.cpan.org/dist/JSON-XS/XS.pm#THREADS

> I forcefully uninstalled JSON::XS and the bug goes away.

Uh, check the documentation for how to use the PP instead of the XS backend
with JSON.  Or maybe try Test::Without::Module.

Regards,
Achim.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list