Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-654

infinite loop in 18.csetjmp and 18.setjmp tests

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.1
    • Component/s: Tests
    • Labels:
      None
    • Severity:
      Incorrect Behavior

      Description

      The two tests, 18.csetjmp and 18.setjmp, appear to time out in nightly optimzied builds with gcc on Linux.

      Compiling 18.setjmp.cpp with gcc 4.1.2 on Fedora Core 6 in an 8D configuration and running it shows the following output (repeated until killed):

      1. INFO (S1) (10 lines):
      2. TEXT:
      3. COMPILER: gcc 4.1.2, _VERSION_ = "4.1.2 20070626 (Red Hat 4.1.2-13)"
      4. ENVIRONMENT: x86_64/LP64 running linux-elf (Fedora Core release 6 (Zod)) with
        glibc 2.5
      5. FILE: 18.setjmp.cpp
      6. COMPILED: Nov 7 2007, 19:09:14
      7. COMMENT: header <setjmp.h>
        ############################################################
      1. CLAUSE: support.runtime
      1. ASSERTION (S7) (4 lines):
      2. TEXT: longjmp(..., 1) returned 2 from setjmp()
      3. CLAUSE: support.runtime
      4. LINE: 84
      1. ASSERTION (S7) (4 lines):
      2. TEXT: longjmp(..., 1) returned 2 from setjmp()
      3. CLAUSE: support.runtime
      4. LINE: 84
      1. ASSERTION (S7) (4 lines):
      2. TEXT: longjmp(..., 1) returned 2 from setjmp()
      3. CLAUSE: support.runtime
      4. LINE: 84

      ^C

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebor Martin Sebor
                Reporter:
                sebor Martin Sebor
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: