You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/03/28 22:14:24 UTC

[jira] Created: (STDCXX-804) [MSVC] SIGSEGV in 27.objects

[MSVC] SIGSEGV in 27.objects
----------------------------

                 Key: STDCXX-804
                 URL: https://issues.apache.org/jira/browse/STDCXX-804
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Tests
    Affects Versions: trunk
         Environment: MSVC 8, 9
            Reporter: Martin Sebor
            Assignee: Farid Zaripov
            Priority: Critical
             Fix For: 4.2.1


When compiled with MSVC (both 8 and 9), in the 15s, 15S configurations, the test [27.objects|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/iostream/27.objects.cpp] is failing with the Windows equivalent of SIGSEGV.

In stdcxx 4.2.0, the test ran successfully to completion (with both MSVC 7.1 and 8.0).

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


[jira] Assigned: (STDCXX-804) [MSVC] SIGSEGV in 27.objects

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

Martin Sebor reassigned STDCXX-804:
-----------------------------------

    Assignee: Martin Sebor  (was: Farid Zaripov)

> [MSVC] SIGSEGV in 27.objects
> ----------------------------
>
>                 Key: STDCXX-804
>                 URL: https://issues.apache.org/jira/browse/STDCXX-804
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: trunk
>         Environment: MSVC 8, 9
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Critical
>             Fix For: 4.2.1
>
>         Attachments: tying_two_streams_together.eml
>
>
> When compiled with MSVC (both 8 and 9), in the 15s, 15S configurations, the test [27.objects|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/iostream/27.objects.cpp] is failing with the Windows equivalent of SIGSEGV.
> In stdcxx 4.2.0, the test ran successfully to completion (with both MSVC 7.1 and 8.0).

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


[jira] Commented: (STDCXX-804) infinite recursion in 27.objects

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589903#action_12589903 ] 

Farid Zaripov commented on STDCXX-804:
--------------------------------------

Fix and regression test are merged in 4.2.x branch thus: http://svn.apache.org/viewvc?view=rev&revision=648752


> infinite recursion in 27.objects
> --------------------------------
>
>                 Key: STDCXX-804
>                 URL: https://issues.apache.org/jira/browse/STDCXX-804
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: trunk
>         Environment: all
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Critical
>             Fix For: 4.2.1
>
>         Attachments: tying_two_streams_together.eml
>
>   Original Estimate: 3h
>          Time Spent: 5h
>  Remaining Estimate: 0h
>
> When compiled with MSVC (both 8 and 9), in the 15s, 15S configurations, the test [27.objects|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/iostream/27.objects.cpp] is failing with the Windows equivalent of SIGSEGV.
> In stdcxx 4.2.0, the test ran successfully to completion (with both MSVC 7.1 and 8.0).

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


[jira] Updated: (STDCXX-804) infinite recursion in 27.objects

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

Martin Sebor updated STDCXX-804:
--------------------------------

    Environment: all  (was: MSVC 8, 9)
        Summary: infinite recursion in 27.objects  (was: [MSVC] SIGSEGV in 27.objects)

This isn't MSVC-specific but rather affects all platforms.

> infinite recursion in 27.objects
> --------------------------------
>
>                 Key: STDCXX-804
>                 URL: https://issues.apache.org/jira/browse/STDCXX-804
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: trunk
>         Environment: all
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Critical
>             Fix For: 4.2.1
>
>         Attachments: tying_two_streams_together.eml
>
>   Original Estimate: 3h
>          Time Spent: 1h
>  Remaining Estimate: 2h
>
> When compiled with MSVC (both 8 and 9), in the 15s, 15S configurations, the test [27.objects|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/iostream/27.objects.cpp] is failing with the Windows equivalent of SIGSEGV.
> In stdcxx 4.2.0, the test ran successfully to completion (with both MSVC 7.1 and 8.0).

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


[jira] Closed: (STDCXX-804) infinite recursion in 27.objects

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

Martin Sebor closed STDCXX-804.
-------------------------------


Verified on 4.2.x and 4.3.x.

> infinite recursion in 27.objects
> --------------------------------
>
>                 Key: STDCXX-804
>                 URL: https://issues.apache.org/jira/browse/STDCXX-804
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: trunk
>         Environment: all
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Critical
>             Fix For: 4.2.1
>
>         Attachments: tying_two_streams_together.eml
>
>   Original Estimate: 3h
>          Time Spent: 5h
>  Remaining Estimate: 0h
>
> When compiled with MSVC (both 8 and 9), in the 15s, 15S configurations, the test [27.objects|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/iostream/27.objects.cpp] is failing with the Windows equivalent of SIGSEGV.
> In stdcxx 4.2.0, the test ran successfully to completion (with both MSVC 7.1 and 8.0).

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


[jira] Issue Comment Edited: (STDCXX-804) [MSVC] SIGSEGV in 27.objects

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

sebor edited comment on STDCXX-804 at 3/31/08 1:07 PM:
--------------------------------------------------------------

Attached c\+\+std-lib-20887 with the proposed resolution sent to the C++ committe's reflector.

      was (Author: sebor):
    Attached c++std-lib-20887 with the proposed resolution sent to the C++ committe's reflector.
  
> [MSVC] SIGSEGV in 27.objects
> ----------------------------
>
>                 Key: STDCXX-804
>                 URL: https://issues.apache.org/jira/browse/STDCXX-804
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: trunk
>         Environment: MSVC 8, 9
>            Reporter: Martin Sebor
>            Assignee: Farid Zaripov
>            Priority: Critical
>             Fix For: 4.2.1
>
>         Attachments: tying_two_streams_together.eml
>
>
> When compiled with MSVC (both 8 and 9), in the 15s, 15S configurations, the test [27.objects|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/iostream/27.objects.cpp] is failing with the Windows equivalent of SIGSEGV.
> In stdcxx 4.2.0, the test ran successfully to completion (with both MSVC 7.1 and 8.0).

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


[jira] Commented: (STDCXX-804) [MSVC] SIGSEGV in 27.objects

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583777#action_12583777 ] 

Farid Zaripov commented on STDCXX-804:
--------------------------------------

The problem introduced with changes for STDCXX-626.

-------
    std::cout.tie (&std::cerr);
    ...

    std::cerr.tie (&std::cout);
    std::cerr << std::cerr.tie () << ' ';
-------

Here cout tied with cerr and cerr tied with cout.

The cerr::operator<<() constructs sentry object (in __rw_insert()), the sentry ctor flushes tied cout stream (in _C_opfx()), the cout.flush() also constructs the sentry object, which flushes the tied cerr stream and so on until stack overflow occurs.

> [MSVC] SIGSEGV in 27.objects
> ----------------------------
>
>                 Key: STDCXX-804
>                 URL: https://issues.apache.org/jira/browse/STDCXX-804
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: trunk
>         Environment: MSVC 8, 9
>            Reporter: Martin Sebor
>            Assignee: Farid Zaripov
>            Priority: Critical
>             Fix For: 4.2.1
>
>
> When compiled with MSVC (both 8 and 9), in the 15s, 15S configurations, the test [27.objects|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/iostream/27.objects.cpp] is failing with the Windows equivalent of SIGSEGV.
> In stdcxx 4.2.0, the test ran successfully to completion (with both MSVC 7.1 and 8.0).

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


[jira] Resolved: (STDCXX-804) infinite recursion in 27.objects

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

Martin Sebor resolved STDCXX-804.
---------------------------------

    Resolution: Fixed

Fixed in [r643210|http://svn.apache.org/viewvc?rev=643210&view=rev].
Regression test committed in [r643226|http://svn.apache.org/viewvc?rev=643226&view=rev].
Provided nightly builds confirm the fix will close after integrating into 4.2.x in the next bulk merge.

> infinite recursion in 27.objects
> --------------------------------
>
>                 Key: STDCXX-804
>                 URL: https://issues.apache.org/jira/browse/STDCXX-804
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: trunk
>         Environment: all
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Critical
>             Fix For: 4.2.1
>
>         Attachments: tying_two_streams_together.eml
>
>   Original Estimate: 3h
>          Time Spent: 1h
>  Remaining Estimate: 2h
>
> When compiled with MSVC (both 8 and 9), in the 15s, 15S configurations, the test [27.objects|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/iostream/27.objects.cpp] is failing with the Windows equivalent of SIGSEGV.
> In stdcxx 4.2.0, the test ran successfully to completion (with both MSVC 7.1 and 8.0).

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


[jira] Updated: (STDCXX-804) [MSVC] SIGSEGV in 27.objects

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

Martin Sebor updated STDCXX-804:
--------------------------------

    Attachment: tying_two_streams_together.eml

Attached c++std-lib-20887 with the proposed resolution sent to the C++ committe's reflector.

> [MSVC] SIGSEGV in 27.objects
> ----------------------------
>
>                 Key: STDCXX-804
>                 URL: https://issues.apache.org/jira/browse/STDCXX-804
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: trunk
>         Environment: MSVC 8, 9
>            Reporter: Martin Sebor
>            Assignee: Farid Zaripov
>            Priority: Critical
>             Fix For: 4.2.1
>
>         Attachments: tying_two_streams_together.eml
>
>
> When compiled with MSVC (both 8 and 9), in the 15s, 15S configurations, the test [27.objects|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/iostream/27.objects.cpp] is failing with the Windows equivalent of SIGSEGV.
> In stdcxx 4.2.0, the test ran successfully to completion (with both MSVC 7.1 and 8.0).

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


[jira] Updated: (STDCXX-804) [MSVC] SIGSEGV in 27.objects

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

Martin Sebor updated STDCXX-804:
--------------------------------

    Remaining Estimate: 3h
     Original Estimate: 3h

Guesstimating 3 hours.

> [MSVC] SIGSEGV in 27.objects
> ----------------------------
>
>                 Key: STDCXX-804
>                 URL: https://issues.apache.org/jira/browse/STDCXX-804
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: trunk
>         Environment: MSVC 8, 9
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Critical
>             Fix For: 4.2.1
>
>         Attachments: tying_two_streams_together.eml
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> When compiled with MSVC (both 8 and 9), in the 15s, 15S configurations, the test [27.objects|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/iostream/27.objects.cpp] is failing with the Windows equivalent of SIGSEGV.
> In stdcxx 4.2.0, the test ran successfully to completion (with both MSVC 7.1 and 8.0).

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