From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10048 invoked by alias); 20 Mar 2002 12:26:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 10005 invoked by uid 71); 20 Mar 2002 12:26:01 -0000 Resent-Date: 20 Mar 2002 12:26:01 -0000 Resent-Message-ID: <20020320122601.10004.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, amirgeva@hotmail.com Received:(qmail 3217 invoked by uid 61); 20 Mar 2002 12:16:15 -0000 Message-Id:<20020320121615.3216.qmail@sources.redhat.com> Date: Wed, 20 Mar 2002 04:26:00 -0000 From: amirgeva@hotmail.com Reply-To: amirgeva@hotmail.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libstdc++/6012: Crash in iostreams X-SW-Source: 2002-03/txt/msg00751.txt.bz2 List-Id: >Number: 6012 >Category: libstdc++ >Synopsis: Crash in iostreams >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Mar 20 04:26:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Amir Geva >Release: 3.0.4 >Organization: >Environment: powerpc-ibm-aix4.3.3.0 >Description: I am encountering strange crashes in the libstdc++ code. The included program crashes in the first << operator giving a "Illegal instruction (core dumped)" The callstack shows that it crashed in: bits/locale_facets.h At line 778, which is one of the num_put::put() functions. It seems to be having an invalid virtual base pointer or something to do with the virtual table. This is a simple example created after a larger program encountered this problem, even with other stream types. >How-To-Repeat: #include #include int main(int argc, char* argv[]) { std::basic_ostringstream os; os << 5.3; std::cout << os.str() << std::endl; return 0; } >Fix: >Release-Note: >Audit-Trail: >Unformatted: