delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/18/10:22:58

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=jdeWmIt
tpE+XFqq7gSkKNE64w/b3qFkELEVyS12tysp1kggw25iNQFMFcwKFGVzXT7sztcl
OdgT/ElgPiIwD7PIpaATavnuQzaZKHCLoIATA6fgEp+GxZrwYrBqa4hdoY/Jxcd1
LcPvTbmjVPZpTLVnDS66Bw+FT3ItMlCm/Zqc=
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=nei8VceQGpnSz
O38mcOMEUrPxb4=; b=MBOQbEu5jah3+JzEjmz8zEbCMr4MasiEGVaJ+6Q2AuE9z
eGdmqYsckMQYl8Jl4kWxJpgrP2JuSygC+ojnF8vHAKDBzeQb0yW77Z1RJ4ajF3oy
Xy9OQBjhkLrPJIw77C1vp5M3kEVgDSWBuHbkFd7SD1UkFrY0GU+TVJRNp4Nj/0=
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=-5.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=D*yandex.ru, UD:ini, UD:php.ini, phpini
X-HELO: mail-qt0-f181.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=sQcwz6dlOmX3n34RMRTFIBgxHCMtrug0n8lBbps5GDE=; b=cg9VjfS40NGVwKSr74Go36B2UwWngYBA5qj7hCYPE98Rt9lIu+lloGc943c74iUUly /0wenwBNuK3/Y4+I+a35mknHRwT7PRs7oXUJq7ALixgiTkSzEQ2RPAKKfE+qEHpCoI/r ogusvYeT5qOUhOb85brj44bV1CWINjWqmhVGJg5DskM4SzuU2aPXVy6IQuLJ6Cppkrm5 uVZXhgoF4EpK4bMfE0pn+hp6wNlMxv9yMVfdFNKR2+VjTCB2lPFWfWXM2JYTVLCVtypm sl05rK0RXyoOUOZYy0sVSGbxrNCc8SwVzWDHtbn+k6h5N9WtH+XEhyT+VYSInsOqQPSh dw0g==
X-Gm-Message-State: AODbwcABr0G6eQ7nsM5qtVeVOcY7QyAAq4rlql+uChh2NujLkmUYtQFe 32PXEcDH8XfqJ1UYQ1vF8x7XItjOqWufnsc=
X-Received: by 10.237.33.183 with SMTP id l52mr3967609qtc.165.1495117357868; Thu, 18 May 2017 07:22:37 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <114969752.20170518153452@yandex.ru>
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> <114969752 DOT 20170518153452 AT yandex DOT ru>
From: Sky Diver <skydivergm AT gmail DOT com>
Date: Thu, 18 May 2017 17:22:17 +0300
Message-ID: <CADWQZEvGo2yArM1ThBNTR7ZtK7QPuXMMd2-qcL9Bg1xo3M-zvw@mail.gmail.com>
Subject: Re: Composer segfault on multiple configurations
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Thu, May 18, 2017 at 3:34 PM, Andrey Repin wrote:
> Please don't top-post, and don't quote raw email addresses.
Fair enough.

On Thu, May 18, 2017 at 3:59 PM, Richard H Lee wrote:
> On 18/05/2017 13:34, Andrey Repin wrote:
>>
>> Try turning pcre.jit off, it was known to be a problem in the past.
>
>
> This is already turned off in the cygport patches.

I'm not sure if Richard is referring to a released version or a
manually compiled one, but prior to posting my issue I already went
over earlier discussions regarding pcre.jit.
This is the configuration in my php.ini:
    pcre.jit=0

I assume this means it's off.

On Thu, May 18, 2017 at 3:34 PM, Andrey Repin <anrdaemon AT yandex DOT ru> wrote:
> 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