ID: 9772
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Reproduceable crash
Description: segfault w/ long POST/GET vars

Addendum. In my haste, I think I mis-evaluated the cause of
this bug. It seems to have been resolved by my removing an &
from a function definintion (and no longer making it return
a reference). This function was used about 25 times on the
page with different paramenters. I'll try and create a
small, example set of code to recreate the problem. The
function was also generating large numbers (at times) of
suppressed warnings from the db (no results). All of those
factors may contribute to the issue. The problem remains,
though it occurs in a slightly different place, in the
current CVS (as of 20010316).

Previous Comments:
---------------------------------------------------------------------------

[2001-03-15 23:13:14] [EMAIL PROTECTED]
1. Try latest CVS snapshot from http://snaps.php.net/
2. Add the shortest possible php script into this bug report 
which can be used to reproduce this crash.

--Jani


---------------------------------------------------------------------------

[2001-03-15 16:20:38] [EMAIL PROTECTED]
Hmmm...After a bit more bashing, I've gotten it to do it even with the shortend 
variables.

new (but very similar) backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x4019e90a in zend_indent () at zend_indent.c:96
96                                                                      ZEND_PUTS(" 
{n");
(gdb) bt
#0  0x4019e90a in zend_indent () at zend_indent.c:96
#1  0xbfff81f8 in ?? ()
#2  0x4018ef8b in _get_zval_ptr_ptr (node=0x8161864, Ts=0xbfff8210) at 
./zend_execute.c:163
#3  0x4018a819 in execute (op_array=0x813a9a4) at ./zend_execute.c:1531
#4  0x4018b9ac in execute (op_array=0x81a6134) at ./zend_execute.c:1768
#5  0x4019a2bf in add_assoc_long (arg=0x8, key=0x3 <Address 0x3 out of bounds>, n=0) 
at zend_API.c:238
#6  0x401acba4 in php_fopen_with_path (filename=0xbffff964 "

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to