Bug #67083 [NEW]: While php was shutdowning, Php dump a core
| From: | zhaoyong dot lc at gmail dot com | Date: | Wed, 16 Apr 2014 07:56:13 +0000 |
| Subject: | Bug #67083 [NEW]: While php was shutdowning, Php dump a core | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-185265@lists.php.net to get a copy of this message | ||
From: zhaoyong dot lc at gmail dot com
Operating system: Redhat2.6.9 x86-64
PHP version: 5.4.27
Package: Reproducible crash
Bug Type: Bug
Bug description:While php was shutdowning, Php dump a core
Description:
------------
gdb /home/work/env/apache2/bin/httpd core.httpd.13068.1394772303 (wd:
/home/coresave/bak)
(gdb) bt
#0 0x0000002a95fef030 in zend_fetch_var_address_helper_SPEC_CONST_VAR
(type=3, execute_data=0x2a96d922d8)
at /home/work/sitemap-env/tmp/php-5.4.11/Zend/zend.h:399
#1 0x0000002a95fe427f in execute (op_array=0xa25230) at
/home/work/sitemap-env/tmp/php-5.4.11/Zend/zend_vm_execute.h:410
#2 0x0000002a95fad401 in zend_call_function (fci=0x7fbfffd620,
fci_cache=Variable "fci_cache" is not available.
)
at
/home/work/sitemap-env/tmp/php-5.4.11/Zend/zend_execute_API.c:958
#3 0x0000002a95fd16b9 in zend_call_method (object_pp=0x0,
obj_ce=0xa23f40, fn_proxy=0x2aabbe5f00,
function_name=0xa34720 "yiibase::autoload", function_name_len=18,
retval_ptr_ptr=0x7fbfffd6d0, param_count=56,
arg1=0x2a96dc9dc0, arg2=0x0) at
/home/work/sitemap-env/tmp/php-5.4.11/Zend/zend_interfaces.c:97
#4 0x0000002a95e8caa5 in zif_spl_autoload_call (ht=Variable "ht" is not
available.
) at /home/work/sitemap-env/tmp/php-5.4.11/ext/spl/php_spl.c:436
#5 0x0000002a95fad614 in zend_call_function (fci=0x7fbfffd930,
fci_cache=0x7fbfffd900)
at
/home/work/sitemap-env/tmp/php-5.4.11/Zend/zend_execute_API.c:980
#6 0x0000002a95fadd75 in zend_lookup_class_ex (name=0x2a9bb945b8
"CLogger", name_length=7, key=0x2a9bf96050, use_autoload=1,
ce=0x7fbfffd9e8) at
/home/work/sitemap-env/tmp/php-5.4.11/Zend/zend_execute_API.c:1127
#7 0x0000002a95faecff in zend_fetch_class_by_name
(class_name=0x2a9bb945b8 "CLogger", class_name_len=Variable
"class_name_len" is not available.
)
at
/home/work/sitemap-env/tmp/php-5.4.11/Zend/zend_execute_API.c:1607
#8 0x0000002a95febaf3 in ZEND_FETCH_CONSTANT_SPEC_CONST_CONST_HANDLER
(execute_data=0x2a96d914d0)
at
/home/work/sitemap-env/tmp/php-5.4.11/Zend/zend_vm_execute.h:3600
#9 0x0000002a95fe427f in execute (op_array=0x2aabb03e30) at
/home/work/sitemap-env/tmp/php-5.4.11/Zend/zend_vm_execute.h:410
#10 0x0000002a95fad401 in zend_call_function (fci=0x7fbfffdbf0,
fci_cache=Variable "fci_cache" is not available.
)
at
/home/work/sitemap-env/tmp/php-5.4.11/Zend/zend_execute_API.c:958
#11 0x0000002a95fad9c0 in call_user_function_ex (function_table=Variable
"function_table" is not available.
)
at
/home/work/sitemap-env/tmp/php-5.4.11/Zend/zend_execute_API.c:750
#12 0x0000002a95fbbb7d in zend_error (type=2, format=0x2a964d1286 "%s")
at /home/work/sitemap-env/tmp/php-5.4.11/Zend/zend.c:1198
#13 0x0000002a95f59b08 in php_verror (docref=0x0, params=0x2a96504900
"", type=2, format=Variable "format" is not available.
)
at /home/work/sitemap-env/tmp/php-5.4.11/main/main.c:862
#14 0x0000002a95f59edf in php_error_docref0 (docref=Variable "docref" is
not available.
) at /home/work/sitemap-env/tmp/php-5.4.11/main/main.c:874
#15 0x0000002a9a102fa6 in mmc_prepare_key_ex (key=Variable "key" is not
available.
) at /tmp/pear/temp/memcache/memcache.c:560
#16 0x0000002a9a1086e0 in ps_write_memcache (mod_data=Variable
"mod_data" is not available.
) at /tmp/pear/temp/memcache/memcache_session.c:230
#17 0x0000002a95e3ea06 in php_session_flush () at
/home/work/sitemap-env/tmp/php-5.4.11/ext/session/session.c:489
#18 0x0000002a95e3fcf5 in zm_deactivate_session (type=Variable "type" is
not available.
) at /home/work/sitemap-env/tmp/php-5.4.11/ext/session/session.c:2144
---Type <return> to continue, or q <return> to quit---
#19 0x0000002a95fc148f in zend_deactivate_modules () at
/home/work/sitemap-env/tmp/php-5.4.11/Zend/zend_API.c:2335
#20 0x0000002a95f5b7b5 in php_request_shutdown (dummy=Variable "dummy"
is not available.
) at /home/work/sitemap-env/tmp/php-5.4.11/main/main.c:1769
#21 0x0000002a9605567d in php_handler (r=0x97f790) at
/home/work/sitemap-env/tmp/php-5.4.11/sapi/apache2handler/sapi_apache2.c:507
Test script:
---------------
I don't have script now, this happend at times. We use Yii PHP
framework, Using Clogger class to note something wrong when php run. I
think this is a bug, because
php was shutdown, however, PHP find Clogger class to note something, It
can't be accomplished.
--
Edit bug report at https://bugs.php.net/bug.php?id=67083&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67083&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67083&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67083&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=67083&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=67083&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=67083&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=67083&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=67083&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=67083&r=support
Expected behavior: https://bugs.php.net/fix.php?id=67083&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=67083&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=67083&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=67083&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67083&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=67083&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=67083&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=67083&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=67083&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=67083&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=67083&r=mysqlcfg