Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 62468 invoked from network); 4 Oct 2006 14:20:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2006 14:20:51 -0000 Received: (qmail 36199 invoked by uid 500); 4 Oct 2006 14:20:38 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 36144 invoked by uid 500); 4 Oct 2006 14:20:38 -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 36099 invoked by uid 99); 4 Oct 2006 14:20:37 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2006 07:20:37 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:57515] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 96/96-00170-D23C3254 for ; Wed, 04 Oct 2006 07:20:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EABFE7142E2 for ; Wed, 4 Oct 2006 07:18:19 -0700 (PDT) Message-ID: <8626367.1159971499958.JavaMail.root@brutus> Date: Wed, 4 Oct 2006 07:18:19 -0700 (PDT) From: "Farid Zaripov (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-293) __rw::__rw_throw(): operator delete[] called without corresponding operator new[] call MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N __rw::__rw_throw(): operator delete[] called without corresponding operator new[] call -------------------------------------------------------------------------------------- Key: STDCXX-293 URL: http://issues.apache.org/jira/browse/STDCXX-293 Project: C++ Standard Library Issue Type: Bug Components: 18. Language Support, 19. Diagnostics Affects Versions: 4.1.3 Environment: All Reporter: Farid Zaripov The test below fails: ----------------------------------------------------------- #include // for std::size_t #include // for assert #include // for __rw_throw_proc, _RWSTD_ERROR_LOCALE_BAD_CAT void* operator new[] (std::size_t) { assert (!"operator new[] unexpectedly called"); return 0; } void operator delete[] (void*) { assert (!"operator delete[] called without operator new[]"); } int main () { __rw::__rw_throw (_RWSTD_ERROR_LOCALE_BAD_CAT + 1, __FILE__, "main"); return 0; } ----------------------------------------------------------- Assertion failed: !"operator delete[] called without operator new[]", file .\tes t.cpp, line 13 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. ----------------------------------------------------------- The details are here: http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200609.mbox/%3c451BFD6E.6020409@roguewave.com%3e -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira