[prev in list] [next in list] [prev in thread] [next in thread]
List: axis-c-user
Subject: Simple svc client or http client crashing in linux...
From: "Raju, Prabhakar \(P.\)" <praju3 () ford ! com>
Date: 2006-12-07 22:39:11
Message-ID: 47DE0BA5E69AE14595B322681B99C75B3E3E2D () na1ecm04 ! DEARBORN ! FORD ! COM
[Download RAW message or body]
Hi,
If I run the simple server and echo client ( axis2/c) , if the server
dies or hangs for a while (I think) , the client crashes with
segmentation fault. To test this, I ran the sample client echo.c
Something like this.
for(i=0;i<100000;++i){
ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);
printf("%d times\n", i);
}
The call ran about 1000 times and the client reported SIGSEGV. I face
the same problem, using http_client for our program. The call fails at
random (either 300 calls or 16000 calls or 5000 calls).
My linux version is Suse 8.1
FYI
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Simple svc client or http client crashing in linux...</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">If I run the simple server and echo client ( axis2/c) , \
if the server dies or hangs for a while (I think) , the client crashes with \
segmentation fault. To test this, I ran the sample client echo.c </FONT></P>
<P><FONT SIZE=2 FACE="Arial">Something like this.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> for(i=0;i<100000;++i){</FONT>
<BR><FONT SIZE=2 FACE="Arial"> ret_node = \
AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);</FONT>
<BR><FONT SIZE=2 FACE="Arial"> printf("%d \
times\n", i); </FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">The call ran about 1000 times and the client reported \
SIGSEGV. I face the same problem, using http_client for our program. The call fails \
at random (either 300 calls or 16000 calls or 5000 calls).</FONT></P>
<P><FONT SIZE=2 FACE="Arial">My linux version is Suse 8.1</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">FYI</FONT>
</P>
</BODY>
</HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic