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 "Frederic Heem (JIRA)" <ji...@apache.org> on 2008/07/21 18:33:31 UTC

[jira] Created: (AXIS2C-1241) uninitialised value in axis2_apache_out_transport_info_set_char_encoding

uninitialised value in axis2_apache_out_transport_info_set_char_encoding
------------------------------------------------------------------------

                 Key: AXIS2C-1241
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1241
             Project: Axis2-C
          Issue Type: Bug
          Components: transport/http
    Affects Versions: Current (Nightly)
         Environment: linux fc6
            Reporter: Frederic Heem


When apache is used with In-Out message, valgrind complains about "Conditional jump or move depends on uninitialised value(s)"
Here is the backtrace:
==17491== Thread 5:
==17491== Conditional jump or move depends on uninitialised value(s)
==17491==    at 0x40169FC: axis2_apache_out_transport_info_set_char_encoding (apache2_out_transport_info.c:110)
==17491==    by 0x46D6ABB: axis2_http_out_transport_info_set_char_encoding (http_out_transport_info.c:238)
==17491==    by 0x484582E: axis2_http_transport_sender_invoke (http_transport_sender.c:342)
==17491==    by 0x461D862: axis2_engine_send (engine.c:176)
==17491==    by 0x462C716: axis2_msg_recv_receive_impl (msg_recv.c:359)
==17491==    by 0x462C83A: axis2_msg_recv_receive (msg_recv.c:436)
==17491==    by 0x461DE74: axis2_engine_receive (engine.c:318)
==17491==    by 0x401AB5B: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:659)
==17491==    by 0x4018325: axis2_apache2_worker_process_request (apache2_worker.c:619)
==17491==    by 0x4015752: axis2_handler (mod_axis2.c:373)
==17491==    by 0x8071B27: ap_run_handler (in /usr/local/apache2/bin/httpd)
==17491==    by 0x8073FEF: ap_invoke_handler (in /usr/local/apache2/bin/httpd)


-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-1241) uninitialised value in axis2_apache_out_transport_info_set_char_encoding

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar updated AXIS2C-1241:
-------------------------------------

    Fix Version/s: 1.6.0
         Assignee: S.Uthaiyashankar

> uninitialised value in axis2_apache_out_transport_info_set_char_encoding
> ------------------------------------------------------------------------
>
>                 Key: AXIS2C-1241
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1241
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: linux fc6
>            Reporter: Frederic Heem
>            Assignee: S.Uthaiyashankar
>             Fix For: 1.6.0
>
>
> When apache is used with In-Out message, valgrind complains about "Conditional jump or move depends on uninitialised value(s)"
> Here is the backtrace:
> ==17491== Thread 5:
> ==17491== Conditional jump or move depends on uninitialised value(s)
> ==17491==    at 0x40169FC: axis2_apache_out_transport_info_set_char_encoding (apache2_out_transport_info.c:110)
> ==17491==    by 0x46D6ABB: axis2_http_out_transport_info_set_char_encoding (http_out_transport_info.c:238)
> ==17491==    by 0x484582E: axis2_http_transport_sender_invoke (http_transport_sender.c:342)
> ==17491==    by 0x461D862: axis2_engine_send (engine.c:176)
> ==17491==    by 0x462C716: axis2_msg_recv_receive_impl (msg_recv.c:359)
> ==17491==    by 0x462C83A: axis2_msg_recv_receive (msg_recv.c:436)
> ==17491==    by 0x461DE74: axis2_engine_receive (engine.c:318)
> ==17491==    by 0x401AB5B: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:659)
> ==17491==    by 0x4018325: axis2_apache2_worker_process_request (apache2_worker.c:619)
> ==17491==    by 0x4015752: axis2_handler (mod_axis2.c:373)
> ==17491==    by 0x8071B27: ap_run_handler (in /usr/local/apache2/bin/httpd)
> ==17491==    by 0x8073FEF: ap_invoke_handler (in /usr/local/apache2/bin/httpd)

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


[jira] Resolved: (AXIS2C-1241) uninitialised value in axis2_apache_out_transport_info_set_char_encoding

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar resolved AXIS2C-1241.
--------------------------------------

    Resolution: Fixed

Fixed in revision 731520

> uninitialised value in axis2_apache_out_transport_info_set_char_encoding
> ------------------------------------------------------------------------
>
>                 Key: AXIS2C-1241
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1241
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: linux fc6
>            Reporter: Frederic Heem
>            Assignee: S.Uthaiyashankar
>             Fix For: 1.6.0
>
>
> When apache is used with In-Out message, valgrind complains about "Conditional jump or move depends on uninitialised value(s)"
> Here is the backtrace:
> ==17491== Thread 5:
> ==17491== Conditional jump or move depends on uninitialised value(s)
> ==17491==    at 0x40169FC: axis2_apache_out_transport_info_set_char_encoding (apache2_out_transport_info.c:110)
> ==17491==    by 0x46D6ABB: axis2_http_out_transport_info_set_char_encoding (http_out_transport_info.c:238)
> ==17491==    by 0x484582E: axis2_http_transport_sender_invoke (http_transport_sender.c:342)
> ==17491==    by 0x461D862: axis2_engine_send (engine.c:176)
> ==17491==    by 0x462C716: axis2_msg_recv_receive_impl (msg_recv.c:359)
> ==17491==    by 0x462C83A: axis2_msg_recv_receive (msg_recv.c:436)
> ==17491==    by 0x461DE74: axis2_engine_receive (engine.c:318)
> ==17491==    by 0x401AB5B: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:659)
> ==17491==    by 0x4018325: axis2_apache2_worker_process_request (apache2_worker.c:619)
> ==17491==    by 0x4015752: axis2_handler (mod_axis2.c:373)
> ==17491==    by 0x8071B27: ap_run_handler (in /usr/local/apache2/bin/httpd)
> ==17491==    by 0x8073FEF: ap_invoke_handler (in /usr/local/apache2/bin/httpd)

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


[jira] Commented: (AXIS2C-1241) uninitialised value in axis2_apache_out_transport_info_set_char_encoding

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660713#action_12660713 ] 

S.Uthaiyashankar commented on AXIS2C-1241:
------------------------------------------

Problem is due to uninitialized axis2_http_out_transport_info->encoding. axis2_http_out_transport_info is created in axis2_apache2_out_transport_info_create. initializing axis2_http_out_transport_info->encoding to NULL solved the problem. 

> uninitialised value in axis2_apache_out_transport_info_set_char_encoding
> ------------------------------------------------------------------------
>
>                 Key: AXIS2C-1241
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1241
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: linux fc6
>            Reporter: Frederic Heem
>            Assignee: S.Uthaiyashankar
>             Fix For: 1.6.0
>
>
> When apache is used with In-Out message, valgrind complains about "Conditional jump or move depends on uninitialised value(s)"
> Here is the backtrace:
> ==17491== Thread 5:
> ==17491== Conditional jump or move depends on uninitialised value(s)
> ==17491==    at 0x40169FC: axis2_apache_out_transport_info_set_char_encoding (apache2_out_transport_info.c:110)
> ==17491==    by 0x46D6ABB: axis2_http_out_transport_info_set_char_encoding (http_out_transport_info.c:238)
> ==17491==    by 0x484582E: axis2_http_transport_sender_invoke (http_transport_sender.c:342)
> ==17491==    by 0x461D862: axis2_engine_send (engine.c:176)
> ==17491==    by 0x462C716: axis2_msg_recv_receive_impl (msg_recv.c:359)
> ==17491==    by 0x462C83A: axis2_msg_recv_receive (msg_recv.c:436)
> ==17491==    by 0x461DE74: axis2_engine_receive (engine.c:318)
> ==17491==    by 0x401AB5B: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:659)
> ==17491==    by 0x4018325: axis2_apache2_worker_process_request (apache2_worker.c:619)
> ==17491==    by 0x4015752: axis2_handler (mod_axis2.c:373)
> ==17491==    by 0x8071B27: ap_run_handler (in /usr/local/apache2/bin/httpd)
> ==17491==    by 0x8073FEF: ap_invoke_handler (in /usr/local/apache2/bin/httpd)

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


[jira] Commented: (AXIS2C-1241) uninitialised value in axis2_apache_out_transport_info_set_char_encoding

Posted by "xiaotao duan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618591#action_12618591 ] 

xiaotao duan commented on AXIS2C-1241:
--------------------------------------

axis2_apache_out_transport_info_set_char_encoding() only initializes axis2_http_out_transport_info->encoding. axis2_apache2_out_transport_info should also be setup here. 

> uninitialised value in axis2_apache_out_transport_info_set_char_encoding
> ------------------------------------------------------------------------
>
>                 Key: AXIS2C-1241
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1241
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: linux fc6
>            Reporter: Frederic Heem
>
> When apache is used with In-Out message, valgrind complains about "Conditional jump or move depends on uninitialised value(s)"
> Here is the backtrace:
> ==17491== Thread 5:
> ==17491== Conditional jump or move depends on uninitialised value(s)
> ==17491==    at 0x40169FC: axis2_apache_out_transport_info_set_char_encoding (apache2_out_transport_info.c:110)
> ==17491==    by 0x46D6ABB: axis2_http_out_transport_info_set_char_encoding (http_out_transport_info.c:238)
> ==17491==    by 0x484582E: axis2_http_transport_sender_invoke (http_transport_sender.c:342)
> ==17491==    by 0x461D862: axis2_engine_send (engine.c:176)
> ==17491==    by 0x462C716: axis2_msg_recv_receive_impl (msg_recv.c:359)
> ==17491==    by 0x462C83A: axis2_msg_recv_receive (msg_recv.c:436)
> ==17491==    by 0x461DE74: axis2_engine_receive (engine.c:318)
> ==17491==    by 0x401AB5B: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:659)
> ==17491==    by 0x4018325: axis2_apache2_worker_process_request (apache2_worker.c:619)
> ==17491==    by 0x4015752: axis2_handler (mod_axis2.c:373)
> ==17491==    by 0x8071B27: ap_run_handler (in /usr/local/apache2/bin/httpd)
> ==17491==    by 0x8073FEF: ap_invoke_handler (in /usr/local/apache2/bin/httpd)

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org