shutdown order changed again? broken dl()'d modules, again
| From: | Wez Furlong | Date: | Fri, 23 Sep 2005 02:27:29 +0000 |
| Subject: | shutdown order changed again? broken dl()'d modules, again | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-19133@lists.php.net to get a copy of this message | ||
I'm getting this on shutdown with PHP 5.1 when using persistent
connections with a dl'd PDO.
Dan mentioned something similar with the ibm_db2 extension:
==23982==
==23982== Jump to the invalid address stated on the next line
==23982== at 0x1BCE5C0B: ???
==23982== by 0x81BB4BC: zend_hash_apply_deleter (zend_hash.c:574)
==23982== by 0x81BB665: zend_hash_graceful_reverse_destroy (zend_hash.c:640)
==23982== by 0x81BD680: zend_destroy_rsrc_list (zend_list.c:240)
==23982== Address 0x1BCE5C0B is not stack'd, malloc'd or (recently) free'd
==23982==
==23982== Process terminating with default action of signal 11 (SIGSEGV)
==23982== Access not within mapped region at address 0x1BCE5C0B
==23982== at 0x1BCE5C0B: ???
==23982== by 0x81BB4BC: zend_hash_apply_deleter (zend_hash.c:574)
==23982== by 0x81BB665: zend_hash_graceful_reverse_destroy (zend_hash.c:640)
==23982== by 0x81BD680: zend_destroy_rsrc_list (zend_list.c:240)
Sounds like we're unloading the modules before calling the dtors again.
--Wez.