From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77024 invoked by alias); 18 May 2017 07:43:04 -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 77006 invoked by uid 89); 18 May 2017 07:43:03 -0000 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 Received: from mail-qk0-f172.google.com (HELO mail-qk0-f172.google.com) (209.85.220.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 18 May 2017 07:43:02 +0000 Received: by mail-qk0-f172.google.com with SMTP id k74so29286363qke.1 for ; Thu, 18 May 2017 00:43:05 -0700 (PDT) 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 Received: by 10.55.190.71 with HTTP; Thu, 18 May 2017 00:42:43 -0700 (PDT) In-Reply-To: References: From: Sky Diver Date: Thu, 18 May 2017 11:02:00 -0000 Message-ID: Subject: Re: Composer segfault on multiple configurations To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00290.txt.bz2 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 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