php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46573 Segfault when using SoapClient - stack overflow in sdl_guess_convert_xml
Submitted: 2008-11-14 11:52 UTC Modified: 2008-11-23 01:00 UTC
From: phpbugs at emanuelgreisen dot dk Assigned:
Status: No Feedback Package: SOAP related
PHP Version: 5.2.6 OS: Linux (Ubuntu)
Private report: No CVE-ID: None
 [2008-11-14 11:52 UTC] phpbugs at emanuelgreisen dot dk
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)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-15 18:16 UTC] jani@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2008-11-23 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC