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/05/21 11:25:55 UTC

[jira] Created: (AXIS2C-1147) Conditional jump or move depends on uninitialised value in axiom_soap_fault_text_create_with_parent

Conditional jump or move depends on uninitialised value in axiom_soap_fault_text_create_with_parent
---------------------------------------------------------------------------------------------------

                 Key: AXIS2C-1147
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1147
             Project: Axis2-C
          Issue Type: Bug
    Affects Versions: 1.4.0
         Environment: linux
            Reporter: Frederic Heem


[heefre@heefre google]$ valgrind --leak-check=full ./google
==14494== Memcheck, a memory error detector.
==14494== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==14494== Using LibVEX rev 1804, a library for dynamic binary translation.
==14494== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==14494== Using valgrind-3.3.0, a dynamic binary instrumentation framework.
==14494== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==14494== For more details, rerun with: -v
==14494==
Using endpoint : http://api.google.com/search/beta2

Invoking operation doSpellingSuggestion with params 00000000000000000000000000000000 and salvasion
<ns1:doSpellingSuggestion xmlns:ns1="urn:GoogleSearch" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"><key xsi:type="xsd:string">00000000000000000000000000000000</key><phrase xsi:type="xsd:string">salvasion</phrase></ns1:doSpellingSuggestion>
==14494== Conditional jump or move depends on uninitialised value(s)
==14494==    at 0x40E8EF9: axiom_soap_fault_text_create_with_parent (soap_fault_text.c:108)
==14494==    by 0x40EDE92: axiom_soap11_builder_helper_handle_event (soap11_builder_helper.c:236)
==14494==    by 0x40ECDD0: axiom_soap_builder_construct_node (soap_builder.c:766)
==14494==    by 0x40ED48A: axiom_soap_builder_next (soap_builder.c:314)
==14494==    by 0x40E5BC0: axiom_soap_fault_get_reason (soap_fault.c:274)
==14494==    by 0x40EB3CE: axiom_soap_body_convert_fault_to_soap11 (soap_body.c:422)
==14494==    by 0x4056612: axis2_svc_client_send_receive_with_op_qname (svc_client.c:932)
==14494==    by 0x40566B2: axis2_svc_client_send_receive (svc_client.c:949)
==14494==    by 0x80491ED: main (google_client.c:122)


-- 
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] Resolved: (AXIS2C-1147) Conditional jump or move depends on uninitialised value in axiom_soap_fault_text_create_with_parent

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

Milinda Lakmal Pathirage resolved AXIS2C-1147.
----------------------------------------------

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

This bug was caused by not initializing soap_version int in axiom_soap_fault_create function and axiom_soap_fault_reason_create function. This is fixed n current svn head.

> Conditional jump or move depends on uninitialised value in axiom_soap_fault_text_create_with_parent
> ---------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-1147
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1147
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>         Environment: linux
>            Reporter: Frederic Heem
>            Assignee: Milinda Lakmal Pathirage
>             Fix For: Current (Nightly)
>
>
> [heefre@heefre google]$ valgrind --leak-check=full ./google
> ==14494== Memcheck, a memory error detector.
> ==14494== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
> ==14494== Using LibVEX rev 1804, a library for dynamic binary translation.
> ==14494== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
> ==14494== Using valgrind-3.3.0, a dynamic binary instrumentation framework.
> ==14494== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
> ==14494== For more details, rerun with: -v
> ==14494==
> Using endpoint : http://api.google.com/search/beta2
> Invoking operation doSpellingSuggestion with params 00000000000000000000000000000000 and salvasion
> <ns1:doSpellingSuggestion xmlns:ns1="urn:GoogleSearch" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"><key xsi:type="xsd:string">00000000000000000000000000000000</key><phrase xsi:type="xsd:string">salvasion</phrase></ns1:doSpellingSuggestion>
> ==14494== Conditional jump or move depends on uninitialised value(s)
> ==14494==    at 0x40E8EF9: axiom_soap_fault_text_create_with_parent (soap_fault_text.c:108)
> ==14494==    by 0x40EDE92: axiom_soap11_builder_helper_handle_event (soap11_builder_helper.c:236)
> ==14494==    by 0x40ECDD0: axiom_soap_builder_construct_node (soap_builder.c:766)
> ==14494==    by 0x40ED48A: axiom_soap_builder_next (soap_builder.c:314)
> ==14494==    by 0x40E5BC0: axiom_soap_fault_get_reason (soap_fault.c:274)
> ==14494==    by 0x40EB3CE: axiom_soap_body_convert_fault_to_soap11 (soap_body.c:422)
> ==14494==    by 0x4056612: axis2_svc_client_send_receive_with_op_qname (svc_client.c:932)
> ==14494==    by 0x40566B2: axis2_svc_client_send_receive (svc_client.c:949)
> ==14494==    by 0x80491ED: main (google_client.c:122)

-- 
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] Assigned: (AXIS2C-1147) Conditional jump or move depends on uninitialised value in axiom_soap_fault_text_create_with_parent

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

Milinda Lakmal Pathirage reassigned AXIS2C-1147:
------------------------------------------------

    Assignee: Milinda Lakmal Pathirage

> Conditional jump or move depends on uninitialised value in axiom_soap_fault_text_create_with_parent
> ---------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-1147
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1147
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>         Environment: linux
>            Reporter: Frederic Heem
>            Assignee: Milinda Lakmal Pathirage
>
> [heefre@heefre google]$ valgrind --leak-check=full ./google
> ==14494== Memcheck, a memory error detector.
> ==14494== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
> ==14494== Using LibVEX rev 1804, a library for dynamic binary translation.
> ==14494== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
> ==14494== Using valgrind-3.3.0, a dynamic binary instrumentation framework.
> ==14494== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
> ==14494== For more details, rerun with: -v
> ==14494==
> Using endpoint : http://api.google.com/search/beta2
> Invoking operation doSpellingSuggestion with params 00000000000000000000000000000000 and salvasion
> <ns1:doSpellingSuggestion xmlns:ns1="urn:GoogleSearch" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"><key xsi:type="xsd:string">00000000000000000000000000000000</key><phrase xsi:type="xsd:string">salvasion</phrase></ns1:doSpellingSuggestion>
> ==14494== Conditional jump or move depends on uninitialised value(s)
> ==14494==    at 0x40E8EF9: axiom_soap_fault_text_create_with_parent (soap_fault_text.c:108)
> ==14494==    by 0x40EDE92: axiom_soap11_builder_helper_handle_event (soap11_builder_helper.c:236)
> ==14494==    by 0x40ECDD0: axiom_soap_builder_construct_node (soap_builder.c:766)
> ==14494==    by 0x40ED48A: axiom_soap_builder_next (soap_builder.c:314)
> ==14494==    by 0x40E5BC0: axiom_soap_fault_get_reason (soap_fault.c:274)
> ==14494==    by 0x40EB3CE: axiom_soap_body_convert_fault_to_soap11 (soap_body.c:422)
> ==14494==    by 0x4056612: axis2_svc_client_send_receive_with_op_qname (svc_client.c:932)
> ==14494==    by 0x40566B2: axis2_svc_client_send_receive (svc_client.c:949)
> ==14494==    by 0x80491ED: main (google_client.c:122)

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