From: neko at nekochan dot net Operating system: IRIX 6.5.30 PHP version: 5.3.0alpha2 PHP Bug Type: Reproducible crash Bug description: Bus error during running PHP CLI under IRIX 6.5.30
Description: ------------ Bus error during 'Generatring phar.php' phase of build; also occurs if using '--disable-phar' immediately after running 'gmake test'. Bus error occurs with both MIPSpro 7.4.4m and GCC-4.3.1 compilers under IRIX 6.5.30. Also tested with php5.3-200809140030 with same result. ./configure options: './configure' '--prefix=/usr/nekoware/php5' '--enable-dba' '--enable-calendar' '--enable-wddx' '--with-config-file-path=/usr/nekoware/etc/php5' '--with-apxs2=/usr/nekoware/apache2/bin/apxs' '--enable-cli' '--with-libxml-dir=/usr/nekoware' '--with-png-dir=/usr/nekoware' '--with-jpeg-dir=/usr/nekoware' '--with-freetype-dir=/usr/nekoware' '--with-zlib-dir=/usr/nekoware' '--with-zlib' '--with-curlwrappers' '--with-curl=shared,/usr/nekoware' '--with-openssl=shared,/usr/nekoware' '--with-mysql=shared,mysqlnd' '--with-mysqli=shared,mysqlnd' '--with-mhash=shared,/usr/nekoware' '--with-mcrypt=shared,/usr/nekoware' '--with-bz2=shared,/usr/nekoware' '--enable-ftp=shared' '--enable-sockets=shared' '--with-gd=shared' '--enable-exif=shared' '--with-xmlrpc' '--with-gettext=shared,/usr/nekoware' '--with-iconv-dir=/usr/nekoware' '--enable-mbstring=shared' '--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-sysvmsg=shared' '--with-xpm-dir=/usr/lib32' '--enable-zip=shared' '--with-pgsql=shared,/usr/nekoware/pgsql' '--with-mm=/usr/nekoware Reproduce code: --------------- gmake or with '--disable-phar': gmake test Expected result: ---------------- Completed build and ability to run php test process. Actual result: -------------- ... Generating phar.php gmake: *** [ext/phar/phar.php] Bus error (core dumped) gmake: *** Deleting file `ext/phar/phar.php' # dbx ./sapi/cli/php core dbx version 7.3.7 (96015_Nov16 MR) Nov 16 2004 07:34:16 Core from signal SIGBUS: Bus error (dbx) where Thread 0x10000 > 0 zend_assign_to_variable(0x14a0, 0x107fde5c, 0x0, 0xc, 0x21000, 0x1000, 0xc, 0x106bab80) ["/opt/build/php- 5.3.0alpha2/Zend/zend_execute.c":739, 0x1039ebcc] 1 ZEND_ASSIGN_SPEC_CV_TMP_HANDLER(0x107fdde8, 0xd, 0x0, 0xc, 0x21000, 0x1000, 0xc, 0x106bab80) ["/opt/build/php- 5.3.0alpha2/Zend/zend_vm_execute.h":25843, 0x103ef740] 2 execute(0x106ba598, 0xd, 0x0, 0xc, 0x21000, 0x1000, 0xc, 0x106bab80) ["/opt/build/php-5.3.0alpha2/Zend/zend_vm_execute.h":104, 0x103a0418] 3 zend_execute_scripts(0x8, 0xd, 0x3, 0x0, 0x21000, 0x1000, 0xc, 0x106bab80) ["/opt/build/php-5.3.0alpha2/Zend/zend.c":1197, 0x10374a58] 4 php_execute_script(0x14a0, 0xd, 0x0, 0xc, 0x21000, 0x1000, 0xc, 0x106bab80) ["/opt/build/php-5.3.0alpha2/main/main.c":2074, 0x10313158] 5 main(0xf, 0x7fff2ef4, 0x0, 0xc, 0x21000, 0x1000, 0xc, 0x106bab80) ["/opt/build/php-5.3.0alpha2/sapi/cli/php_cli.c":1130, 0x103fed20] 6 __start() ["/xlv55/kudzu- apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":177, 0x1004cb88] (dbx) quit -- Edit bug report at http://bugs.php.net/?id=46074&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46074&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46074&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46074&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46074&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=46074&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46074&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46074&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46074&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46074&r=support Expected behavior: http://bugs.php.net/fix.php?id=46074&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46074&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46074&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46074&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46074&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46074&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46074&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46074&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46074&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46074&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46074&r=mysqlcfg