[wsf-c-dev] [jira] Created: (WSFC-131) Subscriber sample complains a memory corruption when an invalid service end point is passed

Dushshantha Chandradasa (JIRA) jira at wso2.org
Mon Sep 10 03:24:48 PDT 2007


Subscriber sample complains a memory corruption when an invalid service end point is passed
-------------------------------------------------------------------------------------------

                 Key: WSFC-131
                 URL: http://www.wso2.org/jira/browse/WSFC-131
             Project: WSO2 WSF/C
          Issue Type: Bug
          Components: Apache Savan/C (Eventing)
            Reporter: Dushshantha Chandradasa


Subscriber sample complains a memory corruption when an invalid service end point is passed



Here is the gdb trace:


(gdb) r http://localhost:9090/axis2/services/echo
Starting program: /home/dushshantha/wsfc_1.1.0/wso2-wsf-c-src-1.1.0/deploy/bin/samples/savan/subscriber http://localhost:9090/axis2/services/echo
[Thread debugging using libthread_db enabled]
[New Thread -1213232544 (LWP 15694)]

***************************************
Starting Savan subscriber...
Event source endpoint : http://localhost:9090/axis2/services/echo

***************************************
Renewing subscription...
address:(null)

***************************************
Getting status of subscription...
*** glibc detected *** malloc(): memory corruption (fast): 0x0804e1f8 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1213232544 (LWP 15694)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7b919a1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7b932b9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7bc587a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
#4  0xb7bccea4 in free () from /lib/tls/i686/cmov/libc.so.6
#5  0xb7bce411 in malloc () from /lib/tls/i686/cmov/libc.so.6
#6  0xb7f13e45 in axutil_allocator_malloc_impl (allocator=0x804e008, size=0) at allocator.c:65
#7  0xb7ed2ed1 in axiom_element_create (env=0x1d, parent=0x81f6678, localname=0x4a <Address 0x4a out of bounds>, ns=0x81f65d8, node=0x81f61b8) at om_element.c:74
#8  0xb7ee8227 in axiom_soap_body_create_with_parent (env=0x804e1f0, envelope=0x81f6100) at soap_body.c:105
#9  0xb7eea072 in axiom_soap_envelope_create_default_soap_envelope (env=0x804e1f0, soap_version=2) at soap_envelope.c:420
#10 0xb7e93de3 in axis2_svc_client_fill_soap_envelope (env=0x804e1f0, svc_client=0x804e358, msg_ctx=0x81f50f0, payload=0x81f6088) at svc_client.c:1214
#11 0xb7e94953 in axis2_svc_client_send_receive_with_op_qname (svc_client=0x804e358, env=0x804e1f0, op_qname=0x81f63a0, payload=0x81f6088) at svc_client.c:726
#12 0xb7e94d99 in axis2_svc_client_send_receive (svc_client=0x0, env=0x0, payload=0x0) at svc_client.c:804
#13 0xb7b5d3d3 in savan_client_get_status (client=0x0, env=0x804e1f0, svc_client=0x804e358) at savan_client.c:338
#14 0x080495ff in main (argc=2, argv=0x0) at subscriber.c:132



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Wsf-c-dev mailing list