Bug #73901 [Opn->Fbk]: Transient Segfault in zend_startup()

From: Date: Wed, 11 Jan 2017 04:47:20 +0000
Subject: Bug #73901 [Opn->Fbk]: Transient Segfault in zend_startup()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206484@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73901&edit=1 ID: 73901 Updated by: krakjoe@php.net Reported by: tmwilder at gmail dot com Summary: Transient Segfault in zend_startup() -Status: Open +Status: Feedback Type: Bug Package: Apache2 related Operating System: Ubuntu 14.04.3 PHP Version: 7.1.0 Block user comment: N Private report: N New Comment: I have a feeling this is caused by that (seen traces like that before): Can I suggest that you remove the newrelic extension and retest ? Previous Comments: ------------------------------------------------------------------------ [2017-01-10 01:34:10] tmwilder at gmail dot com This strikes me as odd, none of those hudson paths exist on my system. ------------------------------------------------------------------------ [2017-01-10 01:32:49] tmwilder at gmail dot com I'll try to give that a shot. I was just running for a short window again and found the following different bt: ubuntu@remitlyweb-onebox-i-03e9af1d3d4e1be2b:~/crashlogs/2$ gdb /usr/sbin/apache2 CoreDump GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/sbin/apache2...(no debugging symbols found)...done. [New LWP 14034] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/apache2 -k start'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fa568e25371 in _emalloc_16 () from /usr/lib/apache2/modules/libphp7.1.so (gdb) bt #0 0x00007fa568e25371 in _emalloc_16 () from /usr/lib/apache2/modules/libphp7.1.so #1 0x00007fa55c84d6f5 in nr_php_zval_alloc () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_zval.h:60 #2 nr_php_call_user_func () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_call.c:42 #3 0x00007fa55c84dd8e in nr_php_curl_set_default_response_header_callback () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_curl.c:126 #4 nr_php_curl_init () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_curl.c:171 #5 0x00007fa568edf948 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #6 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #7 0x00007fa55c850f1b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1177 #8 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #9 0x00007fa568edf735 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #10 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #11 0x00007fa55c850f1b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1177 #12 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #13 0x00007fa568edf735 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #14 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #15 0x00007fa55c850f1b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1177 #16 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #17 0x00007fa568edf735 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #18 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #19 0x00007fa55c850f1b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1177 #20 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #21 0x00007fa568edf735 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #22 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #23 0x00007fa55c850f1b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1177 #24 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #25 0x00007fa568edf735 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #26 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #27 0x00007fa55c850f1b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1177 #28 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #29 0x00007fa568edf735 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #30 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #31 0x00007fa55c850f1b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1177 #32 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #33 0x00007fa568edf735 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #34 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #35 0x00007fa55c850f1b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1177 #36 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #37 0x00007fa568edf735 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #38 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #39 0x00007fa55c850f1b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1177 #40 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #41 0x00007fa568edf735 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #42 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #43 0x00007fa55c850f1b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1177 #44 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #45 0x00007fa568edfbb5 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #46 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #47 0x00007fa55c850f1b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1177 #48 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #49 0x00007fa568edfbb5 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #50 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #51 0x00007fa55c85105a in nr_php_execute_file () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:837 #52 nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1059 #53 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #54 0x00007fa568edc99f in ?? () from /usr/lib/apache2/modules/libphp7.1.so #55 0x00007fa568e8ee7b in execute_ex () from /usr/lib/apache2/modules/libphp7.1.so #56 0x00007fa55c85105a in nr_php_execute_file () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:837 #57 nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1059 #58 0x00007fa55c851562 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1287 #59 0x00007fa568ee1b94 in zend_execute () from /usr/lib/apache2/modules/libphp7.1.so #60 0x00007fa568e4a284 in zend_execute_scripts () from /usr/lib/apache2/modules/libphp7.1.so #61 0x00007fa568dea6c8 in php_execute_script () from /usr/lib/apache2/modules/libphp7.1.so #62 0x00007fa568ee3ae2 in ?? () from /usr/lib/apache2/modules/libphp7.1.so #63 0x00007fa56b9d0be0 in ap_run_handler () #64 0x00007fa56b9d1129 in ap_invoke_handler () #65 0x00007fa56b9e66fa in ap_process_async_request () #66 0x00007fa56b9e69d4 in ap_process_request () #67 0x00007fa56b9e3472 in ?? () #68 0x00007fa56b9da250 in ap_run_process_connection () #69 0x00007fa567898767 in ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so #70 0x00007fa5678989a6 in ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so #71 0x00007fa567898a06 in ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so #72 0x00007fa5678996e0 in ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so #73 0x00007fa56b9b78ae in ap_run_mpm () #74 0x00007fa56b9b1046 in main () ------------------------------------------------------------------------ [2017-01-10 01:07:46] pollita@php.net Unfortunately, a LOT happens in zend_startup(), so it is a bit hard to pin down from what you have so far. Is there any way you can try a debug build and tee some prod traffic at it? A backtrace from a debug build would provide way more information. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=73901 -- Edit this bug report at https://bugs.php.net/bug.php?id=73901&edit=1

« previous php.bugs (#206484) next »