You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Travis Vitek (JIRA)" <ji...@apache.org> on 2007/08/07 00:27:59 UTC

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

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: 4.1.4
            Reporter: Travis Vitek
            Priority: Minor
             Fix For: 4.1.4


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.


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

Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Travis Vitek updated STDCXX-511:
--------------------------------

    Attachment: fix.patch

2007-09-4 Travis Vitek <vi...@roguewave.com>

    STDCXX-511
    22.locale.numpunct.mt.cpp (run_test): fatal assert if unable to
    create at least one locale
    22.locale.ctype.mt.cpp (run_test): ditto

> 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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524950 ] 

Martin Sebor commented on STDCXX-511:
-------------------------------------

Travis, remember the Change Log format introduces each file name with an asterisk. That makes it possible to find the names of all files in a ChangeLog (and only those) using a simple regular expression.

> 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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor reassigned STDCXX-511:
-----------------------------------

    Assignee: Travis Vitek

Assigned to Travis.

> 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
>
>
> 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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor updated STDCXX-511:
--------------------------------

    Affects Version/s:     (was: 4.1.4)
                       trunk
        Fix Version/s:     (was: 4.1.4)
                       4.2

Scheduled for 4.2.

> 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
>
>
> 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.