ID:               44882
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mike at silverorange dot com
-Status:           Assigned
+Status:           Closed
 Bug Type:         SOAP related
 Operating System: *
 PHP Version:      5.2.5
 Assigned To:      dmitry
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2008-11-17 14:03:23] [EMAIL PROTECTED]

Assigned to the extension maintainer.

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

[2008-11-07 16:45:27] anomie at users dot sf dot net

I did a little digging for you PHP devs. What happens here is:

1. Something does a first pass through the soap xml response.
1a. For each node, a zval is allocated.
1b. soap_check_xml_ref saves the pointer to the allocated zval for each
node.

2. Sometime after this, all those zvals from the first pass get freed.

3. Something does a second pass through the soap xml response.
3a. For each node, a zval is allocated. If we're lucky, the allocated
zval is at the same address as during the first pass and nothing
overwrote that memory in the mean time.
3b. soap_check_xml_ref tries to reuse the saved zval pointer for each
node. If we got lucky in 3a, it seems to work fine. If we're unlucky, it
now uses the wrong zval or something that's not a zval at all.

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

[2008-11-07 16:12:21] anomie at users dot sf dot net

Still fails in php5.2-200811071330.tar.bz2.

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

[2008-10-21 12:39:09] mike at silverorange dot com

The test still fails using the 5.2-200810211030 snapshot.

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

[2008-10-21 11:35:05] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/44882

-- 
Edit this bug report at http://bugs.php.net/?id=44882&edit=1

Reply via email to