ID: 35570
User updated by: rick at revenew dot nl
Reported By: rick at revenew dot nl
-Status: Feedback
+Status: Open
Bug Type: SOAP related
Operating System: Debian Sarge (Linux) amd64
PHP Version: 5.1.1
New Comment:
This is the gdb backtrace without --enable-debug. This one is made with
cli php, but that acts identical to the apache module.
#0 0x0000000000000000 in ?? ()
#1 0x0000000000000003 in ?? ()
#2 0x0000000000000000 in ?? ()
#3 0x0000000000000004 in ?? ()
#4 0x00007fffffe1b440 in ?? ()
#5 0x0000001d00000000 in ?? ()
#6 0x00000000000000c8 in ?? ()
#7 0x0000000000000000 in ?? ()
#8 0x0000000000000000 in ?? ()
#9 0x0000000000bbd418 in ?? ()
#10 0x0000000000ccc5e8 in ?? ()
#11 0x0000020500000000 in ?? ()
#12 0x0000000000ccc3c0 in ?? ()
#13 0x00000001acd88580 in ?? ()
#14 0x0000000000bc96b8 in ?? ()
#15 0x0000000000ccc3c0 in ?? ()
#16 0x0000000000bbbc98 in ?? ()
#17 0x0000000000000000 in ?? ()
#18 0x00002aaaacbc6649 in posix_memalign () from /lib/libc.so.6
#19 0x0000000000bbe454 in ?? ()
#20 0x0000000000000000 in ?? ()
#21 0x00002aaaac8a9824 in xmlStrdup () from /usr/lib/libxml2.so.2
#22 0x00002aaaac8643a3 in xmlNewNode () from /usr/lib/libxml2.so.2
#23 0x0000000000bbcc80 in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x0000000000000000 in ?? ()
#26 0x0000000000000000 in ?? ()
#27 0x00002aaaac8e19e8 in xmlSAX2StartElementNs () from
/usr/lib/libxml2.so.2
#28 0xffffffffffffffff in ?? ()
#29 0x0000000000bbd148 in ?? ()
#30 0x0000000000bbd148 in ?? ()
#31 0x00007fffffe1b3f0 in ?? ()
#32 0x000000000080335e in utf8_table4 ()
#33 0x00000000009f1588 in defaultEncoding ()
#34 0x0000000000000001 in ?? ()
#35 0x00007fffffe1b4f0 in ?? ()
#36 0x00002aaaacbb8105 in vsprintf () from /lib/libc.so.6
#37 0x00002aaaac8f8bac in xmlStringComment () from
/usr/lib/libxml2.so.2
#38 0x00007fffffe1b4c0 in ?? ()
#39 0x00007fffffe1b4cc in ?? ()
#40 0x00007fffffe1b4d0 in ?? ()
#41 0x00007fffffe1b4dc in ?? ()
#42 0x0000000000000000 in ?? ()
#43 0x0000000000bc30c0 in ?? ()
#44 0x0000003000000020 in ?? ()
#45 0x00007fffffe1b510 in ?? ()
#46 0x00007fffffe1b440 in ?? ()
#47 0x00002aaaac868f9b in xmlBufferAdd () from /usr/lib/libxml2.so.2
#48 0x0000000000000000 in ?? ()
#49 0xccaa38ebba8f9fbf in ?? ()
#50 0x0000000000bbd148 in ?? ()
#51 0x0000000000bbbc98 in ?? ()
#52 0x00007fffffe1b580 in ?? ()
#53 0x0000000000000004 in ?? ()
#54 0x00007fffffe1b640 in ?? ()
#55 0x0000000000b058a0 in ?? ()
#56 0x00000000005231ac in zif_SoapClient___doRequest (ht=-1986392,
return_value=0x0, this_ptr=0x0, return_value_used=-1396606464)
at /home/rick/php-5.0.4/ext/soap/soap.c:2594
#57 0x000000000061ecf5 in zend_call_function (fci=0x7fffffe1b2d0,
fci_cache=0x1) at /home/rick/php-5.0.4/Zend/zend_execute_API.c:870
#58 0x000000000061e736 in call_user_function_ex
(function_table=0x7fffffe1b0a8, object_pp=0x1, function_name=0x0,
retval_ptr_ptr=0x2aaaacc17a00,
param_count=12352376, params=0xbbd1c8, no_separation=1,
symbol_table=0x1) at /home/rick/php-5.0.4/Zend/zend_execute_API.c:552
#59 0x000000000061e663 in call_user_function (function_table=0x0,
object_pp=0x7fffffe1b710, function_name=0x7fffffe1b7d0,
retval_ptr=0x7fffffe1b9d0,
param_count=4, params=0x7fffffe1b730) at
/home/rick/php-5.0.4/Zend/zend_execute_API.c:527
#60 0x0000000000521922 in do_request (this_ptr=0xbbbc98,
request=0x7fffffe1b0a8, location=0xbc0aa8
"http://soap-server-ip-address/WQLogin/soap/IWQLoginService",
action=0xbc96b8
"urn:WQLoginServiceIntf-IWQLoginService#GetUserUID", version=1,
response=0x7fffffe1b9d0) at /home/rick/php-5.0.4/ext/soap/soap.c:2175
#61 0x0000000000521f0f in do_soap_call (this_ptr=0xbbbc98,
function=0xbc12f8 "GetUserUID", function_len=0, arg_count=1,
real_args=0xbbdb28,
return_value=0xbbccd8, location=0xbc0aa8
"http://soap-server-ip-address/WQLogin/soap/IWQLoginService",
soap_action=0x0, call_uri=0x0, soap_headers=0x0,
output_headers=0x0) at /home/rick/php-5.0.4/ext/soap/soap.c:2277
#62 0x0000000000522b99 in zif_SoapClient___call (ht=-1986392,
return_value=0xbbccd8, this_ptr=0xbbbc98,
return_value_used=-1396606464)
at /home/rick/php-5.0.4/ext/soap/soap.c:2456
#63 0x000000000061ecf5 in zend_call_function (fci=0x7fffffe1bc20,
fci_cache=0x2) at /home/rick/php-5.0.4/Zend/zend_execute_API.c:870
#64 0x000000000061e736 in call_user_function_ex
(function_table=0x7fffffe1b0a8, object_pp=0x1, function_name=0x0,
retval_ptr_ptr=0x2aaaacc17a00,
param_count=12352376, params=0xbbd1c8, no_separation=1,
symbol_table=0x1) at /home/rick/php-5.0.4/Zend/zend_execute_API.c:552
#65 0x000000000063b5b7 in zend_std_call_user_call (ht=1,
return_value=0xbc0cf8, this_ptr=0xbbbc98,
return_value_used=-1396606464)
at /home/rick/php-5.0.4/Zend/zend_object_handlers.c:582
#66 0x000000000064b30c in zend_do_fcall_common_helper
(execute_data=0x7fffffe1cd30, opline=0xbc59c8, op_array=0xbbc7f8)
at /home/rick/php-5.0.4/Zend/zend_execute.c:2727
#67 0x000000000064b3a1 in zend_do_fcall_by_name_handler
(execute_data=0x7fffffe1b0a8, opline=0x1, op_array=0x0)
at /home/rick/php-5.0.4/Zend/zend_execute.c:2841
#68 0x0000000000647fca in execute (op_array=0xbbc7f8) at
/home/rick/php-5.0.4/Zend/zend_execute.c:1406
#69 0x0000000000628a79 in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at /home/rick/php-5.0.4/Zend/zend.c:1069
#70 0x00000000005f331f in php_execute_script
(primary_file=0x7fffffe1f350) at /home/rick/php-5.0.4/main/main.c:1632
#71 0x0000000000652a97 in main (argc=2, argv=0x7fffffe1f4b8) at
/home/rick/php-5.0.4/sapi/cli/php_cli.c:946
Previous Comments:
------------------------------------------------------------------------
[2005-12-07 10:59:29] [EMAIL PROTECTED]
Well, at least show the GDB backtrace that you get without
--enable-debug.
------------------------------------------------------------------------
[2005-12-07 10:29:12] rick at revenew dot nl
I can't seem to get valgrind compiled on my system:
/usr/bin/ld: skipping incompatible
/usr/lib/gcc-lib/x86_64-linux/3.3.5/./libgcc.a when searching for
-lgcc
/usr/bin/ld: skipping incompatible
/usr/lib/gcc-lib/x86_64-linux/3.3.5/libgcc.a when searching for -lgcc
Is there another way to find out what the problem is?
------------------------------------------------------------------------
[2005-12-06 14:48:01] [EMAIL PROTECTED]
Check it with valgrind. I guess it should give you some warnings or
something.
------------------------------------------------------------------------
[2005-12-06 14:46:16] rick at revenew dot nl
Hmm just noticed something really strange. I just recompiled php 5.1.1
with the exact same configure options, only I added --enable-debug to
start making a backtrace. Now with the --enable-debug it works fine :S
So, I got curious offcourse and recompiled again without --enable-debug
and bam... a segfault again.
------------------------------------------------------------------------
[2005-12-06 14:17:40] [EMAIL PROTECTED]
Please provide BOTH short but complete reproduce script and GDB
backtrace.
Thanks.
------------------------------------------------------------------------
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/35570
--
Edit this bug report at http://bugs.php.net/?id=35570&edit=1