#46573 [NEW]: Segfault when using SoapClient - stack overflow in sdl_guess_convert_xml
| From: | phpbugs at emanuelgreisen dot dk | Date: | Fri, 14 Nov 2008 11:52:33 +0000 |
| Subject: | #46573 [NEW]: Segfault when using SoapClient - stack overflow in sdl_guess_convert_xml | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-130963@lists.php.net to get a copy of this message | ||
From: phpbugs at emanuelgreisen dot dk
Operating system: Linux (Ubuntu)
PHP version: 5.2.6
PHP Bug Type: Reproducible crash
Bug description: Segfault when using SoapClient - stack overflow in sdl_guess_convert_xml
Description:
------------
When using SoapClient and a nested object structure to send I get a
SegFault due to a stack overflow
I have used gdb to look at the backtrace and it looks like this:
[..snip..]
#34426 0x081a974d in ?? ()
#34427 0x081ad9f1 in sdl_guess_convert_xml ()
#34428 0x081a974d in ?? ()
#34429 0x081ad9f1 in sdl_guess_convert_xml ()
#34430 0x081a974d in ?? ()
#34431 0x081ad9f1 in sdl_guess_convert_xml ()
#34432 0x081a974d in ?? ()
#34433 0x081ad9f1 in sdl_guess_convert_xml ()
#34434 0x081a974d in ?? ()
#34435 0x081ad9f1 in sdl_guess_convert_xml ()
#34436 0x081a974d in ?? ()
#34437 0x081ad9f1 in sdl_guess_convert_xml ()
#34438 0x081a974d in ?? ()
#34439 0x081ad9f1 in sdl_guess_convert_xml ()
#34440 0x081a974d in ?? ()
#34441 0x081ad9f1 in sdl_guess_convert_xml ()
#34442 0x081a974d in ?? ()
[.. snip ..]
Reproduce code:
---------------
I have a whole bunch of auto generated classes made from a WSDL document.
Maybe the bug is due to the fact that i have classes called "string" that I
inherit from (string is a type in WSDL as far as I could see).
Expected result:
----------------
That we actually send the request and receive a reply.
Actual result:
--------------
Segmentation Fault (stack overflow it seems in gdb)
--
Edit bug report at http://bugs.php.net/?id=46573&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46573&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46573&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46573&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46573&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46573&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=46573&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46573&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46573&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46573&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46573&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46573&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46573&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46573&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46573&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46573&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46573&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46573&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46573&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46573&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46573&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46573&r=mysqlcfg