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

27.istream.fmat.arith.cpp test aborts with SEGV

    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
    • Environment:

      All

    • Severity:
      Runtime Error

      Description

      The 27.istream.fmat.arith.cpp test aborts with SEGV while exercising std::istream::operator>>(long long&).

      -------------------------------------------------------------

      1. INFO (S1) (10 lines):
      2. TEXT:
      3. COMPILER: gcc 4.2.0, _VERSION_ = "4.2.0"
      4. ENVIRONMENT: i386 running linux-elf (Red Hat Enterprise Linux AS release 4 (Nahant Update 2)) with glibc 2.3
      5. FILE: 27.istream.fmat.arith.cpp
      6. COMPILED: Nov 9 2007, 14:49:16
      7. COMMENT:
        ############################################################
      1. CLAUSE: istream.formatted.arithmetic
      1. INFO (S1) (4 lines):
      2. TEXT: std::istream::operator>>(bool&)
      3. CLAUSE: istream.formatted.arithmetic
      4. LINE: 677
      1. INFO (S1) (4 lines):
      2. TEXT: std::istream::operator>>(short&)
      3. CLAUSE: istream.formatted.arithmetic
      4. LINE: 677
      1. INFO (S1) (4 lines):
      2. TEXT: std::istream::operator>>(unsigned short&)
      3. CLAUSE: istream.formatted.arithmetic
      4. LINE: 677
      1. INFO (S1) (4 lines):
      2. TEXT: std::istream::operator>>(int&)
      3. CLAUSE: istream.formatted.arithmetic
      4. LINE: 677
      1. INFO (S1) (4 lines):
      2. TEXT: std::istream::operator>>(unsigned int&)
      3. CLAUSE: istream.formatted.arithmetic
      4. LINE: 677
      1. INFO (S1) (4 lines):
      2. TEXT: std::istream::operator>>(long&)
      3. CLAUSE: istream.formatted.arithmetic
      4. LINE: 677
      1. INFO (S1) (4 lines):
      2. TEXT: std::istream::operator>>(unsigned long&)
      3. CLAUSE: istream.formatted.arithmetic
      4. LINE: 677
      1. INFO (S1) (4 lines):
      2. TEXT: std::istream::operator>>(long long&)
      3. CLAUSE: istream.formatted.arithmetic
      4. LINE: 677

      Segmentation fault
      -------------------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                farid Farid Zaripov
                Reporter:
                farid Farid Zaripov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: