#40584 [Csd]: new Soapclient produces Segfault/Core dump
| From: | tony2001@php.net | Date: | Wed, 21 Feb 2007 20:46:22 +0000 |
| Subject: | #40584 [Csd]: new Soapclient produces Segfault/Core dump | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109285@lists.php.net to get a copy of this message | ||
ID: 40584
Updated by: tony2001@php.net
Reported By: thejam at gmail dot com
Status: Closed
Bug Type: SOAP related
Operating System: SLES 10 (s390x) 64bit
PHP Version: 5.2.1
New Comment:
You can also try to recompile it with --disable-debug, but make sure
CFLAGS contains "-O0 -g" otherwise you won't see any debug symbols.
Previous Comments:
------------------------------------------------------------------------
[2007-02-21 20:38:15] thejam at gmail dot com
Recompiled with --enable-debug, and no more segfault. I've recompiled
twice before, but I still think it was probably botched. Thanks.
------------------------------------------------------------------------
[2007-02-21 20:02:29] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2007-02-21 19:53:48] thejam at gmail dot com
Description:
------------
First bug report, I've scoured the reports for similar issues, nothing
is helping though. Hopefully I didn't miss something.
Platform is zLinux VM on the mainframe. SLES 10.
PHP installed from source, not through yast:
'./configure' '--enable-soap' '--without-pear'
'--with-apxs2=/usr/local/apache2/bin/apxs'
-------------------
Declaring a new SoapClient throws a segfault when the script is
processed. In a browser, it immediately asks if you want to save the
script. Log files shows a Segmentation Fault.
Reproduce code:
---------------
<?
echo "Hello World!";
$sccSystem = new
SoapClient('http://myserver/services/sccsystem?wsdl');
?>
Expected result:
----------------
Hello World!
**I don't expect output from the SoapClient object, I whittled it down
to just this line, and found it still segfaulted.**
Actual result:
--------------
Nothing.
Log file says:
[Wed Feb 21 13:21:32 2007] [notice] child pid 21118 exit signal
Segmentation fault (11)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40584&edit=1