X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=xjh445YYpMPriI0kZa7c0H0KO63BWafdkfk5/I1YqaAWxnqbnDMiQ
	s4LOCPftdy6NCxI1J8f7Hj4vKuSqF+ZsaB2LqKc3aq0+nXGSXv46AZotqL49KWm9
	nZfNuGpMFNR+TGF1bxuR2K6FPsY2gqPqxVtXzLdmjg/m8nZJWJ2Mwo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=/SCO5uVMayXlYdRFAz+Fc7FYUTY=; b=bmV9Ge/Np7m/kwEQ1t+TDePdLfiL
	6vKvJARAy/4IgoHYcA/JiYLZ56wMJMq+9tUL0khPqs8mw9/iVa8lmTqBLzXEhBuh
	FfPVpND3KQ+MlgvMsD18g9JfpKI8t59K7GQXYnSh7j8/41MuPNEPJI3jIxMET91L
	N18DcZzChk9Y3EA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_50,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=forcefully, decode, uninstalled, JSON
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Achim Gratz <Stromeko@NexGo.DE>
Subject: Re: Latest perl JSON::XS failing when threaded
Date: Fri, 4 Mar 2016 08:53:25 +0000 (UTC)
Lines: 14
Message-ID: <loom.20160304T093501-607@post.gmane.org>
References: <CAHSx_SvqC+ajoCQ01S+j8wrwqG0B=m0mK5O+o4PQyS-THBWSYQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

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

