From: thomas at fdns dot net Operating system: Linux (Slackware 9.1) PHP version: 4.3.10 PHP Bug Type: Apache related Bug description: Apache segfault
Description: ------------ I've just attempted to upgrade to 4.3.10 and apache is segfaulting when trying to load up the same application (custom) that runs on 4.3.9. Setup: apache 1.3.33 php 4.3.10 [configure command] ./configure --with-apache=../apache_1.3.33 --with-config-file-path=/apache --enable-ftp --with-gd --with-mysql --without-pear --enable-sockets --with-zlib-dir=/usr/include/ --with-freetype-dir=/usr/local/include/freetype2/ --with-openssl Expected result: ---------------- Application should load as it does in 4.3.9. Actual result: -------------- I ran a gdb trace below: (gdb) file /apache/bin/httpd Reading symbols from /apache/bin/httpd...(no debugging symbols found)...done. (gdb) run -X -DSSL Starting program: /apache/bin/httpd -X -DSSL (no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0x080eb3bd in zend_assign_to_variable_reference () (gdb) backtrace #0 0x080eb3bd in zend_assign_to_variable_reference () #1 0x080ece20 in execute () #2 0x080d8e34 in call_user_function_ex () #3 0x080d89c6 in call_user_function () #4 0x08135aef in ps_gc_files () #5 0x08135bed in ps_open_user () #6 0x081325a7 in php_session_create_id () #7 0x0813371d in php_session_start () #8 0x08134d5d in zif_session_start () #9 0x080ed1c1 in execute () #10 0x080ee27d in execute () #11 0x080dfd2b in zend_execute_scripts () #12 0x080be4f8 in php_execute_script () #13 0x080f063a in apache_php_module_main () #14 0x080b6eae in ssl_expr_yyinput () #15 0x080b6f18 in ssl_expr_yyinput () #16 0x081b1f03 in ap_invoke_handler () #17 0x081c745f in ap_some_auth_required () #18 0x081c78ba in ap_internal_redirect () #19 0x0809883e in ap_get_server_built () #20 0x081b1f03 in ap_invoke_handler () #21 0x081c745f in ap_some_auth_required () #22 0x081c74be in ap_process_request () #23 0x081be458 in ap_child_terminate () #24 0x081be626 in ap_child_terminate () #25 0x081be78c in ap_child_terminate () #26 0x081bee4c in ap_child_terminate () #27 0x081bf684 in main () #28 0x4016dd06 in __libc_start_main () from /lib/libc.so.6 (gdb) -- Edit bug report at http://bugs.php.net/?id=31210&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31210&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31210&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31210&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31210&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31210&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31210&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31210&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31210&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31210&r=support Expected behavior: http://bugs.php.net/fix.php?id=31210&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31210&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31210&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31210&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31210&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31210&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31210&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31210&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31210&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31210&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31210&r=mysqlcfg