From: th at domainbox dot de Operating system: Debian Sarge PHP version: 4.4.6 PHP Bug Type: Reproducible crash Bug description: Reproducible Crash
Description: ------------ We are experiencing a repoducible crash of an xt:Commerce installation since the server was upgraded from PHP 4.4.4 to PHP 4.4.5. This was neither resolved by upgrading to 4.4.6 nor by upgrading to snapshot php4-STABLE-200703070730 Reproduce code: --------------- The failing Code seems to be in xt:Commerce's sessions.php, i'm not able to detect this any further at the moment. The Version is $Id: sessions.php,v 1.1 2003/09/06 22:13:54 fanta2k Exp $ Actual result: -------------- (gdb) bt #0 0xb7ae907b in _efree (ptr=0x0, __zend_filename=0xb7b29a20 "/opt/confixx-pakete/php4-STABLE-200703070730/ext/session/mod_files.c", __zend_lineno=283, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /opt/confixx-pakete/php4-STABLE-200703070730/Zend/zend_alloc.c:256 #1 0xb7a1c71c in ps_close_files (mod_data=0xb7ba2e90) at /opt/confixx-pakete/php4-STABLE-200703070730/ext/session/mod_files.c:283 #2 0xb7a1b8f5 in php_rshutdown_session_globals () at /opt/confixx-pakete/php4-STABLE-200703070730/ext/session/session.c:1686 #3 0xb7a1baa1 in zm_deactivate_session (type=1, module_number=6) at /opt/confixx-pakete/php4-STABLE-200703070730/ext/session/session.c:1742 #4 0xb7afe9af in module_registry_cleanup (module=0x928ea90) at /opt/confixx-pakete/php4-STABLE-200703070730/Zend/zend_API.c:1168 #5 0xb7b0194c in zend_hash_apply (ht=0xb7ba7280, apply_func=0xb7afe96c <module_registry_cleanup>) at /opt/confixx-pakete/php4-STABLE-200703070730/Zend/zend_hash.c:708 #6 0xb7afad75 in zend_deactivate_modules () at /opt/confixx-pakete/php4-STABLE-200703070730/Zend/zend.c:674 #7 0xb7ac2f4a in php_request_shutdown (dummy=0x0) at /opt/confixx-pakete/php4-STABLE-200703070730/main/main.c:989 #8 0xb7b15124 in apache_php_module_main (r=0x812f194, display_source_mode=0) at /opt/confixx-pakete/php4-STABLE-200703070730/sapi/apache/sapi_apache.c:60 #9 0xb7b15e57 in send_php (r=0x812f194, display_source_mode=0, filename=0x8130d34 "/var/www/web46/html/shop/index.php") at /opt/confixx-pakete/php4-STABLE-200703070730/sapi/apache/mod_php4.c:626 #10 0xb7b15ecd in send_parsed_php (r=0x812f194) at /opt/confixx-pakete/php4-STABLE-200703070730/sapi/apache/mod_php4.c:641 #11 0x08054ece in ap_invoke_handler () #12 0x0806b8de in process_request_internal () #13 0x0806b93b in ap_process_request () #14 0x08062177 in child_main () #15 0x08062426 in make_child () #16 0x08062794 in perform_idle_server_maintenance () #17 0x08062e35 in standalone_main () #18 0x080634aa in main () (gdb) frame 1 #1 0xb7a1c71c in ps_close_files (mod_data=0xb7ba2e90) at /opt/confixx-pakete/php4-STABLE-200703070730/ext/session/mod_files.c:283 283 efree(data->basedir); (gdb) frame 2 #2 0xb7a1b8f5 in php_rshutdown_session_globals () at /opt/confixx-pakete/php4-STABLE-200703070730/ext/session/session.c:1686 1686 PS(mod)->s_close(&PS(mod_data) TSRMLS_CC); (gdb) frame 3 #3 0xb7a1baa1 in zm_deactivate_session (type=1, module_number=6) at /opt/confixx-pakete/php4-STABLE-200703070730/ext/session/session.c:1742 1742 php_rshutdown_session_globals(TSRMLS_C); (gdb) frame 4 #4 0xb7afe9af in module_registry_cleanup (module=0x928ea90) at /opt/confixx-pakete/php4-STABLE-200703070730/Zend/zend_API.c:1168 1168 module->request_shutdown_func(module->type, module->module_number TSRMLS_CC); (gdb) -- Edit bug report at http://bugs.php.net/?id=40747&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40747&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40747&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40747&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40747&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40747&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40747&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40747&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40747&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40747&r=support Expected behavior: http://bugs.php.net/fix.php?id=40747&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40747&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40747&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40747&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40747&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40747&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40747&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40747&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40747&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40747&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40747&r=mysqlcfg