Bug #71192 [Fbk->NoF]: Segfault on Shutdown

From: Date: Sun, 03 Jan 2016 04:22:20 +0000
Subject: Bug #71192 [Fbk->NoF]: Segfault on Shutdown
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198374@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71192&edit=1 ID: 71192 Updated by: php-bugs@lists.php.net Reported by: michael at currinda dot com Summary: Segfault on Shutdown -Status: Feedback +Status: No Feedback Type: Bug Package: Reproducible crash Operating System: Ubuntu Precise PHP Version: 7.0.1 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2015-12-22 07:55:10] laruence@php.net try with: USE_ZEND_ALLOC=0 ZEND_DONT_UNLOAD_MODULES=1 valgrind php7 yourscript.php it will shows where the problem came from, and I guess it probably relates to YAML. ------------------------------------------------------------------------ [2015-12-22 07:48:50] michael at currinda dot com Unfortunately I wouldn't be able to test it without YAML, this is on a live server. There doesn't seem to be a huge amount of rhyme or reason to the actual scripts that are crashing it. I've had a case where the same script, with slightly different database inputs ie. a different record is crashing it. I've also downloaded the database to my local machine, run the script on local (mac running same version, though not compiled) and it hasn't crashed. ------------------------------------------------------------------------ [2015-12-22 05:44:23] seander@php.net Hi michael! Do you get this segfault as well with YAML not installed? What version of YAML do you have installed. Is there a specific script that is causing this, if so are you able to post it? thanks ------------------------------------------------------------------------ [2015-12-22 04:58:00] michael at currinda dot com Description: ------------ Segfault on shutdown, not sure what script is causing this but getting reports of unclean exits from browsers. Compiled with: './configure' \ '--prefix=/usr/local' \ '--with-libdir=/lib/x86_64-linux-gnu' \ '--with-mysqli' \ '--enable-fpm' \ '--with-readline' \ '--with-pdo_mysql' \ '--with-curl' \ '--enable-pcntl' \ '--enable-mbstring' \ '--enable-debug' \ '--with-zlib' \ '--with-pdo' \ '--enable-so' \ '--with-mcrypt' \ '--with-gd' \ '--enable-gd-native-ttf' \ '--with-openssl' \ '--with-png-dir=/usr' \ '--with-jpeg-dir=/usr' \ '--with-freetype-dir=usr' \ '--with-ttf' \ '--with-exif' \ '--enable-bcmath' \ also has PECL YAML extension installed. Expected result: ---------------- Clean shutdown Actual result: -------------- #0 0x000000000096df76 in zend_mm_find_leaks_small (p=0x7f562a200000, i=509, j=38, leak=0x7fffa6a43b40) at /home/ubuntu/php-7.0.1/Zend/zend_alloc.c:1996 #1 0x000000000096e0e3 in zend_mm_find_leaks (heap=0x7f562b800040, p=0x7f562a200000, i=509, leak=0x7fffa6a43b40) at /home/ubuntu/php-7.0.1/Zend/zend_alloc.c:2024 #2 0x000000000096e5ca in zend_mm_check_leaks (heap=0x7f562b800040) at /home/ubuntu/php-7.0.1/Zend/zend_alloc.c:2128 #3 0x000000000096e88a in zend_mm_shutdown (heap=0x7f562b800040, full=0, silent=0) at /home/ubuntu/php-7.0.1/Zend/zend_alloc.c:2193 #4 0x000000000096f6f9 in shutdown_memory_manager (silent=0, full_shutdown=0) at /home/ubuntu/php-7.0.1/Zend/zend_alloc.c:2629 #5 0x000000000090e8a5 in php_request_shutdown (dummy=0x0) at /home/ubuntu/php-7.0.1/main/main.c:1833 #6 0x0000000000a71239 in main (argc=6, argv=0x7fffa6a442c8) at /home/ubuntu/php-7.0.1/sapi/fpm/fpm/fpm_main.c:1972 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71192&edit=1

« previous php.bugs (#198374) next »