ID: 46074 Comment by: lneve at mail dot nih dot gov Reported By: neko at nekochan dot net Status: No Feedback Bug Type: Reproducible crash Operating System: IRIX 6.5.30 PHP Version: 5.3.0alpha2 New Comment:
I am seeing the same problem in 5.3.0alpha3 on Solaris 10 using gcc version 3.4.3. Here are my configure options: ./configure --with-pgsql=/opt/postgres/8.3-community --with-mysql=/opt/mysql --with-mysqli=/opt/mysql/bin/mysql_config --with-apxs2=/opt/httpd/bin/apxs --with-config-file-path=/etc --with-libxml-dir=/usr/lib --with-zlib-dir=/usr/lib --enable-zip --enable-mbstring --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-xpm-dir=/usr/lib --with-freetype-dir=/usr/sfw --with-pdo-mysql=/opt/mysql --with-pdo-pgsql=/opt/pgsql --with-gettext=/usr/local/lib --with-imap=/usr/local/imap-2007d --with-imap-ssl=/usr/local/ssl And here is the relevant part of the make output: -bash-3.00# gmake Generating phar.php Bus Error - core dumped gmake: *** [ext/phar/phar.php] Error 138 I would be happy to provide you additional debugging information. Please give me guidance on what you want. -Leif Neve Previous Comments: ------------------------------------------------------------------------ [2008-10-06 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-09-28 20:59:07] [email protected] weird, bus errors on these platforms usually mean unaligned data.. can you please try the following commands in GDB and report back the output? p value p *value p variable_ptr_ptr p *variable_ptr_ptr p **variable_ptr_ptr ------------------------------------------------------------------------ [2008-09-15 13:51:11] neko at nekochan dot net No change with latest CVS. r...@kazehana /opt/build/php5.3-200809151230 # 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, 0x1080a55c, 0x0, 0xc, 0x21000, 0x1000, 0xc, 0x106c6e28) ["/opt/build/php5.3- 200809151230/Zend/zend_execute.c":739, 0x103a118c] 1 ZEND_ASSIGN_SPEC_CV_TMP_HANDLER(0x1080a4e8, 0xd, 0x0, 0xc, 0x21000, 0x1000, 0xc, 0x106c6e28) ["/opt/build/php5.3- 200809151230/Zend/zend_vm_execute.h":25843, 0x103f1d00] 2 execute(0x106c6840, 0xd, 0x0, 0xc, 0x21000, 0x1000, 0xc, 0x106c6e28) ["/opt/build/php5.3- 200809151230/Zend/zend_vm_execute.h":104, 0x103a29d8] 3 zend_execute_scripts(0x8, 0xd, 0x3, 0x0, 0x21000, 0x1000, 0xc, 0x106c6e28) ["/opt/build/php5.3-200809151230/Zend/zend.c":1197, 0x10377038] 4 php_execute_script(0x14a0, 0xd, 0x0, 0xc, 0x21000, 0x1000, 0xc, 0x106c6e28) ["/opt/build/php5.3-200809151230/main/main.c":2075, 0x10315798] 5 main(0xf, 0x7fff2ee4, 0x0, 0xc, 0x21000, 0x1000, 0xc, 0x106c6e28) ["/opt/build/php5.3-200809151230/sapi/cli/php_cli.c":1130, 0x104012e0] 6 __start() ["/xlv55/kudzu- apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":177, 0x1004cb68] (dbx) quit ------------------------------------------------------------------------ [2008-09-15 08:00:24] [email protected] Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.3-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.3-win32-installer-latest.msi ------------------------------------------------------------------------ [2008-09-14 07:15:54] neko at nekochan dot net 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 this bug report at http://bugs.php.net/?id=46074&edit=1
