Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67777 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6035 invoked from network); 22 Jun 2013 10:06:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jun 2013 10:06:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=arnaud.lb@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arnaud.lb@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.182 as permitted sender) X-PHP-List-Original-Sender: arnaud.lb@gmail.com X-Host-Fingerprint: 209.85.223.182 mail-ie0-f182.google.com Received: from [209.85.223.182] ([209.85.223.182:39382] helo=mail-ie0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/C0-01790-E2775C15 for ; Sat, 22 Jun 2013 06:06:39 -0400 Received: by mail-ie0-f182.google.com with SMTP id s9so21513069iec.27 for ; Sat, 22 Jun 2013 03:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2P4IR7CzY/+O1QtW3fIcbeEy1d6HAU1P3w1bst4EWMY=; b=zh2swD4lEf0CteloepL2pB6lvvdyyR3i2+e84YTbyKcLd5rDiqMM2J5VgeyxYRwGLf YB1bPHWeGzoE9vpwNRWiGLWLikR8SzZN0C5bzPoj46KeHTw8Z9AntUVW6EdkhHPrPYhR Yn3LQ0/3ZMDehxxOCIk59YrZqMZgKZGhzp25kjn/RXAyoF/BLeHz4VfHxzsnrL3Tvut8 o90SWwUQRa8pbkCqriXqB19DrzRmb2gTwlw/2WmjYUM6hMDoyb9a7JLvPH7U4uMm9O02 zyAhbYNbekeh99dfneCBgNAcblGS93kVEKmmugWnQLJuN0keStRvr/jHum+DnB8AncrQ rE0A== MIME-Version: 1.0 X-Received: by 10.50.97.101 with SMTP id dz5mr1090682igb.32.1371895595660; Sat, 22 Jun 2013 03:06:35 -0700 (PDT) Received: by 10.42.42.137 with HTTP; Sat, 22 Jun 2013 03:06:35 -0700 (PDT) In-Reply-To: <135ff3b963c3c90cd0e3ab1a69a1c37f@mail.gmail.com> References: <51C38014.4090906@sugarcrm.com> <51C3C673.5060408@sugarcrm.com> <135ff3b963c3c90cd0e3ab1a69a1c37f@mail.gmail.com> Date: Sat, 22 Jun 2013 12:06:35 +0200 Message-ID: To: Andi Gutmans Cc: Stas Malyshev , Anthony Ferrara , Laruence , PHP internals Content-Type: multipart/alternative; boundary=047d7b1118fda6001604dfbb55cc Subject: Re: [PHP-DEV] Disabling the GC during shutdown From: arnaud.lb@gmail.com (Arnaud Le Blanc) --047d7b1118fda6001604dfbb55cc Content-Type: text/plain; charset=UTF-8 Hi, This bug may be related (and has a reproducing script) : https://bugs.php.net/bug.php?id=63734 On Sat, Jun 22, 2013 at 4:41 AM, Andi Gutmans wrote: > >-----Original Message----- > >From: Stas Malyshev [mailto:smalyshev@sugarcrm.com] > >Sent: Thursday, June 20, 2013 8:20 PM > >To: Anthony Ferrara > >Cc: Laruence; internals@lists.php.net > >Subject: Re: [PHP-DEV] Disabling the GC during shutdown > > > >> However, that's not really fixing the situation either, as the zval is > >> still getting nuked (but only partially). > > > >If there's a memory overwrite or use-after-free is going on, this patch > is not a > >complete solution - it relies on the fact that "bad" data will be always > out of > >range of "good" data. I see no way to ensure that - so if there's an > overwrite > >that writes garbage inside the object there will be situations where the > >garbage looks exactly like a valid object ID and it will still crash, but > it would > >be significantly harder to reproduce. > >So I think before patching it we need to get to the root cause and figure > out > >why it happens and what causes it, instead of partially fixing the > symptom > > I agree with that. I think it'd be a mistake to submit any patch without > us understanding root cause. > We may cover up a bug which will resurface elsewhere... > Hopefully you can find a way to pin it down. > > Thanks for putting this much effort into it! > Andi > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > > --047d7b1118fda6001604dfbb55cc--