[ http://issues.apache.org/jira/browse/AXIS2C-96?page=all ]
Samisa Abeysinghe resolved AXIS2C-96:
-------------------------------------
Fix Version: Current (Nightly)
Resolution: Fixed
Damitha has commited this patch. Thanks for the solution
> Segfaults when a call client is created
> ---------------------------------------
>
> Key: AXIS2C-96
> URL: http://issues.apache.org/jira/browse/AXIS2C-96
> Project: Axis2-C
> Type: Bug
> Components: core/clientapi
> Versions: M0.5
> Environment: Linux
> Reporter: Nabeel Yoosuf
> Fix For: Current (Nightly)
> Attachments: patch_double_free
>
> When I try to create a call client in PHP extension, it crashes. I ran the
> same code with M0.4 SOAP engine release; it worked fine. (Here the service
> is not read from the loaded context, but created in the client side.)
> Here the backtrack for the echo client php script:
> (gdb) bt
> #0 0x00d51402 in __kernel_vsyscall ()
> #1 0x00a811f8 in raise () from /lib/libc.so.6
> #2 0x00a82948 in abort () from /lib/libc.so.6
> #3 0x00ab652a in __libc_message () from /lib/libc.so.6
> #4 0x00abc424 in _int_free () from /lib/libc.so.6
> #5 0x00abc95f in free () from /lib/libc.so.6
> #6 0x00ae19b0 in closedir () from /lib/libc.so.6
> #7 0x00ae1e98 in scandir () from /lib/libc.so.6
> #8 0x0076959d in axis2_dir_handler_list_service_or_module_dirs (env=0xc2cf48,
> pathname=0x9021594 "/home/nabeel/work/axisc/c/deploy/services") at
> dir_handler.c:200
> #9 0x00690524 in axis2_repos_listener_search (listener=0x90213d4,
> env=0xc2cf48,
> folder_name=0x9021594 "/home/nabeel/work/axisc/c/deploy/services",
> type=0) at ../deployment/repos_listener.c:333
> #10 0x0069075b in axis2_repos_listener_check_svcs (listener=0x90213d4,
> env=0xc2cf48) at ../deployment/repos_listener.c:254
> #11 0x006909df in axis2_repos_listener_init (listener=0x90213d4,
> env=0xc2cf48) at ../deployment/repos_listener.c:296
> #12 0x00690abb in axis2_repos_listener_create_with_folder_name_and_dep_engine
> (env=0xc2cf48,
> folder_name=0x9002324 "/home/nabeel/work/axisc/c/deploy",
> dep_engine=0x90021b4) at ../deployment/repos_listener.c:170
> #13 0x006885ec in axis2_dep_engine_load_client (dep_engine=0x90021b4,
> env=0xc2cf48,
> client_home=0xc2adc4 "/home/nabeel/work/axisc/c/deploy") at
> ../deployment/dep_engine.c:912
> #14 0x00690f47 in build_client_conf_ctx (env=0xc2cf48, axis2_home=0xc2adc4
> "/home/nabeel/work/axisc/c/deploy")
> at ../deployment/conf_init.c:82
> #15 0x0069e016 in axis2_call_assume_svc_ctx (call=0x900216c, env=0xc2cf48,
> client_home=0xc2adc4 "/home/nabeel/work/axisc/c/deploy") at
> ../clientapi/call.c:1246
> #16 0x0069e2e1 in axis2_call_create (env=0xc2cf48, svc_ctx=0x0,
> client_home=0xc2adc4 "/home/nabeel/work/axisc/c/deploy")
> at ../clientapi/call.c:208
> #17 0x00c27ff7 in zif_axis2_soap_client___construct (ht=2,
> return_value=0x9007324, return_value_ptr=0x0,
> this_ptr=0x8ff6614, return_value_used=0) at
> /usr/downloads/php-5.1.1/ext/axis2/soap_client.c:225
> #18 0x081fbe9c in zend_do_fcall_common_helper_SPEC (execute_data=0xbfbc9930)
> at /usr/downloads/php-5.1.1/Zend/zend_vm_execute.h:188
> #19 0x081fb69d in execute (op_array=0x900201c) at
> /usr/downloads/php-5.1.1/Zend/zend_vm_execute.h:88
> #20 0x081dbddf in zend_execute_scripts (type=8, retval=Variable "retval" is
> not available.
> ) at /usr/downloads/php-5.1.1/Zend/zend.c:1090
> #21 0x081a8b06 in php_execute_script (primary_file=0xbfbcbcfc) at
> /usr/downloads/php-5.1.1/main/main.c:1704
> #22 0x0825d9ac in main (argc=2, argv=0xbfbcbde4) at
> /usr/downloads/php-5.1.1/sapi/cli/php_cli.c:1039
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira