Bug #13361 Updated: Seg Fault
| From: | derick@php.net | Date: | Tue, 18 Sep 2001 11:09:20 +0000 |
| Subject: | Bug #13361 Updated: Seg Fault | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66174@lists.php.net to get a copy of this message | ||
ID: 13361
Updated by: derick
Reported By: bate@bate.de
Old Status: Open
Status: Closed
Bug Type: Reproducible crash
Operating System: Linux 2.2.16
PHP Version: 4.0.6
New Comment:
Not a PHP bug, but a Zend one...
Previous Comments:
------------------------------------------------------------------------
[2001-09-18 07:07:14] bate@bate.de
Stop Close this Bug Report i found the Bug.
Its a problem of the New beta Accelerator.
Bat[e]
btw. i report the problem to the zend masters :)
------------------------------------------------------------------------
[2001-09-18 07:05:40] sniper@php.net
Please generate a GDB backtrace of that crash.
(using the 4.0.7RC2)
--Jani
------------------------------------------------------------------------
[2001-09-18 07:03:15] bate@bate.de
http://www.bate.de/bug/phpinfo.html
this is the PHPINFO from my php binary
"php -i >phpinfo.html"
I check it with 4.0.7RC1 and 4.0.7RC2 Both makes a Seg Fault.
------------------------------------------------------------------------
[2001-09-18 06:32:34] mfischer@php.net
Not reproduceable with 4.0.6 on my machine ..
Anyway, it also works on CVS so. Try one from http://snaps.php.net/
Closed.
- Markus
------------------------------------------------------------------------
[2001-09-18 05:37:12] bate@bate.de
#!/usr/bin/php -q
<?php
echo "Ihr Name:";
if ($fp = fopen("php://stdin","r")) {
$line = fgets($fp, 100);
fclose($fp);
}
$name = ereg_replace("[\n\r]", '', $line);
echo "Hallo $name!\n";
?>
This Program makes me with my Binary a seg fault after 3 executions .. ?
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13361&edit=1