[wsf-c-dev] [jira] Created: (WSFC-171) rm_echo_1_0 seg faults.

Manjula Peiris (JIRA) jira at wso2.org
Wed Nov 21 19:37:34 PST 2007


rm_echo_1_0 seg faults.
-----------------------

                 Key: WSFC-171
                 URL: http://www.wso2.org/jira/browse/WSFC-171
             Project: WSO2 WSF/C
          Issue Type: Bug
          Components: Apache Sandesha/C (RM)
    Affects Versions: Current (nightly)
         Environment: Linux + MYSQL
            Reporter: Manjula Peiris
            Priority: Blocker


With the latest changes in the Axis2/c Sandesha2/c rm_echo_1_0 sample segfaults. We can't have the gdb back trace because it works when debugging. The reason for the crash is the following invalid memory access.

Invalid read of size 4
==27375==    at 0x41215BB: axis2_op_ctx_get_base (op_ctx.c:139)
==27375==    by 0x41206F0: axis2_msg_ctx_get_property (msg_ctx.c:1234)
==27375==    by 0x41324A0: axis2_http_transport_utils_create_soap_msg (http_transport_utils.c:1120)
==27375==    by 0x4170C84: axis2_http_transport_sender_write_message (http_transport_sender.c:649)
==27375==    by 0x416FF57: axis2_http_transport_sender_invoke (http_transport_sender.c:271)
==27375==    by 0x4074ED2: sandesha2_sender_worker_worker_func (sender_worker.c:445)
==27375==    by 0x40A8C40: dummy_worker (thread_unix.c:93)
==27375==    by 0x41582D2: start_thread (in /lib/libpthread-2.6.1.so)
==27375==    by 0x437E54D: clone (in /lib/libc-2.6.1.so)
==27375==  Address 0x4AE1CA8 is 0 bytes inside a block of size 56 free'd
==27375==    at 0x40240CA: free (vg_replace_malloc.c:233)
==27375==    by 0x4098EEB: axutil_allocator_free_impl (allocator.c:91)
==27375==    by 0x412168A: axis2_op_ctx_free (op_ctx.c:174)
==27375==    by 0x46F0965: axis2_http_worker_process_request (http_worker.c:479)
==27375==    by 0x417E205: axis2_svr_thread_worker_func (http_svr_thread.c:254)
==27375==    by 0x40A8C40: dummy_worker (thread_unix.c:93)
==27375==    by 0x41582D2: start_thread (in /lib/libpthread-2.6.1.so)
==27375==    by 0x437E54D: clone (in /lib/libc-2.6.1.so)

When I comment axis2_op_free inside http_worker.c:479 it works.



-- 
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