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

[IBM XLC++ 9.0/AIX 5.3] SIGABRT in 22.locale.globals.mt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.0
    • 4.2.1
    • Tests
    • None
    • Patch Available
    • Incorrect Behavior

    Description

      Appears to affect single-threaded bulids only.

      [vitek@rimple tests]$ ./22.locale.globals.mt

      1. INFO (S1) (10 lines):
      2. TEXT:
      3. COMPILER: IBM VisualAge C++, _IBMCPP_ = 900
      4. ENVIRONMENT: powerpc running aix-5.3
      5. FILE: 22.locale.globals.mt.cpp
      6. COMPILED: Nov 8 2007, 21:35:16
      7. COMMENT: thread safety
        ############################################################
      1. CLAUSE: lib.locale.global.templates
      1. NOTE (S2) (5 lines):
      2. TEXT: executing "locale -a > /tmp/tmpfile-fK3jqa"
      3. CLAUSE: lib.locale.global.templates
      4. FILE: process.cpp
      5. LINE: 270
      1. INFO (S1) (3 lines):
      2. TEXT: testing std::locale globals with 1 thread, 20000 iterations each, in 16 locales { "C" "POSIX" "AR_DZ.UTF-8" "AR_BH" "AR_AA.UTF-8" "AR_BH.UTF-8" "AR_AE.UTF-8" "AR_DZ" "AR_EG.UTF-8" "AR_EG" "AR_AE" "AR_AA" "AR_JO" "AR_JO.UTF-8" "AR_KW" "AR_KW.UTF-8" }
      3. CLAUSE: lib.locale.global.templates
      1. INFO (S1) (3 lines):
      2. TEXT: template <class T> bool std::has_facet (const locale&)
      3. CLAUSE: lib.locale.global.templates
      1. INFO (S1) (3 lines):
      2. TEXT: template <class T> const T& std::use_facet (const locale&)
      3. CLAUSE: lib.locale.global.templates
      1. WARNING (S5) (3 lines):
      2. TEXT: exceptions not thread safe, skipping that part of test
      3. CLAUSE: lib.locale.global.templates

      /amd/devco/vitek/stdcxx-trunk/tests/localization/22.locale.globals.mt.cpp:311: use_facet_loop: Assertion 'threw || opt_facets [opt_inx_collate] < 0' failed.
      IOT/Abort trap (core dumped)
      [vitek@rimple tests]$

      Attachments

        1. stdcxx-664-1.patch
          1.0 kB
          Travis Vitek
        2. stdcxx-664-2.patch
          0.4 kB
          Travis Vitek

        Issue Links

          Activity

            People

              vitek Travis Vitek
              vitek Travis Vitek
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: