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 "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org> on 2005/03/17 13:56:22 UTC

[jira] Created: (AXISCPP-555) Client segfault when dealing with SOAP faults

Client segfault when dealing with SOAP faults
---------------------------------------------

         Key: AXISCPP-555
         URL: http://issues.apache.org/jira/browse/AXISCPP-555
     Project: Axis-C++
        Type: Bug
  Components: Deserialization  
    Versions: current (nightly)    
    Reporter: Samisa Abeysinghe


Client segfault deserializing the SOAP fault receieved.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -151090720 (LWP 6891)]
0x00474682 in xercesc_2_2::ReaderMgr::peekNextChar () from /home/samisa/lib/libxerces-c.so.22
(gdb) bt
#0  0x00474682 in xercesc_2_2::ReaderMgr::peekNextChar () from /home/samisa/lib/libxerces-c.so.22
#1  0x004de34d in xercesc_2_2::XMLScanner::senseNextToken () from /home/samisa/lib/libxerces-c.so.22
#2  0x0045309c in xercesc_2_2::IGXMLScanner::scanNext () from /home/samisa/lib/libxerces-c.so.22
#3  0x00480f63 in xercesc_2_2::SAX2XMLReaderImpl::parseNext () from /home/samisa/lib/libxerces-c.so.22
#4  0x007b4b0a in XMLParserXerces::anyNext () from /home/obj/bin/libaxis_xerces.so
#5  0x00233325 in axiscpp::SoapDeSerializer::getFaultAsXMLString () from /home/obj/bin/libaxis_client.so
#6  0x0020678e in axiscpp::Call::getFaultAsXMLString () from /home/obj/bin/libaxis_client.so
#7  0x0804e37e in Inquire::get_businessDetail ()
#8  0x0805c362 in main ()
(gdb)

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-555) Client segfault when dealing with SOAP faults

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-555?page=comments#action_61364 ]
     
Samisa Abeysinghe commented on AXISCPP-555:
-------------------------------------------

Adrian,
    I still get the same error with today's chekout :(

Samisa...

> Client segfault when dealing with SOAP faults
> ---------------------------------------------
>
>          Key: AXISCPP-555
>          URL: http://issues.apache.org/jira/browse/AXISCPP-555
>      Project: Axis-C++
>         Type: Bug
>   Components: Deserialization
>     Versions: current (nightly)
>     Reporter: Samisa Abeysinghe

>
> Client segfault deserializing the SOAP fault receieved.
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -151090720 (LWP 6891)]
> 0x00474682 in xercesc_2_2::ReaderMgr::peekNextChar () from /home/samisa/lib/libxerces-c.so.22
> (gdb) bt
> #0  0x00474682 in xercesc_2_2::ReaderMgr::peekNextChar () from /home/samisa/lib/libxerces-c.so.22
> #1  0x004de34d in xercesc_2_2::XMLScanner::senseNextToken () from /home/samisa/lib/libxerces-c.so.22
> #2  0x0045309c in xercesc_2_2::IGXMLScanner::scanNext () from /home/samisa/lib/libxerces-c.so.22
> #3  0x00480f63 in xercesc_2_2::SAX2XMLReaderImpl::parseNext () from /home/samisa/lib/libxerces-c.so.22
> #4  0x007b4b0a in XMLParserXerces::anyNext () from /home/obj/bin/libaxis_xerces.so
> #5  0x00233325 in axiscpp::SoapDeSerializer::getFaultAsXMLString () from /home/obj/bin/libaxis_client.so
> #6  0x0020678e in axiscpp::Call::getFaultAsXMLString () from /home/obj/bin/libaxis_client.so
> #7  0x0804e37e in Inquire::get_businessDetail ()
> #8  0x0805c362 in main ()
> (gdb)

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXISCPP-555) Client segfault when dealing with SOAP faults

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-555?page=history ]
     
Samisa Abeysinghe closed AXISCPP-555:
-------------------------------------

     Resolution: Fixed
    Fix Version: 1.5 Final

This problem seems to be solved.
Now I get:
invoking get_businessDetail ...
Exception caught : Protocol Error

So it is handling the error correctly without crashing

> Client segfault when dealing with SOAP faults
> ---------------------------------------------
>
>          Key: AXISCPP-555
>          URL: http://issues.apache.org/jira/browse/AXISCPP-555
>      Project: Axis-C++
>         Type: Bug
>   Components: Deserialization
>     Versions: current (nightly)
>     Reporter: Samisa Abeysinghe
>      Fix For: 1.5 Final

>
> Client segfault deserializing the SOAP fault receieved.
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -151090720 (LWP 6891)]
> 0x00474682 in xercesc_2_2::ReaderMgr::peekNextChar () from /home/samisa/lib/libxerces-c.so.22
> (gdb) bt
> #0  0x00474682 in xercesc_2_2::ReaderMgr::peekNextChar () from /home/samisa/lib/libxerces-c.so.22
> #1  0x004de34d in xercesc_2_2::XMLScanner::senseNextToken () from /home/samisa/lib/libxerces-c.so.22
> #2  0x0045309c in xercesc_2_2::IGXMLScanner::scanNext () from /home/samisa/lib/libxerces-c.so.22
> #3  0x00480f63 in xercesc_2_2::SAX2XMLReaderImpl::parseNext () from /home/samisa/lib/libxerces-c.so.22
> #4  0x007b4b0a in XMLParserXerces::anyNext () from /home/obj/bin/libaxis_xerces.so
> #5  0x00233325 in axiscpp::SoapDeSerializer::getFaultAsXMLString () from /home/obj/bin/libaxis_client.so
> #6  0x0020678e in axiscpp::Call::getFaultAsXMLString () from /home/obj/bin/libaxis_client.so
> #7  0x0804e37e in Inquire::get_businessDetail ()
> #8  0x0805c362 in main ()
> (gdb)

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-555) Client segfault when dealing with SOAP faults

Posted by "Adrian Dick (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-555?page=comments#action_61339 ]
     
Adrian Dick commented on AXISCPP-555:
-------------------------------------

Samisa,

I believe this problem could be related to some similar issues we've been seeing with ExceptionTestDoc and FaultMappingDoc, which were triggered by the introduction of a fix provided in AXISCPP-533.

I have just backed out this change on Linux, and it has resolved these problems.  Could you try your testcase with the latest code to see if this has also resolved your problem.

Adrian

> Client segfault when dealing with SOAP faults
> ---------------------------------------------
>
>          Key: AXISCPP-555
>          URL: http://issues.apache.org/jira/browse/AXISCPP-555
>      Project: Axis-C++
>         Type: Bug
>   Components: Deserialization
>     Versions: current (nightly)
>     Reporter: Samisa Abeysinghe

>
> Client segfault deserializing the SOAP fault receieved.
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -151090720 (LWP 6891)]
> 0x00474682 in xercesc_2_2::ReaderMgr::peekNextChar () from /home/samisa/lib/libxerces-c.so.22
> (gdb) bt
> #0  0x00474682 in xercesc_2_2::ReaderMgr::peekNextChar () from /home/samisa/lib/libxerces-c.so.22
> #1  0x004de34d in xercesc_2_2::XMLScanner::senseNextToken () from /home/samisa/lib/libxerces-c.so.22
> #2  0x0045309c in xercesc_2_2::IGXMLScanner::scanNext () from /home/samisa/lib/libxerces-c.so.22
> #3  0x00480f63 in xercesc_2_2::SAX2XMLReaderImpl::parseNext () from /home/samisa/lib/libxerces-c.so.22
> #4  0x007b4b0a in XMLParserXerces::anyNext () from /home/obj/bin/libaxis_xerces.so
> #5  0x00233325 in axiscpp::SoapDeSerializer::getFaultAsXMLString () from /home/obj/bin/libaxis_client.so
> #6  0x0020678e in axiscpp::Call::getFaultAsXMLString () from /home/obj/bin/libaxis_client.so
> #7  0x0804e37e in Inquire::get_businessDetail ()
> #8  0x0805c362 in main ()
> (gdb)

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira