[PHP-DEV] PHP 4.0 Bug #5681: files with special chars causes Bus Error From: roberts_chris <email protected>
Date: 07/19/00

From: roberts_chris <email protected>
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'

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>