ID: 44706
Updated by: [email protected]
Reported By: test1 at boxaroo dot com
-Status: Open
+Status: Feedback
Bug Type: SOAP related
Operating System: at least Linux and Mac
PHP Version: 5.2.5
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[2008-05-26 08:39:38] jasper at flyingfish dot nl
Hi,
We are experiencing the same problem on PHP 5.2.6 on Gentoo.
This is a real problem for us.
Regards,
Jasper
------------------------------------------------------------------------
[2008-04-12 00:52:09] test1 at boxaroo dot com
Description:
------------
I get a segault when talking to PayPal via SOAP. It seems like the
segfault happens AFTER the Soap call has happened, because I can usually
dump the results to the screen just before the crash. This happens on a
Mac system with PHP 5.2.4 and a Linux system with 5.2.5. I have tried 3
different ways of talking to PayPal; one using their SDK, one using
straight SOAP code I wrote, and one using a SOAP wrapper library I
found. All crash the same way. I use SOAP for tons of other things
(eBay, for instance) without issues.
Reproduce code:
---------------
http://img1.boxaroo.com/images/php_soap_segv.txt
And, BTW, you do *not* need to put in your PayPal info (I have mine
replaced with '---'). It still crashes in the same way whether it
accepts your creds or not.
Expected result:
----------------
Should just be a dump of the return; instead you should see the
segfault.
Actual result:
--------------
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x2a26b9e5
0x0028ef3e in zend_objects_store_del_ref_by_handle ()
(gdb) bt
#0 0x0028ef3e in zend_objects_store_del_ref_by_handle ()
#1 0x0028f0b1 in zend_objects_store_del_ref ()
#2 0x00264ce7 in _zval_ptr_dtor ()
#3 0x0027bf90 in zend_hash_destroy ()
#4 0x0028bb22 in zend_object_std_dtor ()
#5 0x0028bb4a in zend_objects_free_object_storage ()
#6 0x0028f097 in zend_objects_store_del_ref_by_handle ()
#7 0x0028f0b1 in zend_objects_store_del_ref ()
#8 0x00264ce7 in _zval_ptr_dtor ()
#9 0x0027bf90 in zend_hash_destroy ()
#10 0x0028bb22 in zend_object_std_dtor ()
#11 0x0028bb4a in zend_objects_free_object_storage ()
#12 0x0028f097 in zend_objects_store_del_ref_by_handle ()
#13 0x0028f0b1 in zend_objects_store_del_ref ()
#14 0x00264ce7 in _zval_ptr_dtor ()
#15 0x0027c12a in zend_hash_apply_deleter ()
#16 0x0027c47c in zend_hash_reverse_apply ()
#17 0x00263fba in shutdown_destructors ()
#18 0x00272541 in zend_call_destructors ()
#19 0x0022dee3 in php_request_shutdown ()
#20 0x0030243a in main ()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44706&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.