Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 70277 invoked from network); 7 May 2007 15:24:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 May 2007 15:24:47 -0000 Received: (qmail 1405 invoked by uid 500); 7 May 2007 15:24:44 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 1346 invoked by uid 500); 7 May 2007 15:24:44 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 1224 invoked by uid 99); 7 May 2007 15:24:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2007 08:24:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2007 08:24:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D716B714070 for ; Mon, 7 May 2007 08:24:15 -0700 (PDT) Message-ID: <17438111.1178551455878.JavaMail.jira@brutus> Date: Mon, 7 May 2007 08:24:15 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Resolved: (STDCXX-400) [Intel C++ 9.1/Linux] SIGSEGV calling a vararg function In-Reply-To: <19000289.1178150715288.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-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor resolved STDCXX-400. --------------------------------- Resolution: Cannot Reproduce This turned out to be an installation problem. All appears to be find after reinstalling the compiler. > [Intel C++ 9.1/Linux] SIGSEGV calling a vararg function > ------------------------------------------------------- > > Key: STDCXX-400 > URL: https://issues.apache.org/jira/browse/STDCXX-400 > Project: C++ Standard Library > Issue Type: Bug > Components: External > Environment: Intel C++ 9.1/Linux/EM64T > Reporter: Martin Sebor > Priority: Blocker > > From https://premier.intel.com/premier/IssueDetail.aspx?IssueID=431562: > The program below runs fine when compiled with gcc but fails with SIGSEGV when compiled with Intel C++ 9.1. The same program runs successfully to completion when compiled with Intel C++ 9.0 (l_cc_c_9.0.031). > $ cat t.cpp && g++ --version && g++ t.cpp && ./a.out && icpc -V t.cpp && ./a.out > #include > #include > void foo (const char *fmt, ...) { > va_list va; > va_start (va, fmt); > vfprintf (stdout, fmt, va); > va_end (va); > } > int main () { foo ("%s\n", "Hello, World!"); } > g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3) > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > Hello, World! > Intel(R) C++ Compiler for Intel(R) EM64T-based applications, Version 9.1 Build 20070320 Package ID: l_cc_c_9.1.049 > Copyright (C) 1985-2007 Intel Corporation. All rights reserved. > Edison Design Group C/C++ Front End, version 3.6 (Mar 22 2007 02:18:08) > Copyright 1988-2005 Edison Design Group, Inc. > GNU ld version 2.15.92.0.2 20040927 > Segmentation fault -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.