#36815 [NEW]: glob -> Segmentation fault

From: Date: Tue, 21 Mar 2006 15:32:04 +0000
Subject: #36815 [NEW]: glob -> Segmentation fault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-94717@lists.php.net to get a copy of this message
From: rd at mesos dot de Operating system: Linux 2.6.14.5 PHP version: 5.1.2 PHP Bug Type: Directory function related Bug description: glob -> Segmentation fault Description: ------------ glob returns segmentation fault, even with the example from php.net. PHP4 on the same server is working without problem. Reproduce code: --------------- <?php echo "Test1\n"; $x=glob('./img/managed/*'); echo "Test2\n"; ?> Expected result: ---------------- something like: server:~ # php4 glob.php X-Powered-By: PHP/4.4.2 Content-type: text/html Test1 Test2 Actual result: -------------- server:~ # php5 glob.php X-Powered-By: PHP/5.1.2 Content-type: text/html Test1 Segmentation fault -- Edit bug report at http://bugs.php.net/?id=36815&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36815&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36815&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36815&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36815&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36815&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36815&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36815&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36815&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36815&r=support Expected behavior: http://bugs.php.net/fix.php?id=36815&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36815&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36815&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36815&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36815&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36815&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36815&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36815&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36815&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36815&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36815&r=mysqlcfg

« previous php.bugs (#94717) next »