You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/09/05 03:54:44 UTC

[jira] Closed: (STDCXX-511) locale tests crash if unable to get at least one user provided locale

     [ https://issues.apache.org/jira/browse/STDCXX-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor closed STDCXX-511.
-------------------------------

    Resolution: Fixed

Patch committed thus: http://svn.apache.org/viewvc?rev=572853&view=rev.

Closed.

> locale tests crash if unable to get at least one user provided locale
> ---------------------------------------------------------------------
>
>                 Key: STDCXX-511
>                 URL: https://issues.apache.org/jira/browse/STDCXX-511
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: trunk
>            Reporter: Travis Vitek
>            Assignee: Travis Vitek
>            Priority: Minor
>             Fix For: 4.2
>
>         Attachments: fix.patch
>
>
> Running a locale test with the '--locale' option that has no valid locale names will cause the test to crash. An example...
> C:\build\stdcxx\win32.vc8\msvc-8.0\15d\tests>22.locale.time.put.mt.exe --locales=x
> # INFO (S1) (10 lines):
> # TEXT:
> # COMPILER: MSVC, _MSC_VER = 1400
> # ENVIRONMENT: i86 running win32
> # FILE: 22.locale.time.put.mt.cpp
> # COMPILED: Aug  3 2007, 13:55:51
> # COMMENT: thread safety
> ############################################################
> # CLAUSE: lib.locale.time.put
> # INFO (S1) (3 lines):
> # TEXT: testing std::time_put<charT> with 2 threads, 100000 iterations each, in locales { "x" }
> # CLAUSE: lib.locale.time.put
> # INFO (S1) (3 lines):
> # TEXT: exercising std::time_put<char>
> # CLAUSE: lib.locale.time.put
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.