You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dinesh Premalal (JIRA)" <ji...@apache.org> on 2006/11/21 11:59:03 UTC

[jira] Created: (AXIS2C-419) simple axis server segfaults on REST get method

simple axis server segfaults on REST get method
-----------------------------------------------

                 Key: AXIS2C-419
                 URL: http://issues.apache.org/jira/browse/AXIS2C-419
             Project: Axis2-C
          Issue Type: Bug
          Components: core/transport, transport/http
    Affects Versions: Current (Nightly)
            Reporter: Dinesh Premalal
             Fix For: 0.96


simple axis server segfaults on REST get method.
gdb backtrace
=========
#0  0x08758b0c in ?? ()
#1  0xa7e52922 in axis2_http_transport_sender_invoke (transport_sender=0x8068af8, env=0x8094bf0, msg_ctx=0x8085dc0)
    at http_transport_sender.c:404
#2  0xa7ea713e in axis2_engine_send (engine=0x8093e58, env=0x8094bf0, msg_ctx=0x8085dc0) at engine.c:323
#3  0xa7eb3964 in axis2_raw_xml_in_out_msg_recv_receive_sync (msg_recv=0x8085470, env=0x8094bf0, msg_ctx=0x8094f38,
    callback_recv_param=0x6465) at msg_recv.c:474
#4  0xa7ea6a60 in axis2_engine_receive (engine=0x80a0340, env=0x8094bf0, msg_ctx=0x8094f38) at engine.c:439
#5  0xa7ed369d in axis2_http_transport_utils_process_http_get_request (env=0x8094bf0, msg_ctx=0x8094f38, in_stream=0x80954b0,
    out_stream=0x8094e98, content_type=0xa7ed86fc "text/plain", soap_action_header=0x0,
    request_uri=0x8096a60 "http://127.0.0.1:9091/axis2/services/echo/echoString?text=Hello World!", conf_ctx=0x809e400,
    request_params=0x8094ec0) at http_transport_utils.c:543
#6  0xa7ed0fff in axis2_http_worker_process_request (http_worker=0x807a9c0, env=0x8094bf0, svr_conn=0x8094b30, simple_request=0x80955c0)
    at http_worker.c:308
#7  0xa7e4db9e in worker_func (thd=0x808ddb0, data=0x807dbe0) at http_svr_thread.c:335
#8  0xa7f87716 in dummy_worker (opaque=0x808ddb0) at thread_unix.c:84
#9  0xa7e6b0bd in start_thread () from /lib/tls/libpthread.so.0
#10 0xa7dcb92e in clone () from /lib/tls/libc.so.6

and it segfaults on

AXIS2_STREAM_WRITE(out_stream, env, buffer, buffer_size);  http_transport_sender  line:404




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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-419) simple axis server segfaults on REST get method

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-419?page=all ]

Dinesh Premalal resolved AXIS2C-419.
------------------------------------

    Fix Version/s: Current (Nightly)
       Resolution: Fixed

simple axis server crashed because of invalid free in ctx.c. 

> simple axis server segfaults on REST get method
> -----------------------------------------------
>
>                 Key: AXIS2C-419
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-419
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: Current (Nightly)
>            Reporter: Dinesh Premalal
>         Assigned To: Dinesh Premalal
>             Fix For: Current (Nightly), 0.96
>
>
> simple axis server segfaults on REST get method.
> gdb backtrace
> =========
> #0  0x08758b0c in ?? ()
> #1  0xa7e52922 in axis2_http_transport_sender_invoke (transport_sender=0x8068af8, env=0x8094bf0, msg_ctx=0x8085dc0)
>     at http_transport_sender.c:404
> #2  0xa7ea713e in axis2_engine_send (engine=0x8093e58, env=0x8094bf0, msg_ctx=0x8085dc0) at engine.c:323
> #3  0xa7eb3964 in axis2_raw_xml_in_out_msg_recv_receive_sync (msg_recv=0x8085470, env=0x8094bf0, msg_ctx=0x8094f38,
>     callback_recv_param=0x6465) at msg_recv.c:474
> #4  0xa7ea6a60 in axis2_engine_receive (engine=0x80a0340, env=0x8094bf0, msg_ctx=0x8094f38) at engine.c:439
> #5  0xa7ed369d in axis2_http_transport_utils_process_http_get_request (env=0x8094bf0, msg_ctx=0x8094f38, in_stream=0x80954b0,
>     out_stream=0x8094e98, content_type=0xa7ed86fc "text/plain", soap_action_header=0x0,
>     request_uri=0x8096a60 "http://127.0.0.1:9091/axis2/services/echo/echoString?text=Hello World!", conf_ctx=0x809e400,
>     request_params=0x8094ec0) at http_transport_utils.c:543
> #6  0xa7ed0fff in axis2_http_worker_process_request (http_worker=0x807a9c0, env=0x8094bf0, svr_conn=0x8094b30, simple_request=0x80955c0)
>     at http_worker.c:308
> #7  0xa7e4db9e in worker_func (thd=0x808ddb0, data=0x807dbe0) at http_svr_thread.c:335
> #8  0xa7f87716 in dummy_worker (opaque=0x808ddb0) at thread_unix.c:84
> #9  0xa7e6b0bd in start_thread () from /lib/tls/libpthread.so.0
> #10 0xa7dcb92e in clone () from /lib/tls/libc.so.6
> and it segfaults on
> AXIS2_STREAM_WRITE(out_stream, env, buffer, buffer_size);  http_transport_sender  line:404

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Assigned: (AXIS2C-419) simple axis server segfaults on REST get method

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-419?page=all ]

Dinesh Premalal reassigned AXIS2C-419:
--------------------------------------

    Assignee: Dinesh Premalal

> simple axis server segfaults on REST get method
> -----------------------------------------------
>
>                 Key: AXIS2C-419
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-419
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: Current (Nightly)
>            Reporter: Dinesh Premalal
>         Assigned To: Dinesh Premalal
>             Fix For: 0.96
>
>
> simple axis server segfaults on REST get method.
> gdb backtrace
> =========
> #0  0x08758b0c in ?? ()
> #1  0xa7e52922 in axis2_http_transport_sender_invoke (transport_sender=0x8068af8, env=0x8094bf0, msg_ctx=0x8085dc0)
>     at http_transport_sender.c:404
> #2  0xa7ea713e in axis2_engine_send (engine=0x8093e58, env=0x8094bf0, msg_ctx=0x8085dc0) at engine.c:323
> #3  0xa7eb3964 in axis2_raw_xml_in_out_msg_recv_receive_sync (msg_recv=0x8085470, env=0x8094bf0, msg_ctx=0x8094f38,
>     callback_recv_param=0x6465) at msg_recv.c:474
> #4  0xa7ea6a60 in axis2_engine_receive (engine=0x80a0340, env=0x8094bf0, msg_ctx=0x8094f38) at engine.c:439
> #5  0xa7ed369d in axis2_http_transport_utils_process_http_get_request (env=0x8094bf0, msg_ctx=0x8094f38, in_stream=0x80954b0,
>     out_stream=0x8094e98, content_type=0xa7ed86fc "text/plain", soap_action_header=0x0,
>     request_uri=0x8096a60 "http://127.0.0.1:9091/axis2/services/echo/echoString?text=Hello World!", conf_ctx=0x809e400,
>     request_params=0x8094ec0) at http_transport_utils.c:543
> #6  0xa7ed0fff in axis2_http_worker_process_request (http_worker=0x807a9c0, env=0x8094bf0, svr_conn=0x8094b30, simple_request=0x80955c0)
>     at http_worker.c:308
> #7  0xa7e4db9e in worker_func (thd=0x808ddb0, data=0x807dbe0) at http_svr_thread.c:335
> #8  0xa7f87716 in dummy_worker (opaque=0x808ddb0) at thread_unix.c:84
> #9  0xa7e6b0bd in start_thread () from /lib/tls/libpthread.so.0
> #10 0xa7dcb92e in clone () from /lib/tls/libc.so.6
> and it segfaults on
> AXIS2_STREAM_WRITE(out_stream, env, buffer, buffer_size);  http_transport_sender  line:404

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org