Hello,
We are trying to run Axis on Unix platform. However, when we try to invoke
the 'echo' webservice, the Axis server crashes giving a memory fault. In the
mail below I have explained the findings I derived after debugging Axis2c:
1). I had built the libecho.so file using the following files : echo.c, echo.h
and echo_skeleton.c
2). The Axis2 Log clearly states that the "libecho.so loaded successfully".
3). The processing of the request proceeds till the statement :
File: msg_recv.c
Function: axis2_msg_recv_make_new_svc_obj Code Lines:
if (impl_class)
{
AXIS2_SVC_SKELETON_INIT((axis2_svc_skeleton_t *) impl_class, env); }
axutil_allocator_switch_to_local_pool(env->allocator);
4). the Code exits and the Axis server crashes. I have also made sure that the
functions are built inside the libecho.so file. It is not an empty linkable.
Please help me out here. I am not able to figure out waht is going wrong here.
Regards,
Shivam.