From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 10FFD383F86D; Wed, 20 May 2020 20:15:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 10FFD383F86D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590005728; bh=3f/wsyqm3PnTYYA7B4RnFUhS+3htalgaq6j0SuZeDuY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=l/sozz/IYT/H7A5uQ+U4zsau4fc3X/IcZG1XscO7Qim1gSN+1xguGKePXwLQY5M5s Qhq0AWADZkQDJM/PuWugYJS7c091bkh9Aomdwd9/J9/B1Zz2+576/txSuVxzkMcpeS pFfBZSLIzUHWFb5FZH3D91MeNKvzaW+iyDm0v0r0= From: "rafael at espindo dot la" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/95137] Sanitizers seem to be missing support for coroutines Date: Wed, 20 May 2020 20:15:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rafael at espindo dot la X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: iains 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2020 20:15:28 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95137 --- Comment #18 from Rafael Avila de Espindola -= -- (In reply to Avi Kivity from comment #17) > Is that the test were a lambda coroutine is called from future::then()? In > that case it's a real use-after-free. It was reduced from that to just #include #include using namespace seastar; int main(int argc, char** argv) { seastar::app_template app; app.run(argc, argv, [] () -> future<> { future<> xyz =3D make_ready_future<>().then([] {}); co_await std::move(xyz); }); return 0; } Which doesn't have a user after free.=