From: s dot vanvelthem at ibelgique dot com Operating system: Sco OpenServer 5.05 PHP version: 4.3.3RC1 PHP Bug Type: Reproducible crash Bug description: Segfault when executing a script
Description: ------------ when I try to execute a script with PHP4.3.3RC1/OpenServer, I've got a Segmentation fault if I don't specifiy the entire pathname before the script file ex : * ./my_script.php gives me a segmentation fault * /home/seb/my_script.php is OK see also php_scandir.c error at compile time, is this useful? I'm using : SCO OpenServer 5.05 Gcc 2.95.2pl1 UDK 7.1.1 ERRORS AND WARNING NOTES ./configure --enable-cli --disable-cgi -> warning : you will need bison 1.28 -> warning : you will need bison 1.28 if you want to regenerate the Zend parser (found 1.25) gmake ->/seb/php4-STABLE-200307020930/ext/standard/exec.c: In function `proc_open_rsrc_dtor': ->/seb/php4-STABLE-200307020930/ext/standard/exec.c:578: warning: cast from pointer to integer of different size ->/seb/php4-STABLE-200307020930/ext/standard/exec.c: In function `zif_proc_open': ->seb/php4-STABLE-200307020930/ext/standard/exec.c:993: warning: cast to pointer from integer of different size ->/seb/php4-STABLE-200307020930/ext/standard/var_unserializer.c: In function `php_var_unserialize': ->/seb/php4-STABLE-200307020930/ext/standard/var_unserializer.c:308: warning: comparison is always false due to limited range of data type ->seb/php4-STABLE-200307020930/main/php_scandir.c: In function `php_scandir': ->/seb/php4-STABLE-200307020930/main/php_scandir.c:116: warning: passing arg 4 of `qsort' from incompatible pointer type -- Edit bug report at http://bugs.php.net/?id=24457&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24457&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24457&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24457&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24457&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24457&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24457&r=support Expected behavior: http://bugs.php.net/fix.php?id=24457&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24457&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24457&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24457&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24457&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24457&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24457&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24457&r=gnused