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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.0
    • 4.2.1
    • Tests
    • None
    • All

    • 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

              farid Farid Zaripov
              farid Farid Zaripov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: