axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <sam...@wso2.com>
Subject Re: Segmentation fault when calling webservice
Date Fri, 08 Jun 2007 01:46:19 GMT
Is it possible for you to use gdb and send the back trace at the point 
it segfaults please? That would help us to understand where the exact 
problem is. It is hard to tell the problem form the log.

Thanks,
Samisa...

Jean-Louis LESIEUR wrote:
> Hello,
>
> I have a problem when I deploy a service. I've build a simple service 
> based on the "echo" sample, except in the fact that this service call 
> a function in other custom shared library.
>
> I'm on ubuntu linux 7.04 with axis 1.0.0.
>
> I've tried to compile my service with this command :
>
> gcc -shared -olibmajcsp.so -I$AXIS2C_HOME/include/axis2-1.0/ 
> -L$AXIS2C_HOME/lib -laxis2  -L<here, my custom .so path> -l<here my 
> lib> -I<here my include path> <here my service>
>
> I have no error in compilation.
>
> So I deploy the .so of this service and try to call him with echo 
> client sample axis_http_server crashes with a segmentation fault ... 
> Here's the result of execution of axis_http_server :
>
> $ sudo ./axis 2_http_server -l 5 -f /dev/stderr
> Started Simple Axis2 HTTP Server ...
> [Thu Jun  7 23:19:47 2007] [info]  Starting HTTP server thread
> [Thu Jun  7 23:19:51 2007] [debug] http_worker.c(155) Client HTTP 
> version HTTP/1.1
> [Thu Jun  7 23:19:51 2007] [debug] soap_builder.c(748) identified soap 
> version is soap12
> [Thu Jun  7 23:19:51 2007] [debug] engine.c(571) Invoking phase Transport
> [Thu Jun  7 23:19:51 2007] [debug] phase.c(195) Invoke the handler 
> request_uri_based_dispatcher within the phase Transport
> [Thu Jun  7 23:19:51 2007] [debug] req_uri_disp.c(103) Checking for 
> service using target endpoint address : 
> http://127.0.0.1:9090/axis2/services/majcsp
> [Thu Jun  7 23:19:51 2007] [debug] req_uri_disp.c(124) Service found 
> using target endpoint address
> [Thu Jun  7 23:19:51 2007] [debug] engine.c(571) Invoking phase 
> PreDispatch
> [Thu Jun  7 23:19:51 2007] [debug] phase.c(195) Invoke the handler 
> AddressingInHandler within the phase PreDispatch
> [Thu Jun  7 23:19:51 2007] [info]  Starting addressing in handler 
> .........
> [Thu Jun  7 23:19:51 2007] [info]  addr_in_handler.c
> [Thu Jun  7 23:19:51 2007] [debug] engine.c(571) Invoking phase Dispatch
> [Thu Jun  7 23:19:51 2007] [debug] phase.c(195) Invoke the handler 
> soap_message_body_based_dispatcher within the phase Dispatch
> [Thu Jun  7 23:19:51 2007] [debug] soap_body_disp.c(217) Checking for 
> operation using SOAP message body's first child's local name : echoString
> [Thu Jun  7 23:19:51 2007] [debug] soap_body_disp.c(226) Operation 
> found using SOAP message body's first child's local name
> [Thu Jun  7 23:19:51 2007] [debug] phase.c(195) Invoke the handler 
> addressing_based_dispatcher within the phase Dispatch
> [Thu Jun  7 23:19:51 2007] [debug] phase.c(195) Invoke the handler 
> soap_action_based_dispatcher within the phase Dispatch
> [Thu Jun  7 23:19:51 2007] [debug] engine.c(571) Invoking phase 
> PostDispatch
> [Thu Jun  7 23:19:51 2007] [debug] phase.c(195) Invoke the handler 
> dispatch_post_conditions_evaluator within the phase PostDispatch
> [Thu Jun  7 23:19:51 2007] [debug] phase.c(195) Invoke the handler 
> context_handler within the phase PostDispatch
> Erreur de segmentation (core dumped)
>
> Does anybody have experienced this kind of problem ?
>
> Thanks for your help !
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org


-- 
Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services Developers' Portal)


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message