Re: PHP 4.0 Bug #5886: Crashing when using readdir()
| From: | Andi Gutmans | Date: | Tue, 01 Aug 2000 03:44:02 +0000 |
| Subject: | Re: PHP 4.0 Bug #5886: Crashing when using readdir() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-27166@lists.php.net to get a copy of this message | ||
Any chance you can debug this on your own? It works fine on Linux and Windows and I can't test it on a Solaris 2.6 machine.
At least try and get some kind of debugger backtrace of the crash.
Compile PHP 4 with --enable-debug and make sure you are using latest CVS.
Thanks,
Andi
At 03:34 AM 8/1/00 +0000, d.protasov@cbr-kem.ru wrote:
--- Andi Gutmans <andi@zend.com> http://www.zend.com/From: d.protasov@cbr-kem.ruOperating system: Solaris 2.6PHP version: 4.0 Latest CVS (01/08/2000) PHP Bug Type: Reproduceable crashBug description: Crashing when using readdir() #!/usr/local/bin/php <?php $handle=opendir('.'); echo "Directory handle: $handle\n"; echo "Files:\n"; while ($file = readdir($handle)) {echo "$file\n";} closedir($handle); ?> php.ini is default php is configured with --with-ldap --with-mysql 4.0.1pl2 is also affected. looks like a solaris libc<->php missinteraction. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net