First off, you need to debug this by building it debug, trapping on
the fault and working back up the call stack to find where you went wrong.

The likely fault is passing an unset pointer or other garbage back
from the implementation method. The serializer doesn't test for
non-garbage before operating ont he data you provide.



--- In [email protected], "strbrentlowe" <[EMAIL PROTECTED]> wrote:
>
> I am receiving a core dump in the gSoap function: 
> soap_pointer_enter.  I'm not sure where to even start debugging this 
> as it's part of stdsoap2.cpp.
> 
> Below is the stack trace, anyone have any thoughts?  Thanks.
> 
> #0  chunk_alloc (ar_ptr=0x401c4340, nb=777) at malloc.c:2929
> 2929  malloc.c: No such file or directory.
>       in malloc.c
> (gdb) where
> #0  chunk_alloc (ar_ptr=0x401c4340, nb=777) at malloc.c:2929
> #1  0x4010f828 in __libc_malloc (bytes=772) at malloc.c:2811
> #2  0x08125ff9 in soap_pointer_enter (soap=0x8171e78, p=0x8189520, 
> a=0x0, n=0, type=149, ppp=0xbffff424) at stdsoap2.cpp:4949
> #3  0x081267e1 in soap_reference (soap=0x8171e78, p=0x8189520, t=149) 
> at stdsoap2.cpp:5231
> #4  0x08100597 in 
> soap_serialize_PointerTons3__XSAddExpressDeliveryInput 
> (soap=0x8171e78, a=0xbffff484) at soapC.cpp:46756
> #5  0x080ef810 in soap_serialize___ns5__addExpressDelivery 
> (soap=0x8171e78, a=0xbffff484) at soapC.cpp:38113
> #6  0x0805be3b in soap_call___ns5__addExpressDelivery 
> (soap=0x8171e78, 
> soap_endpoint=0x8142be0 "http://devpc1_linux:8080/axis2/services/FDSAP
> I", 
>     soap_action=0x8143bd1 "urn:addExpressDelivery", 
> ns2__addExpressDelivery=0x8189520, 
> ns2__addExpressDeliveryResponse=0xbffff520)
>     at soapClient.cpp:4342
> #7  0x0813a4b5 in FDSAPISOAP12Binding::__ns5__addExpressDelivery 
> (this=0xbffff590, ns2__addExpressDelivery=0x8189520, 
>     ns2__addExpressDeliveryResponse=0xbffff520) at 
> soapFDSAPISOAP12BindingProxy.h:111
> #8  0x08049a96 in main (argc=1, argv=0xbffff61c) at test.cc:52
> #9  0x400ab657 in __libc_start_main (main=0x80496a0 <main>, argc=1, 
> ubp_av=0xbffff61c, init=0x8049094 <_init>, fini=0x81427e4 <_fini>, 
>     rtld_fini=0x4000dc54 <_dl_fini>, stack_end=0xbffff60c) 
> at ../sysdeps/generic/libc-start.c:129
>


Reply via email to