SEND_RECEIVE_NON_BLOCKING segfaults in the second app message of the sequence
-----------------------------------------------------------------------------

                 Key: SANDESHA2C-29
                 URL: https://issues.apache.org/jira/browse/SANDESHA2C-29
             Project: Sandesha2/C
          Issue Type: Bug
            Reporter: Damitha Kumarage


SEND_RECEIVE_NON_BLOCKING segfaults in the second app message of the sequence. 
But if I use sandesha2_client defined method 
sandesha2_client_send_non_blocking(env, svc_client, options, NULL,
        callback2, payload, listener_manager);
it works fine.

Following is the stack trace

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1238389840 (LWP 2055)]
0x080c9bfc in ?? ()
(gdb) bt
#0  0x080c9bfc in ?? ()
#1  0xb7ee1aea in axis2_engine_receive (engine=0x80dc340, env=0x80dad10, 
msg_ctx=0x80e3f28) at engine.c:447
#2  0xb7e8f4ef in axis2_http_transport_utils_process_http_post_request 
(env=0x80dad10, msg_ctx=0x80e3f28,
    in_stream=0x80dade0, out_stream=0x80ec0e0, content_type=0x80fa7c0 
"text/xml;charset=UTF-8", content_length=1182,
    soap_action_header=0x80f6080,
    request_uri=0x80fa748 
"http://127.0.0.1:6666/axis2/services/__ANONYMOUS_SERVICE__/__OPERATION_OUT_IN__";)
    at http_transport_utils.c:471
#3  0xb7b2b42b in axis2_http_worker_process_request (http_worker=0x8077118, 
env=0x80dad10, svr_conn=0x80ebe98,
    simple_request=0x80dabb0) at http_worker.c:332
#4  0xb7e83172 in axis2_svr_thread_worker_func (thd=0x80c95a0, data=0x80dae08) 
at http_svr_thread.c:338
#5  0xb7f58cb9 in dummy_worker (opaque=0x80c95a0) at thread_unix.c:85
#6  0xb7e9aced in start_thread () from /lib/tls/libpthread.so.0
#7  0xb7c1cdee in clone () from /lib/tls/libc.so.6
(gdb) f 3
#3  0xb7b2b42b in axis2_http_worker_process_request (http_worker=0x8077118, 
env=0x80dad10, svr_conn=0x80ebe98,
    simple_request=0x80dabb0) at http_worker.c:332
332             status = axis2_http_transport_utils_process_http_post_request
(gdb) f 2
#2  0xb7e8f4ef in axis2_http_transport_utils_process_http_post_request 
(env=0x80dad10, msg_ctx=0x80e3f28,
    in_stream=0x80dade0, out_stream=0x80ec0e0, content_type=0x80fa7c0 
"text/xml;charset=UTF-8", content_length=1182,
    soap_action_header=0x80f6080,
    request_uri=0x80fa748 
"http://127.0.0.1:6666/axis2/services/__ANONYMOUS_SERVICE__/__OPERATION_OUT_IN__";)
    at http_transport_utils.c:471
471             status = AXIS2_ENGINE_RECEIVE(engine, env, msg_ctx);
(gdb) f 1
#1  0xb7ee1aea in axis2_engine_receive (engine=0x80dc340, env=0x80dad10, 
msg_ctx=0x80e3f28) at engine.c:447
447             status = AXIS2_MSG_RECV_RECEIVE(receiver, env, msg_ctx, 
receiver->derived);



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to