[Bug 2112171] Re: ASan detect_stack_use_after_return=1 makes vector<bool> incredibly slow
Tobias Heider
2112171 at bugs.launchpad.net
Mon Jun 23 11:29:27 UTC 2025
> 13.4.0 is out now; can we expect it to be picked up by noble-updates?
The easier way to get this fixed would be to backport that specific fix
and get it SRUed, see https://documentation.ubuntu.com/sru/en/latest/
I don't know if there is a plan to backport 13.4 to noble anytime soon.
Subscribing @doko who might know more then me.
** Changed in: gcc-13 (Ubuntu)
Status: New => Confirmed
** Also affects: gcc-13 (Ubuntu Plucky)
Importance: Undecided
Status: New
** Also affects: gcc-13 (Ubuntu Noble)
Importance: Undecided
Status: New
** Also affects: gcc-13 (Ubuntu Oracular)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-13 in Ubuntu.
https://bugs.launchpad.net/bugs/2112171
Title:
ASan detect_stack_use_after_return=1 makes vector<bool> incredibly
slow
Status in gcc-13 package in Ubuntu:
Confirmed
Status in gcc-13 source package in Noble:
New
Status in gcc-13 source package in Oracular:
New
Status in gcc-13 source package in Plucky:
New
Bug description:
When compiled with g++ 13.3.0-6ubuntu2~24.04 and Address Sanitizer,
the attached code runs 60x slower (10.5 s vs 170 ms) with stack-use-
after-return checking enabled.
$ g++-13 -fsanitize=address -fsanitize=undefined -g -O2 tle.cpp
It's fixed (https://gcc.gnu.org/cgit/gcc/commit/?id=aac7bb773f7d1c) in
the releases/gcc-13 branch and will be present in GCC 13.4.
Upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120475
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-13/+bug/2112171/+subscriptions
More information about the foundations-bugs
mailing list