From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 05272382FAE7; Wed, 14 Dec 2022 11:46:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 05272382FAE7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671018417; bh=PX6VWE1fT8PktyAAgrxVit7txjr9AZ9OiqN+ggRoEgI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=V1k0gOBFcRksIMCl3Ot/3PcobpG19HHBXwe2RruNn4hg+XX5aaLdZ2vD2TUtvNEEp 73mLyGq67F9UiILJQbWc6WbY6/Bnpgz7KO0tMhBKltPwoz8dksKIjifMGoMSC8y2NF ahzmvxPA1Lq7lbdiuXmFKc7L4y1JP/U1m5WaeH6Y= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/108097] std::stacktrace AddressSanitizer: new-delete-type-mismatch on 0x615000000080 in thread T0 Date: Wed, 14 Dec 2022 11:46:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108097 --- Comment #3 from Jonathan Wakely --- (In reply to cqwrteur from comment #1) > #include Please provide testcases that don't depend on your own headers. There's absolutely no reason this can't use printf or std::cout. Asan is wrong, operator delete(void*, size_t) can be used to delete memory = from operator new(size_t, nothrow_t).=