#36079 [NEW]: Crash in session encode

From: Date: Thu, 19 Jan 2006 09:35:23 +0000
Subject: #36079 [NEW]: Crash in session encode
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92180@lists.php.net to get a copy of this message
From: njewell at matrix-data dot co dot uk Operating system: Windows XP PHP version: 5CVS-2006-01-19 (snap) PHP Bug Type: Session related Bug description: Crash in session encode Description: ------------ I am seeing Apache crash upon saving a session. This is reproducable in 5.0.5, 5.1.x and current snap. PHP is configured as php.ini-recommended, but with: curl, gd2 on display errors on correct session save path Actual result: -------------- php5ts.dll!zend_hash_internal_pointer_reset_ex(_hashtable * ht=0x3e612f3c, bucket * * pos=0x00000000) Line 1000 + 0x4 C php5ts.dll!ps_srlzr_encode_php(char * * newstr=0x00913eb4, int * newlen=0x0546fa44, void * * * tsrm_ls=0x0546fa68) Line 483 + 0x20 C php5ts.dll!php_session_encode(int * newlen=0x00f6ffe0, void * * * tsrm_ls=0x00bf8a60) Line 571 + 0xe C php5ts.dll!php_session_flush(void * * * tsrm_ls=0x00f6ffe0) Line 1806 + 0x6 C php5ts.dll!zm_deactivate_session(int type=1, int module_number=11, void * * * tsrm_ls=0x00f6ffe0) Line 1821 C php5ts.dll!module_registry_cleanup(_zend_module_entry * module=0x0068baf0, void * * * tsrm_ls=0x00f6ffe0) Line 1797 + 0x11 C php5ts.dll!zend_hash_apply(_hashtable * ht=0x007e24bd, int (void *, void * * *)* apply_func=0x00bf8a60, void * * * tsrm_ls=0x007e70e0) Line 664 + 0x7 C php5ts.dll!zend_deactivate_modules(void * * * tsrm_ls=0x00f6ffe0) Line 824 + 0x10 C php5ts.dll!php_request_shutdown(void * dummy=0x00000000) Line 1267 C php5apache2.dll!php_apache_request_dtor(request_rec * r=0x012d37e0, void * * * tsrm_ls=0x00f6ffe0) Line 442 + 0x8 C php5apache2.dll!php_handler(request_rec * r=0x012d37e0) Line 602 C libhttpd.dll!ap_run_handler(request_rec * r=0x012d37e0) Line 153 + 0x1f C libhttpd.dll!ap_invoke_handler(request_rec * r=0x6ff09a56) Line 368 C libhttpd.dll!ap_process_http_connection(conn_rec * c=0x6ff0426f) Line 251 + 0x6 C libhttpd.dll!ap_run_process_connection(conn_rec * c=0x012619d8) Line 43 + 0x1f C libhttpd.dll!ap_process_connection(conn_rec * c=0x012619d8, void * csd=0x01261908) Line 176 + 0x6 C libhttpd.dll!worker_main(void * thread_num_val=0x77c3a3b0) Line 733 C msvcrt.dll!77c3a3b0() kernel32.dll!7c80b50b() -- Edit bug report at http://bugs.php.net/?id=36079&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36079&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36079&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36079&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36079&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36079&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36079&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36079&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36079&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36079&r=support Expected behavior: http://bugs.php.net/fix.php?id=36079&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36079&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36079&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36079&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36079&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36079&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36079&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36079&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36079&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36079&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36079&r=mysqlcfg

« previous php.bugs (#92180) next »