ID: 49045 User updated by: kelvin at netbasic dot co dot uk Reported By: kelvin at netbasic dot co dot uk -Status: Feedback +Status: Open Bug Type: SOAP related Operating System: Centos 4.7 and 5.3 PHP Version: 5.3.0 Assigned To: jani New Comment:
I know this isn't the best config, but it does for testing. I've used the same config on both CentOS and Unbuntu boxes and all had the same problem: './configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--enable- bcmath' '--enable-calendar' '--enable-ftp' '--enable-discard-path' '-- with-pear' '--enable-sockets' '--with-zlib' '--with-gd' '--with-curl' '- -enable-bcmath' '--enable-sigchild' '--enable-sockets' '--with-curl' '-- with-curlwrappers' '--enable-soap' '--with-openssl' '--with-kerberos' '- -enable-mbstring' '--enable-zip' '--with-jpeg-dir=/usr/lib/' --with-ttf --with-pdo-mysql --with-mysqli --with-mysql Previous Comments: ------------------------------------------------------------------------ [2009-07-26 12:15:16] j...@php.net What is the configure line you used? ------------------------------------------------------------------------ [2009-07-26 01:16:14] kelvin at netbasic dot co dot uk Hi Jani Thanks for looking into this so quickly, unfortunately its still occuring, I've tested the last 2 snapshots on both Ubuntu and CentOS with the same result, I've attached another backtrace - Program received signal SIGSEGV, Segmentation fault. 0x006f6f2d in strncasecmp () from /lib/libc.so.6 (gdb) bt #0 0x006f6f2d in strncasecmp () from /lib/libc.so.6 #1 0x00d0505b in curl_strnequal () from /usr/lib/libcurl.so.3 #2 0x00ceb1bc in ?? () from /usr/lib/libcurl.so.3 #3 0x00cecd89 in Curl_http () from /usr/lib/libcurl.so.3 #4 0x00cf89b0 in Curl_do () from /usr/lib/libcurl.so.3 #5 0x00d07b2b in ?? () from /usr/lib/libcurl.so.3 #6 0x00d080bc in curl_multi_perform () from /usr/lib/libcurl.so.3 #7 0x081507ff in php_curl_stream_read (stream=0x99778c0, buf=0x997931c "\024\223\227\t\024\223\227\tìg\203\t", count=8192) at /root/t/php5.3-200907260030/ext/curl/streams.c:184 #8 0x08383324 in php_stream_fill_read_buffer (stream=0x99778c0, size=4000) at /root/t/php5.3-200907260030/main/streams/streams.c:562 #9 0x083835da in _php_stream_read (stream=0x99778c0, buf=0x99f52d8 "", size=4000) at /root/t/php5.3- 200907260030/main/streams/streams.c:605 #10 0x0014b870 in xmlParserInputBufferGrow () from /usr/lib/libxml2.so.2 #11 0x00124331 in xmlParserInputGrow () from /usr/lib/libxml2.so.2 #12 0x001283fc in ?? () from /usr/lib/libxml2.so.2 #13 0x0013a0bc in xmlParseDocument () from /usr/lib/libxml2.so.2 #14 0x0828edcf in soap_xmlParseFile (filename=0x997769c "http://webservices.data-8.co.uk/TelephoneValidation.asmx?WSDL") at /root/t/php5.3-200907260030/ext/soap/php_xml.c:100 #15 0x082849eb in load_wsdl_ex (this_ptr=0x9977180, struri=0x997769c "http://webservices.data-8.co.uk/TelephoneValidation.asmx?WSDL", ctx=0xbfbfeb08, include=0) at /root/t/php5.3-200907260030/ext/soap/php_sdl.c:240 #16 0x08288ef6 in load_wsdl (this_ptr=0x9977180, struri=0x997769c "http://webservices.data-8.co.uk/TelephoneValidation.asmx?WSDL") at /root/t/php5.3-200907260030/ext/soap/php_sdl.c:654 #17 0x0828a76f in get_sdl (this_ptr=0x9977180, uri=0x997769c "http://webservices.data-8.co.uk/TelephoneValidation.asmx?WSDL", cache_wsdl=1) at /root/t/php5.3-200907260030/ext/soap/php_sdl.c:3227 #18 0x0825cc68 in zim_SoapClient_SoapClient (ht=1, return_value=0x9977714, return_value_ptr=0x0, this_ptr=0x9977180, return_value_used=0) at /root/t/php5.3-200907260030/ext/soap/soap.c:2671 #19 0x08406399 in zend_do_fcall_common_helper_SPEC (execute_data=0x99a9fc0) at /root/t/php5.3- 200907260030/Zend/zend_vm_execute.h:313 #20 0x083dddcd in execute (op_array=0x9978ec0) at /root/t/php5.3- 200907260030/Zend/zend_vm_execute.h:104 #21 0x083bcc77 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /root/t/php5.3-200907260030/Zend/zend.c:1188 #22 0x0836cb8e in php_execute_script (primary_file=0xbfc02568) at /root/t/php5.3-200907260030/main/main.c:2211 #23 0x0843c2e7 in main (argc=2, argv=0xbfc026c4) at /root/t/php5.3- 200907260030/sapi/cli/php_cli.c:1188) ------------------------------------------------------------------------ [2009-07-25 22:25:42] j...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ I believe this should be fixed now. And really had nothing to do with SOAP extension itself. :) ------------------------------------------------------------------------ [2009-07-24 13:27:07] kelvin at netbasic dot co dot uk Hi, This the backtrace run from the commandline php (Seems our apache config doesn't work to well with gdb) #0 0x0075df2d in strncasecmp () from /lib/libc.so.6 #1 0x006bee4b in curl_strnequal () from /usr/lib/libcurl.so.3 #2 0x006a519c in ?? () from /usr/lib/libcurl.so.3 #3 0x006a6d59 in Curl_http () from /usr/lib/libcurl.so.3 #4 0x006b2810 in Curl_do () from /usr/lib/libcurl.so.3 #5 0x006c190b in ?? () from /usr/lib/libcurl.so.3 #6 0x006c1e9c in curl_multi_perform () from /usr/lib/libcurl.so.3 #7 0x08148b90 in php_curl_stream_read (stream=0x912fde8, buf=0x9130964 "\\\t\023\t\\\t\023\tì·ü\b", count=8192) at /root/t/php- 5.3.0/ext/curl/streams.c:184 #8 0x083373b6 in php_stream_fill_read_buffer (stream=0x912fde8, size=4000) at /root/t/php-5.3.0/main/streams/streams.c:562 #9 0x08337653 in _php_stream_read (stream=0x912fde8, buf=0x91b5d90 "", size=4000) at /root/t/php-5.3.0/main/streams/streams.c:605 #10 0x04690870 in xmlParserInputBufferGrow () from /usr/lib/libxml2.so.2 #11 0x04669331 in xmlParserInputGrow () from /usr/lib/libxml2.so.2 #12 0x0466d3fc in ?? () from /usr/lib/libxml2.so.2 #13 0x0467f0bc in xmlParseDocument () from /usr/lib/libxml2.so.2 #14 0x08258e37 in soap_xmlParseFile (filename=0x912f30c "http://webservices.data-8.co.uk/TelephoneValidation.asmx?WSDL") at /root/t/php-5.3.0/ext/soap/php_xml.c:100 #15 0x0824b611 in load_wsdl_ex (this_ptr=0x912ed48, struri=0x912f30c "http://webservices.data-8.co.uk/TelephoneValidation.asmx?WSDL", ctx=0xbfb69450, include=0) at /root/t/php-5.3.0/ext/soap/php_sdl.c:240 #16 0x08256979 in get_sdl (this_ptr=0x912ed48, uri=0x912f30c "http://webservices.data-8.co.uk/TelephoneValidation.asmx?WSDL", cache_wsdl=<value optimized out>) at /root/t/php- 5.3.0/ext/soap/php_sdl.c:654 #17 0x082268c1 in zim_SoapClient_SoapClient (ht=1, return_value=0x912f870, return_value_ptr=0x0, this_ptr=0x912ed48, return_value_used=0) at /root/t/php-5.3.0/ext/soap/soap.c:2671 #18 0x0838b3b6 in zend_do_fcall_common_helper_SPEC (execute_data=0x9162688) at /root/t/php- 5.3.0/Zend/zend_vm_execute.h:313 #19 0x0838a838 in execute (op_array=0x912f204) at /root/t/php- 5.3.0/Zend/zend_vm_execute.h:104 #20 0x0836e58b in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /root/t/php-5.3.0/Zend/zend.c:1188 #21 0x08327ed3 in php_execute_script (primary_file=0xbfb6cc50) at /root/t/php-5.3.0/main/main.c:2196 #22 0x083e4e9c in main (argc=2, argv=0xbfb6cd44) at /root/t/php- 5.3.0/sapi/cli/php_cli.c:1188) ------------------------------------------------------------------------ [2009-07-24 11:48:48] fel...@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. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/49045 -- Edit this bug report at http://bugs.php.net/?id=49045&edit=1