[wsf-c-dev] [jira] Created: (WSFC-247) invalid read in axutil_hash_find_entry (hash.c:299) on the http server when using the trader client

Frederic Heem (JIRA) jira at wso2.org
Wed Apr 16 06:16:17 PDT 2008


invalid read in axutil_hash_find_entry (hash.c:299) on the http server when using the trader client
---------------------------------------------------------------------------------------------------

                 Key: WSFC-247
                 URL: https://wso2.org/jira/browse/WSFC-247
             Project: WSO2 WSF/C
          Issue Type: Bug
          Components: Apache Axis2/C
    Affects Versions: 1.2.0
         Environment: fedora 6
            Reporter: Frederic Heem


Start axis2_http_server under valgrind: " valgrind  ./axis2_http_server".
Invoke the  command "./trader create-account heefre pippo http://localhost:9090/axis2/services/traderclient" 2 times will result in the following error: 

==3291== Thread 4:
==3291== Invalid read of size 1
==3291==    at 0x4056CE4: axutil_hash_find_entry (hash.c:299)
==3291==    by 0x4057107: axutil_hash_set (hash.c:390)
==3291==    by 0x4A0A898: wsf_exchange_register_client (exchange.c:97)
==3291==    by 0x49FDEB8: axis2_skel_ExchangeTrader_registerClient (axis2_skel_ExchangeTrader.c:82)
==3291==    by 0x49FE19A: axis2_svc_skel_ExchangeTrader_invoke (axis2_svc_skel_ExchangeTrader.c:232)
==3291==    by 0x40A7FAF: axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync (raw_xml_in_out_msg_recv.c:219)
==3291==    by 0x40A7553: axis2_msg_recv_invoke_business_logic (msg_recv.c:392)
==3291==    by 0x40A7B43: axis2_msg_recv_receive_impl (msg_recv.c:319)
==3291==    by 0x40A75D3: axis2_msg_recv_receive (msg_recv.c:431)
==3291==    by 0x409E7D5: axis2_engine_receive (engine.c:297)
==3291==    by 0x407D548: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:516)
==3291==    by 0x407AF8E: axis2_http_worker_process_request (http_worker.c:326)
==3291==  Address 0x46da458 is 0 bytes inside a block of size 7 free'd
==3291==    at 0x40053CC: free (vg_replace_malloc.c:323)
==3291==    by 0x40572FC: axutil_allocator_free_impl (allocator.c:91)
==3291==    by 0x40187F3: axiom_element_free (om_element.c:718)
==3291==    by 0x401551D: axiom_node_free_tree (om_node.c:121)
==3291==    by 0x40154D2: axiom_node_free_tree (om_node.c:112)
==3291==    by 0x40154D2: axiom_node_free_tree (om_node.c:112)
==3291==    by 0x40154D2: axiom_node_free_tree (om_node.c:112)
==3291==    by 0x40154D2: axiom_node_free_tree (om_node.c:112)
==3291==    by 0x4013B41: axiom_document_free (om_document.c:87)
==3291==    by 0x401B4A0: axiom_stax_builder_free (om_stax_builder.c:870)
==3291==    by 0x4024BA5: axiom_soap_builder_free (soap_builder.c:188)
==3291==    by 0x402381E: axiom_soap_envelope_free (soap_envelope.c:167)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://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