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

ThreadTest freezes with Intel 17.0.5.239 and 18.0.1.163

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.2
    • None
    • Samples/Tests
    • None

    Description

      The ThreadTest1 hangs forever when Xerces-C 3.2.2 is compiled using the Intel compiler versions 17.0.5.239 or 18.0.1.163. Running ThreadTest1 directly in gdb reveals that all ten threads exit, and main() is stuck in a wait loop calling sleep() forever.

      export CXX=icpc
      export CFLAGS='-fp-model precise'
      export CXXFLAGS='-fp-model precise'
      export CC=icc
      export CPP="icc -E"
      export CXXCPP="icpc -E"
      ./configure --prefix=/some/path
      make
      make check

      Changing the CXXFLAGS to this does not help:

      export CXXFLAGS='-fp-model precise -std=c++11'

      The last bit of output from "make check:"

      make[3]: Entering directory `/a-very-long-path/.../tests'
      PASS: scripts/DOMTest
      PASS: scripts/DOMMemTest
      PASS: scripts/RangeTest
      PASS: scripts/DOMTraversalTest
      XFAIL: scripts/XSerializerTest
      PASS: scripts/XSerializerTest1
      PASS: scripts/XSerializerTest2
      PASS: scripts/XSerializerTest3
      PASS: scripts/XSerializerTest4
      PASS: scripts/XSerializerTest5
      PASS: scripts/XSValueTest
      XFAIL: scripts/InitTermTest
      PASS: scripts/InitTermTest1
      PASS: scripts/InitTermTest2
      PASS: scripts/InitTermTest3
      XFAIL: scripts/ThreadTest

      The test hangs at that XFAIL: line. The "ps" command reveals ThreadTest1 is running:

      /a-very-long-path/.../tests/.libs/lt-ThreadTest -parser=sax -v=never -quiet -threads 10 -time 20 personal.xml

      Attachments

        Activity

          People

            Unassigned Unassigned
            SamuelTrahanNOAA Sam Trahan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: