PHP 4.0 Bug #5681: files with special chars causes Bus Error
| From: | roberts_chris at yahoo dot com | Date: | Wed, 19 Jul 2000 18:31:09 +0000 |
| Subject: | PHP 4.0 Bug #5681: files with special chars causes Bus Error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25147@lists.php.net to get a copy of this message | ||
From: roberts_chris@yahoo.com
Operating system: Solaris 7 sparc
PHP version: 4.0.1pl2
PHP Bug Type: Reproduceable crash
Bug description: files with special chars causes Bus Error
I have a file management tool that scans a directory and files using standard file routines
($directory->read, stat, filesize, filetype, fileperms, is_dir, readlink, etc.) and pushes the
file info onto a particular hash table.
The script was working fine in all previous versions. Now, if I have a directory with multiple
files & dirs, and one has "(" and ")" in the filename, I get the following
in my apache error_log:
[notice] child pid 15218 exit signal Bus Error (10)
If the file is in it's own directory, no problem.
The only thing odd about my installation is that apache and php were compiled on a sun4u(Ultra5),
and it is running on a sun4m(Classic). This hasn't been a problem before.
Apache/1.3.12 (Unix) PHP/4.0.1pl2
My config line:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-config-file-path=/usr/local/apache/conf' '--enable-sysvsem'
'--enable-sysvshm' '--with-yp' '--with-gdbm' '--without-gd'