An undefined argument to an extended SoapClient causes Segmentation Fault in PHP

Solution Unverified - Updated -

Issue

If you give an extended SoapClient an undefined argument, httpd will crash with Segmentation Fault. The core should show the following back trace:-

(gdb) bt
#0  zval_delref_p (pz=0x1) at /usr/src/debug/php-5.3.3/Zend/zend.h:385
#1  _zval_ptr_dtor (zval_ptr=0x7fff6aa02568) at /usr/src/debug/php-5.3.3/Zend/zend_execute_API.c:439
#2  0x00002b97d0629500 in ZEND_HANDLE_EXCEPTION_SPEC_HANDLER (execute_data=0x2b97c8a3b508) at /usr/src/debug/php-5.3.3/Zend/zend_vm_execute.h:609
#3  0x00002b97d06065cb in execute (op_array=0x2b97d7dc2d90) at /usr/src/debug/php-5.3.3/Zend/zend_vm_execute.h:107
#4  0x00002b97d05e26f5 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/debug/php-5.3.3/Zend/zend.c:1235
#5  0x00002b97d0593348 in php_execute_script (primary_file=0x7fff6aa04aa0) at /usr/src/debug/php-5.3.3/main/main.c:2261
#6  0x00002b97d066b41d in php_handler (r=0x2b97ed94b3b0) at /usr/src/debug/php-5.3.3/sapi/apache2handler/sapi_apache2.c:669
#7  0x00002b97c89c8e8a in ap_run_handler ()
#8  0x00002b97c89cc318 in ap_invoke_handler ()
#9  0x00002b97c89d6e68 in ap_process_request ()
...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content