Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1991

AbstractDOMParser::parse xercesc_2_2 giving core dump

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • None
    • DOM
    • None
    • SUSE Linux Enterprise Server 11 (x86_64)
      VERSION = 11
      PATCHLEVEL = 1

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shenaidd Deepti Shenai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: