Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91599 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10722 invoked from network); 9 Mar 2016 19:30:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Mar 2016 19:30:48 -0000 Authentication-Results: pb1.pair.com header.from=willfitch@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=willfitch@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 66.111.4.26 as permitted sender) X-PHP-List-Original-Sender: willfitch@php.net X-Host-Fingerprint: 66.111.4.26 out2-smtp.messagingengine.com Received: from [66.111.4.26] ([66.111.4.26:57595] helo=out2-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/4A-53667-7E970E65 for ; Wed, 09 Mar 2016 14:30:48 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6E81820887 for ; Wed, 9 Mar 2016 14:30:45 -0500 (EST) Received: from web2 ([10.202.2.212]) by compute6.internal (MEProxy); Wed, 09 Mar 2016 14:30:45 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=PeJqnsWwlPT8ZfJ C5lGFlfDt+j0=; b=aGrq9TRHbSo7KxJMY72VTdvLl9a5uhpidmbBG3MwBQTs/ev GVN/ml0ljhUeSpMeyDSFvApO3epDklhxylePUFh1ZC+xrNJpOvojQjrPaRax3km1 tc0LBiWt4mhG5QyNUSNExhQP4xwHI0gydSPZYxj1ZGd/Ad9dhKh/0fy7c3Hg= Received: by web2.nyi.internal (Postfix, from userid 99) id 49045540897; Wed, 9 Mar 2016 14:30:45 -0500 (EST) Message-ID: <1457551845.3425423.544508602.6A6DC80A@webmail.messagingengine.com> X-Sasl-Enc: WgXB74W9tlqEKs7XmCvlz3qWSWpFItVWXr9IlvZGEr0U 1457551845 To: Adam Baratz , internals@lists.php.net MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-f945545c In-Reply-To: References: Date: Wed, 09 Mar 2016 13:30:45 -0600 Subject: Re: [PHP-DEV] segfault in ini_lex() in 7.0.3 From: willfitch@php.net (Will Fitch) On Wed, Mar 9, 2016, at 01:28 PM, Adam Baratz wrote: > I got a core dump with this output: Can you provide the INI (minus secure info) and script that generates this? > > Cannot access memory at address 0x9 > Cannot access memory at address 0x1 > > #0 0x0000000000654a6d in ini_lex (ini_lval=0xd314c15417d73c46) > at Zend/zend_ini_scanner.c:3724 > #1 0x000000000067da19 in init_executor () > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_execute_API.c:176 > #2 0x0000000000669862 in zend_string_alloc (persistent=0, > len=140720308486145) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_string.h:134 > #3 zend_string_init (persistent=0, len=18446744069414584336, str=0x0) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_string.h:157 > #4 zend_compile_dynamic_call (result=0x7f2afa13e8a0, > name_node=0x7f0200000040, args_ast=0x67da19 ) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_compile.c:2867 > #5 0x0000000000671e99 in zend_compile_class_decl (ast=0x7f2afa389910) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_compile.c:5262 > #6 0x00000000006678ad in zend_compile_dim (result=0x7f2afa154268, > ast=0x7f2afa154268, type=32554) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_compile.c:2301 > #7 0x0000000000671d62 in zend_compile_class_decl (ast=0x7f2afa1f77c0) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_compile.c:5242 > #8 0x000000000066b307 in zend_ast_get_list (ast=0x7f2af9eaf7e0) > at /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_ast.h:221 > #9 zend_compile_call (result=0x7f2af9e527e0, ast=0x7ffc412f7f50, > type=32554) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_compile.c:3236 > #10 0x0000000000671eda in zend_compile_class_decl (ast=0x7f2af9ea2a50) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_compile.c:5262 > #11 0x0000000000671b11 in zend_compile_class_decl (ast=0x12de10) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_compile.c:5208 > #12 0x0000000000671af3 in zend_string_release (s=0x0) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_string.h:271 > #13 zend_compile_class_decl (ast=0x7f2b4e7ced50) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_compile.c:5207 > #14 0x0000000000629310 in zendparse () > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_language_parser.c:4357 > #15 0x000000000067666e in zend_string_alloc (persistent=32554, len=32768) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_string.h:121 > #16 zend_string_init (persistent=32764, len=0, > str=0x10005d1a00
) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_string.h:157 > #17 zend_compile_shell_exec (result=0x0, ast=0x0) > at > /wayfair/home/cmccoy/rpmbuild/BUILD/php-7.0.3/Zend/zend_compile.c:6438 > #18 0x00007f2b47e8e202 in ?? () > #19 0x00007ffc412f92f8 in ?? () > #20 0x0000000000000000 in ?? () > > I found this bug which sounds a little similar, though it appears to have > been fixed: > https://bugs.php.net/bug.php?id=70748 > > Does anyone have any suggestions for how to debug? > > Thanks, > Adam