From: jpolaino at infonos dot com
Operating system: Win Me
PHP version: 4.3.3
PHP Bug Type: Unknown/Other Function
Bug description: Error PHP4TS.DLL
Description:
------------
I have a application with 15 files and 6000 lines of code instaled on
server with PHP 4.2.3
This runs O.K.
I just installed PHP 4.3.3 in my PC for I+D.
Now I have several errors in many lines of code.
The error says "Php provoc� un error en PHP4TS.DLL. Php se cerrar�"
I press the option "Debug" and then Microsoft Visual C++ give the message
"Unhandled exception in php.exe (PHP4TS.DLL): 0xC00000FD: Stack
Overflow".
This ocurrs some times when I use the function isset() but I can not
reproduce the fail: when I try to make a short file with the code ��this
run!!
This error ocurrs too when I use the function eregi() in
eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $Mail);
when $Mail value is any value with two points "..", but when I try to make
a short file (see below) this run OK.
Please Can any one help me?
Thanks
Reproduce code:
---------------
<?php
if (isset($Mail))
{
if (eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $Mail))
$Msg = "El mail <b>'$Mail'</b> es correcto<hr>";
else
$Msg = "<b>ERROR:</b> El mail <b>'$Mail'</b> es incorrecto<hr>";
}
echo " <html><head></head><body>
$Msg
<form method=post>
Mail <input type=text name=Mail>
<input type=submit value=Send>
</form></body></head>";
?>
--
Edit bug report at http://bugs.php.net/?id=25513&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25513&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25513&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25513&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25513&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25513&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25513&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25513&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25513&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25513&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25513&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25513&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25513&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25513&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25513&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25513&r=gnused