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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=OpeNiNw
	PT//bN4HodcZGWH2FNW2BHu1x8GnRK9wdkwN8xdRXmQewFG9opHKHCfJbRca5J4K
	GbfpIx2Y+gdgZbJ6jweHd1Z1ApvO6vPU7n9ahr3XP8MLepXOgUJgG77d4+C9e6yC
	QHC73HjEn9PrJz2jb4djip7Z41DmnkJ8ffF8=
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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=nGI/EMnyQfY+m
	7ppehXqh5JEDa0=; b=tQLuLLITTic5GgjHRtElHT336DD+EtfcsLz6SlMjd5pF6
	jQCDqfu5jDWSBGWwhb/buaHfYIOWOVImqPXC2s2eE8sR9cSI+aqjuno48Slhz8BB
	wntBoxAZWiP7jWjDy6wGu8er3NMSGPLmcgeudAo03QTKd2sCZRkx91U4skTT0c=
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=-6.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=nail, Hx-languages-length:1726, UD:php
X-HELO: mail-qk0-f172.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:mime-version:in-reply-to:references:from:date         :message-id:subject:to;        bh=W6v8e2oooebPzqtHTOjBni9liiZBkGyi5zGnPZiPsJc=;        b=CvVH6QaLd2X+4Ivka8lFv/CtI8oW6LW8X/ObbUTgHIbjazzorrzZ/e9sI0OQkuG9UG         bMKvaMzCj0OH1PlN/BNFrYK7+47cSEdesaYghjy3A1cR3hsgUTbP0ciDpyfbSHeKeo6n         JnaY11YkSUZmdsiw25SEjuU9/Y0bdYly1BrLN24q3aunTK+dZq3BdRChrWzObQ9p/NyK         sR/BRhpHxEfsafW2Xa6eA1O/wJ0Nlev/WTb1p3mzKxWyp06+IprQvZOnOiHQ34Jouhwb         9wdnFxurHpPhnGrAfEtAbf7xWL/gx4ZQGNPIweZpH5kRpmtcKbfrgZC3XEKfHKvKFE9q         YSnw==
X-Gm-Message-State: AODbwcDo9AnH68Gjhp5F3/eehgwbOnpV/GBi0OyHnp/DX8W2Yx2RIN6P	Ru/nYDXRZQAwDq056LVqT7ibzHLgN/QO
X-Received: by 10.55.105.133 with SMTP id e127mr2267338qkc.19.1495093383633; Thu, 18 May 2017 00:43:03 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <d79e573f-5776-ed8e-da7e-667d04c54c7d@gmail.com>
References: <CADWQZEtfxD1HrfmmMyzn==qXVzc5dKVgajVzdtOcGwCfcQrcgQ@mail.gmail.com> <d79e573f-5776-ed8e-da7e-667d04c54c7d@gmail.com>
From: Sky Diver <skydivergm@gmail.com>
Date: Thu, 18 May 2017 10:42:43 +0300
Message-ID: <CADWQZEtXVU5GMitWn1qFqSrXYE4D5LtSBOSWsayv=suGBR0aBQ@mail.gmail.com>
Subject: Re: Composer segfault on multiple configurations
To: cygwin@cygwin.com
Content-Type: text/plain; charset="UTF-8"
X-IsSubscribed: yes

Thanks Richard, you've hit the nail right on the head.
Running PHP on that specific file does produce the segfault.

I'm currently running composer via "Bash on Ubuntu on Windows". I may
compile PHP from cygports later but currently I need to make up for
lost time at work over this.
Any idea when your fix will get released as an official cygwin PHP package?

Thanks again.

On Wed, May 17, 2017 at 11:24 PM, Richard H Lee
<ricardohenrylee@gmail.com> wrote:
> On 17/05/2017 20:17, Sky Diver wrote:
>>
>> Running "composer install" with the following composer.json ends up in
>> a segmentation fault.
>>
>> ---------- START -----------
>> {
>>      "require": {
>>          "propel/propel": "~2.0@dev"
>>      },
>>      "config": {
>>          "optimize-autoloader": true
>>      }
>> }
>> ---------- END -------------
>>
>> (*) Note: when "optimize-autoloader" is set to false the error doesn't
>> occur.
>
> I think this may be to do with the 4096 error bug.
>
> Composer will pull in the files and run them. One of them is:
> vendor/propel/propel/src/Propel/Runtime/DataFetcher/PDODataFetcher.php
>
> From you project directory, try running:
> php vendor/propel/propel/src/Propel/Runtime/DataFetcher/PDODataFetcher.php
>
> That probably will give you a segfault. I'm not sure if changing the
> filesize will help, because composer probably will fetch a fresh copy of
> the file.
>
> I did provide a small patch a few weeks ago. That might help. You'd need
> to recompile and install php though cygports to use it.
>
> --
> 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
>

--
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

