Bug #10828 Updated: sometimes get_extension_funcs() kills PHP

From: Date: Tue, 26 Jun 2001 18:29:11 +0000
Subject: Bug #10828 Updated: sometimes get_extension_funcs() kills PHP
Groups: php.dev 
Request: Send a blank email to php-dev+get-58090@lists.php.net to get a copy of this message
ID: 10828 Updated by: sniper Reported By: jo@feuersee.de Old-Status: Open Status: Closed Bug Type: PHP options/info functions Operating system: PHP Version: 4.0.6 Assigned To: Comments: Thanks for excellent information. This is now fixed in CVS. Previous Comments: --------------------------------------------------------------------------- [2001-06-24 16:46:36] jo@feuersee.de Ok, I spend a sunday with wounderful weather about this and finally isolated the bug: get_loaded_extensions() returns an extension called "Session MM" when available. Feeding this string to get_extension_funcs() kills the process. So the simpliest way to reprodruce the bug is: <?php $foo = get_extension_funcs("Session MM"); ?> Most probably this works only when the extension is available, that would explain why some people had no problem running the example. HTH, Jo --------------------------------------------------------------------------- [2001-06-24 11:32:20] sniper@php.net Does it crash? Provide a GDB backtrace then. (reconfigure/compile PHP first with --enable-debug) Remember to delete config.cache before configure. And do 'make clean' after. --Jani --------------------------------------------------------------------------- [2001-06-24 10:25:36] jo@feuersee.de Sorry, but he same in PHP4.0.6 --------------------------------------------------------------------------- [2001-06-10 21:25:40] jmoore@php.net No feedback. Closing. - James --------------------------------------------------------------------------- [2001-05-14 08:37:45] sniper@php.net Your script works for me just fine with PHP 4.0.6-dev. Please try latest snapshot from http://snaps.php.net/ --Jani --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10828&edit=2

« previous php.dev (#58090) next »