Sessions still crash

From: Date: Mon, 17 Jan 2000 10:10:45 +0000
Subject: Sessions still crash
Groups: php.dev 
Request: Send a blank email to php-dev+get-14703@lists.php.net to get a copy of this message
Checked out latest CVS (17.01, 9:50 GMT). Still getting crash (same place as in the last time): Program received signal SIGSEGV, Segmentation fault. 0x80ad0f8 in php_register_var (entry=0x81cb468) at /home/php/php4/ext/session/session.c:958 958 } else if (!PG(track_vars) || strcmp((*entry)->value.str.val, "HTTP_STATE_VARS") != 0) { #0 0x80ad0f8 in php_register_var (entry=0x81cb468) at /home/php/php4/ext/session/session.c:958 #1 0x80ad31a in php_if_session_register (ht=1, return_value=0x83187c8, list=0x818b45c, plist=0x818b48c, this_ptr=0x0, return_value_used=0) at /home/php/php4/ext/session/session.c:994 #2 0x80e48f5 in execute (op_array=0x81e6b88) at ../../Zend/zend_execute.c:1525 #3 0x80e4ae7 in execute (op_array=0x81e43b8) at ../../Zend/zend_execute.c:1564 #4 0x80e4ae7 in execute (op_array=0x830c048) at ../../Zend/zend_execute.c:1564 #5 0x80e4ae7 in execute (op_array=0x81cb728) at ../../Zend/zend_execute.c:1564 #6 0x8084e40 in php_execute_script (primary_file=0xbffffb4c) at /home/php/php4/./main.c:1243 #7 0x809d051 in apache_php_module_main (r=0x81c7e74, fd=19, display_source_mode=0) at /home/php/php4/sapi/apache/sapi_apache.c:86 #8 0x80833d3 in send_php () #9 0x8083418 in send_parsed_php () #10 0x80eeae3 in ap_invoke_handler () #11 0x8101dd9 in process_request_internal () #12 0x8101e3c in ap_process_request () #13 0x80f97fe in child_main () #14 0x80f998c in make_child () #15 0x80f9ae9 in startup_children () #16 0x80fa116 in standalone_main () #17 0x80fa893 in main () gdb) p (*entry)->value $1 = {lval = 1, dval = 1.5260680006911065e-269, str = { val = 0x1 <Address 0x1 out of bounds>, len = 136323024}, chval = 1 '\001', ht = 0x1, obj = {ce = 0x1, properties = 0x8201fd0}} Also, when tracing it, I get in zend_get_parameters_array_ex called from php_if_session_register *argument_array equal to 0x5a5a5a5a. I suppose that's some memoery problem, looks like a pattern? -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#14703) next »