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=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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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: References: From: Sky Diver Date: Thu, 18 May 2017 10:42:43 +0300 Message-ID: Subject: Re: Composer segfault on multiple configurations To: cygwin AT cygwin DOT 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 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. > > -- > 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