PHP 4.0 Bug #7262 Updated: Segfaults when URLs are rewritten
| From: | sean at fojar dot com | Date: | Thu, 19 Oct 2000 17:30:20 +0000 |
| Subject: | PHP 4.0 Bug #7262 Updated: Segfaults when URLs are rewritten | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35552@lists.php.net to get a copy of this message | ||
ID: 7262
User Update by: sean@fojar.com
Status: Feedback
Bug Type: *Session related
Description: Segfaults when URLs are rewritten
Backtrace after a segfault (the segfaults never occur when I accept the cookie, only when URLs are
being rewritten transparently):
------------
#0 0x400c8fe5 in memmove (dest=0x8170ed4, src=0x8171081, len=4294967292)
at ../sysdeps/generic/memmove.c:98
#1 0x4045d76e in mainloop () from /usr/local/apache/libexec/libphp4.so
#2 0x4045cb69 in url_adapt_ext_ex () from /usr/local/apache/libexec/libphp4.so
#3 0x4040a958 in session_adapt_uris ()
from /usr/local/apache/libexec/libphp4.so
#4 0x40459ebe in php_ub_body_write_no_header ()
from /usr/local/apache/libexec/libphp4.so
#5 0x404597bb in php_body_write () from /usr/local/apache/libexec/libphp4.so
#6 0x403d3b09 in php_body_write_wrapper ()
from /usr/local/apache/libexec/libphp4.so
#7 0x403bf9a2 in zend_print_zval_ex ()
from /usr/local/apache/libexec/libphp4.so
#8 0x403bf92e in zend_print_zval () from /usr/local/apache/libexec/libphp4.so
#9 0x403bf47b in zend_print_variable ()
from /usr/local/apache/libexec/libphp4.so
#10 0x403ac6eb in execute () from /usr/local/apache/libexec/libphp4.so
#11 0x403b1654 in execute () from /usr/local/apache/libexec/libphp4.so
#12 0x403b1654 in execute () from /usr/local/apache/libexec/libphp4.so
#13 0x403c08d3 in zend_execute_scripts ()
from /usr/local/apache/libexec/libphp4.so
#14 0x403d4924 in php_execute_script ()
from /usr/local/apache/libexec/libphp4.so
#15 0x403d08ab in apache_php_module_main ()
from /usr/local/apache/libexec/libphp4.so
#16 0x403d1445 in send_php () from /usr/local/apache/libexec/libphp4.so
#17 0x403d1485 in send_parsed_php () from /usr/local/apache/libexec/libphp4.so
#18 0x806d703 in ap_invoke_handler ()Cannot access memory at address 0x3336332c
Previous Comments:
---------------------------------------------------------------------------
[2000-10-18 14:31:27] sas@php.net
Changing status to feedback.
---------------------------------------------------------------------------
[2000-10-17 13:14:06] sas@php.net
Please read
http://bugs.php.net/bugs-dos-and-donts.php
We cannot help you without a backtrace. Please refer to
http://bugs.php.net/bugs-generating-backtrace.php
---------------------------------------------------------------------------
[2000-10-16 20:01:06] sean@fojar.com
I've reported this before and every time get the ticket closed with messages like "Fixed
in CVS" or "Fixed in next version."
It's still happening. Every now and then, maybe every one out of 20 random pages, when cookies
are disabled and URLs are being rewritten, the page just comes up blank or only half of the content
is there. I look at apache's error_log and see that it died with a segfault.
Linux 2.1.16
Apache 1.3.14 (also happens with 1.3.12)
PHP 4.0.3pl1 (had this problem with every version since 4.0.1 though)
Stock php.ini-optimized, only things changed are "Register Globals" turned on, trans sid
turned on, an include directory set.
PHP compiled without mysql, enable trans sid, and with custom ODBC.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7262