Deepti Shenai created XERCESC-1991:
--------------------------------------

             Summary: AbstractDOMParser::parse xercesc_2_2 giving core dump
                 Key: XERCESC-1991
                 URL: https://issues.apache.org/jira/browse/XERCESC-1991
             Project: Xerces-C++
          Issue Type: Bug
          Components: DOM
    Affects Versions: 2.2.0
         Environment: SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1

            Reporter: Deepti Shenai


I get the following core dump
#0  0x00007f9df7926945 in raise () from /lib64/libc.so.6
#1  0x00007f9df7927f21 in abort () from /lib64/libc.so.6
#2  0x00007f9df83a3504 in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib64/libstdc++.so.6
#3  0x00007f9df83a1946 in ?? () from /usr/lib64/libstdc++.so.6
#4  0x00007f9df83a1973 in std::terminate() () from /usr/lib64/libstdc++.so.6
#5  0x00007f9df83a19f5 in __cxa_rethrow () from /usr/lib64/libstdc++.so.6
#6  0x00007f9dedcd2351 in 
xercesc_2_2::AbstractDOMParser::parse(xercesc_2_2::InputSource const&) () from 
/usr/openv/lib/libvxxml4c.so
#7  0x000000000781ab18 in ?? ()
#8  0x00007f9de4ca9240 in ?? ()
#9  0x0000000007819b50 in ?? ()


Looks like AbstractDOMParser::parse is throwing an exception that is not being 
caught.
When i checked AbstractDOMParser::parse documentation on 
http://xerces.apache.org/xerces-c/apiDocs-3/classAbstractDOMParser.html#b6fbd6cdf84cce77db1c780017d107dd
 it mentions 3 types of exceptions to be caught. And I am catching all of them. 

This error happens when I get HTTP return code 416. With HTTP code 200 and 404 
everything works well. 

Also want to know if AbstractDOMParser has some limitation with Multithreading.

This problem is not always reproducible.
Let me know if you need some more information.

Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to