From:             
Operating system: RHEL
PHP version:      5.3SVN-2011-02-04 (snap)
Package:          SOAP related
Bug Type:         Bug
Bug description:Segmentation fault on using new soapclient() function

Description:
------------
I am having trouble in using SOAP extension. I installed PHP with SOAP
extension but whenever there is a soapclient function call in the code.



The page either doesn't load and shows a blank page or asks to save the
.php file without even showing a blank page.



In error log file for apache this error is thrown again and again on  each
page load:

[Thu Feb 03 23:02:20 2011] [notice] child pid 23912 exit signal
Segmentation fault (11)



I tried backtracing it using gdb. But it came out with this which makes no
sense:



[root@testapp3 bin]# gdb /usr/sbin/httpd /tmp/apache-cores/core.8638

GNU gdb Red Hat Linux (6.5-16.el5rh)

Copyright (C) 2006 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you
are

welcome to change it and/or distribute copies of it under certain
conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for
details.

This GDB was configured as "x86_64-redhat-linux-gnu"...(no debugging
symbols found)

Using host libthread_db library "/lib64/libthread_db.so.1".



Core was generated by `/www/bin/httpd -k start'.

Program terminated with signal 11, Segmentation fault.

#0  0x00002aaaab3c836c in ?? ()

(gdb) where

#0  0x00002aaaab3c836c in ?? ()

#1  0x000000000000000d in ?? ()

#2  0x0000000005517bd0 in ?? ()

#3  0x000000004d49f4e4 in ?? ()

#4  0x00002aaaab3cd7cd in ?? ()

#5  0x0000000000000000 in ?? ()



I used the same php code on other machines and it works fine. Please put
some light on the problem here.

Please help.



Thanks,

Umang

Test script:
---------------
The code breaks here, particularly in this line, in all of the pages:



$client = new SoapClient($command,$options);

Expected result:
----------------
Run the code smoothly

Actual result:
--------------
Nothing.

In error log file there is a segmentation fault.

-- 
Edit bug report at http://bugs.php.net/bug.php?id=53921&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=53921&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=53921&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=53921&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=53921&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53921&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=53921&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=53921&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=53921&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=53921&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=53921&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=53921&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=53921&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=53921&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=53921&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=53921&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=53921&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=53921&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=53921&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=53921&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=53921&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=53921&r=mysqlcfg

Reply via email to