Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91598 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9183 invoked from network); 9 Mar 2016 19:28:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Mar 2016 19:28:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=adam.baratz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=adam.baratz@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.173 as permitted sender) X-PHP-List-Original-Sender: adam.baratz@gmail.com X-Host-Fingerprint: 209.85.213.173 mail-ig0-f173.google.com Received: from [209.85.213.173] ([209.85.213.173:36711] helo=mail-ig0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CE/E9-53667-F5970E65 for ; Wed, 09 Mar 2016 14:28:31 -0500 Received: by mail-ig0-f173.google.com with SMTP id vs8so80623686igb.1 for ; Wed, 09 Mar 2016 11:28:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=X+m9IXoS9J2yvu+iOC7Iljqcv9OGgS/j5P4Z96c8OvA=; b=IN30kgcy/2DTBkvjBbSm+ESGloE89u9tE3inUypS7PNXvikS4lO86SrGvPywxH6y5y fL+eM46i3Du+ZEiHHrb3q4E6gGk1V2VUtRydaR4vZ32tKmttdrTDyKSM7az5Wa/79au6 25l/QTmODwpctN8LHvDcgSA7en+f8K5keUdqpqjMYzHB1DjQcknLZtGGTikcEkDAWVba mF2E+3U6OIxSVmvu+ze/uow7HaY1loU4Y3AfPFBSw0nWOHA8EU+PzWykWVCPK/C64I1d kifaKhKQPufjhVNAgJ0Yn7TiJcHVOCBVumjAT/uk5Ui+bf29J/oDi3GtwFbvtUeMHyEQ ZBog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=X+m9IXoS9J2yvu+iOC7Iljqcv9OGgS/j5P4Z96c8OvA=; b=XZlzIhSJHy43E6AAPxksWiOskvUWv1mGha8uS3vMmIpUP8v2WCkLH+r5TwKmAO9sNj 2ypYVkA7chVumuvtOJ9ul8K6UzMdVswkBwQjJYa0OSL/btGQjWHe2SUCJmamXG/j2T9+ awH+ybnZdqBEnummN61m4bq1DQU+H1UjO2fR2gsNgRfWSDjWgiInA7Tmsal8EBTTBWtv vRo7fX/Ac7Zg2lyppWhfCBQz/6C/aVE0mV2S92YKbk072DpRyelIuvpJ8/QA1ou5cwE9 8hGURd/HY/9FqWfvGr9j1KB/mMy1TlzXI7ccpaQ9EM6uNcqQQBYNbtt6WvDExfNQZy15 U2vg== X-Gm-Message-State: AD7BkJIEBuFTRfo5lECkX4R1MffQ/NW9Kvt90kUvpPkSowifIbWKcPXzi/0lgEy0B629NEea4UcU+/9VW5k7Sw== MIME-Version: 1.0 X-Received: by 10.50.28.72 with SMTP id z8mr864851igg.44.1457551707799; Wed, 09 Mar 2016 11:28:27 -0800 (PST) Received: by 10.64.11.34 with HTTP; Wed, 9 Mar 2016 11:28:27 -0800 (PST) Date: Wed, 9 Mar 2016 14:28:27 -0500 Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e0158b242c90ba0052da2b360 Subject: segfault in ini_lex() in 7.0.3 From: adam.baratz@gmail.com (Adam Baratz) --089e0158b242c90ba0052da2b360 Content-Type: text/plain; charset=UTF-8 I got a core dump with this output: 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 --089e0158b242c90ba0052da2b360--