php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5681 files with special chars causes Bus Error
Submitted: 2000-07-19 20:31 UTC Modified: 2000-07-25 23:34 UTC
From: roberts_chris at yahoo dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.1pl2 OS: Solaris 7 sparc
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: roberts_chris at yahoo dot com
New email:
PHP Version: OS:

 

 [2000-07-19 20:31 UTC] roberts_chris at yahoo dot com
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'


Patches

Pull Requests

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 07:00:01 2026 UTC