PHP 4.0 Bug #3227: Broken php-code causes segfault
| From: | simon at airdmhor dot gen dot nz | Date: | Mon, 17 Jan 2000 03:49:04 +0000 |
| Subject: | PHP 4.0 Bug #3227: Broken php-code causes segfault | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14693@lists.php.net to get a copy of this message | ||
From: simon@airdmhor.gen.nz
Operating system: Linux RH6, 2.2.5-22 kernel
PHP version: 4.0 Latest CVS (16/01/2000)
PHP Bug Type: Reproduceable crash
Bug description: Broken php-code causes segfault
<?php echo echo; ?>
causes a segfault thusly (yes, I know it's dumb code - I was chasing another bug):
[Mon Jan 17 16:46:30 2000] [notice] child pid 32334 exit signal Segmentation fault (11), possible
coredump in /home/simonr/www
[Mon Jan 17 16:47:01 2000] [notice] child pid 32420 exit signal Segmentation fault (11), possible
coredump in /home/simonr/www
[Mon Jan 17 16:48:01 2000] Script: '/home/simonr/www/htdocs/crash.php'
---------------------------------------
php_sybase_ct.c(338) : Block 0x081DFC70 status:
Beginning: Cached (allocated on php_sybase_ct.c:319, 8 bytes)
End: OK
---------------------------------------
[Mon Jan 17 16:48:02 2000] [notice] child pid 32337 exit signal Segmentation fault (11), possible
coredump in /home/simonr/www
The bt is unhelpful:
(gdb) bt
#0 0x8060bbd in ap_get_server_built ()
(gdb)