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

[IBM XLC++ 9.0/AIX 5.3] 0.printf fails with assertions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.1
    • Component/s: Test Driver
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Severity:
      Incorrect Behavior

      Description

      extension: "%

      {N}

      " buffer size
      /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "foo", va_list) error: errno = 12: Not enough space
      /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "foo", va_list) error: errno = 12: Not enough space
      /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "foo", va_list) error: errno = 12: Not enough space
      /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "foo", va_list) error: errno = 12: Not enough space
      /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "bar", va_list) error: errno = 12: Not enough space
      /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "bar", va_list) error: errno = 12: Not enough space
      /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "bar", va_list) error: errno = 12: Not enough space
      /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "bar", va_list) error: errno = 12: Not enough space
      extension: "%

      {@}

      " nested format directive
      malformed directives

      Failed 8 out of 1572 assertions.

        Attachments

        1. stdcxx-673.patch
          0.9 kB
          Travis Vitek

          Activity

            People

            • Assignee:
              vitek Travis Vitek
              Reporter:
              vitek Travis Vitek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: