Re: [PHP-DEV] Troubles with DL'ed module From: Brian Foddy (brian.foddy <email protected>)
Date: 04/30/01

One more strange behavior I just saw.

Take this little script:
<?
phpinfo ();

$tux = tux_tpalloc (TUX_FML32, "", 5000);
print $tux;

tux_tpfree ($tux);
print $tux;

?>

The tux_tpalloc and tux_free are new functions in my module.
If I comment out everything but the phpinfo () and hit
a fresh start of the web server, it will not core. My module
is loaded because I see it in the phpinfo output. After that
I can uncomment the rest of the script and it will NOT core.

However if I just run this script right away from a fresh
restart, it will coredump.

Very strange...
Brian

-- 
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>