Re: Segmentation fault when calling webservice

2007-06-17 Thread Samisa Abeysinghe
Dr. Florian Steinborn wrote: Hi there, just a hint... Yesterday I again hit the error that the server crashes with a segfault. But it was my problem: I misspelled the getter-function inside the lib of my webservice. As it is dynamically linked the linker will not recognize the problem during

Re: Segmentation fault when calling webservice

2007-06-15 Thread Dr. Florian Steinborn
Hi there, just a hint... Yesterday I again hit the error that the server crashes with a segfault. But it was my problem: I misspelled the getter-function inside the lib of my webservice. As it is dynamically linked the linker will not recognize the problem during makeing. The next one to no

Re: Segmentation fault when calling webservice

2007-06-14 Thread Samisa Abeysinghe
I was able to reproduce your problem at last. The problem occures when the shared library is missing in the services folder in the repository. As per your services.xml file given below, you should have a libmajcsp.so file in the /usr/local/axis2c/services/majcsp/ folder. Do you have that file?

Re: Segmentation fault when calling webservice

2007-06-13 Thread Samisa Abeysinghe
Hi Again, I did not see the code pasted at the end of the email, when I replied last time. Going through the code, it does not seem to have a problem. How did you compile the code? Could you please send the compiler commands that you used? Samisa... Jean-Louis LESIEUR wrote: Hello,

Re: Segmentation fault when calling webservice

2007-06-11 Thread jl . lesieur
I've looked twice on my svc_skeleton_ops_var it seems ok, but I've found how to reproduce the bug. It's a linker problem. If I take the echo example and I try to compile it with an external libs (-l option of gcc) even if I dont modify the echo service code, the server crashes. My LD_LIBRARY_PAT

Re: Segmentation fault when calling webservice

2007-06-10 Thread Samisa Abeysinghe
Looking at the trace, most probably, this is to do with the init method of your service implementation. Could you please check the code where the svc_skeleton_ops are initialized. It would help to see either the code or the WSDL that you are using, if you have no concerns sending it to the list.

Re: Segmentation fault when calling webservice

2007-06-09 Thread Jean-Louis LESIEUR
Hello, Back to home ! Here's the backtrace of my axis_http_server Program terminated with signal 11, Segmentation fault. #0 0xb7e646a3 in axis2_msg_recv_make_new_svc_obj (msg_recv=0x80e4c70, env=0x8126fd8, msg_ctx=0x8127a18) at msg_recv.c:157 157 AXIS2_SVC_SKELETON_INIT((axis2_svc_ske

Re: Segmentation fault when calling webservice

2007-06-08 Thread Samisa Abeysinghe
[EMAIL PROTECTED] wrote: Thanks, my compilations flags in my ws are not in cause because the backtrace not mention the .so of my webservice. To be more precise, the get_instance of my ws is not executed (I've validated this by put a printf in it, and he did not display nothing). If it can help I

Re: Segmentation fault when calling webservice

2007-06-08 Thread jl . lesieur
Thanks, my compilations flags in my ws are not in cause because the backtrace not mention the .so of my webservice. To be more precise, the get_instance of my ws is not executed (I've validated this by put a printf in it, and he did not display nothing). If it can help I can compile axis with -g o

Re: Segmentation fault when calling webservice

2007-06-07 Thread Samisa Abeysinghe
[EMAIL PROTECTED] wrote: No pb, I've already posted an issue for this (perhaps it's a mistake ?) No it is not a mistake. Raising a Jira is the preferred method. BTW, it looks like you have not included -g in your CFLAGS, please do so that the backtrace would include line numbers. Having a

Re: Segmentation fault when calling webservice

2007-06-07 Thread jl . lesieur
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

Re: Segmentation fault when calling webservice

2007-06-07 Thread Samisa Abeysinghe
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

Segmentation fault when calling webservice

2007-06-07 Thread Jean-Louis LESIEUR
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 -s