[PHP-DEV] PHP 4.0 Bug #7069 Updated: warning message + leak memory

2001-02-25 Thread sbergmann

ID: 7069
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: IIS related
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2000-10-06 15:06:03] [EMAIL PROTECTED]
when i use any createimage function (from any imagetype or create new) at the end 
there is a warning message.
this won't be such a big problem, but this message comes when the identifier that 
holds the image is destroyed. it happens 
- when i use destroy image
- when i don't destroy it and php tries it on his own at the end of the script
- when i try to assign something else to the imagevar

trouble is that php can't free memory again.
if i try to make 100 thumbnails of images by php, it eats up close to 200MB of memory. 
so i have to restart the iisadmin service to keep my server alive.
this happens with php 4.0.2 and 4.0.3rc1 with gif support or without.
i use nt4 sp6a and php as ISAPI.DLL

!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"
html
headSTYLE TYPE="text/css"!--
A { text-decoration: none; }
A:hover { text-decoration: underline; }
H1 { font-family: arial,helvetica,sans-serif; font-size: 18pt; font-weight: bold;}
H2 { font-family: arial,helvetica,sans-serif; font-size: 14pt; font-weight: bold;}
BODY,TD { font-family: arial,helvetica,sans-serif; font-size: 10pt; }
TH { font-family: arial,helvetica,sans-serif; font-size: 11pt; font-weight: bold; }
//--/STYLE
titlephpinfo()/title/headbodyTABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 
WIDTH=600 BGCOLOR="#00" ALIGN="CENTER"
TR VALIGN="middle" BGCOLOR="#CC"TD ALIGN="left"
a href="http://www.php.net/"img 
src="/php/phpinfo.php3?=PHPE9568F34-D428-11d2-A769-00AA001ACF42" border=0 
align="right" alt="PHP Logo"/aH1PHP Version 4.0.2/H1
/TD/TR
/TABLEBR
TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#00" 
ALIGN="CENTER"
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" BSystem/B/tdTD 
ALIGN="left"Windows NT 4.0 build 1381/td/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" BBuild 
Date/B/tdTD ALIGN="left"Aug 30 2000/td/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" BServer 
API/B/tdTD ALIGN="left"ISAPI/td/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" BVirtual Directory 
Support/B/tdTD ALIGN="left"enabled/td/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" BConfiguration File 
(php.ini) Path/B/tdTD ALIGN="left"php.ini/td/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" 
BZEND_DEBUG/B/tdTD ALIGN="left"disabled/td/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" BThread 
Safety/B/tdTD ALIGN="left"enabled/td/TR
/TABLEBR
TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#00" 
ALIGN="CENTER"
TR VALIGN="top" BGCOLOR="#CC"TD ALIGN="left"
a href="http://www.zend.com/"img 
src="/php/phpinfo.php3?=PHPE9568F35-D428-11d2-A769-00AA001ACF42" border="0" 
align="right" alt="Zend logo"/a
This program makes use of the Zend scripting language 
engine:BRZendnbsp;Enginenbsp;v1.0.2,nbsp;Copyrightnbsp;(c)nbsp;1998-2000nbsp;Zendnbsp;Technologiesbrnbsp;nbsp;nbsp;nbsp;withnbsp;Zendnbsp;Optimizernbsp;v0.99,nbsp;Copyrightnbsp;(c)nbsp;1998-2000,nbsp;bynbsp;Zendnbsp;Technologiesbr/BR

/TD/TR
/TABLEBR
HR NOSHADE SIZE=1 WIDTH=600
h1 align="center"a 
href="/php/phpinfo.php3?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C1"PHP 4.0 
Credits/a/h1
HR NOSHADE SIZE=1 WIDTH=600
h1 align="center"Configuration/h1
H2 align="center"PHP Core
/H2
TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#00" 
ALIGN="CENTER"
TR VALIGN="bottom" bgcolor="#CC"THDirective/THTHLocal Value/THTHMaster 
Value/TH/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Ballow_call_time_pass_reference/BBR/TDTD 
ALIGN="center"On/TDTD ALIGN="center"On/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Barg_separator/BBR/TDTD ALIGN="center"/TDTD 
ALIGN="center"/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Basp_tags/BBR/TDTD ALIGN="center"Off/TDTD 
ALIGN="center"Off/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Bauto_append_file/BBR/TDTD ALIGN="center"ino 
value/i/TDTD ALIGN="center"ino value/i/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Bauto_prepend_file/BBR/TDTD ALIGN="center"ino 
value/i/TDTD ALIGN="center"ino value/i/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Bbrowscap/BBR/TDTD ALIGN="center"ino value/i/TDTD 
ALIGN="center"ino value/i/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Bdefault_charset/BBR/TDTD ALIGN="center"ino 
value/i/TDTD ALIGN="center"ino value/i/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Bdefault_mimetype/BBR/TDTD ALIGN="center"text/html  
/TDTD ALIGN="center"text/html  /TD/TR
TR 

[PHP-DEV] PHP 4.0 Bug #7069 Updated: warning message + leak memory

2001-02-25 Thread derick

ID: 7069
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: IIS related
Assigned To: 
Comments:

User reported that it's solved in php4.0.4pl1

Previous Comments:
---

[2001-02-25 07:38:41] [EMAIL PROTECTED]
Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

---

[2000-10-06 15:06:03] [EMAIL PROTECTED]
when i use any createimage function (from any imagetype or create new) at the end 
there is a warning message.
this won't be such a big problem, but this message comes when the identifier that 
holds the image is destroyed. it happens 
- when i use destroy image
- when i don't destroy it and php tries it on his own at the end of the script
- when i try to assign something else to the imagevar

trouble is that php can't free memory again.
if i try to make 100 thumbnails of images by php, it eats up close to 200MB of memory. 
so i have to restart the iisadmin service to keep my server alive.
this happens with php 4.0.2 and 4.0.3rc1 with gif support or without.
i use nt4 sp6a and php as ISAPI.DLL

!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"
html
headSTYLE TYPE="text/css"!--
A { text-decoration: none; }
A:hover { text-decoration: underline; }
H1 { font-family: arial,helvetica,sans-serif; font-size: 18pt; font-weight: bold;}
H2 { font-family: arial,helvetica,sans-serif; font-size: 14pt; font-weight: bold;}
BODY,TD { font-family: arial,helvetica,sans-serif; font-size: 10pt; }
TH { font-family: arial,helvetica,sans-serif; font-size: 11pt; font-weight: bold; }
//--/STYLE
titlephpinfo()/title/headbodyTABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 
WIDTH=600 BGCOLOR="#00" ALIGN="CENTER"
TR VALIGN="middle" BGCOLOR="#CC"TD ALIGN="left"
a href="http://www.php.net/"img 
src="/php/phpinfo.php3?=PHPE9568F34-D428-11d2-A769-00AA001ACF42" border=0 
align="right" alt="PHP Logo"/aH1PHP Version 4.0.2/H1
/TD/TR
/TABLEBR
TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#00" 
ALIGN="CENTER"
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" BSystem/B/tdTD 
ALIGN="left"Windows NT 4.0 build 1381/td/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" BBuild 
Date/B/tdTD ALIGN="left"Aug 30 2000/td/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" BServer 
API/B/tdTD ALIGN="left"ISAPI/td/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" BVirtual Directory 
Support/B/tdTD ALIGN="left"enabled/td/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" BConfiguration File 
(php.ini) Path/B/tdTD ALIGN="left"php.ini/td/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" 
BZEND_DEBUG/B/tdTD ALIGN="left"disabled/td/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD BGCOLOR="#FF" BThread 
Safety/B/tdTD ALIGN="left"enabled/td/TR
/TABLEBR
TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#00" 
ALIGN="CENTER"
TR VALIGN="top" BGCOLOR="#CC"TD ALIGN="left"
a href="http://www.zend.com/"img 
src="/php/phpinfo.php3?=PHPE9568F35-D428-11d2-A769-00AA001ACF42" border="0" 
align="right" alt="Zend logo"/a
This program makes use of the Zend scripting language 
engine:BRZendnbsp;Enginenbsp;v1.0.2,nbsp;Copyrightnbsp;(c)nbsp;1998-2000nbsp;Zendnbsp;Technologiesbrnbsp;nbsp;nbsp;nbsp;withnbsp;Zendnbsp;Optimizernbsp;v0.99,nbsp;Copyrightnbsp;(c)nbsp;1998-2000,nbsp;bynbsp;Zendnbsp;Technologiesbr/BR

/TD/TR
/TABLEBR
HR NOSHADE SIZE=1 WIDTH=600
h1 align="center"a 
href="/php/phpinfo.php3?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C1"PHP 4.0 
Credits/a/h1
HR NOSHADE SIZE=1 WIDTH=600
h1 align="center"Configuration/h1
H2 align="center"PHP Core
/H2
TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#00" 
ALIGN="CENTER"
TR VALIGN="bottom" bgcolor="#CC"THDirective/THTHLocal Value/THTHMaster 
Value/TH/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Ballow_call_time_pass_reference/BBR/TDTD 
ALIGN="center"On/TDTD ALIGN="center"On/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Barg_separator/BBR/TDTD ALIGN="center"/TDTD 
ALIGN="center"/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Basp_tags/BBR/TDTD ALIGN="center"Off/TDTD 
ALIGN="center"Off/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Bauto_append_file/BBR/TDTD ALIGN="center"ino 
value/i/TDTD ALIGN="center"ino value/i/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Bauto_prepend_file/BBR/TDTD ALIGN="center"ino 
value/i/TDTD ALIGN="center"ino value/i/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Bbrowscap/BBR/TDTD ALIGN="center"ino value/i/TDTD 
ALIGN="center"ino value/i/TD/TR
TR VALIGN="baseline" BGCOLOR="#CC"TD 
BGCOLOR="#FF"Bdefault_charset/BBR/TDTD ALIGN="center"ino 
value/i/TDTD ALIGN="center"ino value/i/TD/TR
TR