ID: 38348 User updated by: archer at priorityonline dot net Reported By: archer at priorityonline dot net -Status: Feedback +Status: Open Bug Type: Session related Operating System: Debian AMD64 PHP Version: 5.1.4 New Comment:
The Stack trace posted is from a very large site, as i don't know what causes it to segfault (its random!), thats not going to be possible. If i Find something that makes php segfault every time i'll let you know tho. Previous Comments: ------------------------------------------------------------------------ [2006-08-05 17:26:41] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2006-08-05 16:38:45] archer at priorityonline dot net Description: ------------ Not sure whats Causing this, but PHP seems to be randomly Segfaulting on my box. php-fcgi[29112]: segfault at 0000000000000000 rip 000000000055e503 rsp 00007fff7546d970 error 4 php-fcgi[17660] general protection rip:55e960 rsp:7fff52046690 error:0 I've attached a back trace below , let me know if u need anymore information. Seems to be related to the use of the mm session handler, but can't be sure. --Keth Reproduce code: --------------- -- Configured With -- Configure Command => ./configure --prefix=/usr --with-pear --enable-shared --with-mm --with-mysqli=/usr/bin/mysql_config --with-mysql=/usr --enable-fastcgi --enable-pcntl --enable-ftp --with-gd=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --with-zlib-dir=/usr --with-openssl=/usr --with-zlib=/usr --enable-force-cgi-redirect --with-bz2=/usr --with-config-file-path=/etc/php --enable-track-vars --enable-mbstring --with-pdo-mysql=/usr --with-pdo-pgsql --with-imap=/usr --enable-sockets --with-kerberos --with-imap-ssl --with-gettext --with-pgsql=/usr --with-pdo-pgsql=/usr --with-pear=/usr/lib/php/PEAR --with-curl Expected result: ---------------- Code Should run fine. Actual result: -------------- #0 ps_sd_lookup (data=<value optimized out>, key=0x1358218 "Jflnxj3OjFZGLcFuZV,W,2", rw=0) at /root/php-5.1.4/ext/session/mod_mm.c:189 #1 0x000000000055ed07 in ps_read_mm (mod_data=<value optimized out>, key=0x1358218 "Jflnxj3OjFZGLcFuZV,W,2", val=0x7fff52046740, vallen=0x7fff5204675c) at /root/php-5.1.4/ext/session/mod_mm.c:328 #2 0x000000000055bbb0 in php_session_start () at /root/php-5.1.4/ext/session/session.c:772 #3 0x000000000055c229 in zif_session_start (ht=20283928, return_value=0x1358218, return_value_ptr=0x16, this_ptr=0x16, return_value_used=-16843009) at /root/php-5.1.4/ext/session/session.c:1696 #4 0x000000000067c22c in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff52046a90) at /root/php-5.1.4/Zend/zend_vm_execute.h:200 #5 0x000000000067b923 in execute (op_array=0x1380ab8) at /root/php-5.1.4/Zend/zend_vm_execute.h:92 #6 0x000000000067bd9b in zend_do_fcall_common_helper_SPEC (execute_data=0x7fff52047030) at /root/php-5.1.4/Zend/zend_vm_execute.h:234 #7 0x000000000067b923 in execute (op_array=0xc4b5d8) at /root/php-5.1.4/Zend/zend_vm_execute.h:92 #8 0x0000000000680f99 in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER (execute_data=0x7fff5204a7b0) at /root/php-5.1.4/Zend/zend_vm_execute.h:1971 #9 0x000000000067b923 in execute (op_array=0xf44878) at /root/php-5.1.4/Zend/zend_vm_execute.h:92 #10 0x0000000000661423 in zend_execute_scripts (type=8, retval=0x178, file_count=3) at /root/php-5.1.4/Zend/zend.c:1109 #11 0x0000000000625a68 in php_execute_script (primary_file=0x7fff5204f310) at /root/php-5.1.4/main/main.c:1732 #12 0x00000000006eda55 in main (argc=3, argv=0x7fff5204f538) at /root/php-5.1.4/sapi/cgi/cgi_main.c:1608 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38348&edit=1