delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/18/08:35:24

X-Recipient: archive-cygwin AT delorie DOT 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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=DfjzhO5K9IbJrKiT
dTeU5Kj7it4jJ0tAXcVaPsry4Q5GINgD7q1V08DeADshCfVK6anr3bYVfxaH9wof
idhvm+96VQAIUaZDJ/CB9gYGxeUtlHb8lyJD+J3d9eM97f6rXnsWP6FQV9LXl1n5
/Fs0+AhmFthcpC7A5fk8zIKy52s=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=YrHVmMKUnZG2LxBEwxOd7i
wipCY=; b=hVm0NfrJ9vV9BuEUOc2/fvfSrkP/l8tU3ZOz9OeJpdZazXmKlKFN+q
n6JlSmCKps+9NK9zJ0847l9y1GAkfA7PF2aPdypjh/r/I7deKRSoF7plwyKnYgZI
u+aHZTGUzOK5SIT1FiILjSX2Q0B63DzktKT02HfEzM+dQ6jwRa6M4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*F:D*yandex.ru, H*M:yandex
X-HELO: forward3j.cmail.yandex.net
Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Thu, 18 May 2017 15:34:52 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <114969752.20170518153452@yandex.ru>
To: Sky Diver <skydivergm AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Composer segfault on multiple configurations
In-Reply-To: <CADWQZEtXVU5GMitWn1qFqSrXYE4D5LtSBOSWsayv=suGBR0aBQ@mail.gmail.com>
References: <CADWQZEtfxD1HrfmmMyzn==qXVzc5dKVgajVzdtOcGwCfcQrcgQ AT mail DOT gmail DOT com> <d79e573f-5776-ed8e-da7e-667d04c54c7d AT gmail DOT com> <CADWQZEtXVU5GMitWn1qFqSrXYE4D5LtSBOSWsayv=suGBR0aBQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Sky Diver!

Please don't top-post, and don't quote raw email addresses.

> On Wed, May 17, 2017 at 11:24 PM, Richard H Lee 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 DOT 0 AT 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.

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

Try turning pcre.jit off, it was known to be a problem in the past.


-- 
With best regards,
Andrey Repin
Thursday, May 18, 2017 15:31:02

Sorry for my terrible english...


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019