Date: 06/24/01
- Next message: erik <email protected>: "[PHP-DEV] Bug #11641: --enable-gd-native-tt instead of --enable-gd-native-ttf"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] About ext/sockets/"
- Next in thread: jo <email protected>: "[PHP-DEV] Bug #10828 Updated: sometimes get_extension_funcs() kills PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 10828
Updated by: sniper
Reported By: jo <email protected>
Old-Status: Open
Status: Feedback
Bug Type: PHP options/info functions
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
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
Previous Comments:
---------------------------------------------------------------------------
[2001-06-24 10:25:36] jo <email protected>
Sorry, but he same in PHP4.0.6
---------------------------------------------------------------------------
[2001-06-10 21:25:40] jmoore <email protected>
No feedback. Closing.
- James
---------------------------------------------------------------------------
[2001-05-14 08:37:45] sniper <email protected>
Your script works for me just fine with PHP 4.0.6-dev.
Please try latest snapshot from http://snaps.php.net/
--Jani
---------------------------------------------------------------------------
[2001-05-12 08:32:35] jo <email protected>
I tried to print out all available PHP functions using
get_loaded_extensions() and get_extension_funcs():
<?php
print("<h3>PHP" . phpversion() . "</h3>n");
print("<ol>n");
$ext = get_loaded_extensions();
sort($ext);
for($i = 0; $i < count($ext); $i++) {
$name = $ext[$i];
print("<li><b>$name</b>:</li>n<ol>n");
$func = get_extension_funcs($name);
sort($func);
for($j = 0; $j < count($func); $j++) {
print("<li><code>$func[$j]()</code></li>n");
}
print("</ol>n");
}
print("</ol>n");
?>
and this worked well with PHP4.0.3pl1.
However, since PHP4.0.4pl1/5, the Apache (1.3.19)
subprocess dies:
[Sat May 12 14:26:49 2001] [notice] child pid 746 exit
signal Segmentation fault (11)
When commenting out the get_extension_funcs() call, all is
well. Even replacing the argument to a const (eg.
get_extension_funcs("exif") ) works.
I tried to reproduce the error in a more simple way, but
failed:
<?php
$name = "exif";
print_r(get_extension_funcs($name));
?>
works as expected. Still the script above fails.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10828&edit=2
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: erik <email protected>: "[PHP-DEV] Bug #11641: --enable-gd-native-tt instead of --enable-gd-native-ttf"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] About ext/sockets/"
- Next in thread: jo <email protected>: "[PHP-DEV] Bug #10828 Updated: sometimes get_extension_funcs() kills PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

