php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3227 Broken php-code causes segfault
Submitted: 2000-01-16 22:49 UTC Modified: 2000-06-15 04:03 UTC
From: simon at airdmhor dot gen dot nz Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (16/01/2000) OS: Linux RH6, 2.2.5-22 kernel
Private report: No CVE-ID: None
 [2000-01-16 22:49 UTC] simon at airdmhor dot gen dot nz
<?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)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-13 23:29 UTC] andrei at cvs dot php dot net
This should simply produce a parser error message. Please
try the latest version.
 [2000-06-15 04:03 UTC] simon at airdmhor dot gen dot nz
Yup, it's now just a parser error message. The error message pointed towards a bug in sybase (which had been causing other problems around that time anyway)
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 09:01:24 2019 UTC