Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 41087 invoked from network); 31 Mar 2008 18:08:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Mar 2008 18:08:46 -0000 Received: (qmail 87263 invoked by uid 500); 31 Mar 2008 18:08:46 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 87241 invoked by uid 500); 31 Mar 2008 18:08:46 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 87232 invoked by uid 99); 31 Mar 2008 18:08:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2008 11:08:46 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2008 18:08:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8795C234C0B1 for ; Mon, 31 Mar 2008 11:06:24 -0700 (PDT) Message-ID: <652246856.1206986784554.JavaMail.jira@brutus> Date: Mon, 31 Mar 2008 11:06:24 -0700 (PDT) From: "Farid Zaripov (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Commented: (STDCXX-804) [MSVC] SIGSEGV in 27.objects In-Reply-To: <1443230418.1206738864673.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on 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.