Bug #68309 [Fbk->NoF]: Random crash on shutdown

From: Date: Sun, 26 Dec 2021 04:22:08 +0000
Subject: Bug #68309 [Fbk->NoF]: Random crash on shutdown
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238567@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68309&edit=1 ID: 68309 Updated by: php-bugs@lists.php.net Reported by: Danack at basereality dot com Summary: Random crash on shutdown -Status: Feedback +Status: No Feedback Type: Bug Package: CGI/CLI related Operating System: Centos 6.4 PHP Version: 5.6.2 Assigned To: cmb 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: ------------------------------------------------------------------------ [2021-12-14 13:56:16] cmb@php.net Is this still an issue with any of the actively supported PHP versions[1]? [1] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ [2014-11-01 14:45:45] laruence@php.net are you able to consistently reproduce it in your box? ------------------------------------------------------------------------ [2014-10-27 12:17:40] Danack at basereality dot com Description: ------------ I realise this might be impossible to debug, but I've been seeing a 'random' crash in PHP 5.6.2 when there is a fatal error in a script. I haven't been able to reproduce it in a simple script however it was captured in a valgrind run. Possibly related to any of 63481, 64827, 64896, 68121. Expected result: ---------------- No crash. Actual result: -------------- The output from the script when run through valgrind is: PHP Catchable fatal error: Argument 1 passed to BaseReality\ViewModel\SiteViewModel::getDisplayableNote() must be an instance of BaseReality\Content\Note, instance of BaseReality\DisplayableContent\DisplayableNote given in /home/intahwebz/intahwebz/src/BaseReality/ViewModel/SiteViewModel.php on line 120 ==7433== Invalid read of size 1 ==7433== at 0x68F449: _free_function (php_reflection.c:274) ==7433== by 0x68F509: reflection_free_objects_storage (php_reflection.c:298) ==7433== by 0x839D26: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226) ==7433== by 0x839D5D: zend_objects_store_del_ref (zend_objects_API.c:178) ==7433== by 0x7F8CAF: _zval_ptr_dtor (zend_variables.h:35) ==7433== by 0x817E9A: zend_hash_destroy (zend_hash.c:548) ==7433== by 0x808056: _zval_dtor_func (zend_variables.c:45) ==7433== by 0x7F8CAF: _zval_ptr_dtor (zend_variables.h:35) ==7433== by 0x8334C6: zend_object_std_dtor (zend_objects.c:54) ==7433== by 0x8334F8: zend_objects_free_object_storage (zend_objects.c:137) ==7433== by 0x839D26: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226) ==7433== by 0x839D5D: zend_objects_store_del_ref (zend_objects_API.c:178) ==7433== Address 0x16f060c0 is 0 bytes inside a block of size 248 free'd ==7433== at 0x4C273F0: free (vg_replace_malloc.c:446) ==7433== by 0x817ACD: zend_hash_bucket_delete (zend_hash.c:185) ==7433== by 0x817BF5: zend_hash_reverse_apply (zend_hash.c:733) ==7433== by 0x128D7E10: zend_accel_fast_shutdown (ZendAccelerator.c:2352) ==7433== by 0x128DC0FF: accel_deactivate (ZendAccelerator.c:2385) ==7433== by 0x7FC610: zend_llist_apply (zend_llist.c:191) ==7433== by 0x7FB8E7: shutdown_executor (zend_execute_API.c:246) ==7433== by 0x809732: zend_deactivate (zend.c:963) ==7433== by 0x79C130: php_request_shutdown (main.c:1884) ==7433== by 0x8B9DBE: do_cli (php_cli.c:1177) ==7433== by 0x8BB6CC: main (php_cli.c:1378) ==7433== zend_mm_heap corrupted ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68309&edit=1

« previous php.bugs (#238567) next »