ID: 40599 User updated by: lyle dot pritchett at dri dot edu Reported By: lyle dot pritchett at dri dot edu -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: Solaris 9, 10 PHP Version: 5CVS-2007-02-22 (snap) New Comment:
gcc 4.1.1, built from scratch a couple of days ago. Previous Comments: ------------------------------------------------------------------------ [2007-02-23 00:34:20] [EMAIL PROTECTED] What kind of GCC did you use? ------------------------------------------------------------------------ [2007-02-23 00:31:33] lyle dot pritchett at dri dot edu make test Build complete. (It is safe to ignore warnings about tempnam and tmpnam). Segmentation Fault make: [test] Error 139 (ignored) trapdoor:/opt/src/php/php5.2-200702222130 # gdb ./sapi/cli/php GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.10"... (gdb) set args run-tests.php (gdb) run Starting program: /opt/src/php/php5.2-200702222130/sapi/cli/php run-tests.php warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074 warning: Lowest section in /lib/libdl.so.1 is .dynamic at 00000094 Program received signal SIGSEGV, Segmentation fault. _zval_ptr_dtor (zval_ptr=0x3d6748) at /opt/src/php/php5.2-200702222130/Zend/zend_execute_API.c:412 412 (*zval_ptr)->refcount--; (gdb) bt #0 _zval_ptr_dtor (zval_ptr=0x3d6748) at /opt/src/php/php5.2-200702222130/Zend/zend_execute_API.c:412 #1 0x002892e0 in zend_do_fcall_common_helper_SPEC (execute_data=0xffbfbb4c) at zend_execute.h:155 #2 0x002791f0 in execute (op_array=0xffbff110) at zend_vm_execute.h:92 #3 0x00259780 in zend_execute_scripts (type=-2115502080, retval=Variable "retval" is not available. ) at /opt/src/php/php5.2-200702222130/Zend/zend.c:1135 #4 0x00214d14 in php_execute_script (primary_file=0x81e80000) at /opt/src/php/php5.2-200702222130/main/main.c:1787 #5 0x002e51b0 in main (argc=-2115502080, argv=0x91d0203a) at /opt/src/php/php5.2-200702222130/sapi/cli/php_cli.c:1127 (gdb) quit ------------------------------------------------------------------------ [2007-02-22 23:24:54] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2007-02-22 23:18:26] lyle dot pritchett at dri dot edu Description: ------------ Per advice in bug #40565, picked up latest version: php5.2-200702222130. Ran configure with options --with-apxs2=/opt/apache/bin/apxs \ --with-config-file-path=/opt/apache/conf \ --localstatedir=/var/run \ --enable-force-cgi-redirect \ --enable-magic-quotes \ --with-openssl=/opt \ --with-libxml-dir=/opt \ --enable-calendar \ --with-pgsql=/opt \ --with-readline=/opt \ --disable-ipv6 \ --with-exec-dir=/opt/php/bin \ --enable-libgcc apxs, openssl, libxml, Postgres, gcc, and readline are all latest available versions. Compile finishes successfully. make test Build complete. (It is safe to ignore warnings about tempnam and tmpnam). Segmentation Fault make: [test] Error 139 (ignored) Reproduce code: --------------- N/A Expected result: ---------------- A series of successful tests Actual result: -------------- immediate segmentation fault on "make test" Interestingly, "php --version" works fine ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40599&edit=1