axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jl.lesi...@progexia.net
Subject Re: Segmentation fault when calling webservice
Date Fri, 08 Jun 2007 06:26:10 GMT
No pb,

I've already posted an issue for this (perhaps it's a mistake ?)

https://issues.apache.org/jira/browse/AXIS2C-612

Here's the backtrace :

#0 0xb7e62b87 in axis2_msg_recv_make_new_svc_obj () from
/home/jllesieur/SVNROOT/axis2c-bin-1.0.0-linux/lib/libaxis2_engine.so.0
#1 0xb7e62c98 in axis2_msg_recv_get_impl_obj () from
/home/jllesieur/SVNROOT/axis2c-bin-1.0.0-linux/lib/libaxis2_engine.so.0
#2 0xb7e635d4 in axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync
() from
/home/jllesieur/SVNROOT/axis2c-bin-1.0.0-linux/lib/libaxis2_engine.so.0
#3 0xb7e63311 in axis2_msg_recv_invoke_business_logic () from
/home/jllesieur/SVNROOT/axis2c-bin-1.0.0-linux/lib/libaxis2_engine.so.0
#4 0xb7e63119 in axis2_msg_recv_receive_impl () from
/home/jllesieur/SVNROOT/axis2c-bin-1.0.0-linux/lib/libaxis2_engine.so.0
#5 0xb7e6336d in axis2_msg_recv_receive () from
/home/jllesieur/SVNROOT/axis2c-bin-1.0.0-linux/lib/libaxis2_engine.so.0
#6 0xb7e58092 in axis2_engine_receive () from
/home/jllesieur/SVNROOT/axis2c-bin-1.0.0-linux/lib/libaxis2_engine.so.0
#7 0xb7f0d5de in axis2_http_transport_utils_process_http_post_request ()
from
/home/jllesieur/SVNROOT/axis2c-bin-1.0.0-linux/lib/libaxis2_http_common.so.0
#8 0xb7f0bf20 in axis2_http_worker_process_request () from
/home/jllesieur/SVNROOT/axis2c-bin-1.0.0-linux/lib/libaxis2_http_common.so.0
#9 0xb7e140ca in axis2_svr_thread_worker_func () from
/home/jllesieur/SVNROOT/axis2c-bin-1.0.0-linux/lib/libaxis2_http_receiver.so.0
#10 0xb7ebf265 in dummy_worker () from
/home/jllesieur/SVNROOT/axis2c-bin-1.0.0-linux/lib/libaxutil.so.0
#11 0xb7cb931b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb7c2957e in clone () from /lib/tls/i686/cmov/libc.so.6


Thanks a lot for your help !
Jean-Louis

> 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
>
>


---------------------------------------------------------------------
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