Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 24879 invoked from network); 5 Sep 2008 17:23:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Sep 2008 17:23:15 -0000 Received: (qmail 75313 invoked by uid 500); 5 Sep 2008 17:23:13 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 75291 invoked by uid 500); 5 Sep 2008 17:23:13 -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 75280 invoked by uid 99); 5 Sep 2008 17:23:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2008 10:23:13 -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; Fri, 05 Sep 2008 17:22:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 825CF234C1CE for ; Fri, 5 Sep 2008 10:22:44 -0700 (PDT) Message-ID: <2091497214.1220635364516.JavaMail.jira@brutus> Date: Fri, 5 Sep 2008 10:22:44 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Resolved: (STDCXX-1010) [Solaris 10] SIGSEGV in std::collate::compare() In-Reply-To: <1539120560.1220629005615.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-1010?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor resolved STDCXX-1010. ---------------------------------- Resolution: Fixed Fix Version/s: 4.2.2 Fixed in [r692472|http://svn.apache.org/viewvc?rev=3D692472&view=3Drev]. Regression test added in [r692491|http://svn.apache.org/viewvc?rev=3D692491= &view=3Drev]. > [Solaris 10] SIGSEGV in std::collate::compare() > ----------------------------------------------- > > Key: STDCXX-1010 > URL: https://issues.apache.org/jira/browse/STDCXX-1010 > Project: C++ Standard Library > Issue Type: Bug > Components: 22. Localization > Affects Versions: 4.2.1 > Environment: Sun Studio C++ 12 on Solaris 10u5 AMD64, wide mode > Reporter: Martin Sebor > Assignee: Martin Sebor > Fix For: 4.2.2 > > Original Estimate: 2h > Remaining Estimate: 2h > > As discussed in this [thread|http://markmail.org/message/zvrurah3kfvsss53= ], when compiled as 64 bit with Sun Studio C++ 12 on Solaris 10u5 AMD64,=20 > the program below crashes on some systems: > {noformat} > #include > #include > int main() { > std::locale loc =3D std::locale("fr_FR"); > std::string s1("Et la marine va venir =C3=A0 Malte"); > std::string s2("Et la marine va venir =C3=A0 Malte"); > const std::collate& col =3D > std::use_facet >(loc); > if (col.compare(s1.c_str(), s1.c_str() + s1.length(), > s2.c_str(), s2.c_str() + s2.length()) =3D=3D 0) > return 1; > return 0; > }=20 > {noformat} --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.