You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by is...@eurostep.fi on 2004/04/26 08:12:21 UTC
Segmentation fault using Axis C++ 1.1
Hi!
I am trying to run a client application using Axis C++ 1.1.
I get a segmentation fault when the AxisTrace::logaxis() function is
executed.
Here is the stacktrace of the crash:
#0 0x40219e17 in fwrite () from /lib/i686/libc.so.6
#1 0x4014d492 in AxisTrace::logaxis(char const*, int, char*, int) ()
from /opt/axis/bin/libaxiscpp_client.so.0
#2 0x40139825 in initialize_module () from
/opt/axis/bin/libaxiscpp_client.so.0
#3 0x4014320d in Call::Call() () from
/opt/axis/bin/libaxiscpp_client.so.0
#4 0x40109ecc in axis_client (this=0xbffff140) at
../../dev/axis_client/axis_client.cpp:153
#5 0x08048869 in main (argc=1, argv=0xbffff1a4) at client.cpp:10
The client.cpp:
1: // sample client program
2:
3: include <iostream>
4:
5: using namespace std;
6:
7: #include "stub.h"
8:
9: main() {
10: stub client_stub; <----- stacktrace
11:
12: client_stub.do_something();
13:}
the lines 150-156 of the axis_client.cpp:
150:
151: axis_client::axis_client()
152: {
153: m_pCall = new Call(); <---- stacktrace
154: m_pCall->SetProtocol(APTHTTP);
155:m_pCall->SetEndpointURI("http://localhost:8080/axis/services/axis_client");
156: }
Can anyone help me?
Thanks
Istvan
--
---
"Those who do not understand UNIX are doomed to reinvent it, poorly."
-- Henry Spencer --
--
------------------------------------------------------------------
| Istvan David
| Software Engineer
| Eurostepsys Oy Email: istvan.david@eurostep.fi
| Karvaamokuja 3 Mobile: +358 408 366 500
| FI-00380 Helsinki Fax: +358 934 872 031
| Finland URL: http://www.eurostep.com
-------------------------------------------------------------------