From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27536 invoked by alias); 18 May 2017 12:35:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27515 invoked by uid 89); 18 May 2017 12:35:04 -0000 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 Received: from forward3j.cmail.yandex.net (HELO forward3j.cmail.yandex.net) (5.255.227.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 18 May 2017 12:35:02 +0000 Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [95.108.130.59]) by forward3j.cmail.yandex.net (Yandex) with ESMTP id 51D5B21889; Thu, 18 May 2017 15:35:03 +0300 (MSK) Received: from smtp1j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1j.mail.yandex.net (Yandex) with ESMTP id E09A43C81168; Thu, 18 May 2017 15:35:01 +0300 (MSK) Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 66albxsiIv-Z1sG9HKW; Thu, 18 May 2017 15:35:01 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 18 May 2017 12:34:52 -0000 Date: Thu, 18 May 2017 12:35:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <114969752.20170518153452@yandex.ru> To: Sky Diver , cygwin@cygwin.com Subject: Re: Composer segfault on multiple configurations In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00295.txt.bz2 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.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. > 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