Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68551 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2140 invoked from network); 17 Aug 2013 20:52:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Aug 2013 20:52:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.128.41 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.128.41 mail-qe0-f41.google.com Received: from [209.85.128.41] ([209.85.128.41:39615] helo=mail-qe0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E5/A3-18114-E92EF025 for ; Sat, 17 Aug 2013 16:52:46 -0400 Received: by mail-qe0-f41.google.com with SMTP id ff1so1784988qeb.28 for ; Sat, 17 Aug 2013 13:52:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=2PM+8KiC5DMVUq3PuVZxJKsUxiUyYuMf+BXWUCcauU4=; b=COe3yCkbHLr4F5GNEMGhhMYUzF/AJY7A1ggZ6EBLevfDamhN6g/EK9MFdLn5MggUIE ZfH1OipG+UXC+kb45U7/MNB0gbf8a83xuZ+s9oRPiO16xKs+kmmT3hMHsTmHhDbYBRn6 12snRqsjcCE9HOYJIwlQVRloXy4lcFuypdmxtmgAPbpimEtAubln1+TYa1KmXWAfS1Pt UczoTen7E8fBTUPD49LStUjgXdK2HwHB4I2AKRhcfraiN+TExF+5SNBChq09YYMpKcJ1 MImJnd2ypcKiDcMrQQ8Ktl9xTh43WyzYGIogjGtNkPFINZ76+xetmxz6s9gfCxzj8nnD N2xA== X-Gm-Message-State: ALoCoQmna1yOeubVTlL0zLhw6Kr8QSZS0kyRULkGHEiY6ya77e4let7YsKKStxBlBRB9jQyzJJZa X-Received: by 10.224.135.69 with SMTP id m5mr363216qat.96.1376739451945; Sat, 17 Aug 2013 04:37:31 -0700 (PDT) Received: from [192.168.2.140] (CPE00131063dcac-CM0011aec551ea.cpe.net.cable.rogers.com. [174.113.209.222]) by mx.google.com with ESMTPSA id e8sm3041095qai.1.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 17 Aug 2013 04:37:31 -0700 (PDT) Message-ID: <520F607A.4020001@lerdorf.com> Date: Sat, 17 Aug 2013 07:37:30 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: PHP internals X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Module shutdown order again From: rasmus@lerdorf.com (Rasmus Lerdorf) Looking at https://bugs.php.net/bug.php?id=65463 My brain is foggy on why we call zend_destroy_modules() before zend_hash_destroy(GLOBAL_CLASS_TABLE) in zend_shutdown(). Anyone remember the reason? I have verified the issue described in 65463. On a SIGTERM to Apache mid-request, the extension ends up getting unloaded before the global class table is destroyed causing the segfault described in the bug. -Rasmus