Re: [PHP-DEV] Troubles with DL'ed module From: Andi Gutmans (andi <email protected>)
Date: 04/30/01

Sounds like some kind of memory corruption. With these kind of problems
even the order of statements can make a difference. Do you want to post
those two functions and we can take a look at them? Also are your RINIT() &
MINIT() functions doing anything? Maybe they are causing problems?

Andi

At 11:17 AM 4/30/2001 -0500, Brian Foddy wrote:

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

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